getTransitGatewayRouteTableAttachment method

Future<GetTransitGatewayRouteTableAttachmentResponse> getTransitGatewayRouteTableAttachment({
  1. required String attachmentId,
})

Returns information about a transit gateway route table attachment.

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

Parameter attachmentId : The ID of the transit gateway route table attachment.

Implementation

Future<GetTransitGatewayRouteTableAttachmentResponse>
    getTransitGatewayRouteTableAttachment({
  required String attachmentId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/transit-gateway-route-table-attachments/${Uri.encodeComponent(attachmentId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetTransitGatewayRouteTableAttachmentResponse.fromJson(response);
}