Class: Aws::Context::Types::CreateCurationPolicyVersionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::CreateCurationPolicyVersionResponse
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The ARN of the curation policy.
-
#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
statusReasonCodeREQUEST_EXPIRED. -
#created_at ⇒ Time
The date and time when the curation policy was created.
-
#description ⇒ String
The description of the curation policy.
-
#id ⇒ String
The ID of the curation policy.
-
#last_published_version ⇒ String
Newest published version.
-
#name ⇒ String
The name of the curation policy.
-
#policy_document ⇒ String
The policy's rules, as a Cedar policy document: the rule the engine evaluates.
-
#revision_id ⇒ String
An opaque revision token for the working copy.
-
#status ⇒ String
The policy's status.
-
#updated_at ⇒ Time
When the resource last changed.
Instance Attribute Details
#arn ⇒ String
The ARN of the curation policy.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :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.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :status) SENSITIVE = [] include Aws::Structure end |
#created_at ⇒ Time
The date and time when the curation policy was created.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :status) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the curation policy.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :status) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID of the curation policy. Requests take it as
curationPolicyId.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :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).
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :status) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the curation policy.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :status) SENSITIVE = [] include Aws::Structure end |
#policy_document ⇒ String
The policy's rules, as a Cedar policy document: the rule the engine evaluates. Always present on the resource.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :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.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :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.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :status) SENSITIVE = [] include Aws::Structure end |
#updated_at ⇒ Time
When the resource last changed. Equal to createdAt until the first
update.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2274 class CreateCurationPolicyVersionResponse < Struct.new( :id, :arn, :name, :last_published_version, :revision_id, :created_at, :updated_at, :auto_reject_after_seconds, :description, :policy_document, :status) SENSITIVE = [] include Aws::Structure end |