describeSSLPolicies method

Future<DescribeSSLPoliciesOutput> describeSSLPolicies({
  1. String? marker,
  2. List<String>? names,
  3. int? pageSize,
})

Describes the specified policies or all policies used for SSL negotiation.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

May throw SSLPolicyNotFoundException.

Parameter marker : The marker for the next set of results. (You received this marker from a previous call.)

Parameter names : The names of the policies.

Parameter pageSize : The maximum number of results to return with this call.

Implementation

Future<DescribeSSLPoliciesOutput> describeSSLPolicies({
  String? marker,
  List<String>? names,
  int? pageSize,
}) async {
  _s.validateNumRange(
    'pageSize',
    pageSize,
    1,
    400,
  );
  final $request = <String, dynamic>{};
  marker?.also((arg) => $request['Marker'] = arg);
  names?.also((arg) => $request['Names'] = arg);
  pageSize?.also((arg) => $request['PageSize'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeSSLPolicies',
    version: '2015-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeSSLPoliciesInput'],
    shapes: shapes,
    resultWrapper: 'DescribeSSLPoliciesResult',
  );
  return DescribeSSLPoliciesOutput.fromXml($result);
}