Skip to content

apigateway get-domain-name and create-base-path-mapping is failing for private api custom domain #9354

@nitingoyal8

Description

@nitingoyal8

Describe the bug

I am able to create custom domain for private api from console but cli is failing as apigateway get-domain-name and apigateway create-base-path-mapping are failing with error.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

apigateway get-domain-name should return custom domain name object
apigateway create-base-path-mapping should create a base path mapping for the private api

Current Behavior

failing with error message

Reproduction Steps

create a private api and create a custom domain for private api. Now try mapping api to the domain by creating a base path using aws cli

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.13.28

Environment details (OS name and version, etc.)

ubuntu.22

Metadata

Metadata

Assignees

Labels

apigatewaybugThis issue is a bug.closed-for-stalenessp3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions