Class: Aws::S3Control::Types::S3SetObjectLegalHoldOperation

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

Overview

Note:

When making an API call, you may pass S3SetObjectLegalHoldOperation data as a hash:

{
  legal_hold: { # required
    status: "OFF", # required, accepts OFF, ON
  },
}

Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes every object to the underlying PutObjectLegalHold API. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations in the Amazon S3 User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.



6218
6219
6220
6221
6222
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 6218

class S3SetObjectLegalHoldOperation < Struct.new(
  :legal_hold)
  SENSITIVE = []
  include Aws::Structure
end