@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
package/dist-cjs/index.js
CHANGED
|
@@ -29,6 +29,8 @@ __export(index_exports, {
|
|
|
29
29
|
BucketCannedACL: () => BucketCannedACL,
|
|
30
30
|
BucketLocationConstraint: () => BucketLocationConstraint,
|
|
31
31
|
BucketVersioningStatus: () => BucketVersioningStatus,
|
|
32
|
+
ComputeObjectChecksumAlgorithm: () => ComputeObjectChecksumAlgorithm,
|
|
33
|
+
ComputeObjectChecksumType: () => ComputeObjectChecksumType,
|
|
32
34
|
CreateAccessGrantCommand: () => CreateAccessGrantCommand,
|
|
33
35
|
CreateAccessGrantsInstanceCommand: () => CreateAccessGrantsInstanceCommand,
|
|
34
36
|
CreateAccessGrantsLocationCommand: () => CreateAccessGrantsLocationCommand,
|
|
@@ -551,6 +553,18 @@ var JobManifestGenerator;
|
|
|
551
553
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
552
554
|
}, "visit");
|
|
553
555
|
})(JobManifestGenerator || (JobManifestGenerator = {}));
|
|
556
|
+
var ComputeObjectChecksumAlgorithm = {
|
|
557
|
+
CRC32: "CRC32",
|
|
558
|
+
CRC32C: "CRC32C",
|
|
559
|
+
CRC64NVME: "CRC64NVME",
|
|
560
|
+
MD5: "MD5",
|
|
561
|
+
SHA1: "SHA1",
|
|
562
|
+
SHA256: "SHA256"
|
|
563
|
+
};
|
|
564
|
+
var ComputeObjectChecksumType = {
|
|
565
|
+
COMPOSITE: "COMPOSITE",
|
|
566
|
+
FULL_OBJECT: "FULL_OBJECT"
|
|
567
|
+
};
|
|
554
568
|
var S3GlacierJobTier = {
|
|
555
569
|
BULK: "BULK",
|
|
556
570
|
STANDARD: "STANDARD"
|
|
@@ -842,17 +856,6 @@ var InvalidRequestException = class _InvalidRequestException extends S3ControlSe
|
|
|
842
856
|
this.Message = opts.Message;
|
|
843
857
|
}
|
|
844
858
|
};
|
|
845
|
-
var OperationName = {
|
|
846
|
-
LambdaInvoke: "LambdaInvoke",
|
|
847
|
-
S3DeleteObjectTagging: "S3DeleteObjectTagging",
|
|
848
|
-
S3InitiateRestoreObject: "S3InitiateRestoreObject",
|
|
849
|
-
S3PutObjectAcl: "S3PutObjectAcl",
|
|
850
|
-
S3PutObjectCopy: "S3PutObjectCopy",
|
|
851
|
-
S3PutObjectLegalHold: "S3PutObjectLegalHold",
|
|
852
|
-
S3PutObjectRetention: "S3PutObjectRetention",
|
|
853
|
-
S3PutObjectTagging: "S3PutObjectTagging",
|
|
854
|
-
S3ReplicateObject: "S3ReplicateObject"
|
|
855
|
-
};
|
|
856
859
|
var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
857
860
|
...obj,
|
|
858
861
|
...obj.AccessKeyId && { AccessKeyId: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -865,6 +868,18 @@ var GetDataAccessResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
865
868
|
}), "GetDataAccessResultFilterSensitiveLog");
|
|
866
869
|
|
|
867
870
|
// src/models/models_1.ts
|
|
871
|
+
var OperationName = {
|
|
872
|
+
LambdaInvoke: "LambdaInvoke",
|
|
873
|
+
S3ComputeObjectChecksum: "S3ComputeObjectChecksum",
|
|
874
|
+
S3DeleteObjectTagging: "S3DeleteObjectTagging",
|
|
875
|
+
S3InitiateRestoreObject: "S3InitiateRestoreObject",
|
|
876
|
+
S3PutObjectAcl: "S3PutObjectAcl",
|
|
877
|
+
S3PutObjectCopy: "S3PutObjectCopy",
|
|
878
|
+
S3PutObjectLegalHold: "S3PutObjectLegalHold",
|
|
879
|
+
S3PutObjectRetention: "S3PutObjectRetention",
|
|
880
|
+
S3PutObjectTagging: "S3PutObjectTagging",
|
|
881
|
+
S3ReplicateObject: "S3ReplicateObject"
|
|
882
|
+
};
|
|
868
883
|
var MFADelete = {
|
|
869
884
|
Disabled: "Disabled",
|
|
870
885
|
Enabled: "Enabled"
|
|
@@ -4266,6 +4281,9 @@ var se_JobOperation = /* @__PURE__ */ __name((input, context) => {
|
|
|
4266
4281
|
if (input[_SRO] != null) {
|
|
4267
4282
|
bn.c(se_S3ReplicateObjectOperation(input[_SRO], context).n(_SRO));
|
|
4268
4283
|
}
|
|
4284
|
+
if (input[_SCOC] != null) {
|
|
4285
|
+
bn.c(se_S3ComputeObjectChecksumOperation(input[_SCOC], context).n(_SCOC));
|
|
4286
|
+
}
|
|
4269
4287
|
return bn;
|
|
4270
4288
|
}, "se_JobOperation");
|
|
4271
4289
|
var se_JobReport = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -4285,6 +4303,9 @@ var se_JobReport = /* @__PURE__ */ __name((input, context) => {
|
|
|
4285
4303
|
if (input[_RS] != null) {
|
|
4286
4304
|
bn.c(import_xml_builder.XmlNode.of(_JRS, input[_RS]).n(_RS));
|
|
4287
4305
|
}
|
|
4306
|
+
if (input[_EBO] != null) {
|
|
4307
|
+
bn.c(import_xml_builder.XmlNode.of(_AI, input[_EBO]).n(_EBO));
|
|
4308
|
+
}
|
|
4288
4309
|
return bn;
|
|
4289
4310
|
}, "se_JobReport");
|
|
4290
4311
|
var se_KeyNameConstraint = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -4744,6 +4765,16 @@ var se_S3BucketDestination = /* @__PURE__ */ __name((input, context) => {
|
|
|
4744
4765
|
}
|
|
4745
4766
|
return bn;
|
|
4746
4767
|
}, "se_S3BucketDestination");
|
|
4768
|
+
var se_S3ComputeObjectChecksumOperation = /* @__PURE__ */ __name((input, context) => {
|
|
4769
|
+
const bn = new import_xml_builder.XmlNode(_SCOCO);
|
|
4770
|
+
if (input[_CAh] != null) {
|
|
4771
|
+
bn.c(import_xml_builder.XmlNode.of(_COCA, input[_CAh]).n(_CAh));
|
|
4772
|
+
}
|
|
4773
|
+
if (input[_CTh] != null) {
|
|
4774
|
+
bn.c(import_xml_builder.XmlNode.of(_COCT, input[_CTh]).n(_CTh));
|
|
4775
|
+
}
|
|
4776
|
+
return bn;
|
|
4777
|
+
}, "se_S3ComputeObjectChecksumOperation");
|
|
4747
4778
|
var se_S3CopyObjectOperation = /* @__PURE__ */ __name((input, context) => {
|
|
4748
4779
|
const bn = new import_xml_builder.XmlNode(_SCOO);
|
|
4749
4780
|
if (input[_TR] != null) {
|
|
@@ -5885,6 +5916,9 @@ var de_JobOperation = /* @__PURE__ */ __name((output, context) => {
|
|
|
5885
5916
|
if (output[_SRO] != null) {
|
|
5886
5917
|
contents[_SRO] = de_S3ReplicateObjectOperation(output[_SRO], context);
|
|
5887
5918
|
}
|
|
5919
|
+
if (output[_SCOC] != null) {
|
|
5920
|
+
contents[_SCOC] = de_S3ComputeObjectChecksumOperation(output[_SCOC], context);
|
|
5921
|
+
}
|
|
5888
5922
|
return contents;
|
|
5889
5923
|
}, "de_JobOperation");
|
|
5890
5924
|
var de_JobProgressSummary = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -5920,6 +5954,9 @@ var de_JobReport = /* @__PURE__ */ __name((output, context) => {
|
|
|
5920
5954
|
if (output[_RS] != null) {
|
|
5921
5955
|
contents[_RS] = (0, import_smithy_client.expectString)(output[_RS]);
|
|
5922
5956
|
}
|
|
5957
|
+
if (output[_EBO] != null) {
|
|
5958
|
+
contents[_EBO] = (0, import_smithy_client.expectString)(output[_EBO]);
|
|
5959
|
+
}
|
|
5923
5960
|
return contents;
|
|
5924
5961
|
}, "de_JobReport");
|
|
5925
5962
|
var de_JobTimers = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -6680,6 +6717,16 @@ var de_S3BucketDestination = /* @__PURE__ */ __name((output, context) => {
|
|
|
6680
6717
|
}
|
|
6681
6718
|
return contents;
|
|
6682
6719
|
}, "de_S3BucketDestination");
|
|
6720
|
+
var de_S3ComputeObjectChecksumOperation = /* @__PURE__ */ __name((output, context) => {
|
|
6721
|
+
const contents = {};
|
|
6722
|
+
if (output[_CAh] != null) {
|
|
6723
|
+
contents[_CAh] = (0, import_smithy_client.expectString)(output[_CAh]);
|
|
6724
|
+
}
|
|
6725
|
+
if (output[_CTh] != null) {
|
|
6726
|
+
contents[_CTh] = (0, import_smithy_client.expectString)(output[_CTh]);
|
|
6727
|
+
}
|
|
6728
|
+
return contents;
|
|
6729
|
+
}, "de_S3ComputeObjectChecksumOperation");
|
|
6683
6730
|
var de_S3CopyObjectOperation = /* @__PURE__ */ __name((output, context) => {
|
|
6684
6731
|
const contents = {};
|
|
6685
6732
|
if (output[_TR] != null) {
|
|
@@ -7381,11 +7428,14 @@ var _CLo = "ContentLength";
|
|
|
7381
7428
|
var _CMD = "ContentMD5";
|
|
7382
7429
|
var _CMRAPI = "CreateMultiRegionAccessPointInput";
|
|
7383
7430
|
var _CMRAPR = "CreateMultiRegionAccessPointRequest";
|
|
7431
|
+
var _COCA = "ComputeObjectChecksumAlgorithm";
|
|
7432
|
+
var _COCT = "ComputeObjectChecksumType";
|
|
7384
7433
|
var _CR = "ConfirmationRequired";
|
|
7385
7434
|
var _CRSBA = "ConfirmRemoveSelfBucketAccess";
|
|
7386
7435
|
var _CRT = "ClientRequestToken";
|
|
7387
7436
|
var _CSLGR = "CreateStorageLensGroupRequest";
|
|
7388
7437
|
var _CT = "ClientToken";
|
|
7438
|
+
var _CTh = "ChecksumType";
|
|
7389
7439
|
var _CTo = "ContentTransformation";
|
|
7390
7440
|
var _CTon = "ContentType";
|
|
7391
7441
|
var _CTr = "CreationTime";
|
|
@@ -7665,6 +7715,8 @@ var _SC = "StorageClass";
|
|
|
7665
7715
|
var _SCA = "S3ChecksumAlgorithm";
|
|
7666
7716
|
var _SCACL = "S3CannedAccessControlList";
|
|
7667
7717
|
var _SCL = "S3ContentLength";
|
|
7718
|
+
var _SCOC = "S3ComputeObjectChecksum";
|
|
7719
|
+
var _SCOCO = "S3ComputeObjectChecksumOperation";
|
|
7668
7720
|
var _SCOO = "S3CopyObjectOperation";
|
|
7669
7721
|
var _SCe = "SelectionCriteria";
|
|
7670
7722
|
var _SCu = "SuspendedCause";
|
|
@@ -10254,6 +10306,8 @@ var paginateListStorageLensGroups = (0, import_core.createPaginator)(S3ControlCl
|
|
|
10254
10306
|
ReplicationStatus,
|
|
10255
10307
|
GeneratedManifestFormat,
|
|
10256
10308
|
JobManifestGenerator,
|
|
10309
|
+
ComputeObjectChecksumAlgorithm,
|
|
10310
|
+
ComputeObjectChecksumType,
|
|
10257
10311
|
S3GlacierJobTier,
|
|
10258
10312
|
S3GranteeTypeIdentifier,
|
|
10259
10313
|
S3Permission,
|
|
@@ -10290,9 +10344,9 @@ var paginateListStorageLensGroups = (0, import_core.createPaginator)(S3ControlCl
|
|
|
10290
10344
|
OutputSchemaVersion,
|
|
10291
10345
|
InvalidNextTokenException,
|
|
10292
10346
|
InvalidRequestException,
|
|
10293
|
-
OperationName,
|
|
10294
10347
|
CredentialsFilterSensitiveLog,
|
|
10295
10348
|
GetDataAccessResultFilterSensitiveLog,
|
|
10349
|
+
OperationName,
|
|
10296
10350
|
MFADelete,
|
|
10297
10351
|
TooManyTagsException,
|
|
10298
10352
|
JobStatusException,
|
|
@@ -152,6 +152,18 @@ export var JobManifestGenerator;
|
|
|
152
152
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
153
153
|
};
|
|
154
154
|
})(JobManifestGenerator || (JobManifestGenerator = {}));
|
|
155
|
+
export const ComputeObjectChecksumAlgorithm = {
|
|
156
|
+
CRC32: "CRC32",
|
|
157
|
+
CRC32C: "CRC32C",
|
|
158
|
+
CRC64NVME: "CRC64NVME",
|
|
159
|
+
MD5: "MD5",
|
|
160
|
+
SHA1: "SHA1",
|
|
161
|
+
SHA256: "SHA256",
|
|
162
|
+
};
|
|
163
|
+
export const ComputeObjectChecksumType = {
|
|
164
|
+
COMPOSITE: "COMPOSITE",
|
|
165
|
+
FULL_OBJECT: "FULL_OBJECT",
|
|
166
|
+
};
|
|
155
167
|
export const S3GlacierJobTier = {
|
|
156
168
|
BULK: "BULK",
|
|
157
169
|
STANDARD: "STANDARD",
|
|
@@ -401,17 +413,6 @@ export class InvalidRequestException extends __BaseException {
|
|
|
401
413
|
this.Message = opts.Message;
|
|
402
414
|
}
|
|
403
415
|
}
|
|
404
|
-
export const OperationName = {
|
|
405
|
-
LambdaInvoke: "LambdaInvoke",
|
|
406
|
-
S3DeleteObjectTagging: "S3DeleteObjectTagging",
|
|
407
|
-
S3InitiateRestoreObject: "S3InitiateRestoreObject",
|
|
408
|
-
S3PutObjectAcl: "S3PutObjectAcl",
|
|
409
|
-
S3PutObjectCopy: "S3PutObjectCopy",
|
|
410
|
-
S3PutObjectLegalHold: "S3PutObjectLegalHold",
|
|
411
|
-
S3PutObjectRetention: "S3PutObjectRetention",
|
|
412
|
-
S3PutObjectTagging: "S3PutObjectTagging",
|
|
413
|
-
S3ReplicateObject: "S3ReplicateObject",
|
|
414
|
-
};
|
|
415
416
|
export const CredentialsFilterSensitiveLog = (obj) => ({
|
|
416
417
|
...obj,
|
|
417
418
|
...(obj.AccessKeyId && { AccessKeyId: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { S3ControlServiceException as __BaseException } from "./S3ControlServiceException";
|
|
2
|
+
export const OperationName = {
|
|
3
|
+
LambdaInvoke: "LambdaInvoke",
|
|
4
|
+
S3ComputeObjectChecksum: "S3ComputeObjectChecksum",
|
|
5
|
+
S3DeleteObjectTagging: "S3DeleteObjectTagging",
|
|
6
|
+
S3InitiateRestoreObject: "S3InitiateRestoreObject",
|
|
7
|
+
S3PutObjectAcl: "S3PutObjectAcl",
|
|
8
|
+
S3PutObjectCopy: "S3PutObjectCopy",
|
|
9
|
+
S3PutObjectLegalHold: "S3PutObjectLegalHold",
|
|
10
|
+
S3PutObjectRetention: "S3PutObjectRetention",
|
|
11
|
+
S3PutObjectTagging: "S3PutObjectTagging",
|
|
12
|
+
S3ReplicateObject: "S3ReplicateObject",
|
|
13
|
+
};
|
|
2
14
|
export const MFADelete = {
|
|
3
15
|
Disabled: "Disabled",
|
|
4
16
|
Enabled: "Enabled",
|
|
@@ -3375,6 +3375,9 @@ const se_JobOperation = (input, context) => {
|
|
|
3375
3375
|
if (input[_SRO] != null) {
|
|
3376
3376
|
bn.c(se_S3ReplicateObjectOperation(input[_SRO], context).n(_SRO));
|
|
3377
3377
|
}
|
|
3378
|
+
if (input[_SCOC] != null) {
|
|
3379
|
+
bn.c(se_S3ComputeObjectChecksumOperation(input[_SCOC], context).n(_SCOC));
|
|
3380
|
+
}
|
|
3378
3381
|
return bn;
|
|
3379
3382
|
};
|
|
3380
3383
|
const se_JobReport = (input, context) => {
|
|
@@ -3394,6 +3397,9 @@ const se_JobReport = (input, context) => {
|
|
|
3394
3397
|
if (input[_RS] != null) {
|
|
3395
3398
|
bn.c(__XmlNode.of(_JRS, input[_RS]).n(_RS));
|
|
3396
3399
|
}
|
|
3400
|
+
if (input[_EBO] != null) {
|
|
3401
|
+
bn.c(__XmlNode.of(_AI, input[_EBO]).n(_EBO));
|
|
3402
|
+
}
|
|
3397
3403
|
return bn;
|
|
3398
3404
|
};
|
|
3399
3405
|
const se_KeyNameConstraint = (input, context) => {
|
|
@@ -3863,6 +3869,16 @@ const se_S3BucketDestination = (input, context) => {
|
|
|
3863
3869
|
}
|
|
3864
3870
|
return bn;
|
|
3865
3871
|
};
|
|
3872
|
+
const se_S3ComputeObjectChecksumOperation = (input, context) => {
|
|
3873
|
+
const bn = new __XmlNode(_SCOCO);
|
|
3874
|
+
if (input[_CAh] != null) {
|
|
3875
|
+
bn.c(__XmlNode.of(_COCA, input[_CAh]).n(_CAh));
|
|
3876
|
+
}
|
|
3877
|
+
if (input[_CTh] != null) {
|
|
3878
|
+
bn.c(__XmlNode.of(_COCT, input[_CTh]).n(_CTh));
|
|
3879
|
+
}
|
|
3880
|
+
return bn;
|
|
3881
|
+
};
|
|
3866
3882
|
const se_S3CopyObjectOperation = (input, context) => {
|
|
3867
3883
|
const bn = new __XmlNode(_SCOO);
|
|
3868
3884
|
if (input[_TR] != null) {
|
|
@@ -5054,6 +5070,9 @@ const de_JobOperation = (output, context) => {
|
|
|
5054
5070
|
if (output[_SRO] != null) {
|
|
5055
5071
|
contents[_SRO] = de_S3ReplicateObjectOperation(output[_SRO], context);
|
|
5056
5072
|
}
|
|
5073
|
+
if (output[_SCOC] != null) {
|
|
5074
|
+
contents[_SCOC] = de_S3ComputeObjectChecksumOperation(output[_SCOC], context);
|
|
5075
|
+
}
|
|
5057
5076
|
return contents;
|
|
5058
5077
|
};
|
|
5059
5078
|
const de_JobProgressSummary = (output, context) => {
|
|
@@ -5089,6 +5108,9 @@ const de_JobReport = (output, context) => {
|
|
|
5089
5108
|
if (output[_RS] != null) {
|
|
5090
5109
|
contents[_RS] = __expectString(output[_RS]);
|
|
5091
5110
|
}
|
|
5111
|
+
if (output[_EBO] != null) {
|
|
5112
|
+
contents[_EBO] = __expectString(output[_EBO]);
|
|
5113
|
+
}
|
|
5092
5114
|
return contents;
|
|
5093
5115
|
};
|
|
5094
5116
|
const de_JobTimers = (output, context) => {
|
|
@@ -5902,6 +5924,16 @@ const de_S3BucketDestination = (output, context) => {
|
|
|
5902
5924
|
}
|
|
5903
5925
|
return contents;
|
|
5904
5926
|
};
|
|
5927
|
+
const de_S3ComputeObjectChecksumOperation = (output, context) => {
|
|
5928
|
+
const contents = {};
|
|
5929
|
+
if (output[_CAh] != null) {
|
|
5930
|
+
contents[_CAh] = __expectString(output[_CAh]);
|
|
5931
|
+
}
|
|
5932
|
+
if (output[_CTh] != null) {
|
|
5933
|
+
contents[_CTh] = __expectString(output[_CTh]);
|
|
5934
|
+
}
|
|
5935
|
+
return contents;
|
|
5936
|
+
};
|
|
5905
5937
|
const de_S3CopyObjectOperation = (output, context) => {
|
|
5906
5938
|
const contents = {};
|
|
5907
5939
|
if (output[_TR] != null) {
|
|
@@ -6643,11 +6675,14 @@ const _CLo = "ContentLength";
|
|
|
6643
6675
|
const _CMD = "ContentMD5";
|
|
6644
6676
|
const _CMRAPI = "CreateMultiRegionAccessPointInput";
|
|
6645
6677
|
const _CMRAPR = "CreateMultiRegionAccessPointRequest";
|
|
6678
|
+
const _COCA = "ComputeObjectChecksumAlgorithm";
|
|
6679
|
+
const _COCT = "ComputeObjectChecksumType";
|
|
6646
6680
|
const _CR = "ConfirmationRequired";
|
|
6647
6681
|
const _CRSBA = "ConfirmRemoveSelfBucketAccess";
|
|
6648
6682
|
const _CRT = "ClientRequestToken";
|
|
6649
6683
|
const _CSLGR = "CreateStorageLensGroupRequest";
|
|
6650
6684
|
const _CT = "ClientToken";
|
|
6685
|
+
const _CTh = "ChecksumType";
|
|
6651
6686
|
const _CTo = "ContentTransformation";
|
|
6652
6687
|
const _CTon = "ContentType";
|
|
6653
6688
|
const _CTr = "CreationTime";
|
|
@@ -6927,6 +6962,8 @@ const _SC = "StorageClass";
|
|
|
6927
6962
|
const _SCA = "S3ChecksumAlgorithm";
|
|
6928
6963
|
const _SCACL = "S3CannedAccessControlList";
|
|
6929
6964
|
const _SCL = "S3ContentLength";
|
|
6965
|
+
const _SCOC = "S3ComputeObjectChecksum";
|
|
6966
|
+
const _SCOCO = "S3ComputeObjectChecksumOperation";
|
|
6930
6967
|
const _SCOO = "S3CopyObjectOperation";
|
|
6931
6968
|
const _SCe = "SelectionCriteria";
|
|
6932
6969
|
const _SCu = "SuspendedCause";
|
|
@@ -27,17 +27,27 @@ declare const AssociateAccessGrantsIdentityCenterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance. Use this
|
|
30
|
+
* <p>Associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance. Use this
|
|
31
|
+
* action if you want to create access grants for users or groups from your corporate identity
|
|
32
|
+
* directory. First, you must add your corporate identity directory to Amazon Web Services IAM Identity
|
|
33
|
+
* Center. Then, you can associate this IAM Identity Center instance with your S3 Access Grants
|
|
34
|
+
* instance.</p>
|
|
31
35
|
* <dl>
|
|
32
36
|
* <dt>Permissions</dt>
|
|
33
37
|
* <dd>
|
|
34
|
-
* <p>You must have the <code>s3:AssociateAccessGrantsIdentityCenter</code>
|
|
38
|
+
* <p>You must have the <code>s3:AssociateAccessGrantsIdentityCenter</code>
|
|
39
|
+
* permission to use this operation. </p>
|
|
35
40
|
* </dd>
|
|
36
41
|
* <dt>Additional Permissions</dt>
|
|
37
42
|
* <dd>
|
|
38
|
-
* <p>You must also have the following permissions:
|
|
43
|
+
* <p>You must also have the following permissions:
|
|
44
|
+
* <code>sso:CreateApplication</code>, <code>sso:PutApplicationGrant</code>, and
|
|
45
|
+
* <code>sso:PutApplicationAuthenticationMethod</code>. </p>
|
|
39
46
|
* </dd>
|
|
40
47
|
* </dl>
|
|
48
|
+
* <important>
|
|
49
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
50
|
+
* </important>
|
|
41
51
|
* @example
|
|
42
52
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
53
|
* ```javascript
|
|
@@ -27,15 +27,21 @@ declare const CreateAccessGrantCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an access grant that gives a grantee access to your S3 data. The grantee can be
|
|
30
|
+
* <p>Creates an access grant that gives a grantee access to your S3 data. The grantee can be
|
|
31
|
+
* an IAM user or role or a directory user, or group. Before you can create a grant, you
|
|
32
|
+
* must have an S3 Access Grants instance in the same Region as the S3 data. You can create an S3 Access Grants
|
|
33
|
+
* instance using the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessGrantsInstance.html">CreateAccessGrantsInstance</a>. You must also have registered at least one S3 data
|
|
34
|
+
* location in your S3 Access Grants instance using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessGrantsLocation.html">CreateAccessGrantsLocation</a>. </p>
|
|
31
35
|
* <dl>
|
|
32
36
|
* <dt>Permissions</dt>
|
|
33
37
|
* <dd>
|
|
34
|
-
* <p>You must have the <code>s3:CreateAccessGrant</code> permission to use this
|
|
38
|
+
* <p>You must have the <code>s3:CreateAccessGrant</code> permission to use this
|
|
39
|
+
* operation. </p>
|
|
35
40
|
* </dd>
|
|
36
41
|
* <dt>Additional Permissions</dt>
|
|
37
42
|
* <dd>
|
|
38
|
-
* <p>For any directory identity - <code>sso:DescribeInstance</code> and
|
|
43
|
+
* <p>For any directory identity - <code>sso:DescribeInstance</code> and
|
|
44
|
+
* <code>sso:DescribeApplication</code>
|
|
39
45
|
* </p>
|
|
40
46
|
* <p>For directory users - <code>identitystore:DescribeUser</code>
|
|
41
47
|
* </p>
|
|
@@ -43,6 +49,9 @@ declare const CreateAccessGrantCommand_base: {
|
|
|
43
49
|
* </p>
|
|
44
50
|
* </dd>
|
|
45
51
|
* </dl>
|
|
52
|
+
* <important>
|
|
53
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
54
|
+
* </important>
|
|
46
55
|
* @example
|
|
47
56
|
* Use a bare-bones client and the command you need to make an API call.
|
|
48
57
|
* ```javascript
|
|
@@ -27,17 +27,25 @@ declare const CreateAccessGrantsInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an S3 Access Grants instance, which serves as a logical grouping for access grants. You
|
|
30
|
+
* <p>Creates an S3 Access Grants instance, which serves as a logical grouping for access grants. You
|
|
31
|
+
* can create one S3 Access Grants instance per Region per account. </p>
|
|
31
32
|
* <dl>
|
|
32
33
|
* <dt>Permissions</dt>
|
|
33
34
|
* <dd>
|
|
34
|
-
* <p>You must have the <code>s3:CreateAccessGrantsInstance</code> permission to use
|
|
35
|
+
* <p>You must have the <code>s3:CreateAccessGrantsInstance</code> permission to use
|
|
36
|
+
* this operation. </p>
|
|
35
37
|
* </dd>
|
|
36
38
|
* <dt>Additional Permissions</dt>
|
|
37
39
|
* <dd>
|
|
38
|
-
* <p>To associate an IAM Identity Center instance with your S3 Access Grants instance, you
|
|
40
|
+
* <p>To associate an IAM Identity Center instance with your S3 Access Grants instance, you
|
|
41
|
+
* must also have the <code>sso:DescribeInstance</code>,
|
|
42
|
+
* <code>sso:CreateApplication</code>, <code>sso:PutApplicationGrant</code>, and
|
|
43
|
+
* <code>sso:PutApplicationAuthenticationMethod</code> permissions. </p>
|
|
39
44
|
* </dd>
|
|
40
45
|
* </dl>
|
|
46
|
+
* <important>
|
|
47
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
48
|
+
* </important>
|
|
41
49
|
* @example
|
|
42
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
51
|
* ```javascript
|
|
@@ -27,7 +27,9 @@ declare const CreateAccessGrantsLocationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The S3 data location that you would like to register in your S3 Access Grants instance. Your S3
|
|
30
|
+
* <p>The S3 data location that you would like to register in your S3 Access Grants instance. Your S3
|
|
31
|
+
* data must be in the same Region as your S3 Access Grants instance. The location can be one of the
|
|
32
|
+
* following: </p>
|
|
31
33
|
* <ul>
|
|
32
34
|
* <li>
|
|
33
35
|
* <p>The default S3 location <code>s3://</code>
|
|
@@ -42,18 +44,26 @@ declare const CreateAccessGrantsLocationCommand_base: {
|
|
|
42
44
|
* </p>
|
|
43
45
|
* </li>
|
|
44
46
|
* </ul>
|
|
45
|
-
* <p>When you register a location, you must include the IAM role that has permission to
|
|
47
|
+
* <p>When you register a location, you must include the IAM role that has permission to
|
|
48
|
+
* manage the S3 location that you are registering. Give S3 Access Grants permission to assume this role
|
|
49
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-location.html">using a policy</a>. S3 Access Grants assumes this role to manage access to the location and
|
|
50
|
+
* to vend temporary credentials to grantees or client applications. </p>
|
|
46
51
|
* <dl>
|
|
47
52
|
* <dt>Permissions</dt>
|
|
48
53
|
* <dd>
|
|
49
|
-
* <p>You must have the <code>s3:CreateAccessGrantsLocation</code> permission to use
|
|
54
|
+
* <p>You must have the <code>s3:CreateAccessGrantsLocation</code> permission to use
|
|
55
|
+
* this operation. </p>
|
|
50
56
|
* </dd>
|
|
51
57
|
* <dt>Additional Permissions</dt>
|
|
52
58
|
* <dd>
|
|
53
|
-
* <p>You must also have the following permission for the specified IAM role:
|
|
59
|
+
* <p>You must also have the following permission for the specified IAM role:
|
|
60
|
+
* <code>iam:PassRole</code>
|
|
54
61
|
* </p>
|
|
55
62
|
* </dd>
|
|
56
63
|
* </dl>
|
|
64
|
+
* <important>
|
|
65
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
66
|
+
* </important>
|
|
57
67
|
* @example
|
|
58
68
|
* Use a bare-bones client and the command you need to make an API call.
|
|
59
69
|
* ```javascript
|
|
@@ -66,6 +66,9 @@ declare const CreateAccessPointCommand_base: {
|
|
|
66
66
|
* </p>
|
|
67
67
|
* </li>
|
|
68
68
|
* </ul>
|
|
69
|
+
* <important>
|
|
70
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
71
|
+
* </important>
|
|
69
72
|
* @example
|
|
70
73
|
* Use a bare-bones client and the command you need to make an API call.
|
|
71
74
|
* ```javascript
|
|
@@ -51,6 +51,9 @@ declare const CreateAccessPointForObjectLambdaCommand_base: {
|
|
|
51
51
|
* </p>
|
|
52
52
|
* </li>
|
|
53
53
|
* </ul>
|
|
54
|
+
* <important>
|
|
55
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
56
|
+
* </important>
|
|
54
57
|
* @example
|
|
55
58
|
* Use a bare-bones client and the command you need to make an API call.
|
|
56
59
|
* ```javascript
|
|
@@ -34,8 +34,9 @@ declare const CreateJobCommand_base: {
|
|
|
34
34
|
* <dl>
|
|
35
35
|
* <dt>Permissions</dt>
|
|
36
36
|
* <dd>
|
|
37
|
-
* <p>For information about permissions required to use the Batch Operations, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-iam-role-policies.html">Granting
|
|
38
|
-
*
|
|
37
|
+
* <p>For information about permissions required to use the Batch Operations, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-iam-role-policies.html">Granting
|
|
38
|
+
* permissions for S3 Batch Operations</a> in the <i>Amazon S3 User
|
|
39
|
+
* Guide</i>.</p>
|
|
39
40
|
* </dd>
|
|
40
41
|
* </dl>
|
|
41
42
|
* <p></p>
|
|
@@ -67,6 +68,9 @@ declare const CreateJobCommand_base: {
|
|
|
67
68
|
* </p>
|
|
68
69
|
* </li>
|
|
69
70
|
* </ul>
|
|
71
|
+
* <important>
|
|
72
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
73
|
+
* </important>
|
|
70
74
|
* @example
|
|
71
75
|
* Use a bare-bones client and the command you need to make an API call.
|
|
72
76
|
* ```javascript
|
|
@@ -179,6 +183,10 @@ declare const CreateJobCommand_base: {
|
|
|
179
183
|
* },
|
|
180
184
|
* },
|
|
181
185
|
* S3ReplicateObject: {},
|
|
186
|
+
* S3ComputeObjectChecksum: { // S3ComputeObjectChecksumOperation
|
|
187
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "CRC64NVME" || "MD5" || "SHA1" || "SHA256",
|
|
188
|
+
* ChecksumType: "FULL_OBJECT" || "COMPOSITE",
|
|
189
|
+
* },
|
|
182
190
|
* },
|
|
183
191
|
* Report: { // JobReport
|
|
184
192
|
* Bucket: "STRING_VALUE",
|
|
@@ -186,6 +194,7 @@ declare const CreateJobCommand_base: {
|
|
|
186
194
|
* Enabled: true || false, // required
|
|
187
195
|
* Prefix: "STRING_VALUE",
|
|
188
196
|
* ReportScope: "AllTasks" || "FailedTasksOnly",
|
|
197
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
189
198
|
* },
|
|
190
199
|
* ClientRequestToken: "STRING_VALUE", // required
|
|
191
200
|
* Manifest: { // JobManifest
|
|
@@ -31,7 +31,8 @@ declare const CreateMultiRegionAccessPointCommand_base: {
|
|
|
31
31
|
* <p>This operation is not supported by directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* <p>Creates a Multi-Region Access Point and associates it with the specified buckets. For more information
|
|
34
|
-
* about creating Multi-Region Access Points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html">Creating
|
|
34
|
+
* about creating Multi-Region Access Points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html">Creating
|
|
35
|
+
* Multi-Region Access Points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
35
36
|
* <p>This action will always be routed to the US West (Oregon) Region. For more information
|
|
36
37
|
* about the restrictions around working with Multi-Region Access Points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html">Multi-Region Access Point
|
|
37
38
|
* restrictions and limitations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -62,6 +63,9 @@ declare const CreateMultiRegionAccessPointCommand_base: {
|
|
|
62
63
|
* </p>
|
|
63
64
|
* </li>
|
|
64
65
|
* </ul>
|
|
66
|
+
* <important>
|
|
67
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
68
|
+
* </important>
|
|
65
69
|
* @example
|
|
66
70
|
* Use a bare-bones client and the command you need to make an API call.
|
|
67
71
|
* ```javascript
|
|
@@ -40,6 +40,9 @@ declare const CreateStorageLensGroupCommand_base: {
|
|
|
40
40
|
* Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
|
|
41
41
|
* <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage
|
|
42
42
|
* Lens error codes</a>.</p>
|
|
43
|
+
* <important>
|
|
44
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
45
|
+
* </important>
|
|
43
46
|
* @example
|
|
44
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
48
|
* ```javascript
|
|
@@ -27,13 +27,18 @@ declare const DeleteAccessGrantCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the access grant from the S3 Access Grants instance. You cannot undo an access grant
|
|
30
|
+
* <p>Deletes the access grant from the S3 Access Grants instance. You cannot undo an access grant
|
|
31
|
+
* deletion and the grantee will no longer have access to the S3 data.</p>
|
|
31
32
|
* <dl>
|
|
32
33
|
* <dt>Permissions</dt>
|
|
33
34
|
* <dd>
|
|
34
|
-
* <p>You must have the <code>s3:DeleteAccessGrant</code> permission to use this
|
|
35
|
+
* <p>You must have the <code>s3:DeleteAccessGrant</code> permission to use this
|
|
36
|
+
* operation. </p>
|
|
35
37
|
* </dd>
|
|
36
38
|
* </dl>
|
|
39
|
+
* <important>
|
|
40
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
41
|
+
* </important>
|
|
37
42
|
* @example
|
|
38
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
44
|
* ```javascript
|
|
@@ -27,13 +27,21 @@ declare const DeleteAccessGrantsInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes your S3 Access Grants instance. You must first delete the access grants and locations
|
|
30
|
+
* <p>Deletes your S3 Access Grants instance. You must first delete the access grants and locations
|
|
31
|
+
* before S3 Access Grants can delete the instance. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessGrant.html">DeleteAccessGrant</a>
|
|
32
|
+
* and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessGrantsLocation.html">DeleteAccessGrantsLocation</a>. If you have associated an IAM Identity Center
|
|
33
|
+
* instance with your S3 Access Grants instance, you must first dissassociate the Identity Center
|
|
34
|
+
* instance from the S3 Access Grants instance before you can delete the S3 Access Grants instance. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_AssociateAccessGrantsIdentityCenter.html">AssociateAccessGrantsIdentityCenter</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DissociateAccessGrantsIdentityCenter.html">DissociateAccessGrantsIdentityCenter</a>.</p>
|
|
31
35
|
* <dl>
|
|
32
36
|
* <dt>Permissions</dt>
|
|
33
37
|
* <dd>
|
|
34
|
-
* <p>You must have the <code>s3:DeleteAccessGrantsInstance</code> permission to use
|
|
38
|
+
* <p>You must have the <code>s3:DeleteAccessGrantsInstance</code> permission to use
|
|
39
|
+
* this operation. </p>
|
|
35
40
|
* </dd>
|
|
36
41
|
* </dl>
|
|
42
|
+
* <important>
|
|
43
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
44
|
+
* </important>
|
|
37
45
|
* @example
|
|
38
46
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
47
|
* ```javascript
|
|
@@ -27,13 +27,19 @@ declare const DeleteAccessGrantsInstanceResourcePolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the resource policy of the S3 Access Grants instance. The resource policy is used to
|
|
30
|
+
* <p>Deletes the resource policy of the S3 Access Grants instance. The resource policy is used to
|
|
31
|
+
* manage cross-account access to your S3 Access Grants instance. By deleting the resource policy, you
|
|
32
|
+
* delete any cross-account permissions to your S3 Access Grants instance. </p>
|
|
31
33
|
* <dl>
|
|
32
34
|
* <dt>Permissions</dt>
|
|
33
35
|
* <dd>
|
|
34
|
-
* <p>You must have the <code>s3:DeleteAccessGrantsInstanceResourcePolicy</code>
|
|
36
|
+
* <p>You must have the <code>s3:DeleteAccessGrantsInstanceResourcePolicy</code>
|
|
37
|
+
* permission to use this operation. </p>
|
|
35
38
|
* </dd>
|
|
36
39
|
* </dl>
|
|
40
|
+
* <important>
|
|
41
|
+
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
42
|
+
* </important>
|
|
37
43
|
* @example
|
|
38
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
45
|
* ```javascript
|