AWSRekognitionPutProjectPolicyRequest

Objective-C

@interface AWSRekognitionPutProjectPolicyRequest

Swift

class AWSRekognitionPutProjectPolicyRequest
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyDocument;

    Swift

    var policyDocument: String? { get set }
  • A name for the policy.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyName;

    Swift

    var policyName: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyRevisionId;

    Swift

    var policyRevisionId: String? { get set }
  • The Amazon Resource Name (ARN) of the project that the project policy is attached to.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable projectArn;

    Swift

    var projectArn: String? { get set }