2025/03/18 - AWS AppSync - 4 updated api methods
Changes Providing Tagging support for DomainName in AppSync
{'tags': {'string': 'string'}}Response
{'domainNameConfig': {'domainNameArn': 'string', 'tags': {'string': 'string'}}}
Creates a custom DomainName object.
See also: AWS API Documentation
Request Syntax
client.create_domain_name( domainName='string', certificateArn='string', description='string', tags={ 'string': 'string' } )
string
[REQUIRED]
The domain name.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
string
A description of the DomainName.
dict
A map with keys of TagKey objects and values of TagValue objects.
(string) --
The key for the tag.
(string) --
The value for the tag.
dict
Response Syntax
{ 'domainNameConfig': { 'domainName': 'string', 'description': 'string', 'certificateArn': 'string', 'appsyncDomainName': 'string', 'hostedZoneId': 'string', 'tags': { 'string': 'string' }, 'domainNameArn': 'string' } }
Response Structure
(dict) --
domainNameConfig (dict) --
The configuration for the DomainName.
domainName (string) --
The domain name.
description (string) --
A description of the DomainName configuration.
certificateArn (string) --
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
appsyncDomainName (string) --
The domain name that AppSync provides.
hostedZoneId (string) --
The ID of your Amazon Route 53 hosted zone.
tags (dict) --
A map with keys of TagKey objects and values of TagValue objects.
(string) --
The key for the tag.
(string) --
The value for the tag.
domainNameArn (string) --
The Amazon Resource Name (ARN) of the domain name.
{'domainNameConfig': {'domainNameArn': 'string', 'tags': {'string': 'string'}}}
Retrieves a custom DomainName object.
See also: AWS API Documentation
Request Syntax
client.get_domain_name( domainName='string' )
string
[REQUIRED]
The domain name.
dict
Response Syntax
{ 'domainNameConfig': { 'domainName': 'string', 'description': 'string', 'certificateArn': 'string', 'appsyncDomainName': 'string', 'hostedZoneId': 'string', 'tags': { 'string': 'string' }, 'domainNameArn': 'string' } }
Response Structure
(dict) --
domainNameConfig (dict) --
The configuration for the DomainName.
domainName (string) --
The domain name.
description (string) --
A description of the DomainName configuration.
certificateArn (string) --
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
appsyncDomainName (string) --
The domain name that AppSync provides.
hostedZoneId (string) --
The ID of your Amazon Route 53 hosted zone.
tags (dict) --
A map with keys of TagKey objects and values of TagValue objects.
(string) --
The key for the tag.
(string) --
The value for the tag.
domainNameArn (string) --
The Amazon Resource Name (ARN) of the domain name.
{'domainNameConfigs': {'domainNameArn': 'string', 'tags': {'string': 'string'}}}
Lists multiple custom domain names.
See also: AWS API Documentation
Request Syntax
client.list_domain_names( nextToken='string', maxResults=123 )
string
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
integer
The maximum number of results that you want the request to return.
dict
Response Syntax
{ 'domainNameConfigs': [ { 'domainName': 'string', 'description': 'string', 'certificateArn': 'string', 'appsyncDomainName': 'string', 'hostedZoneId': 'string', 'tags': { 'string': 'string' }, 'domainNameArn': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
domainNameConfigs (list) --
Lists configurations for multiple domain names.
(dict) --
Describes a configuration for a custom domain.
domainName (string) --
The domain name.
description (string) --
A description of the DomainName configuration.
certificateArn (string) --
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
appsyncDomainName (string) --
The domain name that AppSync provides.
hostedZoneId (string) --
The ID of your Amazon Route 53 hosted zone.
tags (dict) --
A map with keys of TagKey objects and values of TagValue objects.
(string) --
The key for the tag.
(string) --
The value for the tag.
domainNameArn (string) --
The Amazon Resource Name (ARN) of the domain name.
nextToken (string) --
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
{'domainNameConfig': {'domainNameArn': 'string', 'tags': {'string': 'string'}}}
Updates a custom DomainName object.
See also: AWS API Documentation
Request Syntax
client.update_domain_name( domainName='string', description='string' )
string
[REQUIRED]
The domain name.
string
A description of the DomainName.
dict
Response Syntax
{ 'domainNameConfig': { 'domainName': 'string', 'description': 'string', 'certificateArn': 'string', 'appsyncDomainName': 'string', 'hostedZoneId': 'string', 'tags': { 'string': 'string' }, 'domainNameArn': 'string' } }
Response Structure
(dict) --
domainNameConfig (dict) --
The configuration for the DomainName.
domainName (string) --
The domain name.
description (string) --
A description of the DomainName configuration.
certificateArn (string) --
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
appsyncDomainName (string) --
The domain name that AppSync provides.
hostedZoneId (string) --
The ID of your Amazon Route 53 hosted zone.
tags (dict) --
A map with keys of TagKey objects and values of TagValue objects.
(string) --
The key for the tag.
(string) --
The value for the tag.
domainNameArn (string) --
The Amazon Resource Name (ARN) of the domain name.