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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html

Returns:

  • (String)


6140
6141
6142
6143
6144
6145
6146
6147
# File 'lib/aws-sdk-rekognition/types.rb', line 6140

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)


6140
6141
6142
6143
6144
6145
6146
6147
# File 'lib/aws-sdk-rekognition/types.rb', line 6140

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)


6140
6141
6142
6143
6144
6145
6146
6147
# File 'lib/aws-sdk-rekognition/types.rb', line 6140

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)


6140
6141
6142
6143
6144
6145
6146
6147
# File 'lib/aws-sdk-rekognition/types.rb', line 6140

class PutProjectPolicyRequest < Struct.new(
  :project_arn,
  :policy_name,
  :policy_revision_id,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end