create_domain_name
(**kwargs)¶Creates a custom DomainName
object.
See also: AWS API Documentation
Request Syntax
response = client.create_domain_name(
domainName='string',
certificateArn='string',
description='string'
)
[REQUIRED]
The domain name.
[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.
DomainName
.dict
Response Syntax
{
'domainNameConfig': {
'domainName': 'string',
'description': 'string',
'certificateArn': 'string',
'appsyncDomainName': 'string',
'hostedZoneId': '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.
Exceptions
AppSync.Client.exceptions.AccessDeniedException
AppSync.Client.exceptions.BadRequestException
AppSync.Client.exceptions.InternalFailureException