describeConformancePackStatus method
Provides one or more conformance packs deployment status.
May throw InvalidLimitException. May throw InvalidNextTokenException. May throw InvalidParameterValueException.
Parameter conformancePackNames
:
Comma-separated list of conformance pack names.
Parameter limit
:
The maximum number of conformance packs status returned on each page.
Parameter nextToken
:
The nextToken
string returned in a previous request that you
use to request the next page of results in a paginated response.
Implementation
Future<DescribeConformancePackStatusResponse> describeConformancePackStatus({
List<String>? conformancePackNames,
int? limit,
String? nextToken,
}) async {
_s.validateNumRange(
'limit',
limit,
0,
20,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'StarlingDoveService.DescribeConformancePackStatus'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (conformancePackNames != null)
'ConformancePackNames': conformancePackNames,
if (limit != null) 'Limit': limit,
if (nextToken != null) 'NextToken': nextToken,
},
);
return DescribeConformancePackStatusResponse.fromJson(jsonResponse.body);
}