Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMS resource identifier (friendly name) #723

Open
RobbertDM opened this issue Apr 17, 2024 · 1 comment
Open

DMS resource identifier (friendly name) #723

RobbertDM opened this issue Apr 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working dms documentation Improvements or additions to documentation service-api This issue pertains to the AWS API service-docs Issue relates to missing information in service documentation

Comments

@RobbertDM
Copy link

Describe the issue

For some DMS resources, you can pass --resource-identifier (string), so that the ARN gets a friendly name instead of a randomly generated string.
The description for each of these is:

A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen (‘-‘). Also, it can’t end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1 . For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1 . If you don’t specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn .

Which seems to be written for create-endpoint, but that's not even correct since the ARN mentioned is arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1, which is a ReplicationInstance's ARN.
Endpoints have endpoint in the ARN, replication instances have rep and tasks have task.

BTW, I have spent some time trying to find where I could contribute to the docs myself, but I cannot find where the docs are generated from. I guess the docs at the URLs referenced below are not open to contributions?

Links

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/create-replication-task.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/create-replication-instance.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/create-endpoint.html

@RobbertDM RobbertDM added documentation Improvements or additions to documentation needs-triage labels Apr 17, 2024
@tim-finnigan tim-finnigan self-assigned this Apr 22, 2024
@tim-finnigan
Copy link

tim-finnigan commented Apr 22, 2024

Thanks @RobbertDM for reporting this issue. The documentation for the AWS CLI (and SDKs) is largely auto-generated by the service teams. For example the create-replication-task command documentation includes the text "See also: AWS API Documentation", which links to the API docs, where you can also find references to the documented examples in SDKs.

We generally recommend using the Provide feedback links at the bottom of those API documentation pages to send feedback to the appropriate team. But in this case I can go ahead and transfer the issue to our cross-SDK repository and reach out to the documentation team internally to fix the documentation. Once the API documentation is fixed then it will get updated in the CLI/SDK documentation. Thanks again for bringing this to our attention! (ref: P127042364)

@tim-finnigan tim-finnigan transferred this issue from aws/aws-cli Apr 22, 2024
@tim-finnigan tim-finnigan added bug Something isn't working service-api This issue pertains to the AWS API service-docs Issue relates to missing information in service documentation labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dms documentation Improvements or additions to documentation service-api This issue pertains to the AWS API service-docs Issue relates to missing information in service documentation
Projects
None yet
Development

No branches or pull requests

2 participants