create_domain_association
async
¶
create_domain_association(
app_name: AppName,
domain_name: CustomDomainName,
routing: Routing,
dns_management_type: DnsManagementType,
*,
config_overrides: Optional[AsyncAmplifyGen3ClientConfig] = None,
tags: Optional[TagMap] = None,
) -> CreateDomainAssociationResponse
Creates a domain association that connects a custom domain to a Gen 3 app.
Parameters:
-
app_name(AppName) –The name of the app.
-
domain_name(CustomDomainName) –The fully qualified domain name.
-
routing(Routing) –The routing configuration for the domain.
-
dns_management_type(DnsManagementType) –How DNS records for the domain are managed.
-
tags(Optional[TagMap], default:None) –The tags to apply to the resource.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal error occurred. Retry the request.
-
ResourceNotFoundException–The requested resource was not found.
-
ServiceQuotaExceededException–The request would exceed a service quota for your account.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifygen3/_services/async_amplify_gen3.py
3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 | |