getServiceNetworkResourceAssociation method

Future<GetServiceNetworkResourceAssociationResponse> getServiceNetworkResourceAssociation({
  1. required String serviceNetworkResourceAssociationIdentifier,
})

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

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

Parameter serviceNetworkResourceAssociationIdentifier : The ID of the association.

Implementation

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