Skip to content

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)
    ...
  1. See TagTypeDef
  2. See AssociateProfileResponseTypeDef
# associate_profile method usage example with argument unpacking

kwargs: AssociateProfileRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "ProfileId": ...,
    "ResourceId": ...,
}

parent.associate_profile(**kwargs)
  1. See AssociateProfileRequestRequestTypeDef

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)
    ...
  1. See AssociateResourceToProfileResponseTypeDef
# associate_resource_to_profile method usage example with argument unpacking

kwargs: AssociateResourceToProfileRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "ProfileId": ...,
    "ResourceArn": ...,
}

parent.associate_resource_to_profile(**kwargs)
  1. See AssociateResourceToProfileRequestRequestTypeDef

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)
    ...
  1. See TagTypeDef
  2. See CreateProfileResponseTypeDef
# create_profile method usage example with argument unpacking

kwargs: CreateProfileRequestRequestTypeDef = {  # (1)
    "ClientToken": ...,
    "Name": ...,
}

parent.create_profile(**kwargs)
  1. See CreateProfileRequestRequestTypeDef

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)
    ...
  1. See DeleteProfileResponseTypeDef
# delete_profile method usage example with argument unpacking

kwargs: DeleteProfileRequestRequestTypeDef = {  # (1)
    "ProfileId": ...,
}

parent.delete_profile(**kwargs)
  1. See DeleteProfileRequestRequestTypeDef

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)
    ...
  1. See DisassociateProfileResponseTypeDef
# disassociate_profile method usage example with argument unpacking

kwargs: DisassociateProfileRequestRequestTypeDef = {  # (1)
    "ProfileId": ...,
    "ResourceId": ...,
}

parent.disassociate_profile(**kwargs)
  1. See DisassociateProfileRequestRequestTypeDef

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)
    ...
  1. See DisassociateResourceFromProfileResponseTypeDef
# disassociate_resource_from_profile method usage example with argument unpacking

kwargs: DisassociateResourceFromProfileRequestRequestTypeDef = {  # (1)
    "ProfileId": ...,
    "ResourceArn": ...,
}

parent.disassociate_resource_from_profile(**kwargs)
  1. See DisassociateResourceFromProfileRequestRequestTypeDef

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)
    ...
  1. See GetProfileResponseTypeDef
# get_profile method usage example with argument unpacking

kwargs: GetProfileRequestRequestTypeDef = {  # (1)
    "ProfileId": ...,
}

parent.get_profile(**kwargs)
  1. See GetProfileRequestRequestTypeDef

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)
    ...
  1. See GetProfileAssociationResponseTypeDef
# get_profile_association method usage example with argument unpacking

kwargs: GetProfileAssociationRequestRequestTypeDef = {  # (1)
    "ProfileAssociationId": ...,
}

parent.get_profile_association(**kwargs)
  1. See GetProfileAssociationRequestRequestTypeDef

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)
    ...
  1. See GetProfileResourceAssociationResponseTypeDef
# get_profile_resource_association method usage example with argument unpacking

kwargs: GetProfileResourceAssociationRequestRequestTypeDef = {  # (1)
    "ProfileResourceAssociationId": ...,
}

parent.get_profile_resource_association(**kwargs)
  1. See GetProfileResourceAssociationRequestRequestTypeDef

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)
    ...
  1. See ListProfileAssociationsResponseTypeDef
# list_profile_associations method usage example with argument unpacking

kwargs: ListProfileAssociationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_profile_associations(**kwargs)
  1. See ListProfileAssociationsRequestRequestTypeDef

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)
    ...
  1. See ListProfileResourceAssociationsResponseTypeDef
# list_profile_resource_associations method usage example with argument unpacking

kwargs: ListProfileResourceAssociationsRequestRequestTypeDef = {  # (1)
    "ProfileId": ...,
}

parent.list_profile_resource_associations(**kwargs)
  1. See ListProfileResourceAssociationsRequestRequestTypeDef

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)
    ...
  1. See ListProfilesResponseTypeDef
# list_profiles method usage example with argument unpacking

kwargs: ListProfilesRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_profiles(**kwargs)
  1. See ListProfilesRequestRequestTypeDef

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)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

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)
  1. See TagResourceRequestRequestTypeDef

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)
  1. See UntagResourceRequestRequestTypeDef

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)
    ...
  1. See UpdateProfileResourceAssociationResponseTypeDef
# update_profile_resource_association method usage example with argument unpacking

kwargs: UpdateProfileResourceAssociationRequestRequestTypeDef = {  # (1)
    "ProfileResourceAssociationId": ...,
}

parent.update_profile_resource_association(**kwargs)
  1. See UpdateProfileResourceAssociationRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("route53profiles").get_paginator method with overloads.