UNPKG

24.6 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7import {UseDualstackConfigOptions} from '../lib/config_use_dualstack';
8interface Blob {}
9declare class S3Control extends Service {
10 /**
11 * Constructs a service object. This object has one method for each API operation.
12 */
13 constructor(options?: S3Control.Types.ClientConfiguration)
14 config: Config & S3Control.Types.ClientConfiguration;
15 /**
16 * Creates an Amazon S3 batch operations job.
17 */
18 createJob(params: S3Control.Types.CreateJobRequest, callback?: (err: AWSError, data: S3Control.Types.CreateJobResult) => void): Request<S3Control.Types.CreateJobResult, AWSError>;
19 /**
20 * Creates an Amazon S3 batch operations job.
21 */
22 createJob(callback?: (err: AWSError, data: S3Control.Types.CreateJobResult) => void): Request<S3Control.Types.CreateJobResult, AWSError>;
23 /**
24 * Deletes the block public access configuration for the specified account.
25 */
26 deletePublicAccessBlock(params: S3Control.Types.DeletePublicAccessBlockRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
27 /**
28 * Deletes the block public access configuration for the specified account.
29 */
30 deletePublicAccessBlock(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
31 /**
32 * Retrieves the configuration parameters and status for a batch operations job.
33 */
34 describeJob(params: S3Control.Types.DescribeJobRequest, callback?: (err: AWSError, data: S3Control.Types.DescribeJobResult) => void): Request<S3Control.Types.DescribeJobResult, AWSError>;
35 /**
36 * Retrieves the configuration parameters and status for a batch operations job.
37 */
38 describeJob(callback?: (err: AWSError, data: S3Control.Types.DescribeJobResult) => void): Request<S3Control.Types.DescribeJobResult, AWSError>;
39 /**
40 *
41 */
42 getPublicAccessBlock(params: S3Control.Types.GetPublicAccessBlockRequest, callback?: (err: AWSError, data: S3Control.Types.GetPublicAccessBlockOutput) => void): Request<S3Control.Types.GetPublicAccessBlockOutput, AWSError>;
43 /**
44 *
45 */
46 getPublicAccessBlock(callback?: (err: AWSError, data: S3Control.Types.GetPublicAccessBlockOutput) => void): Request<S3Control.Types.GetPublicAccessBlockOutput, AWSError>;
47 /**
48 * Lists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
49 */
50 listJobs(params: S3Control.Types.ListJobsRequest, callback?: (err: AWSError, data: S3Control.Types.ListJobsResult) => void): Request<S3Control.Types.ListJobsResult, AWSError>;
51 /**
52 * Lists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
53 */
54 listJobs(callback?: (err: AWSError, data: S3Control.Types.ListJobsResult) => void): Request<S3Control.Types.ListJobsResult, AWSError>;
55 /**
56 *
57 */
58 putPublicAccessBlock(params: S3Control.Types.PutPublicAccessBlockRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
59 /**
60 *
61 */
62 putPublicAccessBlock(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
63 /**
64 * Updates an existing job's priority.
65 */
66 updateJobPriority(params: S3Control.Types.UpdateJobPriorityRequest, callback?: (err: AWSError, data: S3Control.Types.UpdateJobPriorityResult) => void): Request<S3Control.Types.UpdateJobPriorityResult, AWSError>;
67 /**
68 * Updates an existing job's priority.
69 */
70 updateJobPriority(callback?: (err: AWSError, data: S3Control.Types.UpdateJobPriorityResult) => void): Request<S3Control.Types.UpdateJobPriorityResult, AWSError>;
71 /**
72 * Updates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job.
73 */
74 updateJobStatus(params: S3Control.Types.UpdateJobStatusRequest, callback?: (err: AWSError, data: S3Control.Types.UpdateJobStatusResult) => void): Request<S3Control.Types.UpdateJobStatusResult, AWSError>;
75 /**
76 * Updates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job.
77 */
78 updateJobStatus(callback?: (err: AWSError, data: S3Control.Types.UpdateJobStatusResult) => void): Request<S3Control.Types.UpdateJobStatusResult, AWSError>;
79}
80declare namespace S3Control {
81 export type AccountId = string;
82 export type Boolean = boolean;
83 export type ConfirmationRequired = boolean;
84 export interface CreateJobRequest {
85 /**
86 *
87 */
88 AccountId: AccountId;
89 /**
90 * Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
91 */
92 ConfirmationRequired?: ConfirmationRequired;
93 /**
94 * The operation that you want this job to perform on each object listed in the manifest. For more information about the available operations, see Available Operations in the Amazon Simple Storage Service Developer Guide.
95 */
96 Operation: JobOperation;
97 /**
98 * Configuration parameters for the optional job-completion report.
99 */
100 Report: JobReport;
101 /**
102 * 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.
103 */
104 ClientRequestToken: NonEmptyMaxLength64String;
105 /**
106 * Configuration parameters for the manifest.
107 */
108 Manifest: JobManifest;
109 /**
110 * 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.
111 */
112 Description?: NonEmptyMaxLength256String;
113 /**
114 * The numerical priority for this job. Higher numbers indicate higher priority.
115 */
116 Priority: JobPriority;
117 /**
118 * The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) Role that batch operations will use to execute this job's operation on each object in the manifest.
119 */
120 RoleArn: IAMRoleArn;
121 }
122 export interface CreateJobResult {
123 /**
124 * The ID for this job. Amazon S3 generates this ID automatically and returns it after a successful Create Job request.
125 */
126 JobId?: JobId;
127 }
128 export interface DeletePublicAccessBlockRequest {
129 /**
130 * The account ID for the AWS account whose block public access configuration you want to delete.
131 */
132 AccountId: AccountId;
133 }
134 export interface DescribeJobRequest {
135 /**
136 *
137 */
138 AccountId: AccountId;
139 /**
140 * The ID for the job whose information you want to retrieve.
141 */
142 JobId: JobId;
143 }
144 export interface DescribeJobResult {
145 /**
146 * Contains the configuration parameters and status for the job specified in the Describe Job request.
147 */
148 Job?: JobDescriptor;
149 }
150 export interface GetPublicAccessBlockOutput {
151 /**
152 *
153 */
154 PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration;
155 }
156 export interface GetPublicAccessBlockRequest {
157 /**
158 *
159 */
160 AccountId: AccountId;
161 }
162 export type IAMRoleArn = string;
163 export type JobArn = string;
164 export type JobCreationTime = Date;
165 export interface JobDescriptor {
166 /**
167 * The ID for the specified job.
168 */
169 JobId?: JobId;
170 /**
171 * Indicates whether confirmation is required before Amazon S3 begins running the specified job. Confirmation is required only for jobs created through the Amazon S3 console.
172 */
173 ConfirmationRequired?: ConfirmationRequired;
174 /**
175 * The description for this job, if one was provided in this job's Create Job request.
176 */
177 Description?: NonEmptyMaxLength256String;
178 /**
179 * The Amazon Resource Name (ARN) for this job.
180 */
181 JobArn?: JobArn;
182 /**
183 * The current status of the specified job.
184 */
185 Status?: JobStatus;
186 /**
187 * The configuration information for the specified job's manifest object.
188 */
189 Manifest?: JobManifest;
190 /**
191 * The operation that the specified job is configured to execute on the objects listed in the manifest.
192 */
193 Operation?: JobOperation;
194 /**
195 * The priority of the specified job.
196 */
197 Priority?: JobPriority;
198 /**
199 * Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and the number of tasks that failed.
200 */
201 ProgressSummary?: JobProgressSummary;
202 /**
203 *
204 */
205 StatusUpdateReason?: JobStatusUpdateReason;
206 /**
207 * If the specified job failed, this field contains information describing the failure.
208 */
209 FailureReasons?: JobFailureList;
210 /**
211 * Contains the configuration information for the job-completion report if you requested one in the Create Job request.
212 */
213 Report?: JobReport;
214 /**
215 * A timestamp indicating when this job was created.
216 */
217 CreationTime?: JobCreationTime;
218 /**
219 * A timestamp indicating when this job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
220 */
221 TerminationDate?: JobTerminationDate;
222 /**
223 * The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) Role assigned to execute the tasks for this job.
224 */
225 RoleArn?: IAMRoleArn;
226 /**
227 * The timestamp when this job was suspended, if it has been suspended.
228 */
229 SuspendedDate?: SuspendedDate;
230 /**
231 * The reason why the specified job was suspended. A job is only suspended if you create it through the Amazon S3 console. When you create the job, it enters the Suspended state to await confirmation before running. After you confirm the job, it automatically exits the Suspended state.
232 */
233 SuspendedCause?: SuspendedCause;
234 }
235 export interface JobFailure {
236 /**
237 * The failure code, if any, for the specified job.
238 */
239 FailureCode?: JobFailureCode;
240 /**
241 * The failure reason, if any, for the specified job.
242 */
243 FailureReason?: JobFailureReason;
244 }
245 export type JobFailureCode = string;
246 export type JobFailureList = JobFailure[];
247 export type JobFailureReason = string;
248 export type JobId = string;
249 export interface JobListDescriptor {
250 /**
251 * The ID for the specified job.
252 */
253 JobId?: JobId;
254 /**
255 * The user-specified description that was included in the specified job's Create Job request.
256 */
257 Description?: NonEmptyMaxLength256String;
258 /**
259 * The operation that the specified job is configured to run on each object listed in the manifest.
260 */
261 Operation?: OperationName;
262 /**
263 * The current priority for the specified job.
264 */
265 Priority?: JobPriority;
266 /**
267 * The specified job's current status.
268 */
269 Status?: JobStatus;
270 /**
271 * A timestamp indicating when the specified job was created.
272 */
273 CreationTime?: JobCreationTime;
274 /**
275 * A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
276 */
277 TerminationDate?: JobTerminationDate;
278 /**
279 * Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and the number of tasks that failed.
280 */
281 ProgressSummary?: JobProgressSummary;
282 }
283 export type JobListDescriptorList = JobListDescriptor[];
284 export interface JobManifest {
285 /**
286 * Describes the format of the specified job's manifest. If the manifest is in CSV format, also describes the columns contained within the manifest.
287 */
288 Spec: JobManifestSpec;
289 /**
290 * Contains the information required to locate the specified job's manifest.
291 */
292 Location: JobManifestLocation;
293 }
294 export type JobManifestFieldList = JobManifestFieldName[];
295 export type JobManifestFieldName = "Ignore"|"Bucket"|"Key"|"VersionId"|string;
296 export type JobManifestFormat = "S3BatchOperations_CSV_20180820"|"S3InventoryReport_CSV_20161130"|string;
297 export interface JobManifestLocation {
298 /**
299 * The Amazon Resource Name (ARN) for a manifest object.
300 */
301 ObjectArn: S3KeyArnString;
302 /**
303 * The optional version ID to identify a specific version of the manifest object.
304 */
305 ObjectVersionId?: S3ObjectVersionId;
306 /**
307 * The ETag for the specified manifest object.
308 */
309 ETag: NonEmptyMaxLength1024String;
310 }
311 export interface JobManifestSpec {
312 /**
313 * Indicates which of the available formats the specified manifest uses.
314 */
315 Format: JobManifestFormat;
316 /**
317 * If the specified manifest object is in the S3BatchOperations_CSV_20180820 format, this element describes which columns contain the required data.
318 */
319 Fields?: JobManifestFieldList;
320 }
321 export type JobNumberOfTasksFailed = number;
322 export type JobNumberOfTasksSucceeded = number;
323 export interface JobOperation {
324 /**
325 * Directs the specified job to invoke an AWS Lambda function on each object in the manifest.
326 */
327 LambdaInvoke?: LambdaInvokeOperation;
328 /**
329 * Directs the specified job to execute a PUT Copy object call on each object in the manifest.
330 */
331 S3PutObjectCopy?: S3CopyObjectOperation;
332 /**
333 * Directs the specified job to execute a PUT Object acl call on each object in the manifest.
334 */
335 S3PutObjectAcl?: S3SetObjectAclOperation;
336 /**
337 * Directs the specified job to execute a PUT Object tagging call on each object in the manifest.
338 */
339 S3PutObjectTagging?: S3SetObjectTaggingOperation;
340 /**
341 * Directs the specified job to execute an Initiate Glacier Restore call on each object in the manifest.
342 */
343 S3InitiateRestoreObject?: S3InitiateRestoreObjectOperation;
344 }
345 export type JobPriority = number;
346 export interface JobProgressSummary {
347 /**
348 *
349 */
350 TotalNumberOfTasks?: JobTotalNumberOfTasks;
351 /**
352 *
353 */
354 NumberOfTasksSucceeded?: JobNumberOfTasksSucceeded;
355 /**
356 *
357 */
358 NumberOfTasksFailed?: JobNumberOfTasksFailed;
359 }
360 export interface JobReport {
361 /**
362 * The bucket where specified job-completion report will be stored.
363 */
364 Bucket?: S3BucketArnString;
365 /**
366 * The format of the specified job-completion report.
367 */
368 Format?: JobReportFormat;
369 /**
370 * Indicates whether the specified job will generate a job-completion report.
371 */
372 Enabled: Boolean;
373 /**
374 * An optional prefix to describe where in the specified bucket the job-completion report will be stored. Amazon S3 will store the job-completion report at &lt;prefix&gt;/job-&lt;job-id&gt;/report.json.
375 */
376 Prefix?: ReportPrefixString;
377 /**
378 * Indicates whether the job-completion report will include details of all tasks or only failed tasks.
379 */
380 ReportScope?: JobReportScope;
381 }
382 export type JobReportFormat = "Report_CSV_20180820"|string;
383 export type JobReportScope = "AllTasks"|"FailedTasksOnly"|string;
384 export type JobStatus = "Active"|"Cancelled"|"Cancelling"|"Complete"|"Completing"|"Failed"|"Failing"|"New"|"Paused"|"Pausing"|"Preparing"|"Ready"|"Suspended"|string;
385 export type JobStatusList = JobStatus[];
386 export type JobStatusUpdateReason = string;
387 export type JobTerminationDate = Date;
388 export type JobTotalNumberOfTasks = number;
389 export type KmsKeyArnString = string;
390 export interface LambdaInvokeOperation {
391 /**
392 * The Amazon Resource Name (ARN) for the AWS Lambda function that the specified job will invoke for each object in the manifest.
393 */
394 FunctionArn?: NonEmptyMaxLength1024String;
395 }
396 export interface ListJobsRequest {
397 /**
398 *
399 */
400 AccountId: AccountId;
401 /**
402 * The List Jobs request returns jobs that match the statuses listed in this element.
403 */
404 JobStatuses?: JobStatusList;
405 /**
406 * A pagination token to request the next page of results. Use the token that Amazon S3 returned in the NextToken element of the ListJobsResult from the previous List Jobs request.
407 */
408 NextToken?: NonEmptyMaxLength1024String;
409 /**
410 * The maximum number of jobs that Amazon S3 will include in the List Jobs response. If there are more jobs than this number, the response will include a pagination token in the NextToken field to enable you to retrieve the next page of results.
411 */
412 MaxResults?: MaxResults;
413 }
414 export interface ListJobsResult {
415 /**
416 * If the List Jobs request produced more than the maximum number of results, you can pass this value into a subsequent List Jobs request in order to retrieve the next page of results.
417 */
418 NextToken?: NonEmptyMaxLength1024String;
419 /**
420 * The list of current jobs and jobs that have ended within the last 30 days.
421 */
422 Jobs?: JobListDescriptorList;
423 }
424 export type MaxLength1024String = string;
425 export type MaxResults = number;
426 export type NonEmptyMaxLength1024String = string;
427 export type NonEmptyMaxLength2048String = string;
428 export type NonEmptyMaxLength256String = string;
429 export type NonEmptyMaxLength64String = string;
430 export type OperationName = "LambdaInvoke"|"S3PutObjectCopy"|"S3PutObjectAcl"|"S3PutObjectTagging"|"S3InitiateRestoreObject"|string;
431 export interface PublicAccessBlockConfiguration {
432 /**
433 *
434 */
435 BlockPublicAcls?: Setting;
436 /**
437 *
438 */
439 IgnorePublicAcls?: Setting;
440 /**
441 *
442 */
443 BlockPublicPolicy?: Setting;
444 /**
445 *
446 */
447 RestrictPublicBuckets?: Setting;
448 }
449 export interface PutPublicAccessBlockRequest {
450 /**
451 *
452 */
453 PublicAccessBlockConfiguration: PublicAccessBlockConfiguration;
454 /**
455 *
456 */
457 AccountId: AccountId;
458 }
459 export type ReportPrefixString = string;
460 export type RequestedJobStatus = "Cancelled"|"Ready"|string;
461 export interface S3AccessControlList {
462 /**
463 *
464 */
465 Owner: S3ObjectOwner;
466 /**
467 *
468 */
469 Grants?: S3GrantList;
470 }
471 export interface S3AccessControlPolicy {
472 /**
473 *
474 */
475 AccessControlList?: S3AccessControlList;
476 /**
477 *
478 */
479 CannedAccessControlList?: S3CannedAccessControlList;
480 }
481 export type S3BucketArnString = string;
482 export type S3CannedAccessControlList = "private"|"public-read"|"public-read-write"|"aws-exec-read"|"authenticated-read"|"bucket-owner-read"|"bucket-owner-full-control"|string;
483 export type S3ContentLength = number;
484 export interface S3CopyObjectOperation {
485 /**
486 *
487 */
488 TargetResource?: S3BucketArnString;
489 /**
490 *
491 */
492 CannedAccessControlList?: S3CannedAccessControlList;
493 /**
494 *
495 */
496 AccessControlGrants?: S3GrantList;
497 /**
498 *
499 */
500 MetadataDirective?: S3MetadataDirective;
501 /**
502 *
503 */
504 ModifiedSinceConstraint?: TimeStamp;
505 /**
506 *
507 */
508 NewObjectMetadata?: S3ObjectMetadata;
509 /**
510 *
511 */
512 NewObjectTagging?: S3TagSet;
513 /**
514 *
515 */
516 RedirectLocation?: NonEmptyMaxLength2048String;
517 /**
518 *
519 */
520 RequesterPays?: Boolean;
521 /**
522 *
523 */
524 StorageClass?: S3StorageClass;
525 /**
526 *
527 */
528 UnModifiedSinceConstraint?: TimeStamp;
529 /**
530 *
531 */
532 SSEAwsKmsKeyId?: KmsKeyArnString;
533 TargetKeyPrefix?: NonEmptyMaxLength1024String;
534 ObjectLockLegalHoldStatus?: S3ObjectLockLegalHoldStatus;
535 ObjectLockMode?: S3ObjectLockMode;
536 ObjectLockRetainUntilDate?: TimeStamp;
537 }
538 export type S3ExpirationInDays = number;
539 export type S3GlacierJobTier = "BULK"|"STANDARD"|string;
540 export interface S3Grant {
541 /**
542 *
543 */
544 Grantee?: S3Grantee;
545 /**
546 *
547 */
548 Permission?: S3Permission;
549 }
550 export type S3GrantList = S3Grant[];
551 export interface S3Grantee {
552 /**
553 *
554 */
555 TypeIdentifier?: S3GranteeTypeIdentifier;
556 /**
557 *
558 */
559 Identifier?: NonEmptyMaxLength1024String;
560 /**
561 *
562 */
563 DisplayName?: NonEmptyMaxLength1024String;
564 }
565 export type S3GranteeTypeIdentifier = "id"|"emailAddress"|"uri"|string;
566 export interface S3InitiateRestoreObjectOperation {
567 /**
568 *
569 */
570 ExpirationInDays?: S3ExpirationInDays;
571 /**
572 *
573 */
574 GlacierJobTier?: S3GlacierJobTier;
575 }
576 export type S3KeyArnString = string;
577 export type S3MetadataDirective = "COPY"|"REPLACE"|string;
578 export type S3ObjectLockLegalHoldStatus = "OFF"|"ON"|string;
579 export type S3ObjectLockMode = "COMPLIANCE"|"GOVERNANCE"|string;
580 export interface S3ObjectMetadata {
581 /**
582 *
583 */
584 CacheControl?: NonEmptyMaxLength1024String;
585 /**
586 *
587 */
588 ContentDisposition?: NonEmptyMaxLength1024String;
589 /**
590 *
591 */
592 ContentEncoding?: NonEmptyMaxLength1024String;
593 /**
594 *
595 */
596 ContentLanguage?: NonEmptyMaxLength1024String;
597 /**
598 *
599 */
600 UserMetadata?: S3UserMetadata;
601 /**
602 *
603 */
604 ContentLength?: S3ContentLength;
605 /**
606 *
607 */
608 ContentMD5?: NonEmptyMaxLength1024String;
609 /**
610 *
611 */
612 ContentType?: NonEmptyMaxLength1024String;
613 /**
614 *
615 */
616 HttpExpiresDate?: TimeStamp;
617 /**
618 *
619 */
620 RequesterCharged?: Boolean;
621 /**
622 *
623 */
624 SSEAlgorithm?: S3SSEAlgorithm;
625 }
626 export interface S3ObjectOwner {
627 /**
628 *
629 */
630 ID?: NonEmptyMaxLength1024String;
631 /**
632 *
633 */
634 DisplayName?: NonEmptyMaxLength1024String;
635 }
636 export type S3ObjectVersionId = string;
637 export type S3Permission = "FULL_CONTROL"|"READ"|"WRITE"|"READ_ACP"|"WRITE_ACP"|string;
638 export type S3SSEAlgorithm = "AES256"|"KMS"|string;
639 export interface S3SetObjectAclOperation {
640 /**
641 *
642 */
643 AccessControlPolicy?: S3AccessControlPolicy;
644 }
645 export interface S3SetObjectTaggingOperation {
646 /**
647 *
648 */
649 TagSet?: S3TagSet;
650 }
651 export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"GLACIER"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE"|string;
652 export interface S3Tag {
653 /**
654 *
655 */
656 Key: NonEmptyMaxLength1024String;
657 /**
658 *
659 */
660 Value: MaxLength1024String;
661 }
662 export type S3TagSet = S3Tag[];
663 export type S3UserMetadata = {[key: string]: MaxLength1024String};
664 export type Setting = boolean;
665 export type SuspendedCause = string;
666 export type SuspendedDate = Date;
667 export type TimeStamp = Date;
668 export interface UpdateJobPriorityRequest {
669 /**
670 *
671 */
672 AccountId: AccountId;
673 /**
674 * The ID for the job whose priority you want to update.
675 */
676 JobId: JobId;
677 /**
678 * The priority you want to assign to this job.
679 */
680 Priority: JobPriority;
681 }
682 export interface UpdateJobPriorityResult {
683 /**
684 * The ID for the job whose priority Amazon S3 updated.
685 */
686 JobId: JobId;
687 /**
688 * The new priority assigned to the specified job.
689 */
690 Priority: JobPriority;
691 }
692 export interface UpdateJobStatusRequest {
693 /**
694 *
695 */
696 AccountId: AccountId;
697 /**
698 * The ID of the job whose status you want to update.
699 */
700 JobId: JobId;
701 /**
702 * The status that you want to move the specified job to.
703 */
704 RequestedJobStatus: RequestedJobStatus;
705 /**
706 * A description of the reason why you want to change the specified job's status. This field can be any string up to the maximum length.
707 */
708 StatusUpdateReason?: JobStatusUpdateReason;
709 }
710 export interface UpdateJobStatusResult {
711 /**
712 * The ID for the job whose status was updated.
713 */
714 JobId?: JobId;
715 /**
716 * The current status for the specified job.
717 */
718 Status?: JobStatus;
719 /**
720 * The reason that the specified job's status was updated.
721 */
722 StatusUpdateReason?: JobStatusUpdateReason;
723 }
724 /**
725 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
726 */
727 export type apiVersion = "2018-08-20"|"latest"|string;
728 export interface ClientApiVersions {
729 /**
730 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
731 */
732 apiVersion?: apiVersion;
733 }
734 export type ClientConfiguration = ServiceConfigurationOptions & UseDualstackConfigOptions & ClientApiVersions;
735 /**
736 * Contains interfaces for use with the S3Control client.
737 */
738 export import Types = S3Control;
739}
740export = S3Control;