2019/02/05 - AWS Shield - 1 updated api methods
Changes The DescribeProtection request now accepts resource ARN as valid parameter.
{'ResourceArn': 'string'}
Lists the details of a Protection object.
See also: AWS API Documentation
Request Syntax
client.describe_protection( ProtectionId='string', ResourceArn='string' )
string
The unique identifier (ID) for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID , but not both.
string
The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID , but not both.
dict
Response Syntax
{ 'Protection': { 'Id': 'string', 'Name': 'string', 'ResourceArn': 'string' } }
Response Structure
(dict) --
Protection (dict) --
The Protection object that is described.
Id (string) --
The unique identifier (ID) of the protection.
Name (string) --
The friendly name of the protection. For example, My CloudFront distributions .
ResourceArn (string) --
The ARN (Amazon Resource Name) of the AWS resource that is protected.