Route53Profiles / Client / disassociate_profile

disassociate_profile#

Route53Profiles.Client.disassociate_profile(**kwargs)#

Dissociates a specified Route 53 Profile from the specified VPC.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_profile(
    ProfileId='string',
    ResourceId='string'
)
Parameters:
  • ProfileId (string) –

    [REQUIRED]

    ID of the Profile.

  • ResourceId (string) –

    [REQUIRED]

    The ID of the VPC.

Return type:

dict

Returns:

Response Syntax

{
    'ProfileAssociation': {
        'CreationTime': datetime(2015, 1, 1),
        'Id': 'string',
        'ModificationTime': datetime(2015, 1, 1),
        'Name': 'string',
        'OwnerId': 'string',
        'ProfileId': 'string',
        'ResourceId': 'string',
        'Status': 'COMPLETE'|'DELETING'|'UPDATING'|'CREATING'|'DELETED'|'FAILED',
        'StatusMessage': 'string'
    }
}

Response Structure

  • (dict) –

    • ProfileAssociation (dict) –

      Information about the DisassociateProfile request.

      • CreationTime (datetime) –

        The date and time that the Profile association was created, in Unix time format and Coordinated Universal Time (UTC).

      • Id (string) –

        ID of the Profile association.

      • ModificationTime (datetime) –

        The date and time that the Profile association was modified, in Unix time format and Coordinated Universal Time (UTC).

      • Name (string) –

        Name of the Profile association.

      • OwnerId (string) –

        Amazon Web Services account ID of the Profile association owner.

      • ProfileId (string) –

        ID of the Profile.

      • ResourceId (string) –

        The Amazon Resource Name (ARN) of the VPC.

      • Status (string) –

        Status of the Profile association.

      • StatusMessage (string) –

        Additional information about the Profile association.

Exceptions

  • Route53Profiles.Client.exceptions.ResourceNotFoundException

  • Route53Profiles.Client.exceptions.LimitExceededException

  • Route53Profiles.Client.exceptions.InvalidParameterException

  • Route53Profiles.Client.exceptions.ThrottlingException

  • Route53Profiles.Client.exceptions.ValidationException

  • Route53Profiles.Client.exceptions.AccessDeniedException