describeTrustStoreAssociations method

Future<DescribeTrustStoreAssociationsOutput> describeTrustStoreAssociations({
  1. required String trustStoreArn,
  2. String? marker,
  3. int? pageSize,
})

Describes all resources associated with the specified trust store.

May throw TrustStoreNotFoundException.

Parameter trustStoreArn : The Amazon Resource Name (ARN) of the trust store.

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

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

Implementation

Future<DescribeTrustStoreAssociationsOutput> describeTrustStoreAssociations({
  required String trustStoreArn,
  String? marker,
  int? pageSize,
}) async {
  _s.validateNumRange(
    'pageSize',
    pageSize,
    1,
    400,
  );
  final $request = <String, String>{
    'TrustStoreArn': trustStoreArn,
    if (marker != null) 'Marker': marker,
    if (pageSize != null) 'PageSize': pageSize.toString(),
  };
  final $result = await _protocol.send(
    $request,
    action: 'DescribeTrustStoreAssociations',
    version: '2015-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    resultWrapper: 'DescribeTrustStoreAssociationsResult',
  );
  return DescribeTrustStoreAssociationsOutput.fromXml($result);
}