getSiteToSiteVpnAttachment method
Future<GetSiteToSiteVpnAttachmentResponse>
getSiteToSiteVpnAttachment({
- required String attachmentId,
Returns information about a site-to-site VPN 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<GetSiteToSiteVpnAttachmentResponse> getSiteToSiteVpnAttachment({
required String attachmentId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/site-to-site-vpn-attachments/${Uri.encodeComponent(attachmentId)}',
exceptionFnMap: _exceptionFns,
);
return GetSiteToSiteVpnAttachmentResponse.fromJson(response);
}