describeGatewayInstance method
Future<DescribeGatewayInstanceResponse>
describeGatewayInstance({
- required String gatewayInstanceArn,
Displays the details of an instance.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
Parameter gatewayInstanceArn :
The Amazon Resource Name (ARN) of the gateway instance that you want to
describe.
Implementation
Future<DescribeGatewayInstanceResponse> describeGatewayInstance({
required String gatewayInstanceArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v1/gateway-instances/${Uri.encodeComponent(gatewayInstanceArn)}',
exceptionFnMap: _exceptionFns,
);
return DescribeGatewayInstanceResponse.fromJson(response);
}