Class: Aws::Shield::Types::DescribeProtectionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb

Overview

Note:

When making an API call, you may pass DescribeProtectionRequest data as a hash:

{
  protection_id: "ProtectionId",
  resource_arn: "ResourceArn",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#protection_idString

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.

Returns:

  • (String)


600
601
602
603
604
605
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 600

class DescribeProtectionRequest < Struct.new(
  :protection_id,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

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.

Returns:

  • (String)


600
601
602
603
604
605
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 600

class DescribeProtectionRequest < Struct.new(
  :protection_id,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end