create_domain_name
¶
create_domain_name(
*,
config_overrides: Optional[ApiGatewayV2ClientConfig] = None,
domain_name: Optional[StringWithLengthBetween1And512] = None,
domain_name_configurations: Optional[DomainNameConfigurations] = None,
mutual_tls_authentication: Optional[MutualTlsAuthenticationInput] = None,
routing_mode: Optional[RoutingMode] = None,
tags: Optional[Tags] = None,
) -> CreateDomainNameResponse
Creates a domain name.
Parameters:
-
domain_name(Optional[StringWithLengthBetween1And512], default:None) –The domain name.
-
domain_name_configurations(Optional[DomainNameConfigurations], default:None) –The domain name configurations.
-
mutual_tls_authentication(Optional[MutualTlsAuthenticationInput], default:None) –The mutual TLS authentication configuration for a custom domain name.
-
routing_mode(Optional[RoutingMode], default:None) –The routing mode.
-
tags(Optional[Tags], default:None) –The collection of tags associated with a domain name.
Raises:
-
BadRequestException–The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
-
NotFoundException–The resource specified in the request was not found. See the message field for more information.
-
TooManyRequestsException–A limit has been exceeded. See the accompanying error message for details.
-
UnknownServiceError–The service returned an error code this client does not model.