S3 Batch Operations performs large-scale Batch Operations on Amazon S3 objects. Batch Operations can run a single operation or action on lists of Amazon S3 objects that you specify. For more information, see S3 Batch Operations in the Amazon Simple Storage Service Developer Guide.
This operation creates an S3 Batch Operations job.
Related actions include:
describe_job
list_jobs
update_job_priority
update_job_status
s3control_create_job(AccountId, ConfirmationRequired, Operation, Report,
ClientRequestToken, Manifest, Description, Priority, RoleArn, Tags)
A list with the following syntax:
list(
JobId = "string"
)
[required] The AWS account ID that creates the job.
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
[required] The operation that you want this job to perform on each object listed in the manifest. For more information about the available operations, see Operations in the Amazon Simple Storage Service Developer Guide.
[required] Configuration parameters for the optional job-completion report.
[required] An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
[required] Configuration parameters for the manifest.
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
[required] The numerical priority for this job. Higher numbers indicate higher priority.
[required] The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that Batch Operations will use to run this job's operation on each object in the manifest.
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
svc$create_job(
AccountId = "string",
ConfirmationRequired = TRUE|FALSE,
Operation = list(
LambdaInvoke = list(
FunctionArn = "string"
),
S3PutObjectCopy = list(
TargetResource = "string",
CannedAccessControlList = "private"|"public-read"|"public-read-write"|"aws-exec-read"|"authenticated-read"|"bucket-owner-read"|"bucket-owner-full-control",
AccessControlGrants = list(
list(
Grantee = list(
TypeIdentifier = "id"|"emailAddress"|"uri",
Identifier = "string",
DisplayName = "string"
),
Permission = "FULL_CONTROL"|"READ"|"WRITE"|"READ_ACP"|"WRITE_ACP"
)
),
MetadataDirective = "COPY"|"REPLACE",
ModifiedSinceConstraint = as.POSIXct(
"2015-01-01"
),
NewObjectMetadata = list(
CacheControl = "string",
ContentDisposition = "string",
ContentEncoding = "string",
ContentLanguage = "string",
UserMetadata = list(
"string"
),
ContentLength = 123,
ContentMD5 = "string",
ContentType = "string",
HttpExpiresDate = as.POSIXct(
"2015-01-01"
),
RequesterCharged = TRUE|FALSE,
SSEAlgorithm = "AES256"|"KMS"
),
NewObjectTagging = list(
list(
Key = "string",
Value = "string"
)
),
RedirectLocation = "string",
RequesterPays = TRUE|FALSE,
StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"GLACIER"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE",
UnModifiedSinceConstraint = as.POSIXct(
"2015-01-01"
),
SSEAwsKmsKeyId = "string",
TargetKeyPrefix = "string",
ObjectLockLegalHoldStatus = "OFF"|"ON",
ObjectLockMode = "COMPLIANCE"|"GOVERNANCE",
ObjectLockRetainUntilDate = as.POSIXct(
"2015-01-01"
)
),
S3PutObjectAcl = list(
AccessControlPolicy = list(
AccessControlList = list(
Owner = list(
ID = "string",
DisplayName = "string"
),
Grants = list(
list(
Grantee = list(
TypeIdentifier = "id"|"emailAddress"|"uri",
Identifier = "string",
DisplayName = "string"
),
Permission = "FULL_CONTROL"|"READ"|"WRITE"|"READ_ACP"|"WRITE_ACP"
)
)
),
CannedAccessControlList = "private"|"public-read"|"public-read-write"|"aws-exec-read"|"authenticated-read"|"bucket-owner-read"|"bucket-owner-full-control"
)
),
S3PutObjectTagging = list(
TagSet = list(
list(
Key = "string",
Value = "string"
)
)
),
S3InitiateRestoreObject = list(
ExpirationInDays = 123,
GlacierJobTier = "BULK"|"STANDARD"
),
S3PutObjectLegalHold = list(
LegalHold = list(
Status = "OFF"|"ON"
)
),
S3PutObjectRetention = list(
BypassGovernanceRetention = TRUE|FALSE,
Retention = list(
RetainUntilDate = as.POSIXct(
"2015-01-01"
),
Mode = "COMPLIANCE"|"GOVERNANCE"
)
)
),
Report = list(
Bucket = "string",
Format = "Report_CSV_20180820",
Enabled = TRUE|FALSE,
Prefix = "string",
ReportScope = "AllTasks"|"FailedTasksOnly"
),
ClientRequestToken = "string",
Manifest = list(
Spec = list(
Format = "S3BatchOperations_CSV_20180820"|"S3InventoryReport_CSV_20161130",
Fields = list(
"Ignore"|"Bucket"|"Key"|"VersionId"
)
),
Location = list(
ObjectArn = "string",
ObjectVersionId = "string",
ETag = "string"
)
),
Description = "string",
Priority = 123,
RoleArn = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)