getNetworkSettings method

Future<GetNetworkSettingsResponse> getNetworkSettings({
  1. required String networkSettingsArn,
})

Gets the network settings.

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

Parameter networkSettingsArn : The ARN of the network settings.

Implementation

Future<GetNetworkSettingsResponse> getNetworkSettings({
  required String networkSettingsArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/networkSettings/${networkSettingsArn.split('/').map(Uri.encodeComponent).join('/')}',
    exceptionFnMap: _exceptionFns,
  );
  return GetNetworkSettingsResponse.fromJson(response);
}