IAMRolesAnywhere / Client / list_crls

list_crls#

IAMRolesAnywhere.Client.list_crls(**kwargs)#

Lists all Crls in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListCrls.

See also: AWS API Documentation

Request Syntax

response = client.list_crls(
    nextToken='string',
    pageSize=123
)
Parameters:
  • nextToken (string) – A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

  • pageSize (integer) – The number of resources in the paginated list.

Return type:

dict

Returns:

Response Syntax

{
    'crls': [
        {
            'createdAt': datetime(2015, 1, 1),
            'crlArn': 'string',
            'crlData': b'bytes',
            'crlId': 'string',
            'enabled': True|False,
            'name': 'string',
            'trustAnchorArn': 'string',
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • crls (list) –

      A list of certificate revocation lists (CRL).

      • (dict) –

        The state of the certificate revocation list (CRL) after a read or write operation.

        • createdAt (datetime) –

          The ISO-8601 timestamp when the certificate revocation list (CRL) was created.

        • crlArn (string) –

          The ARN of the certificate revocation list (CRL).

        • crlData (bytes) –

          The state of the certificate revocation list (CRL) after a read or write operation.

        • crlId (string) –

          The unique identifier of the certificate revocation list (CRL).

        • enabled (boolean) –

          Indicates whether the certificate revocation list (CRL) is enabled.

        • name (string) –

          The name of the certificate revocation list (CRL).

        • trustAnchorArn (string) –

          The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.

        • updatedAt (datetime) –

          The ISO-8601 timestamp when the certificate revocation list (CRL) was last updated.

    • nextToken (string) –

      A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

Exceptions

  • IAMRolesAnywhere.Client.exceptions.ValidationException

  • IAMRolesAnywhere.Client.exceptions.AccessDeniedException