lib/aws-sdk-s3control/client.rb in aws-sdk-s3control-1.47.0 vs lib/aws-sdk-s3control/client.rb in aws-sdk-s3control-1.48.0

- old
+ new

@@ -724,11 +724,11 @@ # # * [JobOperation][6] # # # - # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-basics.html + # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_JobOperation.html @@ -758,11 +758,11 @@ # same request twice. You can use any string up to the maximum length. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # - # @option params [required, Types::JobManifest] :manifest + # @option params [Types::JobManifest] :manifest # Configuration parameters for the manifest. # # @option params [String] :description # A description for this job. You can use any string within the # permitted length. Descriptions don't need to be unique and can be @@ -779,10 +779,15 @@ # # @option params [Array<Types::S3Tag>] :tags # A set of tags to associate with the S3 Batch Operations job. This is # an optional parameter. # + # @option params [Types::JobManifestGenerator] :manifest_generator + # The attribute container for the ManifestGenerator details. Jobs must + # be created with either a manifest file or a ManifestGenerator, but not + # both. + # # @return [Types::CreateJobResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateJobResult#job_id #job_id} => String # # @example Request syntax with placeholder values @@ -830,11 +835,11 @@ # value: "TagValueString", # required # }, # ], # redirect_location: "NonEmptyMaxLength2048String", # requester_pays: false, - # storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, GLACIER, INTELLIGENT_TIERING, DEEP_ARCHIVE + # storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, GLACIER, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR # un_modified_since_constraint: Time.now, # sse_aws_kms_key_id: "KmsKeyArnString", # target_key_prefix: "NonEmptyMaxLength1024String", # object_lock_legal_hold_status: "OFF", # accepts OFF, ON # object_lock_mode: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE @@ -886,20 +891,22 @@ # retention: { # required # retain_until_date: Time.now, # mode: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE # }, # }, + # s3_replicate_object: { + # }, # }, # report: { # required # bucket: "S3BucketArnString", # format: "Report_CSV_20180820", # accepts Report_CSV_20180820 # enabled: false, # required # prefix: "ReportPrefixString", # report_scope: "AllTasks", # accepts AllTasks, FailedTasksOnly # }, # client_request_token: "NonEmptyMaxLength64String", # required - # manifest: { # required + # manifest: { # spec: { # required # format: "S3BatchOperations_CSV_20180820", # required, accepts S3BatchOperations_CSV_20180820, S3InventoryReport_CSV_20161130 # fields: ["Ignore"], # accepts Ignore, Bucket, Key, VersionId # }, # location: { # required @@ -915,10 +922,36 @@ # { # key: "TagKeyString", # required # value: "TagValueString", # required # }, # ], + # manifest_generator: { + # s3_job_manifest_generator: { + # expected_bucket_owner: "AccountId", + # source_bucket: "S3BucketArnString", # required + # manifest_output_location: { + # expected_manifest_bucket_owner: "AccountId", + # bucket: "S3BucketArnString", # required + # manifest_prefix: "ManifestPrefixString", + # manifest_encryption: { + # sses3: { + # }, + # ssekms: { + # key_id: "KmsKeyArnString", # required + # }, + # }, + # manifest_format: "S3InventoryReport_CSV_20211130", # required, accepts S3InventoryReport_CSV_20211130 + # }, + # filter: { + # eligible_for_replication: false, + # created_after: Time.now, + # created_before: Time.now, + # object_replication_statuses: ["COMPLETED"], # accepts COMPLETED, FAILED, REPLICA, NONE + # }, + # enable_manifest_output: false, # required + # }, + # }, # }) # # @example Response structure # # resp.job_id #=> String @@ -1795,11 +1828,11 @@ # # * [UpdateJobStatus][5] # # # - # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-basics.html + # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html # @@ -1859,11 +1892,11 @@ # resp.job.operation.s3_put_object_copy.new_object_tagging #=> Array # resp.job.operation.s3_put_object_copy.new_object_tagging[0].key #=> String # resp.job.operation.s3_put_object_copy.new_object_tagging[0].value #=> String # resp.job.operation.s3_put_object_copy.redirect_location #=> String # resp.job.operation.s3_put_object_copy.requester_pays #=> Boolean - # resp.job.operation.s3_put_object_copy.storage_class #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "GLACIER", "INTELLIGENT_TIERING", "DEEP_ARCHIVE" + # resp.job.operation.s3_put_object_copy.storage_class #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "GLACIER", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "GLACIER_IR" # resp.job.operation.s3_put_object_copy.un_modified_since_constraint #=> Time # resp.job.operation.s3_put_object_copy.sse_aws_kms_key_id #=> String # resp.job.operation.s3_put_object_copy.target_key_prefix #=> String # resp.job.operation.s3_put_object_copy.object_lock_legal_hold_status #=> String, one of "OFF", "ON" # resp.job.operation.s3_put_object_copy.object_lock_mode #=> String, one of "COMPLIANCE", "GOVERNANCE" @@ -1888,10 +1921,11 @@ # resp.job.operation.s3_put_object_retention.retention.mode #=> String, one of "COMPLIANCE", "GOVERNANCE" # resp.job.priority #=> Integer # resp.job.progress_summary.total_number_of_tasks #=> Integer # resp.job.progress_summary.number_of_tasks_succeeded #=> Integer # resp.job.progress_summary.number_of_tasks_failed #=> Integer + # resp.job.progress_summary.timers.elapsed_time_in_active_seconds #=> Integer # resp.job.status_update_reason #=> String # resp.job.failure_reasons #=> Array # resp.job.failure_reasons[0].failure_code #=> String # resp.job.failure_reasons[0].failure_reason #=> String # resp.job.report.bucket #=> String @@ -1902,10 +1936,27 @@ # resp.job.creation_time #=> Time # resp.job.termination_date #=> Time # resp.job.role_arn #=> String # resp.job.suspended_date #=> Time # resp.job.suspended_cause #=> String + # resp.job.manifest_generator.s3_job_manifest_generator.expected_bucket_owner #=> String + # resp.job.manifest_generator.s3_job_manifest_generator.source_bucket #=> String + # resp.job.manifest_generator.s3_job_manifest_generator.manifest_output_location.expected_manifest_bucket_owner #=> String + # resp.job.manifest_generator.s3_job_manifest_generator.manifest_output_location.bucket #=> String + # resp.job.manifest_generator.s3_job_manifest_generator.manifest_output_location.manifest_prefix #=> String + # resp.job.manifest_generator.s3_job_manifest_generator.manifest_output_location.manifest_encryption.ssekms.key_id #=> String + # resp.job.manifest_generator.s3_job_manifest_generator.manifest_output_location.manifest_format #=> String, one of "S3InventoryReport_CSV_20211130" + # resp.job.manifest_generator.s3_job_manifest_generator.filter.eligible_for_replication #=> Boolean + # resp.job.manifest_generator.s3_job_manifest_generator.filter.created_after #=> Time + # resp.job.manifest_generator.s3_job_manifest_generator.filter.created_before #=> Time + # resp.job.manifest_generator.s3_job_manifest_generator.filter.object_replication_statuses #=> Array + # resp.job.manifest_generator.s3_job_manifest_generator.filter.object_replication_statuses[0] #=> String, one of "COMPLETED", "FAILED", "REPLICA", "NONE" + # resp.job.manifest_generator.s3_job_manifest_generator.enable_manifest_output #=> Boolean + # resp.job.generated_manifest_descriptor.format #=> String, one of "S3InventoryReport_CSV_20211130" + # resp.job.generated_manifest_descriptor.location.object_arn #=> String + # resp.job.generated_manifest_descriptor.location.object_version_id #=> String + # resp.job.generated_manifest_descriptor.location.etag #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeJob AWS API Documentation # # @overload describe_job(params = {}) # @param [Hash] params ({}) @@ -3275,14 +3326,13 @@ def list_access_points(params = {}, options = {}) req = build_request(:list_access_points, params) req.send_request(options) end - # Returns a list of the access points associated with the Object Lambda - # Access Point. You can retrieve up to 1000 access points per call. If - # there are more than 1,000 access points (or the number specified in - # `maxResults`, whichever is less), the response will include a + # Returns some or all (up to 1,000) access points associated with the + # Object Lambda Access Point per call. If there are more access points + # than what can be returned in one call, the response will include a # continuation token that you can use to list the additional access # points. # # The following actions are related to # `ListAccessPointsForObjectLambda`\: @@ -3309,13 +3359,14 @@ # provide in subsequent calls to this API to retrieve additional access # points. # # @option params [Integer] :max_results # The maximum number of access points that you want to include in the - # list. If there are more than this number of access points, then the - # response will include a continuation token in the `NextToken` field - # that you can use to retrieve the next page of access points. + # list. The response may contain fewer access points but will never + # contain more. If there are more than this number of access points, + # then the response will include a continuation token in the `NextToken` + # field that you can use to retrieve the next page of access points. # # @return [Types::ListAccessPointsForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListAccessPointsForObjectLambdaResult#object_lambda_access_point_list #object_lambda_access_point_list} => Array&lt;Types::ObjectLambdaAccessPoint&gt; # * {Types::ListAccessPointsForObjectLambdaResult#next_token #next_token} => String @@ -3363,11 +3414,11 @@ # # * [UpdateJobStatus][5] # # # - # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-basics.html + # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html # @@ -3410,18 +3461,19 @@ # # resp.next_token #=> String # resp.jobs #=> Array # resp.jobs[0].job_id #=> String # resp.jobs[0].description #=> String - # resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3DeleteObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention" + # resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3DeleteObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention", "S3ReplicateObject" # resp.jobs[0].priority #=> Integer # resp.jobs[0].status #=> String, one of "Active", "Cancelled", "Cancelling", "Complete", "Completing", "Failed", "Failing", "New", "Paused", "Pausing", "Preparing", "Ready", "Suspended" # resp.jobs[0].creation_time #=> Time # resp.jobs[0].termination_date #=> Time # resp.jobs[0].progress_summary.total_number_of_tasks #=> Integer # resp.jobs[0].progress_summary.number_of_tasks_succeeded #=> Integer # resp.jobs[0].progress_summary.number_of_tasks_failed #=> Integer + # resp.jobs[0].progress_summary.timers.elapsed_time_in_active_seconds #=> Integer # # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListJobs AWS API Documentation # # @overload list_jobs(params = {}) # @param [Hash] params ({}) @@ -4318,12 +4370,13 @@ req = build_request(:put_multi_region_access_point_policy, params) req.send_request(options) end # Creates or modifies the `PublicAccessBlock` configuration for an - # Amazon Web Services account. For more information, see [ Using Amazon - # S3 block public access][1]. + # Amazon Web Services account. For this operation, users must have the + # `s3:PutBucketPublicAccessBlock` permission. For more information, see + # [ Using Amazon S3 block public access][1]. # # Related actions include: # # * [GetPublicAccessBlock][2] # @@ -4547,11 +4600,11 @@ # # * [UpdateJobStatus][5] # # # - # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-basics.html + # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html # @@ -4609,11 +4662,11 @@ # # * [UpdateJobStatus][5] # # # - # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-basics.html + # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html # @@ -4672,10 +4725,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-s3control' - context[:gem_version] = '1.47.0' + context[:gem_version] = '1.48.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated