create_domain_name_access_association
¶
create_domain_name_access_association(
domain_name_arn: String,
access_association_source_type: AccessAssociationSourceType,
access_association_source: String,
*,
config_overrides: Optional[APIGatewayClientConfig] = None,
tags: Optional[MapOfStringToString] = None,
) -> DomainNameAccessAssociation
Creates a domain name access association resource between an access association source and a private custom domain name.
Parameters:
-
domain_name_arn(String) –The ARN of the domain name.
-
access_association_source_type(AccessAssociationSourceType) –The type of the domain name access association source.
-
access_association_source(String) –The identifier of the domain name access association source. For a VPCE, the value is the VPC endpoint ID.
-
tags(Optional[MapOfStringToString], default:None) –The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with
aws:. The tag value can be up to 256 characters.
Raises:
-
BadRequestException–The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
ConflictException–The request configuration has conflicts. For details, see the accompanying error message.
-
LimitExceededException–The request exceeded the rate limit. Retry after the specified time period.
-
TooManyRequestsException–The request has reached its throttling limit. Retry after the specified time period.
-
UnauthorizedException–The request is denied because the caller has insufficient permissions.
-
UnknownServiceError–The service returned an error code this client does not model.