Route53ProfilesClient#
Index > Route53Profiles > Route53ProfilesClient
Auto-generated documentation for Route53Profiles type annotations stubs module mypy-boto3-route53profiles.
Route53ProfilesClient#
Type annotations and code completion for boto3.client("route53profiles")
.
boto3 documentation
# Route53ProfilesClient usage example
from boto3.session import Session
from mypy_boto3_route53profiles.client import Route53ProfilesClient
def get_route53profiles_client() -> Route53ProfilesClient:
return Session().client("route53profiles")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("route53profiles").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("route53profiles")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.InternalServiceErrorException,
client.exceptions.InvalidNextTokenException,
client.exceptions.InvalidParameterException,
client.exceptions.LimitExceededException,
client.exceptions.ResourceExistsException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_route53profiles.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
associate_profile#
Associates a Route 53 Profiles profile with a VPC.
Type annotations and code completion for boto3.client("route53profiles").associate_profile
method.
boto3 documentation
# associate_profile method definition
def associate_profile(
self,
*,
Name: str,
ProfileId: str,
ResourceId: str,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> AssociateProfileResponseTypeDef: # (2)
...
# associate_profile method usage example with argument unpacking
kwargs: AssociateProfileRequestRequestTypeDef = { # (1)
"Name": ...,
"ProfileId": ...,
"ResourceId": ...,
}
parent.associate_profile(**kwargs)
associate_resource_to_profile#
Associates a DNS reource configuration to a Route 53 Profile.
Type annotations and code completion for boto3.client("route53profiles").associate_resource_to_profile
method.
boto3 documentation
# associate_resource_to_profile method definition
def associate_resource_to_profile(
self,
*,
Name: str,
ProfileId: str,
ResourceArn: str,
ResourceProperties: str = ...,
) -> AssociateResourceToProfileResponseTypeDef: # (1)
...
# associate_resource_to_profile method usage example with argument unpacking
kwargs: AssociateResourceToProfileRequestRequestTypeDef = { # (1)
"Name": ...,
"ProfileId": ...,
"ResourceArn": ...,
}
parent.associate_resource_to_profile(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("route53profiles").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("route53profiles").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_profile#
Creates an empty Route 53 Profile.
Type annotations and code completion for boto3.client("route53profiles").create_profile
method.
boto3 documentation
# create_profile method definition
def create_profile(
self,
*,
ClientToken: str,
Name: str,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateProfileResponseTypeDef: # (2)
...
# create_profile method usage example with argument unpacking
kwargs: CreateProfileRequestRequestTypeDef = { # (1)
"ClientToken": ...,
"Name": ...,
}
parent.create_profile(**kwargs)
delete_profile#
Deletes the specified Route 53 Profile.
Type annotations and code completion for boto3.client("route53profiles").delete_profile
method.
boto3 documentation
# delete_profile method definition
def delete_profile(
self,
*,
ProfileId: str,
) -> DeleteProfileResponseTypeDef: # (1)
...
# delete_profile method usage example with argument unpacking
kwargs: DeleteProfileRequestRequestTypeDef = { # (1)
"ProfileId": ...,
}
parent.delete_profile(**kwargs)
disassociate_profile#
Dissociates a specified Route 53 Profile from the specified VPC.
Type annotations and code completion for boto3.client("route53profiles").disassociate_profile
method.
boto3 documentation
# disassociate_profile method definition
def disassociate_profile(
self,
*,
ProfileId: str,
ResourceId: str,
) -> DisassociateProfileResponseTypeDef: # (1)
...
# disassociate_profile method usage example with argument unpacking
kwargs: DisassociateProfileRequestRequestTypeDef = { # (1)
"ProfileId": ...,
"ResourceId": ...,
}
parent.disassociate_profile(**kwargs)
disassociate_resource_from_profile#
Dissoaciated a specified resource, from the Route 53 Profile.
Type annotations and code completion for boto3.client("route53profiles").disassociate_resource_from_profile
method.
boto3 documentation
# disassociate_resource_from_profile method definition
def disassociate_resource_from_profile(
self,
*,
ProfileId: str,
ResourceArn: str,
) -> DisassociateResourceFromProfileResponseTypeDef: # (1)
...
# disassociate_resource_from_profile method usage example with argument unpacking
kwargs: DisassociateResourceFromProfileRequestRequestTypeDef = { # (1)
"ProfileId": ...,
"ResourceArn": ...,
}
parent.disassociate_resource_from_profile(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("route53profiles").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_profile#
Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile.
Type annotations and code completion for boto3.client("route53profiles").get_profile
method.
boto3 documentation
# get_profile method definition
def get_profile(
self,
*,
ProfileId: str,
) -> GetProfileResponseTypeDef: # (1)
...
# get_profile method usage example with argument unpacking
kwargs: GetProfileRequestRequestTypeDef = { # (1)
"ProfileId": ...,
}
parent.get_profile(**kwargs)
get_profile_association#
Retrieves a Route 53 Profile association for a VPC.
Type annotations and code completion for boto3.client("route53profiles").get_profile_association
method.
boto3 documentation
# get_profile_association method definition
def get_profile_association(
self,
*,
ProfileAssociationId: str,
) -> GetProfileAssociationResponseTypeDef: # (1)
...
# get_profile_association method usage example with argument unpacking
kwargs: GetProfileAssociationRequestRequestTypeDef = { # (1)
"ProfileAssociationId": ...,
}
parent.get_profile_association(**kwargs)
get_profile_resource_association#
Returns information about a specified Route 53 Profile resource association.
Type annotations and code completion for boto3.client("route53profiles").get_profile_resource_association
method.
boto3 documentation
# get_profile_resource_association method definition
def get_profile_resource_association(
self,
*,
ProfileResourceAssociationId: str,
) -> GetProfileResourceAssociationResponseTypeDef: # (1)
...
# get_profile_resource_association method usage example with argument unpacking
kwargs: GetProfileResourceAssociationRequestRequestTypeDef = { # (1)
"ProfileResourceAssociationId": ...,
}
parent.get_profile_resource_association(**kwargs)
list_profile_associations#
Lists all the VPCs that the specified Route 53 Profile is associated with.
Type annotations and code completion for boto3.client("route53profiles").list_profile_associations
method.
boto3 documentation
# list_profile_associations method definition
def list_profile_associations(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
ProfileId: str = ...,
ResourceId: str = ...,
) -> ListProfileAssociationsResponseTypeDef: # (1)
...
# list_profile_associations method usage example with argument unpacking
kwargs: ListProfileAssociationsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_profile_associations(**kwargs)
list_profile_resource_associations#
Lists all the resource associations for the specified Route 53 Profile.
Type annotations and code completion for boto3.client("route53profiles").list_profile_resource_associations
method.
boto3 documentation
# list_profile_resource_associations method definition
def list_profile_resource_associations(
self,
*,
ProfileId: str,
MaxResults: int = ...,
NextToken: str = ...,
ResourceType: str = ...,
) -> ListProfileResourceAssociationsResponseTypeDef: # (1)
...
# list_profile_resource_associations method usage example with argument unpacking
kwargs: ListProfileResourceAssociationsRequestRequestTypeDef = { # (1)
"ProfileId": ...,
}
parent.list_profile_resource_associations(**kwargs)
list_profiles#
Lists all the Route 53 Profiles associated with your Amazon Web Services account.
Type annotations and code completion for boto3.client("route53profiles").list_profiles
method.
boto3 documentation
# list_profiles method definition
def list_profiles(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListProfilesResponseTypeDef: # (1)
...
# list_profiles method usage example with argument unpacking
kwargs: ListProfilesRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_profiles(**kwargs)
list_tags_for_resource#
Lists the tags that you associated with the specified resource.
Type annotations and code completion for boto3.client("route53profiles").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
tag_resource#
Adds one or more tags to a specified resource.
Type annotations and code completion for boto3.client("route53profiles").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Mapping[str, str],
) -> Dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes one or more tags from a specified resource.
Type annotations and code completion for boto3.client("route53profiles").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_profile_resource_association#
Updates the specified Route 53 Profile resourse association.
Type annotations and code completion for boto3.client("route53profiles").update_profile_resource_association
method.
boto3 documentation
# update_profile_resource_association method definition
def update_profile_resource_association(
self,
*,
ProfileResourceAssociationId: str,
Name: str = ...,
ResourceProperties: str = ...,
) -> UpdateProfileResourceAssociationResponseTypeDef: # (1)
...
# update_profile_resource_association method usage example with argument unpacking
kwargs: UpdateProfileResourceAssociationRequestRequestTypeDef = { # (1)
"ProfileResourceAssociationId": ...,
}
parent.update_profile_resource_association(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("route53profiles").get_paginator
method with overloads.
client.get_paginator("list_profile_associations")
-> ListProfileAssociationsPaginatorclient.get_paginator("list_profile_resource_associations")
-> ListProfileResourceAssociationsPaginatorclient.get_paginator("list_profiles")
-> ListProfilesPaginator