listFieldLevelEncryptionConfigs2019_03_26 method

Future<ListFieldLevelEncryptionConfigsResult> listFieldLevelEncryptionConfigs2019_03_26({
  1. String? marker,
  2. String? maxItems,
})

List all field-level encryption configurations that have been created in CloudFront for this account.

May throw InvalidArgument.

Parameter marker : Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last configuration on that page).

Parameter maxItems : The maximum number of field-level encryption configurations you want in the response body.

Implementation

Future<ListFieldLevelEncryptionConfigsResult>
    listFieldLevelEncryptionConfigs2019_03_26({
  String? marker,
  String? maxItems,
}) async {
  final $query = <String, List<String>>{
    if (marker != null) 'Marker': [marker],
    if (maxItems != null) 'MaxItems': [maxItems],
  };
  final $result = await _protocol.sendRaw(
    method: 'GET',
    requestUri: '/2019-03-26/field-level-encryption',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  final $elem = await _s.xmlFromResponse($result);
  return ListFieldLevelEncryptionConfigsResult(
    fieldLevelEncryptionList: FieldLevelEncryptionList.fromXml($elem),
  );
}