Class: Aws::Context::Types::CurationPolicySummary

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

Overview

A summary of a curation policy, as returned by ListCurationPolicies. It omits the full resource's description and policyDocument. Get those with GetCurationPolicy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The ARN of the curation policy.

Returns:

  • (String)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#auto_reject_after_seconds ⇒ Integer

The number of seconds that a proposal held for review under this policy can wait for a decision before AWS Context rejects it with statusReasonCode REQUEST_EXPIRED. From 86,400 seconds (1 day) to 15,552,000 seconds (180 days). Absent if proposals held under this policy are never rejected automatically.

Returns:

  • (Integer)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

The date and time when the curation policy was created.

Returns:

  • (Time)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The ID of the curation policy. Requests take it as curationPolicyId.

Returns:

  • (String)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#last_published_version ⇒ String

Newest published version. Absent until the policy's first version is created (a DRAFT that has never been published has no version).

Returns:

  • (String)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the curation policy.

Returns:

  • (String)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#revision_id ⇒ String

An opaque revision token for the working copy. Pass it as revisionId on UpdateCurationPolicy. The update applies only if the token still matches the current working copy.

Returns:

  • (String)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The policy's status.

Valid values:

  • DRAFT - The policy has never been published, so no agent context enforces it.

  • ACTIVE - The policy has a published version, which the agent contexts associated with it enforce.

  • DELETED - The policy is deleted. Nothing enforces it, and only GetCurationPolicy still returns it.

Returns:

  • (String)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

When the resource last changed. Equal to createdAt until the first update.

Returns:

  • (Time)


2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2461

class CurationPolicySummary < Struct.new(
  :id,
  :arn,
  :name,
  :last_published_version,
  :revision_id,
  :created_at,
  :updated_at,
  :auto_reject_after_seconds,
  :status)
  SENSITIVE = []
  include Aws::Structure
end