listStorageLensConfigurations method
Gets a list of Amazon S3 Storage Lens configurations. For more information
about S3 Storage Lens, see Assessing
your storage activity and usage with Amazon S3 Storage Lens in the
Amazon S3 User Guide.
Parameter accountId :
The account ID of the requester.
Parameter nextToken :
A pagination token to request the next page of results.
Implementation
Future<ListStorageLensConfigurationsResult> listStorageLensConfigurations({
required String accountId,
String? nextToken,
}) async {
final headers = <String, String>{
'x-amz-account-id': accountId.toString(),
};
final $query = <String, List<String>>{
if (nextToken != null) 'nextToken': [nextToken],
};
final $result = await _protocol.send(
method: 'GET',
requestUri: '/v20180820/storagelens',
queryParams: $query,
headers: headers,
exceptionFnMap: _exceptionFns,
);
return ListStorageLensConfigurationsResult.fromXml($result.body);
}