SecurityHub / Client / batch_disable_standards
batch_disable_standards#
- SecurityHub.Client.batch_disable_standards(**kwargs)#
Disables the standards specified by the provided
StandardsSubscriptionArns
.For more information, see Security Standards section of the Security Hub User Guide.
See also: AWS API Documentation
Request Syntax
response = client.batch_disable_standards( StandardsSubscriptionArns=[ 'string', ] )
- Parameters:
StandardsSubscriptionArns (list) –
[REQUIRED]
The ARNs of the standards subscriptions to disable.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'StandardsSubscriptions': [ { 'StandardsSubscriptionArn': 'string', 'StandardsArn': 'string', 'StandardsInput': { 'string': 'string' }, 'StandardsStatus': 'PENDING'|'READY'|'FAILED'|'DELETING'|'INCOMPLETE', 'StandardsControlsUpdatable': 'READY_FOR_UPDATES'|'NOT_READY_FOR_UPDATES', 'StandardsStatusReason': { 'StatusReasonCode': 'NO_AVAILABLE_CONFIGURATION_RECORDER'|'MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED'|'INTERNAL_ERROR' } }, ] }
Response Structure
(dict) –
StandardsSubscriptions (list) –
The details of the standards subscriptions that were disabled.
(dict) –
A resource that represents your subscription to a supported standard.
StandardsSubscriptionArn (string) –
The ARN of a resource that represents your subscription to a supported standard.
StandardsArn (string) –
The ARN of a standard.
StandardsInput (dict) –
A key-value pair of input for the standard.
(string) –
(string) –
StandardsStatus (string) –
The status of the standard subscription.
The status values are as follows:
PENDING
- Standard is in the process of being enabled.READY
- Standard is enabled.INCOMPLETE
- Standard could not be enabled completely. Some controls may not be available.DELETING
- Standard is in the process of being disabled.FAILED
- Standard could not be disabled.
StandardsControlsUpdatable (string) –
Indicates whether the controls associated with this standards subscription can be viewed and updated.
The values are as follows:
READY_FOR_UPDATES
- Controls associated with this standards subscription can be viewed and updated.NOT_READY_FOR_UPDATES
- Controls associated with this standards subscription cannot be retrieved or updated yet. Security Hub is still processing a request to create the controls.
StandardsStatusReason (dict) –
The reason for the current status.
StatusReasonCode (string) –
The reason code that represents the reason for the current status of a standard subscription.
Exceptions