You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Shield::Types::Subscription

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

Overview

Information about the AWS Shield Advanced subscription for an account.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_renewString

If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.

When you initally create a subscription, AutoRenew is set to ENABLED. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

Returns:

  • (String)


809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 809

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#end_timeTime

The date and time your subscription will end.

Returns:

  • (Time)


809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 809

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#limitsArray<Types::Limit>

Specifies how many protections of a given type you can create.

Returns:



809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 809

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#start_timeTime

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Returns:

  • (Time)


809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 809

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#time_commitment_in_secondsInteger

The length, in seconds, of the AWS Shield Advanced subscription for the account.

Returns:

  • (Integer)


809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 809

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end