listSecurityConfigurations method

Future<ListSecurityConfigurationsOutput> listSecurityConfigurations({
  1. String? marker,
})

Lists all the security configurations visible to this account, providing their creation dates and times, and their names. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations calls.

May throw InternalServerException. May throw InvalidRequestException.

Parameter marker : The pagination token that indicates the set of results to retrieve.

Implementation

Future<ListSecurityConfigurationsOutput> listSecurityConfigurations({
  String? marker,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'ElasticMapReduce.ListSecurityConfigurations'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      if (marker != null) 'Marker': marker,
    },
  );

  return ListSecurityConfigurationsOutput.fromJson(jsonResponse.body);
}