Amazon.Route53.AmazonRoute53Client.ListVPCAssociationAuthorizations C# (CSharp) Méthode

ListVPCAssociationAuthorizations() public méthode

Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization requests.

Send a GET request to the /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation resource. The response to this request includes a VPCs element with a VPC child element for each VPC that can be associated with the hosted zone.

Amazon Route 53 returns up to 50 VPCs per page. To return fewer VPCs per page, include the MaxResults parameter:

/2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs per page

If the response includes a NextToken element, there are more VPCs to list. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations request, and include the value of the NextToken element from the response in the NextToken request parameter:

/2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs per page&NextToken=

/// The input is not valid. /// /// /// /// No hosted zone exists with the ID that you specified. ///
public ListVPCAssociationAuthorizations ( ListVPCAssociationAuthorizationsRequest request ) : ListVPCAssociationAuthorizationsResponse
request ListVPCAssociationAuthorizationsRequest Container for the necessary parameters to execute the ListVPCAssociationAuthorizations service method.
Résultat ListVPCAssociationAuthorizationsResponse
        public ListVPCAssociationAuthorizationsResponse ListVPCAssociationAuthorizations(ListVPCAssociationAuthorizationsRequest request)
        {
            var marshaller = new ListVPCAssociationAuthorizationsRequestMarshaller();
            var unmarshaller = ListVPCAssociationAuthorizationsResponseUnmarshaller.Instance;

            return Invoke<ListVPCAssociationAuthorizationsRequest,ListVPCAssociationAuthorizationsResponse>(request, marshaller, unmarshaller);
        }
AmazonRoute53Client