Route53Profiles / Client / disassociate_resource_from_profile

disassociate_resource_from_profile#

Route53Profiles.Client.disassociate_resource_from_profile(**kwargs)#

Dissoaciated a specified resource, from the Route 53 Profile.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_resource_from_profile(
    ProfileId='string',
    ResourceArn='string'
)
Parameters:
  • ProfileId (string) –

    [REQUIRED]

    The ID of the Profile.

  • ResourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • ProfileResourceAssociation (dict) –

      Information about the DisassociateResourceFromProfile request, including the status of the request.

      • CreationTime (datetime) –

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

      • Id (string) –

        ID of the Profile resource association.

      • ModificationTime (datetime) –

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

      • Name (string) –

        Name of the Profile resource association.

      • OwnerId (string) –

        Amazon Web Services account ID of the Profile resource association owner.

      • ProfileId (string) –

        Profile ID of the Profile that the resources are associated with.

      • ResourceArn (string) –

        The Amazon Resource Name (ARN) of the resource association.

      • ResourceProperties (string) –

        If the DNS resource is a DNS Firewall rule group, this indicates the priority.

      • ResourceType (string) –

        Resource type, such as a private hosted zone, or DNS Firewall rule group.

      • Status (string) –

        Status of the Profile resource association.

      • StatusMessage (string) –

        Additional information about the Profile resource association.

Exceptions

  • Route53Profiles.Client.exceptions.ResourceNotFoundException

  • Route53Profiles.Client.exceptions.LimitExceededException

  • Route53Profiles.Client.exceptions.InternalServiceErrorException

  • Route53Profiles.Client.exceptions.InvalidParameterException

  • Route53Profiles.Client.exceptions.ThrottlingException

  • Route53Profiles.Client.exceptions.ValidationException

  • Route53Profiles.Client.exceptions.AccessDeniedException

  • Route53Profiles.Client.exceptions.ConflictException