getConnectAttachment method

Future<GetConnectAttachmentResponse> getConnectAttachment({
  1. required String attachmentId,
})

Returns information about a core network Connect 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<GetConnectAttachmentResponse> getConnectAttachment({
  required String attachmentId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/connect-attachments/${Uri.encodeComponent(attachmentId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetConnectAttachmentResponse.fromJson(response);
}