CmdID

CmdID / aws / aws shield

aws shield get-subscription-state

Returns the SubscriptionState, either Active or Inactive. AWS CLI reference

1 example Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve the current state of the account's AWS Shield Advanced subscription

The following get-subscription-state example retrieves the state of the Shield Advanced protection for the account.

aws shield get-subscription-stateIdentify
Its output
{
    "SubscriptionState": "ACTIVE"
}

For more information, see How AWS Shield Works in the AWS Shield Advanced Developer Guide.