create_profile
async
¶
create_profile(
name: Name,
client_token: CreatorRequestId,
*,
config_overrides: Optional[AsyncRoute53ProfilesClientConfig] = None,
tags: Optional[TagList] = None,
) -> CreateProfileResponse
Creates an empty Route 53 Profile.
Parameters:
-
name(Name) –A name for the Profile.
-
client_token(CreatorRequestId) –ClientTokenis an idempotency token that ensures a call toCreateProfilecompletes only once. You choose the value to pass. For example, an issue might prevent you from getting a response fromCreateProfile. In this case, safely retry your call toCreateProfileby using the sameCreateProfileparameter value. -
tags(Optional[TagList], default:None) –A list of the tag keys and values that you want to associate with the Route 53 Profile.
Raises:
-
AccessDeniedException–The current account doesn't have the IAM permissions required to perform the specified operation.
-
InvalidParameterException–One or more parameters in this request are not valid.
-
LimitExceededException–The request caused one or more limits to be exceeded.
-
ThrottlingException–The request was throttled. Try again in a few minutes.
-
ValidationException–You have provided an invalid command.
-
UnknownServiceError–The service returned an error code this client does not model.