getVpcAttachment method
Returns information about a VPC attachment.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter attachmentId :
The ID of the attachment.
Implementation
Future<GetVpcAttachmentResponse> getVpcAttachment({
required String attachmentId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/vpc-attachments/${Uri.encodeComponent(attachmentId)}',
exceptionFnMap: _exceptionFns,
);
return GetVpcAttachmentResponse.fromJson(response);
}