You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified all of my SDK modules are up-to-date (you can perform a bulk update with go get -u github.com/aws/aws-sdk-go-v2/...)
Describe the bug
The Go SDK for API Gateway does not include the DomainNameID field, so operations on private custom domain names fail. For such operations, DomainNameID is a required input (in addition to DomainName).
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
Expecting:
DomainNameID is an available field in the output for GetDomainNames.
DomainNameID is an available field in the input for GetDomainName, UpdateDomainName and DeleteDomainName.
All of the above can be executed successfully on a private custom domain name.
Current Behavior
As an example, a call to GetDomainName only allows domain name to be specified (not domain name ID). Providing just the DomainName gives the below error.
operation error API Gateway: GetDomainName, https response error StatusCode: 404, RequestID: 390c5331-bd3d-4c74-a8ac-68cc6e87120b, NotFoundException: Invalid domain name identifier specified
Reproduction Steps
The below code calls GetDomainName on each domain name. Any that are private will result in the error mentioned above.
apgrucza
changed the title
apigatewayv2 package does not support private custom domain names
apigateway package does not support private custom domain names
Jan 31, 2025
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Acknowledgements
go get -u github.com/aws/aws-sdk-go-v2/...
)Describe the bug
The Go SDK for API Gateway does not include the
DomainNameID
field, so operations on private custom domain names fail. For such operations,DomainNameID
is a required input (in addition toDomainName
).Regression Issue
Expected Behavior
Expecting:
DomainNameID
is an available field in the output forGetDomainNames
.DomainNameID
is an available field in the input forGetDomainName
,UpdateDomainName
andDeleteDomainName
.Current Behavior
As an example, a call to
GetDomainName
only allows domain name to be specified (not domain name ID). Providing just theDomainName
gives the below error.Reproduction Steps
The below code calls
GetDomainName
on each domain name. Any that are private will result in the error mentioned above.Possible Solution
No response
Additional Information/Context
DomainNameID
is an output for these APIs:DomainNameID
is an input for these APIs:AWS Go SDK V2 Module Versions Used
go.mod
Compiler and Version used
go version go1.23.5 linux/amd64
Operating System and version
Linux 5.15.167.4-microsoft-standard-WSL2
The text was updated successfully, but these errors were encountered: