getAccessPoint method

Future<GetAccessPointResponse> getAccessPoint({
  1. required String accessPointId,
})

Returns resource information for an S3 File System Access Point.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter accessPointId : The ID or Amazon Resource Name (ARN) of the access point to retrieve information for.

Implementation

Future<GetAccessPointResponse> getAccessPoint({
  required String accessPointId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/access-points/${Uri.encodeComponent(accessPointId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetAccessPointResponse.fromJson(response);
}