Route53Profiles / Client / list_profile_resource_associations

list_profile_resource_associations#

Route53Profiles.Client.list_profile_resource_associations(**kwargs)#

Lists all the resource associations for the specified Route 53 Profile.

See also: AWS API Documentation

Request Syntax

response = client.list_profile_resource_associations(
    MaxResults=123,
    NextToken='string',
    ProfileId='string',
    ResourceType='string'
)
Parameters:
  • MaxResults (integer) –

    The maximum number of objects that you want to return for this request. If more objects are available, in the response, a NextToken value, which you can use in a subsequent call to get the next batch of objects, is provided.

    If you don’t specify a value for MaxResults, up to 100 objects are returned.

  • NextToken (string) –

    For the first call to this list request, omit this value.

    When you request a list of objects, at most the number of objects specified by MaxResults is returned. If more objects are available for retrieval, a NextToken value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.

  • ProfileId (string) –

    [REQUIRED]

    The ID of the Profile.

  • ResourceType (string) – ID of a resource if you want information on only one type.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'ProfileResourceAssociations': [
        {
            '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) –

    • NextToken (string) –

      If more than MaxResults resource associations match the specified criteria, you can submit another ListProfileResourceAssociations request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

    • ProfileResourceAssociations (list) –

      Information about the profile resource association that you specified in a GetProfileResourceAssociation request.

      • (dict) –

        The association between a Route 53 Profile and resources.

        • 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.InternalServiceErrorException

  • Route53Profiles.Client.exceptions.InvalidParameterException

  • Route53Profiles.Client.exceptions.ThrottlingException

  • Route53Profiles.Client.exceptions.ValidationException

  • Route53Profiles.Client.exceptions.AccessDeniedException

  • Route53Profiles.Client.exceptions.InvalidNextTokenException