getServiceNetworkVpcAssociation method

Future<GetServiceNetworkVpcAssociationResponse> getServiceNetworkVpcAssociation({
  1. required String serviceNetworkVpcAssociationIdentifier,
})

Retrieves information about the specified association between a service network and a VPC.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter serviceNetworkVpcAssociationIdentifier : The ID or ARN of the association.

Implementation

Future<GetServiceNetworkVpcAssociationResponse>
    getServiceNetworkVpcAssociation({
  required String serviceNetworkVpcAssociationIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/servicenetworkvpcassociations/${Uri.encodeComponent(serviceNetworkVpcAssociationIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetServiceNetworkVpcAssociationResponse.fromJson(response);
}