Class: Aws::Rekognition::Types::PutProjectPolicyRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

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.

Returns:

  • (String)


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_nameString

A name for the policy.

Returns:

  • (String)


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_idString

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.

Returns:

  • (String)


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_arnString

The Amazon Resource Name (ARN) of the project that the project policy is attached to.

Returns:

  • (String)


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