Class: Aws::Rekognition::Types::PutProjectPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::PutProjectPolicyRequest
- Defined in:
- gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy_document ⇒ String
A resource policy to add to the model.
-
#policy_name ⇒ String
A name for the policy.
-
#policy_revision_id ⇒ String
The revision ID for the Project Policy.
-
#project_arn ⇒ String
The Amazon Resource Name (ARN) of the project that the project policy is attached to.
Instance Attribute Details
#policy_document ⇒ String
A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference.
6127 6128 6129 6130 6131 6132 6133 6134 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6127 class PutProjectPolicyRequest < Struct.new( :project_arn, :policy_name, :policy_revision_id, :policy_document) SENSITIVE = [] include Aws::Structure end |
#policy_name ⇒ String
A name for the policy.
6127 6128 6129 6130 6131 6132 6133 6134 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6127 class PutProjectPolicyRequest < Struct.new( :project_arn, :policy_name, :policy_revision_id, :policy_document) SENSITIVE = [] include Aws::Structure end |
#policy_revision_id ⇒ String
The revision ID for the Project Policy. Each time you modify a
policy, Amazon Rekognition Custom Labels generates and assigns a new
PolicyRevisionId
and then deletes the previous version of the
policy.
6127 6128 6129 6130 6131 6132 6133 6134 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6127 class PutProjectPolicyRequest < Struct.new( :project_arn, :policy_name, :policy_revision_id, :policy_document) SENSITIVE = [] include Aws::Structure end |
#project_arn ⇒ String
The Amazon Resource Name (ARN) of the project that the project policy is attached to.
6127 6128 6129 6130 6131 6132 6133 6134 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 6127 class PutProjectPolicyRequest < Struct.new( :project_arn, :policy_name, :policy_revision_id, :policy_document) SENSITIVE = [] include Aws::Structure end |