Comments (6)
I have the same error while getting rds tags. May be there is some workaround fo this issue?
from aws-sdk-java.
The workaround is to build a ARN resource name manually. awsAccountNumber
is a 12 digit number (do not include the dashes) available in the "My Account" section of the AWS Console. You will also need to update the region identifier if your RDS instance is not in US-East.
// RDS tags query requires ARN, which is not available from the RDS client
// https://forums.aws.amazon.com/thread.jspa?messageID=397452
String arn = String.format("arn:aws:rds:us-east-1:%s:db:%s", awsAccountNumber, dbInstance.getDBInstanceIdentifier());
ListTagsForResourceResult tagsList = rds.listTagsForResource(new ListTagsForResourceRequest().withResourceName(arn));
from aws-sdk-java.
thanks, it's work)
from aws-sdk-java.
@wmatveyenko Was this issue fixed?
from aws-sdk-java.
@uriahcarpenter, this was not a bug. You need to supply the ResourceName for the ListTagsForResource API call. See http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ListTagsForResource.html
from aws-sdk-java.
@wmatveyenko OK, I'm good with that.
However, would it be possible to add something to the SDK that would make it easier to generate the ResourceName? Simply adding JavaDoc to explain the required URN format would of helped me a lot.
Having to search stackoverflow for the correct URN format did not make the listTagsForResource API easy to use for me the first time around.
from aws-sdk-java.
Related Issues (20)
- GetBlobStoreContext failing after updating the aws-sdk HOT 3
- Error while publishing the image using the pre-signed url generated. (SignatureDoesNotMatch) HOT 4
- Single Table Design Pattern - Fetch only selected entities by giving begins_with or starts_with sort key HOT 1
- Update dependency: httpcomponents HOT 2
- Update jackson-databind dependency HOT 2
- ClusterNotFoundException is thrown when cluster exists in the account/region HOT 3
- [Auth] the pod falling back to instance role instead of IRSA HOT 2
- AWS SDK Metrics not reporting HttpClientPoolAvailableCount or HttpClientPoolPendingCount HOT 2
- ListNextBatchOfObjectsRequest does not retain RequestCredentialsProvider HOT 1
- Cognito User Pool Self-Service Sign-Up not working HOT 1
- Getting Unable to execute HTTP request: connect timed out: software.amazon.awssdk.core.exception.SdkClientException software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: connect timed out HOT 1
- AWS Java SDK not supporting environment variable override HOT 2
- (short issue description) HOT 1
- TransferManager.upload doesn't retain `bucketKeyEnabled` setting if using multipart upload HOT 1
- Getting "Credential should be scoped to a valid region." error when try to create an IAM client by using us-west-2 as a region HOT 3
- Enabling Metrics for the AWS SDK for Java failed without no error msg HOT 4
- Intermittent stall of S3 PUT request for about 17 minutes HOT 2
- finalizeMultipartUpload is throwing 404 error HOT 3
- Invalid character issue "" in AmazonS3Client::listMultipartUploads HOT 5
- localstack SQS access broken in aws-java-sdk HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-java.