batchDisableStandards method
Disables the standards specified by the provided
StandardsSubscriptionArns
.
For more information, see Security Standards section of the AWS Security Hub User Guide.
May throw InternalException. May throw InvalidInputException. May throw InvalidAccessException. May throw LimitExceededException.
Parameter standardsSubscriptionArns
:
The ARNs of the standards subscriptions to disable.
Implementation
Future<BatchDisableStandardsResponse> batchDisableStandards({
required List<String> standardsSubscriptionArns,
}) async {
ArgumentError.checkNotNull(
standardsSubscriptionArns, 'standardsSubscriptionArns');
final $payload = <String, dynamic>{
'StandardsSubscriptionArns': standardsSubscriptionArns,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/standards/deregister',
exceptionFnMap: _exceptionFns,
);
return BatchDisableStandardsResponse.fromJson(response);
}