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
Examples
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-stateIdentifyIts output
{
"SubscriptionState": "ACTIVE"
}For more information, see How AWS Shield Works in the AWS Shield Advanced Developer Guide.