@aws-sdk/client-s3-control 3.863.0 → 3.870.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +66 -12
- package/dist-es/models/models_0.js +12 -11
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/protocols/Aws_restXml.js +37 -0
- package/dist-types/commands/AssociateAccessGrantsIdentityCenterCommand.d.ts +13 -3
- package/dist-types/commands/CreateAccessGrantCommand.d.ts +12 -3
- package/dist-types/commands/CreateAccessGrantsInstanceCommand.d.ts +11 -3
- package/dist-types/commands/CreateAccessGrantsLocationCommand.d.ts +14 -4
- package/dist-types/commands/CreateAccessPointCommand.d.ts +3 -0
- package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/CreateJobCommand.d.ts +11 -2
- package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +5 -1
- package/dist-types/commands/CreateStorageLensGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccessGrantCommand.d.ts +7 -2
- package/dist-types/commands/DeleteAccessGrantsInstanceCommand.d.ts +10 -2
- package/dist-types/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.d.ts +8 -2
- package/dist-types/commands/DeleteAccessGrantsLocationCommand.d.ts +10 -2
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccessPointScopeCommand.d.ts +8 -4
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +3 -0
- package/dist-types/commands/DeleteJobTaggingCommand.d.ts +7 -5
- package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +3 -0
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +3 -0
- package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +10 -1
- package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +5 -1
- package/dist-types/commands/DissociateAccessGrantsIdentityCenterCommand.d.ts +7 -2
- package/dist-types/commands/GetAccessGrantCommand.d.ts +5 -1
- package/dist-types/commands/GetAccessGrantsInstanceCommand.d.ts +5 -1
- package/dist-types/commands/GetAccessGrantsInstanceForPrefixCommand.d.ts +8 -3
- package/dist-types/commands/GetAccessGrantsInstanceResourcePolicyCommand.d.ts +5 -1
- package/dist-types/commands/GetAccessGrantsLocationCommand.d.ts +5 -1
- package/dist-types/commands/GetAccessPointCommand.d.ts +3 -0
- package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/GetAccessPointScopeCommand.d.ts +6 -3
- package/dist-types/commands/GetBucketCommand.d.ts +3 -0
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetDataAccessCommand.d.ts +12 -3
- package/dist-types/commands/GetJobTaggingCommand.d.ts +6 -5
- package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +3 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +3 -0
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +3 -0
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +3 -0
- package/dist-types/commands/GetStorageLensGroupCommand.d.ts +3 -0
- package/dist-types/commands/ListAccessGrantsCommand.d.ts +5 -1
- package/dist-types/commands/ListAccessGrantsInstancesCommand.d.ts +8 -2
- package/dist-types/commands/ListAccessGrantsLocationsCommand.d.ts +5 -1
- package/dist-types/commands/ListAccessPointsCommand.d.ts +3 -0
- package/dist-types/commands/ListAccessPointsForDirectoryBucketsCommand.d.ts +7 -2
- package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/ListCallerAccessGrantsCommand.d.ts +15 -2
- package/dist-types/commands/ListJobsCommand.d.ts +7 -6
- package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +3 -0
- package/dist-types/commands/ListRegionalBucketsCommand.d.ts +3 -0
- package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +23 -5
- package/dist-types/commands/PutAccessGrantsInstanceResourcePolicyCommand.d.ts +5 -1
- package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +3 -0
- package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +3 -0
- package/dist-types/commands/PutAccessPointScopeCommand.d.ts +10 -3
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -0
- package/dist-types/commands/PutJobTaggingCommand.d.ts +6 -4
- package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +3 -0
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +3 -0
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +3 -0
- package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +40 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +22 -4
- package/dist-types/commands/UpdateAccessGrantsLocationCommand.d.ts +5 -1
- package/dist-types/commands/UpdateJobPriorityCommand.d.ts +5 -3
- package/dist-types/commands/UpdateJobStatusCommand.d.ts +4 -2
- package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +541 -303
- package/dist-types/models/models_1.d.ts +146 -31
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +22 -28
- package/dist-types/ts3.4/models/models_1.d.ts +30 -1
- package/package.json +5 -5
|
@@ -1,6 +1,108 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { BucketVersioningStatus,
|
|
2
|
+
import { BucketVersioningStatus, JobProgressSummary, JobStatus, LifecycleRule, MultiRegionAccessPointReport, MultiRegionAccessPointRoute, ObjectLambdaConfiguration, PublicAccessBlockConfiguration, PutMultiRegionAccessPointPolicyInput, ReplicationConfiguration, S3Tag, Scope, StorageLensConfiguration, StorageLensGroup, StorageLensTag, Tag } from "./models_0";
|
|
3
3
|
import { S3ControlServiceException as __BaseException } from "./S3ControlServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ListJobsRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
AccountId?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The <code>List Jobs</code> request returns jobs that match the statuses listed in this
|
|
15
|
+
* element.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
JobStatuses?: JobStatus[] | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>A pagination token to request the next page of results. Use the token that Amazon S3 returned
|
|
21
|
+
* in the <code>NextToken</code> element of the <code>ListJobsResult</code> from the previous
|
|
22
|
+
* <code>List Jobs</code> request.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
NextToken?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The maximum number of jobs that Amazon S3 will include in the <code>List Jobs</code>
|
|
28
|
+
* response. If there are more jobs than this number, the response will include a pagination
|
|
29
|
+
* token in the <code>NextToken</code> field to enable you to retrieve the next page of
|
|
30
|
+
* results.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
MaxResults?: number | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* @enum
|
|
38
|
+
*/
|
|
39
|
+
export declare const OperationName: {
|
|
40
|
+
readonly LambdaInvoke: "LambdaInvoke";
|
|
41
|
+
readonly S3ComputeObjectChecksum: "S3ComputeObjectChecksum";
|
|
42
|
+
readonly S3DeleteObjectTagging: "S3DeleteObjectTagging";
|
|
43
|
+
readonly S3InitiateRestoreObject: "S3InitiateRestoreObject";
|
|
44
|
+
readonly S3PutObjectAcl: "S3PutObjectAcl";
|
|
45
|
+
readonly S3PutObjectCopy: "S3PutObjectCopy";
|
|
46
|
+
readonly S3PutObjectLegalHold: "S3PutObjectLegalHold";
|
|
47
|
+
readonly S3PutObjectRetention: "S3PutObjectRetention";
|
|
48
|
+
readonly S3PutObjectTagging: "S3PutObjectTagging";
|
|
49
|
+
readonly S3ReplicateObject: "S3ReplicateObject";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type OperationName = (typeof OperationName)[keyof typeof OperationName];
|
|
55
|
+
/**
|
|
56
|
+
* <p>Contains the configuration and status information for a single job retrieved as part of
|
|
57
|
+
* a job list.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export interface JobListDescriptor {
|
|
61
|
+
/**
|
|
62
|
+
* <p>The ID for the specified job.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
JobId?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The user-specified description that was included in the specified job's <code>Create
|
|
68
|
+
* Job</code> request.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
Description?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>The operation that the specified job is configured to run on every object listed in the
|
|
74
|
+
* manifest.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
Operation?: OperationName | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The current priority for the specified job.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
Priority?: number | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The specified job's current status.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
Status?: JobStatus | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>A timestamp indicating when the specified job was created.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
CreationTime?: Date | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>A timestamp indicating when the specified job terminated. A job's termination date is
|
|
95
|
+
* the date and time when it succeeded, failed, or was canceled.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
TerminationDate?: Date | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>Describes the total number of tasks that the specified job has run, the number of tasks
|
|
101
|
+
* that succeeded, and the number of tasks that failed.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
ProgressSummary?: JobProgressSummary | undefined;
|
|
105
|
+
}
|
|
4
106
|
/**
|
|
5
107
|
* @public
|
|
6
108
|
*/
|
|
@@ -269,16 +371,14 @@ export interface ListStorageLensGroupsResult {
|
|
|
269
371
|
*/
|
|
270
372
|
export interface ListTagsForResourceRequest {
|
|
271
373
|
/**
|
|
272
|
-
* <p>
|
|
273
|
-
* The Amazon Web Services account ID of the resource owner.
|
|
274
|
-
* </p>
|
|
374
|
+
* <p> The Amazon Web Services account ID of the resource owner. </p>
|
|
275
375
|
* @public
|
|
276
376
|
*/
|
|
277
377
|
AccountId?: string | undefined;
|
|
278
378
|
/**
|
|
279
|
-
* <p>
|
|
280
|
-
*
|
|
281
|
-
* </p>
|
|
379
|
+
* <p> The Amazon Resource Name (ARN) of the S3 resource that you want to list tags for. The
|
|
380
|
+
* tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance,
|
|
381
|
+
* registered location, or grant. </p>
|
|
282
382
|
* @public
|
|
283
383
|
*/
|
|
284
384
|
ResourceArn: string | undefined;
|
|
@@ -288,9 +388,7 @@ export interface ListTagsForResourceRequest {
|
|
|
288
388
|
*/
|
|
289
389
|
export interface ListTagsForResourceResult {
|
|
290
390
|
/**
|
|
291
|
-
* <p>
|
|
292
|
-
* The Amazon Web Services resource tags that are associated with the resource.
|
|
293
|
-
* </p>
|
|
391
|
+
* <p> The Amazon Web Services resource tags that are associated with the resource. </p>
|
|
294
392
|
* @public
|
|
295
393
|
*/
|
|
296
394
|
Tags?: Tag[] | undefined;
|
|
@@ -374,7 +472,9 @@ export interface PutAccessPointPolicyRequest {
|
|
|
374
472
|
/**
|
|
375
473
|
* <p>The policy that you want to apply to the specified access point. For more information about access point
|
|
376
474
|
* policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html">Managing data access with Amazon S3
|
|
377
|
-
* access points</a> or <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html">Managing access to
|
|
475
|
+
* access points</a> or <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html">Managing access to
|
|
476
|
+
* shared datasets in directory buckets with access points</a> in the
|
|
477
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
378
478
|
* @public
|
|
379
479
|
*/
|
|
380
480
|
Policy: string | undefined;
|
|
@@ -404,8 +504,7 @@ export interface PutAccessPointPolicyForObjectLambdaRequest {
|
|
|
404
504
|
*/
|
|
405
505
|
export interface PutAccessPointScopeRequest {
|
|
406
506
|
/**
|
|
407
|
-
* <p>
|
|
408
|
-
* The Amazon Web Services account ID that owns the access point with scope that you want to create or replace.
|
|
507
|
+
* <p> The Amazon Web Services account ID that owns the access point with scope that you want to create or replace.
|
|
409
508
|
* </p>
|
|
410
509
|
* @public
|
|
411
510
|
*/
|
|
@@ -775,14 +874,14 @@ export interface TagResourceRequest {
|
|
|
775
874
|
*/
|
|
776
875
|
AccountId?: string | undefined;
|
|
777
876
|
/**
|
|
778
|
-
* <p>The Amazon Resource Name (ARN) of the S3 resource that you're applying tags to. The
|
|
877
|
+
* <p>The Amazon Resource Name (ARN) of the S3 resource that you're applying tags to. The
|
|
878
|
+
* tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance,
|
|
879
|
+
* registered location, or grant.</p>
|
|
779
880
|
* @public
|
|
780
881
|
*/
|
|
781
882
|
ResourceArn: string | undefined;
|
|
782
883
|
/**
|
|
783
|
-
* <p>
|
|
784
|
-
* The Amazon Web Services resource tags that you want to add to the specified S3 resource.
|
|
785
|
-
* </p>
|
|
884
|
+
* <p> The Amazon Web Services resource tags that you want to add to the specified S3 resource. </p>
|
|
786
885
|
* @public
|
|
787
886
|
*/
|
|
788
887
|
Tags: Tag[] | undefined;
|
|
@@ -797,21 +896,21 @@ export interface TagResourceResult {
|
|
|
797
896
|
*/
|
|
798
897
|
export interface UntagResourceRequest {
|
|
799
898
|
/**
|
|
800
|
-
* <p>
|
|
801
|
-
*
|
|
802
|
-
* </p>
|
|
899
|
+
* <p> The Amazon Web Services account ID that owns the resource that you're trying to remove the tags from.
|
|
900
|
+
* </p>
|
|
803
901
|
* @public
|
|
804
902
|
*/
|
|
805
903
|
AccountId?: string | undefined;
|
|
806
904
|
/**
|
|
807
|
-
* <p>The Amazon Resource Name (ARN) of the S3 resource that you're removing tags from. The
|
|
905
|
+
* <p>The Amazon Resource Name (ARN) of the S3 resource that you're removing tags from. The
|
|
906
|
+
* tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance,
|
|
907
|
+
* registered location, or grant.</p>
|
|
808
908
|
* @public
|
|
809
909
|
*/
|
|
810
910
|
ResourceArn: string | undefined;
|
|
811
911
|
/**
|
|
812
|
-
* <p>
|
|
813
|
-
*
|
|
814
|
-
* </p>
|
|
912
|
+
* <p> The array of tag key-value pairs that you're trying to remove from of the S3 resource.
|
|
913
|
+
* </p>
|
|
815
914
|
* @public
|
|
816
915
|
*/
|
|
817
916
|
TagKeys: string[] | undefined;
|
|
@@ -831,14 +930,23 @@ export interface UpdateAccessGrantsLocationRequest {
|
|
|
831
930
|
*/
|
|
832
931
|
AccountId?: string | undefined;
|
|
833
932
|
/**
|
|
834
|
-
* <p>The ID of the registered location that you are updating. S3 Access Grants assigns this ID when you
|
|
835
|
-
*
|
|
836
|
-
*
|
|
933
|
+
* <p>The ID of the registered location that you are updating. S3 Access Grants assigns this ID when you
|
|
934
|
+
* register the location. S3 Access Grants assigns the ID <code>default</code> to the default location
|
|
935
|
+
* <code>s3://</code> and assigns an auto-generated ID to other locations that you
|
|
936
|
+
* register. </p>
|
|
937
|
+
* <p>The ID of the registered location to which you are granting access. S3 Access Grants assigned this
|
|
938
|
+
* ID when you registered the location. S3 Access Grants assigns the ID <code>default</code> to the
|
|
939
|
+
* default location <code>s3://</code> and assigns an auto-generated ID to other locations
|
|
940
|
+
* that you register. </p>
|
|
941
|
+
* <p>If you are passing the <code>default</code> location, you cannot create an access grant
|
|
942
|
+
* for the entire default location. You must also specify a bucket or a bucket and prefix in
|
|
943
|
+
* the <code>Subprefix</code> field. </p>
|
|
837
944
|
* @public
|
|
838
945
|
*/
|
|
839
946
|
AccessGrantsLocationId: string | undefined;
|
|
840
947
|
/**
|
|
841
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants
|
|
948
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants
|
|
949
|
+
* assumes this role to manage access to the registered location. </p>
|
|
842
950
|
* @public
|
|
843
951
|
*/
|
|
844
952
|
IAMRoleArn: string | undefined;
|
|
@@ -853,7 +961,10 @@ export interface UpdateAccessGrantsLocationResult {
|
|
|
853
961
|
*/
|
|
854
962
|
CreatedAt?: Date | undefined;
|
|
855
963
|
/**
|
|
856
|
-
* <p>The ID of the registered location to which you are granting access. S3 Access Grants assigned this
|
|
964
|
+
* <p>The ID of the registered location to which you are granting access. S3 Access Grants assigned this
|
|
965
|
+
* ID when you registered the location. S3 Access Grants assigns the ID <code>default</code> to the
|
|
966
|
+
* default location <code>s3://</code> and assigns an auto-generated ID to other locations
|
|
967
|
+
* that you register. </p>
|
|
857
968
|
* @public
|
|
858
969
|
*/
|
|
859
970
|
AccessGrantsLocationId?: string | undefined;
|
|
@@ -863,12 +974,16 @@ export interface UpdateAccessGrantsLocationResult {
|
|
|
863
974
|
*/
|
|
864
975
|
AccessGrantsLocationArn?: string | undefined;
|
|
865
976
|
/**
|
|
866
|
-
* <p>The S3 URI path of the location that you are updating. You cannot update the scope of
|
|
977
|
+
* <p>The S3 URI path of the location that you are updating. You cannot update the scope of
|
|
978
|
+
* the registered location. The location scope can be the default S3 location
|
|
979
|
+
* <code>s3://</code>, the S3 path to a bucket <code>s3://<bucket></code>, or the S3
|
|
980
|
+
* path to a bucket and prefix <code>s3://<bucket>/<prefix></code>. </p>
|
|
867
981
|
* @public
|
|
868
982
|
*/
|
|
869
983
|
LocationScope?: string | undefined;
|
|
870
984
|
/**
|
|
871
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants
|
|
985
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants
|
|
986
|
+
* assumes this role to manage access to the registered location. </p>
|
|
872
987
|
* @public
|
|
873
988
|
*/
|
|
874
989
|
IAMRoleArn?: string | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListJobsRequest } from "../models/
|
|
4
|
-
import { ListJobsResult } from "../models/models_1";
|
|
3
|
+
import { ListJobsRequest, ListJobsResult } from "../models/models_1";
|
|
5
4
|
import {
|
|
6
5
|
S3ControlClientResolvedConfig,
|
|
7
6
|
ServiceInputTypes,
|
|
@@ -529,6 +529,26 @@ export interface LambdaInvokeOperation {
|
|
|
529
529
|
InvocationSchemaVersion?: string | undefined;
|
|
530
530
|
UserArguments?: Record<string, string> | undefined;
|
|
531
531
|
}
|
|
532
|
+
export declare const ComputeObjectChecksumAlgorithm: {
|
|
533
|
+
readonly CRC32: "CRC32";
|
|
534
|
+
readonly CRC32C: "CRC32C";
|
|
535
|
+
readonly CRC64NVME: "CRC64NVME";
|
|
536
|
+
readonly MD5: "MD5";
|
|
537
|
+
readonly SHA1: "SHA1";
|
|
538
|
+
readonly SHA256: "SHA256";
|
|
539
|
+
};
|
|
540
|
+
export type ComputeObjectChecksumAlgorithm =
|
|
541
|
+
(typeof ComputeObjectChecksumAlgorithm)[keyof typeof ComputeObjectChecksumAlgorithm];
|
|
542
|
+
export declare const ComputeObjectChecksumType: {
|
|
543
|
+
readonly COMPOSITE: "COMPOSITE";
|
|
544
|
+
readonly FULL_OBJECT: "FULL_OBJECT";
|
|
545
|
+
};
|
|
546
|
+
export type ComputeObjectChecksumType =
|
|
547
|
+
(typeof ComputeObjectChecksumType)[keyof typeof ComputeObjectChecksumType];
|
|
548
|
+
export interface S3ComputeObjectChecksumOperation {
|
|
549
|
+
ChecksumAlgorithm?: ComputeObjectChecksumAlgorithm | undefined;
|
|
550
|
+
ChecksumType?: ComputeObjectChecksumType | undefined;
|
|
551
|
+
}
|
|
532
552
|
export interface S3DeleteObjectTaggingOperation {}
|
|
533
553
|
export declare const S3GlacierJobTier: {
|
|
534
554
|
readonly BULK: "BULK";
|
|
@@ -694,6 +714,7 @@ export interface JobOperation {
|
|
|
694
714
|
S3PutObjectLegalHold?: S3SetObjectLegalHoldOperation | undefined;
|
|
695
715
|
S3PutObjectRetention?: S3SetObjectRetentionOperation | undefined;
|
|
696
716
|
S3ReplicateObject?: S3ReplicateObjectOperation | undefined;
|
|
717
|
+
S3ComputeObjectChecksum?: S3ComputeObjectChecksumOperation | undefined;
|
|
697
718
|
}
|
|
698
719
|
export declare const JobReportFormat: {
|
|
699
720
|
readonly Report_CSV_20180820: "Report_CSV_20180820";
|
|
@@ -712,6 +733,7 @@ export interface JobReport {
|
|
|
712
733
|
Enabled: boolean | undefined;
|
|
713
734
|
Prefix?: string | undefined;
|
|
714
735
|
ReportScope?: JobReportScope | undefined;
|
|
736
|
+
ExpectedBucketOwner?: string | undefined;
|
|
715
737
|
}
|
|
716
738
|
export interface CreateJobRequest {
|
|
717
739
|
AccountId?: string | undefined;
|
|
@@ -1616,34 +1638,6 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
1616
1638
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
1617
1639
|
);
|
|
1618
1640
|
}
|
|
1619
|
-
export interface ListJobsRequest {
|
|
1620
|
-
AccountId?: string | undefined;
|
|
1621
|
-
JobStatuses?: JobStatus[] | undefined;
|
|
1622
|
-
NextToken?: string | undefined;
|
|
1623
|
-
MaxResults?: number | undefined;
|
|
1624
|
-
}
|
|
1625
|
-
export declare const OperationName: {
|
|
1626
|
-
readonly LambdaInvoke: "LambdaInvoke";
|
|
1627
|
-
readonly S3DeleteObjectTagging: "S3DeleteObjectTagging";
|
|
1628
|
-
readonly S3InitiateRestoreObject: "S3InitiateRestoreObject";
|
|
1629
|
-
readonly S3PutObjectAcl: "S3PutObjectAcl";
|
|
1630
|
-
readonly S3PutObjectCopy: "S3PutObjectCopy";
|
|
1631
|
-
readonly S3PutObjectLegalHold: "S3PutObjectLegalHold";
|
|
1632
|
-
readonly S3PutObjectRetention: "S3PutObjectRetention";
|
|
1633
|
-
readonly S3PutObjectTagging: "S3PutObjectTagging";
|
|
1634
|
-
readonly S3ReplicateObject: "S3ReplicateObject";
|
|
1635
|
-
};
|
|
1636
|
-
export type OperationName = (typeof OperationName)[keyof typeof OperationName];
|
|
1637
|
-
export interface JobListDescriptor {
|
|
1638
|
-
JobId?: string | undefined;
|
|
1639
|
-
Description?: string | undefined;
|
|
1640
|
-
Operation?: OperationName | undefined;
|
|
1641
|
-
Priority?: number | undefined;
|
|
1642
|
-
Status?: JobStatus | undefined;
|
|
1643
|
-
CreationTime?: Date | undefined;
|
|
1644
|
-
TerminationDate?: Date | undefined;
|
|
1645
|
-
ProgressSummary?: JobProgressSummary | undefined;
|
|
1646
|
-
}
|
|
1647
1641
|
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
|
1648
1642
|
export declare const GetDataAccessResultFilterSensitiveLog: (
|
|
1649
1643
|
obj: GetDataAccessResult
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import {
|
|
3
3
|
BucketVersioningStatus,
|
|
4
|
-
|
|
4
|
+
JobProgressSummary,
|
|
5
5
|
JobStatus,
|
|
6
6
|
LifecycleRule,
|
|
7
7
|
MultiRegionAccessPointReport,
|
|
@@ -18,6 +18,35 @@ import {
|
|
|
18
18
|
Tag,
|
|
19
19
|
} from "./models_0";
|
|
20
20
|
import { S3ControlServiceException as __BaseException } from "./S3ControlServiceException";
|
|
21
|
+
export interface ListJobsRequest {
|
|
22
|
+
AccountId?: string | undefined;
|
|
23
|
+
JobStatuses?: JobStatus[] | undefined;
|
|
24
|
+
NextToken?: string | undefined;
|
|
25
|
+
MaxResults?: number | undefined;
|
|
26
|
+
}
|
|
27
|
+
export declare const OperationName: {
|
|
28
|
+
readonly LambdaInvoke: "LambdaInvoke";
|
|
29
|
+
readonly S3ComputeObjectChecksum: "S3ComputeObjectChecksum";
|
|
30
|
+
readonly S3DeleteObjectTagging: "S3DeleteObjectTagging";
|
|
31
|
+
readonly S3InitiateRestoreObject: "S3InitiateRestoreObject";
|
|
32
|
+
readonly S3PutObjectAcl: "S3PutObjectAcl";
|
|
33
|
+
readonly S3PutObjectCopy: "S3PutObjectCopy";
|
|
34
|
+
readonly S3PutObjectLegalHold: "S3PutObjectLegalHold";
|
|
35
|
+
readonly S3PutObjectRetention: "S3PutObjectRetention";
|
|
36
|
+
readonly S3PutObjectTagging: "S3PutObjectTagging";
|
|
37
|
+
readonly S3ReplicateObject: "S3ReplicateObject";
|
|
38
|
+
};
|
|
39
|
+
export type OperationName = (typeof OperationName)[keyof typeof OperationName];
|
|
40
|
+
export interface JobListDescriptor {
|
|
41
|
+
JobId?: string | undefined;
|
|
42
|
+
Description?: string | undefined;
|
|
43
|
+
Operation?: OperationName | undefined;
|
|
44
|
+
Priority?: number | undefined;
|
|
45
|
+
Status?: JobStatus | undefined;
|
|
46
|
+
CreationTime?: Date | undefined;
|
|
47
|
+
TerminationDate?: Date | undefined;
|
|
48
|
+
ProgressSummary?: JobProgressSummary | undefined;
|
|
49
|
+
}
|
|
21
50
|
export interface ListJobsResult {
|
|
22
51
|
NextToken?: string | undefined;
|
|
23
52
|
Jobs?: JobListDescriptor[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.870.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3-control",
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.864.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.864.0",
|
|
27
27
|
"@aws-sdk/middleware-bucket-endpoint": "3.862.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.862.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|
|
31
31
|
"@aws-sdk/middleware-sdk-s3-control": "3.862.0",
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.864.0",
|
|
33
33
|
"@aws-sdk/region-config-resolver": "3.862.0",
|
|
34
34
|
"@aws-sdk/types": "3.862.0",
|
|
35
35
|
"@aws-sdk/util-endpoints": "3.862.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-browser": "3.862.0",
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.864.0",
|
|
38
38
|
"@aws-sdk/xml-builder": "3.862.0",
|
|
39
39
|
"@smithy/config-resolver": "^4.1.5",
|
|
40
40
|
"@smithy/core": "^3.8.0",
|