getTableMetadataLocation method
Gets the location of the table metadata.
- Permissions
-
You must have the
s3tables:GetTableMetadataLocationpermission to use this operation.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter name :
The name of the table.
Parameter namespace :
The namespace of the table.
Parameter tableBucketARN :
The Amazon Resource Name (ARN) of the table bucket.
Implementation
Future<GetTableMetadataLocationResponse> getTableMetadataLocation({
required String name,
required String namespace,
required String tableBucketARN,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/tables/${Uri.encodeComponent(tableBucketARN)}/${Uri.encodeComponent(namespace)}/${Uri.encodeComponent(name)}/metadata-location',
exceptionFnMap: _exceptionFns,
);
return GetTableMetadataLocationResponse.fromJson(response);
}