EC2 / Client / get_ipam_route_origin_authorizations

get_ipam_route_origin_authorizations

EC2.Client.get_ipam_route_origin_authorizations(**kwargs)

Retrieves the current Route Origin Authorizations (ROAs) published to the RPKI for an IPAM internet registry association. We recommend using pagination to ensure that the operation returns quickly and successfully.

See also: AWS API Documentation

Request Syntax

response = client.get_ipam_route_origin_authorizations(
    DryRun=True|False,
    IpamInternetRegistryAssociationId='string',
    Cidr='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • DryRun (boolean) – Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • IpamInternetRegistryAssociationId (string) –

    [REQUIRED]

    The ID of the IPAM internet registry association.

  • Cidr (string) – Filter results to a specific CIDR prefix.

  • MaxResults (integer) – The maximum number of results to return in a single call. If not specified, all available results are returned. To retrieve the remaining results, make another call with the returned nextToken value.

  • NextToken (string) – The token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'IpamRouteOriginAuthorizations': [
        {
            'Cidr': 'string',
            'Asn': 'string',
            'MaxLength': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • IpamRouteOriginAuthorizations (list) –

      The Route Origin Authorizations published to the RPKI.

      • (dict) –

        Contains information about a Route Origin Authorization (ROA) currently published in the RPKI.

        • Cidr (string) –

          The IP address prefix in CIDR notation authorized by the ROA.

        • Asn (string) –

          The Autonomous System Number (ASN) authorized to originate the prefix.

        • MaxLength (integer) –

          The maximum prefix length that the ASN is authorized to announce.

    • NextToken (string) –

      The token to use to retrieve the next page of results.