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