describe_custom_domains
async
¶
describe_custom_domains(
service_arn: AppRunnerResourceArn,
*,
config_overrides: Optional[AsyncAppRunnerClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeCustomDomainsMaxResults] = None,
) -> DescribeCustomDomainsResponse
Return a description of custom domain names that are associated with an App Runner service.
Parameters:
-
service_arn(AppRunnerResourceArn) –The Amazon Resource Name (ARN) of the App Runner service that you want associated custom domain names to be described for.
-
next_token(Optional[String], default:None) –A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.
If you don't specify
NextToken, the request retrieves the first result page. -
max_results(Optional[DescribeCustomDomainsMaxResults], default:None) –The maximum number of results that each response (result page) can include. It's used for a paginated request.
If you don't specify
MaxResults, the request retrieves all available results in a single response.
Raises:
-
InternalServiceErrorException–An unexpected service exception occurred.
-
InvalidRequestException–One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
-
ResourceNotFoundException–A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.
-
UnknownServiceError–The service returned an error code this client does not model.