Closed rvodden closed 3 years ago
@rvodden - Thank you for your post. Boto3 documentation is generated from API reference https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DescribeCacheClusters.html and looks like it uses a general CacheCluster shape for the response. That's why the response includes all the attributes even if the api does not return that.
Also experiencing same issue in 1.14.20
I am using this feature on 5-Oct-2020 and still facing this issue. I am unable to get the ARN, which in turn will help me to fetch the tags. When we are getting the ARN from AWS CLI when we execute describe-cache-clusters why can't we get that in Boto3. The ease of using Boto3 relies on the exact matching with CLI.
I am able to get ARN with boto3. Is anyone still facing the issue ?
In [8]: print('ARN' in response['CacheClusters'][0])
True
@swetashre I can see the arn now. It wasn't available when I tried in Oct. Thanks for the update.
I am closing this issue as this has been fixed. Please let us know if anyone has still any concerns.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Hi @swetashre and Others,
I don't see the ARN now. When we do a describe-cache-clusters through AWS CLI, I can see the ARN. But not through Boto3.
print('CacheClusterId' in clusters['CacheClusters'][0])
True
print('ARN' in clusters['CacheClusters'][0])
False`
Describe the bug The Boto3 1.14.7 documentation claims that describe_cache_clusters() will return a dict which includes an ARN Key. This key, and therefore value, is missing.
Steps to reproduce Run the following script:
Expected behavior The method should return a dict which includes the ARN as specified here:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elasticache.html#ElastiCache.Client.describe_cache_clusters
Debug logs Full stack trace by adding
boto3.set_stream_logger('')
to your code.