Class: Aws::Context::Types::UpdateCurationPolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_reject_after_seconds ⇒ Integer

The new auto-reject window, in seconds, from 86,400 (1 day) to 15,552,000 (180 days). If you omit it, the window is unchanged. You can't clear it with this operation.

Returns:

  • (Integer)


8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8066

class UpdateCurationPolicyRequest < Struct.new(
  :client_token,
  :curation_policy_id,
  :revision_id,
  :name,
  :description,
  :policy_document,
  :auto_reject_after_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#client_token ⇒ String

Makes a retry safe: the same token with the same parameters returns the current policy instead of a ConflictException. A token used with different parameters is a ValidationException whose message names clientToken, checked first. A retry with the same parameters after the policy was deleted is a ConflictException.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8066

class UpdateCurationPolicyRequest < Struct.new(
  :client_token,
  :curation_policy_id,
  :revision_id,
  :name,
  :description,
  :policy_document,
  :auto_reject_after_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#curation_policy_id ⇒ String

The ID of the curation policy to update.

Returns:

  • (String)


8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8066

class UpdateCurationPolicyRequest < Struct.new(
  :client_token,
  :curation_policy_id,
  :revision_id,
  :name,
  :description,
  :policy_document,
  :auto_reject_after_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The new description. If you omit it, the description is unchanged.

Returns:

  • (String)


8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8066

class UpdateCurationPolicyRequest < Struct.new(
  :client_token,
  :curation_policy_id,
  :revision_id,
  :name,
  :description,
  :policy_document,
  :auto_reject_after_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The new name. If you omit it, the name is unchanged. This operation updates only the members that you include. You can't use it to clear an optional member.

Returns:

  • (String)


8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8066

class UpdateCurationPolicyRequest < Struct.new(
  :client_token,
  :curation_policy_id,
  :revision_id,
  :name,
  :description,
  :policy_document,
  :auto_reject_after_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#policy_document ⇒ String

The new Cedar policy document. If you omit it, the document is unchanged.

Returns:

  • (String)


8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8066

class UpdateCurationPolicyRequest < Struct.new(
  :client_token,
  :curation_policy_id,
  :revision_id,
  :name,
  :description,
  :policy_document,
  :auto_reject_after_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#revision_id ⇒ String

The revisionId of the working copy that you edited, as you last read it. If a concurrent edit advanced the revision, the request fails with ConflictException.

Returns:

  • (String)


8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8066

class UpdateCurationPolicyRequest < Struct.new(
  :client_token,
  :curation_policy_id,
  :revision_id,
  :name,
  :description,
  :policy_document,
  :auto_reject_after_seconds)
  SENSITIVE = []
  include Aws::Structure
end