getConnectionGroup method

Future<GetConnectionGroupResult> getConnectionGroup({
  1. required String identifier,
})

Gets information about a connection group.

May throw AccessDenied. May throw EntityNotFound.

Parameter identifier : The ID, name, or Amazon Resource Name (ARN) of the connection group.

Implementation

Future<GetConnectionGroupResult> getConnectionGroup({
  required String identifier,
}) async {
  final $result = await _protocol.sendRaw(
    method: 'GET',
    requestUri:
        '/2020-05-31/connection-group/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  final $elem = await _s.xmlFromResponse($result);
  return GetConnectionGroupResult(
    connectionGroup: ConnectionGroup.fromXml($elem),
    eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
  );
}