@aws-sdk/client-s3-control 3.1127.0 → 3.1128.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 +40 -5
- package/dist-es/models/enums.js +12 -0
- package/dist-es/schemas/schemas_0.js +22 -4
- package/dist-types/commands/CreateJobCommand.d.ts +11 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +11 -0
- package/dist-types/commands/UpdateAccessGrantsLocationCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +85 -59
- package/dist-types/models/models_1.d.ts +52 -0
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAccessGrantsLocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -12
- package/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const commonParams = {
|
|
|
73
73
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
var version = "3.
|
|
76
|
+
var version = "3.1127.0";
|
|
77
77
|
var packageInfo = {
|
|
78
78
|
version: version};
|
|
79
79
|
|
|
@@ -858,6 +858,7 @@ const _ACLc = "AccessControlList";
|
|
|
858
858
|
const _ACOM = "AdvancedCostOptimizationMetrics";
|
|
859
859
|
const _ACP = "AccessControlPolicy";
|
|
860
860
|
const _ACT = "AccessControlTranslation";
|
|
861
|
+
const _AD = "AnnotationDirective";
|
|
861
862
|
const _ADPM = "AdvancedDataProtectionMetrics";
|
|
862
863
|
const _AED = "AsyncErrorDetails";
|
|
863
864
|
const _AF = "AllowedFeatures";
|
|
@@ -1042,6 +1043,8 @@ const _EBO = "ExpectedBucketOwner";
|
|
|
1042
1043
|
const _EC = "EncryptionConfiguration";
|
|
1043
1044
|
const _ED = "ErrorDetails";
|
|
1044
1045
|
const _EFR = "EligibleForReplication";
|
|
1046
|
+
const _EH = "EventHold";
|
|
1047
|
+
const _EHD = "EventHoldDuration";
|
|
1045
1048
|
const _EID = "ExpirationInDays";
|
|
1046
1049
|
const _EMBO = "ExpectedManifestBucketOwner";
|
|
1047
1050
|
const _EMO = "EnableManifestOutput";
|
|
@@ -1334,6 +1337,8 @@ const _OLAPL = "ObjectLambdaAccessPointList";
|
|
|
1334
1337
|
const _OLC = "ObjectLambdaConfiguration";
|
|
1335
1338
|
const _OLCT = "ObjectLambdaContentTransformation";
|
|
1336
1339
|
const _OLEFB = "ObjectLockEnabledForBucket";
|
|
1340
|
+
const _OLEH = "ObjectLockEventHold";
|
|
1341
|
+
const _OLEHD = "ObjectLockEventHoldDuration";
|
|
1337
1342
|
const _OLLHS = "ObjectLockLegalHoldStatus";
|
|
1338
1343
|
const _OLM = "ObjectLockMode";
|
|
1339
1344
|
const _OLRUD = "ObjectLockRetainUntilDate";
|
|
@@ -1494,7 +1499,9 @@ const _SMOL = "S3ManifestOutputLocation";
|
|
|
1494
1499
|
const _SMRAPR = "SubmitMultiRegionAccessPointRoutes";
|
|
1495
1500
|
const _SMRAPRR = "SubmitMultiRegionAccessPointRoutesRequest";
|
|
1496
1501
|
const _SMRAPRRu = "SubmitMultiRegionAccessPointRoutesResult";
|
|
1502
|
+
const _SOLEHD = "S3ObjectLockEventHoldDuration";
|
|
1497
1503
|
const _SOLLH = "S3ObjectLockLegalHold";
|
|
1504
|
+
const _SOLREHD = "S3ObjectLockRetentionEventHoldDuration";
|
|
1498
1505
|
const _SOM = "S3ObjectMetadata";
|
|
1499
1506
|
const _SOO = "S3ObjectOwner";
|
|
1500
1507
|
const _SP = "S3Prefix";
|
|
@@ -1582,6 +1589,7 @@ const _V = "Value";
|
|
|
1582
1589
|
const _VC = "VpcConfiguration";
|
|
1583
1590
|
const _VCe = "VersioningConfiguration";
|
|
1584
1591
|
const _VI = "VpcId";
|
|
1592
|
+
const _Y = "Years";
|
|
1585
1593
|
const _aBA = "allowedByApplication";
|
|
1586
1594
|
const _aC = "auditContext";
|
|
1587
1595
|
const _aa = "application_arn";
|
|
@@ -2916,8 +2924,8 @@ var S3ComputeObjectChecksumOperation$ = [3, n0, _SCOCO,
|
|
|
2916
2924
|
];
|
|
2917
2925
|
var S3CopyObjectOperation$ = [3, n0, _SCOO,
|
|
2918
2926
|
0,
|
|
2919
|
-
[_TR, _CACL, _ACG, _MDe, _MSC, _NOM, _NOT, _RL, _RPe, _SC, _UMSC, _SSEAKKI, _TKP, _OLLHS, _OLM, _OLRUD, _BKE, _CAh],
|
|
2920
|
-
[0, 0, () => S3GrantList, 0, 4, () => S3ObjectMetadata$, () => S3TagSet, 0, 2, 0, 4, 0, 0, 0, 0, 4, 2, 0]
|
|
2927
|
+
[_TR, _CACL, _ACG, _MDe, _AD, _MSC, _NOM, _NOT, _RL, _RPe, _SC, _UMSC, _SSEAKKI, _TKP, _OLLHS, _OLM, _OLRUD, _BKE, _CAh, _OLEH, _OLEHD],
|
|
2928
|
+
[0, 0, () => S3GrantList, 0, 0, 4, () => S3ObjectMetadata$, () => S3TagSet, 0, 2, 0, 4, 0, 0, 0, 0, 4, 2, 0, 0, () => S3ObjectLockEventHoldDuration$]
|
|
2921
2929
|
];
|
|
2922
2930
|
var S3DeleteObjectTaggingOperation$ = [3, n0, _SDOTO,
|
|
2923
2931
|
0,
|
|
@@ -2954,11 +2962,21 @@ var S3ManifestOutputLocation$ = [3, n0, _SMOL,
|
|
|
2954
2962
|
[_B, _MF, _EMBO, _MP, _ME],
|
|
2955
2963
|
[0, 0, 0, 0, [() => GeneratedManifestEncryption$, 0]], 2
|
|
2956
2964
|
];
|
|
2965
|
+
var S3ObjectLockEventHoldDuration$ = [3, n0, _SOLEHD,
|
|
2966
|
+
0,
|
|
2967
|
+
[_Day, _Y],
|
|
2968
|
+
[1, 1]
|
|
2969
|
+
];
|
|
2957
2970
|
var S3ObjectLockLegalHold$ = [3, n0, _SOLLH,
|
|
2958
2971
|
0,
|
|
2959
2972
|
[_St],
|
|
2960
2973
|
[0], 1
|
|
2961
2974
|
];
|
|
2975
|
+
var S3ObjectLockRetentionEventHoldDuration$ = [3, n0, _SOLREHD,
|
|
2976
|
+
0,
|
|
2977
|
+
[_Day, _Y],
|
|
2978
|
+
[1, 1]
|
|
2979
|
+
];
|
|
2962
2980
|
var S3ObjectMetadata$ = [3, n0, _SOM,
|
|
2963
2981
|
0,
|
|
2964
2982
|
[_CC, _CDo, _CE, _CL, _UM, _CLo, _CMD, _CTon, _HED, _RCe, _SSEA],
|
|
@@ -2976,8 +2994,8 @@ var S3ReplicateObjectOperation$ = [3, n0, _SROO,
|
|
|
2976
2994
|
];
|
|
2977
2995
|
var S3Retention$ = [3, n0, _SR,
|
|
2978
2996
|
0,
|
|
2979
|
-
[_RUD, _Mo],
|
|
2980
|
-
[4, 0]
|
|
2997
|
+
[_RUD, _Mo, _EH, _EHD],
|
|
2998
|
+
[4, 0, 0, () => S3ObjectLockRetentionEventHoldDuration$]
|
|
2981
2999
|
];
|
|
2982
3000
|
var S3SetObjectAclOperation$ = [3, n0, _SSOAO,
|
|
2983
3001
|
0,
|
|
@@ -4462,6 +4480,10 @@ const S3CannedAccessControlList = {
|
|
|
4462
4480
|
PUBLIC_READ: "public-read",
|
|
4463
4481
|
PUBLIC_READ_WRITE: "public-read-write",
|
|
4464
4482
|
};
|
|
4483
|
+
const S3AnnotationDirective = {
|
|
4484
|
+
COPY: "COPY",
|
|
4485
|
+
EXCLUDE: "EXCLUDE",
|
|
4486
|
+
};
|
|
4465
4487
|
const S3ChecksumAlgorithm = {
|
|
4466
4488
|
CRC32: "CRC32",
|
|
4467
4489
|
CRC32C: "CRC32C",
|
|
@@ -4482,6 +4504,10 @@ const S3SSEAlgorithm = {
|
|
|
4482
4504
|
AES256: "AES256",
|
|
4483
4505
|
KMS: "KMS",
|
|
4484
4506
|
};
|
|
4507
|
+
const S3ObjectLockEventHold = {
|
|
4508
|
+
OFF: "OFF",
|
|
4509
|
+
ON: "ON",
|
|
4510
|
+
};
|
|
4485
4511
|
const S3ObjectLockLegalHoldStatus = {
|
|
4486
4512
|
OFF: "OFF",
|
|
4487
4513
|
ON: "ON",
|
|
@@ -4490,6 +4516,10 @@ const S3ObjectLockMode = {
|
|
|
4490
4516
|
COMPLIANCE: "COMPLIANCE",
|
|
4491
4517
|
GOVERNANCE: "GOVERNANCE",
|
|
4492
4518
|
};
|
|
4519
|
+
const S3ObjectLockRetentionEventHold = {
|
|
4520
|
+
OFF: "OFF",
|
|
4521
|
+
ON: "ON",
|
|
4522
|
+
};
|
|
4493
4523
|
const S3ObjectLockRetentionMode = {
|
|
4494
4524
|
COMPLIANCE: "COMPLIANCE",
|
|
4495
4525
|
GOVERNANCE: "GOVERNANCE",
|
|
@@ -5091,6 +5121,7 @@ exports.ReplicationTimeValue$ = ReplicationTimeValue$;
|
|
|
5091
5121
|
exports.RequestedJobStatus = RequestedJobStatus;
|
|
5092
5122
|
exports.S3AccessControlList$ = S3AccessControlList$;
|
|
5093
5123
|
exports.S3AccessControlPolicy$ = S3AccessControlPolicy$;
|
|
5124
|
+
exports.S3AnnotationDirective = S3AnnotationDirective;
|
|
5094
5125
|
exports.S3BucketDestination$ = S3BucketDestination$;
|
|
5095
5126
|
exports.S3CannedAccessControlList = S3CannedAccessControlList;
|
|
5096
5127
|
exports.S3ChecksumAlgorithm = S3ChecksumAlgorithm;
|
|
@@ -5110,9 +5141,13 @@ exports.S3InitiateRestoreObjectOperation$ = S3InitiateRestoreObjectOperation$;
|
|
|
5110
5141
|
exports.S3JobManifestGenerator$ = S3JobManifestGenerator$;
|
|
5111
5142
|
exports.S3ManifestOutputLocation$ = S3ManifestOutputLocation$;
|
|
5112
5143
|
exports.S3MetadataDirective = S3MetadataDirective;
|
|
5144
|
+
exports.S3ObjectLockEventHold = S3ObjectLockEventHold;
|
|
5145
|
+
exports.S3ObjectLockEventHoldDuration$ = S3ObjectLockEventHoldDuration$;
|
|
5113
5146
|
exports.S3ObjectLockLegalHold$ = S3ObjectLockLegalHold$;
|
|
5114
5147
|
exports.S3ObjectLockLegalHoldStatus = S3ObjectLockLegalHoldStatus;
|
|
5115
5148
|
exports.S3ObjectLockMode = S3ObjectLockMode;
|
|
5149
|
+
exports.S3ObjectLockRetentionEventHold = S3ObjectLockRetentionEventHold;
|
|
5150
|
+
exports.S3ObjectLockRetentionEventHoldDuration$ = S3ObjectLockRetentionEventHoldDuration$;
|
|
5116
5151
|
exports.S3ObjectLockRetentionMode = S3ObjectLockRetentionMode;
|
|
5117
5152
|
exports.S3ObjectMetadata$ = S3ObjectMetadata$;
|
|
5118
5153
|
exports.S3ObjectOwner$ = S3ObjectOwner$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -137,6 +137,10 @@ export const S3CannedAccessControlList = {
|
|
|
137
137
|
PUBLIC_READ: "public-read",
|
|
138
138
|
PUBLIC_READ_WRITE: "public-read-write",
|
|
139
139
|
};
|
|
140
|
+
export const S3AnnotationDirective = {
|
|
141
|
+
COPY: "COPY",
|
|
142
|
+
EXCLUDE: "EXCLUDE",
|
|
143
|
+
};
|
|
140
144
|
export const S3ChecksumAlgorithm = {
|
|
141
145
|
CRC32: "CRC32",
|
|
142
146
|
CRC32C: "CRC32C",
|
|
@@ -157,6 +161,10 @@ export const S3SSEAlgorithm = {
|
|
|
157
161
|
AES256: "AES256",
|
|
158
162
|
KMS: "KMS",
|
|
159
163
|
};
|
|
164
|
+
export const S3ObjectLockEventHold = {
|
|
165
|
+
OFF: "OFF",
|
|
166
|
+
ON: "ON",
|
|
167
|
+
};
|
|
160
168
|
export const S3ObjectLockLegalHoldStatus = {
|
|
161
169
|
OFF: "OFF",
|
|
162
170
|
ON: "ON",
|
|
@@ -165,6 +173,10 @@ export const S3ObjectLockMode = {
|
|
|
165
173
|
COMPLIANCE: "COMPLIANCE",
|
|
166
174
|
GOVERNANCE: "GOVERNANCE",
|
|
167
175
|
};
|
|
176
|
+
export const S3ObjectLockRetentionEventHold = {
|
|
177
|
+
OFF: "OFF",
|
|
178
|
+
ON: "ON",
|
|
179
|
+
};
|
|
168
180
|
export const S3ObjectLockRetentionMode = {
|
|
169
181
|
COMPLIANCE: "COMPLIANCE",
|
|
170
182
|
GOVERNANCE: "GOVERNANCE",
|
|
@@ -10,6 +10,7 @@ const _ACLc = "AccessControlList";
|
|
|
10
10
|
const _ACOM = "AdvancedCostOptimizationMetrics";
|
|
11
11
|
const _ACP = "AccessControlPolicy";
|
|
12
12
|
const _ACT = "AccessControlTranslation";
|
|
13
|
+
const _AD = "AnnotationDirective";
|
|
13
14
|
const _ADPM = "AdvancedDataProtectionMetrics";
|
|
14
15
|
const _AED = "AsyncErrorDetails";
|
|
15
16
|
const _AF = "AllowedFeatures";
|
|
@@ -194,6 +195,8 @@ const _EBO = "ExpectedBucketOwner";
|
|
|
194
195
|
const _EC = "EncryptionConfiguration";
|
|
195
196
|
const _ED = "ErrorDetails";
|
|
196
197
|
const _EFR = "EligibleForReplication";
|
|
198
|
+
const _EH = "EventHold";
|
|
199
|
+
const _EHD = "EventHoldDuration";
|
|
197
200
|
const _EID = "ExpirationInDays";
|
|
198
201
|
const _EMBO = "ExpectedManifestBucketOwner";
|
|
199
202
|
const _EMO = "EnableManifestOutput";
|
|
@@ -486,6 +489,8 @@ const _OLAPL = "ObjectLambdaAccessPointList";
|
|
|
486
489
|
const _OLC = "ObjectLambdaConfiguration";
|
|
487
490
|
const _OLCT = "ObjectLambdaContentTransformation";
|
|
488
491
|
const _OLEFB = "ObjectLockEnabledForBucket";
|
|
492
|
+
const _OLEH = "ObjectLockEventHold";
|
|
493
|
+
const _OLEHD = "ObjectLockEventHoldDuration";
|
|
489
494
|
const _OLLHS = "ObjectLockLegalHoldStatus";
|
|
490
495
|
const _OLM = "ObjectLockMode";
|
|
491
496
|
const _OLRUD = "ObjectLockRetainUntilDate";
|
|
@@ -646,7 +651,9 @@ const _SMOL = "S3ManifestOutputLocation";
|
|
|
646
651
|
const _SMRAPR = "SubmitMultiRegionAccessPointRoutes";
|
|
647
652
|
const _SMRAPRR = "SubmitMultiRegionAccessPointRoutesRequest";
|
|
648
653
|
const _SMRAPRRu = "SubmitMultiRegionAccessPointRoutesResult";
|
|
654
|
+
const _SOLEHD = "S3ObjectLockEventHoldDuration";
|
|
649
655
|
const _SOLLH = "S3ObjectLockLegalHold";
|
|
656
|
+
const _SOLREHD = "S3ObjectLockRetentionEventHoldDuration";
|
|
650
657
|
const _SOM = "S3ObjectMetadata";
|
|
651
658
|
const _SOO = "S3ObjectOwner";
|
|
652
659
|
const _SP = "S3Prefix";
|
|
@@ -734,6 +741,7 @@ const _V = "Value";
|
|
|
734
741
|
const _VC = "VpcConfiguration";
|
|
735
742
|
const _VCe = "VersioningConfiguration";
|
|
736
743
|
const _VI = "VpcId";
|
|
744
|
+
const _Y = "Years";
|
|
737
745
|
const _aBA = "allowedByApplication";
|
|
738
746
|
const _aC = "auditContext";
|
|
739
747
|
const _aa = "application_arn";
|
|
@@ -2071,8 +2079,8 @@ export var S3ComputeObjectChecksumOperation$ = [3, n0, _SCOCO,
|
|
|
2071
2079
|
];
|
|
2072
2080
|
export var S3CopyObjectOperation$ = [3, n0, _SCOO,
|
|
2073
2081
|
0,
|
|
2074
|
-
[_TR, _CACL, _ACG, _MDe, _MSC, _NOM, _NOT, _RL, _RPe, _SC, _UMSC, _SSEAKKI, _TKP, _OLLHS, _OLM, _OLRUD, _BKE, _CAh],
|
|
2075
|
-
[0, 0, () => S3GrantList, 0, 4, () => S3ObjectMetadata$, () => S3TagSet, 0, 2, 0, 4, 0, 0, 0, 0, 4, 2, 0]
|
|
2082
|
+
[_TR, _CACL, _ACG, _MDe, _AD, _MSC, _NOM, _NOT, _RL, _RPe, _SC, _UMSC, _SSEAKKI, _TKP, _OLLHS, _OLM, _OLRUD, _BKE, _CAh, _OLEH, _OLEHD],
|
|
2083
|
+
[0, 0, () => S3GrantList, 0, 0, 4, () => S3ObjectMetadata$, () => S3TagSet, 0, 2, 0, 4, 0, 0, 0, 0, 4, 2, 0, 0, () => S3ObjectLockEventHoldDuration$]
|
|
2076
2084
|
];
|
|
2077
2085
|
export var S3DeleteObjectTaggingOperation$ = [3, n0, _SDOTO,
|
|
2078
2086
|
0,
|
|
@@ -2109,11 +2117,21 @@ export var S3ManifestOutputLocation$ = [3, n0, _SMOL,
|
|
|
2109
2117
|
[_B, _MF, _EMBO, _MP, _ME],
|
|
2110
2118
|
[0, 0, 0, 0, [() => GeneratedManifestEncryption$, 0]], 2
|
|
2111
2119
|
];
|
|
2120
|
+
export var S3ObjectLockEventHoldDuration$ = [3, n0, _SOLEHD,
|
|
2121
|
+
0,
|
|
2122
|
+
[_Day, _Y],
|
|
2123
|
+
[1, 1]
|
|
2124
|
+
];
|
|
2112
2125
|
export var S3ObjectLockLegalHold$ = [3, n0, _SOLLH,
|
|
2113
2126
|
0,
|
|
2114
2127
|
[_St],
|
|
2115
2128
|
[0], 1
|
|
2116
2129
|
];
|
|
2130
|
+
export var S3ObjectLockRetentionEventHoldDuration$ = [3, n0, _SOLREHD,
|
|
2131
|
+
0,
|
|
2132
|
+
[_Day, _Y],
|
|
2133
|
+
[1, 1]
|
|
2134
|
+
];
|
|
2117
2135
|
export var S3ObjectMetadata$ = [3, n0, _SOM,
|
|
2118
2136
|
0,
|
|
2119
2137
|
[_CC, _CDo, _CE, _CL, _UM, _CLo, _CMD, _CTon, _HED, _RCe, _SSEA],
|
|
@@ -2131,8 +2149,8 @@ export var S3ReplicateObjectOperation$ = [3, n0, _SROO,
|
|
|
2131
2149
|
];
|
|
2132
2150
|
export var S3Retention$ = [3, n0, _SR,
|
|
2133
2151
|
0,
|
|
2134
|
-
[_RUD, _Mo],
|
|
2135
|
-
[4, 0]
|
|
2152
|
+
[_RUD, _Mo, _EH, _EHD],
|
|
2153
|
+
[4, 0, 0, () => S3ObjectLockRetentionEventHoldDuration$]
|
|
2136
2154
|
];
|
|
2137
2155
|
export var S3SetObjectAclOperation$ = [3, n0, _SSOAO,
|
|
2138
2156
|
0,
|
|
@@ -97,6 +97,7 @@ declare const CreateJobCommand_base: {
|
|
|
97
97
|
* },
|
|
98
98
|
* ],
|
|
99
99
|
* MetadataDirective: "COPY" || "REPLACE",
|
|
100
|
+
* AnnotationDirective: "COPY" || "EXCLUDE",
|
|
100
101
|
* ModifiedSinceConstraint: new Date("TIMESTAMP"),
|
|
101
102
|
* NewObjectMetadata: { // S3ObjectMetadata
|
|
102
103
|
* CacheControl: "STRING_VALUE",
|
|
@@ -130,6 +131,11 @@ declare const CreateJobCommand_base: {
|
|
|
130
131
|
* ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
|
|
131
132
|
* BucketKeyEnabled: true || false,
|
|
132
133
|
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME" || "SHA512" || "MD5" || "XXHASH64" || "XXHASH3" || "XXHASH128",
|
|
134
|
+
* ObjectLockEventHold: "ON" || "OFF",
|
|
135
|
+
* ObjectLockEventHoldDuration: { // S3ObjectLockEventHoldDuration
|
|
136
|
+
* Days: Number("int"),
|
|
137
|
+
* Years: Number("int"),
|
|
138
|
+
* },
|
|
133
139
|
* },
|
|
134
140
|
* S3PutObjectAcl: { // S3SetObjectAclOperation
|
|
135
141
|
* AccessControlPolicy: { // S3AccessControlPolicy
|
|
@@ -175,6 +181,11 @@ declare const CreateJobCommand_base: {
|
|
|
175
181
|
* Retention: { // S3Retention
|
|
176
182
|
* RetainUntilDate: new Date("TIMESTAMP"),
|
|
177
183
|
* Mode: "COMPLIANCE" || "GOVERNANCE",
|
|
184
|
+
* EventHold: "ON" || "OFF",
|
|
185
|
+
* EventHoldDuration: { // S3ObjectLockRetentionEventHoldDuration
|
|
186
|
+
* Days: Number("int"),
|
|
187
|
+
* Years: Number("int"),
|
|
188
|
+
* },
|
|
178
189
|
* },
|
|
179
190
|
* },
|
|
180
191
|
* S3ReplicateObject: {},
|
|
@@ -111,6 +111,7 @@ declare const DescribeJobCommand_base: {
|
|
|
111
111
|
* // },
|
|
112
112
|
* // ],
|
|
113
113
|
* // MetadataDirective: "COPY" || "REPLACE",
|
|
114
|
+
* // AnnotationDirective: "COPY" || "EXCLUDE",
|
|
114
115
|
* // ModifiedSinceConstraint: new Date("TIMESTAMP"),
|
|
115
116
|
* // NewObjectMetadata: { // S3ObjectMetadata
|
|
116
117
|
* // CacheControl: "STRING_VALUE",
|
|
@@ -144,6 +145,11 @@ declare const DescribeJobCommand_base: {
|
|
|
144
145
|
* // ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
|
|
145
146
|
* // BucketKeyEnabled: true || false,
|
|
146
147
|
* // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME" || "SHA512" || "MD5" || "XXHASH64" || "XXHASH3" || "XXHASH128",
|
|
148
|
+
* // ObjectLockEventHold: "ON" || "OFF",
|
|
149
|
+
* // ObjectLockEventHoldDuration: { // S3ObjectLockEventHoldDuration
|
|
150
|
+
* // Days: Number("int"),
|
|
151
|
+
* // Years: Number("int"),
|
|
152
|
+
* // },
|
|
147
153
|
* // },
|
|
148
154
|
* // S3PutObjectAcl: { // S3SetObjectAclOperation
|
|
149
155
|
* // AccessControlPolicy: { // S3AccessControlPolicy
|
|
@@ -189,6 +195,11 @@ declare const DescribeJobCommand_base: {
|
|
|
189
195
|
* // Retention: { // S3Retention
|
|
190
196
|
* // RetainUntilDate: new Date("TIMESTAMP"),
|
|
191
197
|
* // Mode: "COMPLIANCE" || "GOVERNANCE",
|
|
198
|
+
* // EventHold: "ON" || "OFF",
|
|
199
|
+
* // EventHoldDuration: { // S3ObjectLockRetentionEventHoldDuration
|
|
200
|
+
* // Days: Number("int"),
|
|
201
|
+
* // Years: Number("int"),
|
|
202
|
+
* // },
|
|
192
203
|
* // },
|
|
193
204
|
* // },
|
|
194
205
|
* // S3ReplicateObject: {},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateAccessGrantsLocationRequest, UpdateAccessGrantsLocationResult } from "../models/
|
|
2
|
+
import type { UpdateAccessGrantsLocationRequest, UpdateAccessGrantsLocationResult } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -321,6 +321,18 @@ export declare const S3CannedAccessControlList: {
|
|
|
321
321
|
* @public
|
|
322
322
|
*/
|
|
323
323
|
export type S3CannedAccessControlList = (typeof S3CannedAccessControlList)[keyof typeof S3CannedAccessControlList];
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
* @enum
|
|
327
|
+
*/
|
|
328
|
+
export declare const S3AnnotationDirective: {
|
|
329
|
+
readonly COPY: "COPY";
|
|
330
|
+
readonly EXCLUDE: "EXCLUDE";
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
export type S3AnnotationDirective = (typeof S3AnnotationDirective)[keyof typeof S3AnnotationDirective];
|
|
324
336
|
/**
|
|
325
337
|
* @public
|
|
326
338
|
* @enum
|
|
@@ -365,6 +377,18 @@ export declare const S3SSEAlgorithm: {
|
|
|
365
377
|
* @public
|
|
366
378
|
*/
|
|
367
379
|
export type S3SSEAlgorithm = (typeof S3SSEAlgorithm)[keyof typeof S3SSEAlgorithm];
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
* @enum
|
|
383
|
+
*/
|
|
384
|
+
export declare const S3ObjectLockEventHold: {
|
|
385
|
+
readonly OFF: "OFF";
|
|
386
|
+
readonly ON: "ON";
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export type S3ObjectLockEventHold = (typeof S3ObjectLockEventHold)[keyof typeof S3ObjectLockEventHold];
|
|
368
392
|
/**
|
|
369
393
|
* @public
|
|
370
394
|
* @enum
|
|
@@ -389,6 +413,18 @@ export declare const S3ObjectLockMode: {
|
|
|
389
413
|
* @public
|
|
390
414
|
*/
|
|
391
415
|
export type S3ObjectLockMode = (typeof S3ObjectLockMode)[keyof typeof S3ObjectLockMode];
|
|
416
|
+
/**
|
|
417
|
+
* @public
|
|
418
|
+
* @enum
|
|
419
|
+
*/
|
|
420
|
+
export declare const S3ObjectLockRetentionEventHold: {
|
|
421
|
+
readonly OFF: "OFF";
|
|
422
|
+
readonly ON: "ON";
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
export type S3ObjectLockRetentionEventHold = (typeof S3ObjectLockRetentionEventHold)[keyof typeof S3ObjectLockRetentionEventHold];
|
|
392
428
|
/**
|
|
393
429
|
* @public
|
|
394
430
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AsyncOperationName, BucketCannedACL, BucketLocationConstraint, BucketVersioningStatus, ComputeObjectChecksumAlgorithm, ComputeObjectChecksumType, DeleteMarkerReplicationStatus, ExistingObjectReplicationStatus, ExpirationStatus, Format, GeneratedManifestFormat, GranteeType, JobManifestFieldName, JobManifestFormat, JobReportFormat, JobReportScope, JobStatus, MetricsStatus, MFADelete, MFADeleteStatus, MultiRegionAccessPointStatus, NetworkOrigin, ObjectLambdaAccessPointAliasStatus, ObjectLambdaAllowedFeature, ObjectLambdaTransformationConfigurationAction, OperationName, OutputSchemaVersion, OwnerOverride, Permission, Privilege, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationStorageClass, ReplicationTimeStatus, S3CannedAccessControlList, S3ChecksumAlgorithm, S3GlacierJobTier, S3GranteeTypeIdentifier, S3MetadataDirective, S3ObjectLockLegalHoldStatus, S3ObjectLockMode, S3ObjectLockRetentionMode, S3Permission, S3PrefixType, S3SSEAlgorithm, S3StorageClass, ScopePermission, SseKmsEncryptedObjectsStatus, TransitionStorageClass } from "./enums";
|
|
1
|
+
import type { AsyncOperationName, BucketCannedACL, BucketLocationConstraint, BucketVersioningStatus, ComputeObjectChecksumAlgorithm, ComputeObjectChecksumType, DeleteMarkerReplicationStatus, ExistingObjectReplicationStatus, ExpirationStatus, Format, GeneratedManifestFormat, GranteeType, JobManifestFieldName, JobManifestFormat, JobReportFormat, JobReportScope, JobStatus, MetricsStatus, MFADelete, MFADeleteStatus, MultiRegionAccessPointStatus, NetworkOrigin, ObjectLambdaAccessPointAliasStatus, ObjectLambdaAllowedFeature, ObjectLambdaTransformationConfigurationAction, OperationName, OutputSchemaVersion, OwnerOverride, Permission, Privilege, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationStorageClass, ReplicationTimeStatus, S3AnnotationDirective, S3CannedAccessControlList, S3ChecksumAlgorithm, S3GlacierJobTier, S3GranteeTypeIdentifier, S3MetadataDirective, S3ObjectLockEventHold, S3ObjectLockLegalHoldStatus, S3ObjectLockMode, S3ObjectLockRetentionEventHold, S3ObjectLockRetentionMode, S3Permission, S3PrefixType, S3SSEAlgorithm, S3StorageClass, ScopePermission, SseKmsEncryptedObjectsStatus, TransitionStorageClass } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The container for abort incomplete multipart upload</p>
|
|
4
4
|
* @public
|
|
@@ -363,10 +363,7 @@ export interface SelectionCriteria {
|
|
|
363
363
|
*/
|
|
364
364
|
MaxDepth?: number | undefined;
|
|
365
365
|
/**
|
|
366
|
-
* <p>The minimum
|
|
367
|
-
* <note>
|
|
368
|
-
* <p>You must choose a value greater than or equal to <code>1.0</code>.</p>
|
|
369
|
-
* </note>
|
|
366
|
+
* <p>The minimum percentage of total bucket storage that a prefix must hold for its metrics to be included.</p>
|
|
370
367
|
* @public
|
|
371
368
|
*/
|
|
372
369
|
MinStorageBytesPercentage?: number | undefined;
|
|
@@ -1781,8 +1778,8 @@ export interface S3ManifestOutputLocation {
|
|
|
1781
1778
|
*/
|
|
1782
1779
|
export interface S3JobManifestGenerator {
|
|
1783
1780
|
/**
|
|
1784
|
-
* <p>The Amazon Web Services account ID that owns the bucket
|
|
1785
|
-
* provided the
|
|
1781
|
+
* <p>The Amazon Web Services account ID that owns the source bucket specified in <code>SourceBucket</code>. If
|
|
1782
|
+
* provided, the manifest source bucket owner's Amazon Web Services account ID must match this value, else
|
|
1786
1783
|
* the job fails.</p>
|
|
1787
1784
|
* @public
|
|
1788
1785
|
*/
|
|
@@ -2145,6 +2142,25 @@ export interface S3Tag {
|
|
|
2145
2142
|
*/
|
|
2146
2143
|
Value: string | undefined;
|
|
2147
2144
|
}
|
|
2145
|
+
/**
|
|
2146
|
+
* <p>Contains the duration configuration for an event hold, specified in either days or
|
|
2147
|
+
* years.</p>
|
|
2148
|
+
* @public
|
|
2149
|
+
*/
|
|
2150
|
+
export interface S3ObjectLockEventHoldDuration {
|
|
2151
|
+
/**
|
|
2152
|
+
* <p>The number of days for the event hold duration. The minimum value is 1 and the maximum
|
|
2153
|
+
* value is 36,500.</p>
|
|
2154
|
+
* @public
|
|
2155
|
+
*/
|
|
2156
|
+
Days?: number | undefined;
|
|
2157
|
+
/**
|
|
2158
|
+
* <p>The number of years for the event hold duration. The minimum value is 1 and the maximum
|
|
2159
|
+
* value is 100.</p>
|
|
2160
|
+
* @public
|
|
2161
|
+
*/
|
|
2162
|
+
Years?: number | undefined;
|
|
2163
|
+
}
|
|
2148
2164
|
/**
|
|
2149
2165
|
* <p>Contains
|
|
2150
2166
|
* the configuration parameters for a PUT Copy object operation. S3 Batch Operations passes every
|
|
@@ -2203,6 +2219,18 @@ export interface S3CopyObjectOperation {
|
|
|
2203
2219
|
* @public
|
|
2204
2220
|
*/
|
|
2205
2221
|
MetadataDirective?: S3MetadataDirective | undefined;
|
|
2222
|
+
/**
|
|
2223
|
+
* <p>Specifies whether the Batch Operations copy job copies object annotations from the source
|
|
2224
|
+
* object or skips them. If this property isn't specified, <code>COPY</code> is the default
|
|
2225
|
+
* behavior.</p>
|
|
2226
|
+
* <p>Valid Values: <code>COPY | EXCLUDE</code>
|
|
2227
|
+
* </p>
|
|
2228
|
+
* <note>
|
|
2229
|
+
* <p>This functionality is not supported by directory buckets.</p>
|
|
2230
|
+
* </note>
|
|
2231
|
+
* @public
|
|
2232
|
+
*/
|
|
2233
|
+
AnnotationDirective?: S3AnnotationDirective | undefined;
|
|
2206
2234
|
/**
|
|
2207
2235
|
* <p></p>
|
|
2208
2236
|
* @public
|
|
@@ -2339,6 +2367,25 @@ export interface S3CopyObjectOperation {
|
|
|
2339
2367
|
* @public
|
|
2340
2368
|
*/
|
|
2341
2369
|
ChecksumAlgorithm?: S3ChecksumAlgorithm | undefined;
|
|
2370
|
+
/**
|
|
2371
|
+
* <p>The event hold status to be applied to all objects in the Batch Operations copy job. Set to
|
|
2372
|
+
* <code>ON</code> to enable an event hold or <code>OFF</code> to disable it.</p>
|
|
2373
|
+
* <note>
|
|
2374
|
+
* <p>This functionality is not supported by directory buckets.</p>
|
|
2375
|
+
* </note>
|
|
2376
|
+
* @public
|
|
2377
|
+
*/
|
|
2378
|
+
ObjectLockEventHold?: S3ObjectLockEventHold | undefined;
|
|
2379
|
+
/**
|
|
2380
|
+
* <p>The event hold duration to be applied to all objects in the Batch Operations copy job. The
|
|
2381
|
+
* duration specifies how long the object remains protected after the event hold is
|
|
2382
|
+
* released.</p>
|
|
2383
|
+
* <note>
|
|
2384
|
+
* <p>This functionality is not supported by directory buckets.</p>
|
|
2385
|
+
* </note>
|
|
2386
|
+
* @public
|
|
2387
|
+
*/
|
|
2388
|
+
ObjectLockEventHoldDuration?: S3ObjectLockEventHoldDuration | undefined;
|
|
2342
2389
|
}
|
|
2343
2390
|
/**
|
|
2344
2391
|
* <p>Whether S3 Object Lock legal hold will be applied to objects in an S3 Batch Operations
|
|
@@ -2375,6 +2422,25 @@ export interface S3SetObjectLegalHoldOperation {
|
|
|
2375
2422
|
*/
|
|
2376
2423
|
LegalHold: S3ObjectLockLegalHold | undefined;
|
|
2377
2424
|
}
|
|
2425
|
+
/**
|
|
2426
|
+
* <p>Contains the duration configuration for an event hold, specified in either days or
|
|
2427
|
+
* years.</p>
|
|
2428
|
+
* @public
|
|
2429
|
+
*/
|
|
2430
|
+
export interface S3ObjectLockRetentionEventHoldDuration {
|
|
2431
|
+
/**
|
|
2432
|
+
* <p>The number of days for the event hold duration. The minimum value is 1 and the maximum
|
|
2433
|
+
* value is 36,500.</p>
|
|
2434
|
+
* @public
|
|
2435
|
+
*/
|
|
2436
|
+
Days?: number | undefined;
|
|
2437
|
+
/**
|
|
2438
|
+
* <p>The number of years for the event hold duration. The minimum value is 1 and the maximum
|
|
2439
|
+
* value is 100.</p>
|
|
2440
|
+
* @public
|
|
2441
|
+
*/
|
|
2442
|
+
Years?: number | undefined;
|
|
2443
|
+
}
|
|
2378
2444
|
/**
|
|
2379
2445
|
* <p>Contains the S3 Object Lock retention mode to be applied to all objects in the
|
|
2380
2446
|
* S3 Batch Operations job. If you don't provide <code>Mode</code> and <code>RetainUntilDate</code>
|
|
@@ -2396,6 +2462,18 @@ export interface S3Retention {
|
|
|
2396
2462
|
* @public
|
|
2397
2463
|
*/
|
|
2398
2464
|
Mode?: S3ObjectLockRetentionMode | undefined;
|
|
2465
|
+
/**
|
|
2466
|
+
* <p>The event hold status to be applied to all objects in the Batch Operations job. Set to
|
|
2467
|
+
* <code>ON</code> to enable an event hold or <code>OFF</code> to disable it.</p>
|
|
2468
|
+
* @public
|
|
2469
|
+
*/
|
|
2470
|
+
EventHold?: S3ObjectLockRetentionEventHold | undefined;
|
|
2471
|
+
/**
|
|
2472
|
+
* <p>The event hold duration to be applied to all objects in the Batch Operations job. The duration
|
|
2473
|
+
* specifies how long the object remains protected after the event hold is released.</p>
|
|
2474
|
+
* @public
|
|
2475
|
+
*/
|
|
2476
|
+
EventHoldDuration?: S3ObjectLockRetentionEventHoldDuration | undefined;
|
|
2399
2477
|
}
|
|
2400
2478
|
/**
|
|
2401
2479
|
* <p>Contains the configuration parameters for the Object Lock retention action for an
|
|
@@ -7062,55 +7140,3 @@ export interface UntagResourceRequest {
|
|
|
7062
7140
|
*/
|
|
7063
7141
|
export interface UntagResourceResult {
|
|
7064
7142
|
}
|
|
7065
|
-
/**
|
|
7066
|
-
* @public
|
|
7067
|
-
*/
|
|
7068
|
-
export interface UpdateAccessGrantsLocationRequest {
|
|
7069
|
-
/**
|
|
7070
|
-
* <p>The Amazon Web Services account ID of the S3 Access Grants instance.</p>
|
|
7071
|
-
* @public
|
|
7072
|
-
*/
|
|
7073
|
-
AccountId?: string | undefined;
|
|
7074
|
-
/**
|
|
7075
|
-
* <p>The ID of the registered location that you are updating. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the ID <code>default</code> to the default location <code>s3://</code> and assigns an auto-generated ID to other locations that you register. </p>
|
|
7076
|
-
* <p>The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID <code>default</code> to the default location <code>s3://</code> and assigns an auto-generated ID to other locations that you register. </p>
|
|
7077
|
-
* <p>If you are passing the <code>default</code> location, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in the <code>Subprefix</code> field. </p>
|
|
7078
|
-
* @public
|
|
7079
|
-
*/
|
|
7080
|
-
AccessGrantsLocationId: string | undefined;
|
|
7081
|
-
/**
|
|
7082
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location. </p>
|
|
7083
|
-
* @public
|
|
7084
|
-
*/
|
|
7085
|
-
IAMRoleArn: string | undefined;
|
|
7086
|
-
}
|
|
7087
|
-
/**
|
|
7088
|
-
* @public
|
|
7089
|
-
*/
|
|
7090
|
-
export interface UpdateAccessGrantsLocationResult {
|
|
7091
|
-
/**
|
|
7092
|
-
* <p>The date and time when you registered the location. </p>
|
|
7093
|
-
* @public
|
|
7094
|
-
*/
|
|
7095
|
-
CreatedAt?: Date | undefined;
|
|
7096
|
-
/**
|
|
7097
|
-
* <p>The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID <code>default</code> to the default location <code>s3://</code> and assigns an auto-generated ID to other locations that you register. </p>
|
|
7098
|
-
* @public
|
|
7099
|
-
*/
|
|
7100
|
-
AccessGrantsLocationId?: string | undefined;
|
|
7101
|
-
/**
|
|
7102
|
-
* <p>The Amazon Resource Name (ARN) of the registered location that you are updating. </p>
|
|
7103
|
-
* @public
|
|
7104
|
-
*/
|
|
7105
|
-
AccessGrantsLocationArn?: string | undefined;
|
|
7106
|
-
/**
|
|
7107
|
-
* <p>The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. The location scope can be the default S3 location <code>s3://</code>, the S3 path to a bucket <code>s3://<bucket></code>, or the S3 path to a bucket and prefix <code>s3://<bucket>/<prefix></code>. </p>
|
|
7108
|
-
* @public
|
|
7109
|
-
*/
|
|
7110
|
-
LocationScope?: string | undefined;
|
|
7111
|
-
/**
|
|
7112
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants assumes this role to manage access to the registered location. </p>
|
|
7113
|
-
* @public
|
|
7114
|
-
*/
|
|
7115
|
-
IAMRoleArn?: string | undefined;
|
|
7116
|
-
}
|
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
import type { JobStatus, RequestedJobStatus } from "./enums";
|
|
2
2
|
import type { StorageLensGroup } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateAccessGrantsLocationRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The Amazon Web Services account ID of the S3 Access Grants instance.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
AccountId?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The ID of the registered location that you are updating. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the ID <code>default</code> to the default location <code>s3://</code> and assigns an auto-generated ID to other locations that you register. </p>
|
|
14
|
+
* <p>The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID <code>default</code> to the default location <code>s3://</code> and assigns an auto-generated ID to other locations that you register. </p>
|
|
15
|
+
* <p>If you are passing the <code>default</code> location, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in the <code>Subprefix</code> field. </p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
AccessGrantsLocationId: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location. </p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
IAMRoleArn: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdateAccessGrantsLocationResult {
|
|
29
|
+
/**
|
|
30
|
+
* <p>The date and time when you registered the location. </p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
CreatedAt?: Date | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID <code>default</code> to the default location <code>s3://</code> and assigns an auto-generated ID to other locations that you register. </p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
AccessGrantsLocationId?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The Amazon Resource Name (ARN) of the registered location that you are updating. </p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
AccessGrantsLocationArn?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. The location scope can be the default S3 location <code>s3://</code>, the S3 path to a bucket <code>s3://<bucket></code>, or the S3 path to a bucket and prefix <code>s3://<bucket>/<prefix></code>. </p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
LocationScope?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants assumes this role to manage access to the registered location. </p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
IAMRoleArn?: string | undefined;
|
|
54
|
+
}
|
|
3
55
|
/**
|
|
4
56
|
* @public
|
|
5
57
|
*/
|
|
@@ -267,7 +267,9 @@ export declare var S3Grantee$: StaticStructureSchema;
|
|
|
267
267
|
export declare var S3InitiateRestoreObjectOperation$: StaticStructureSchema;
|
|
268
268
|
export declare var S3JobManifestGenerator$: StaticStructureSchema;
|
|
269
269
|
export declare var S3ManifestOutputLocation$: StaticStructureSchema;
|
|
270
|
+
export declare var S3ObjectLockEventHoldDuration$: StaticStructureSchema;
|
|
270
271
|
export declare var S3ObjectLockLegalHold$: StaticStructureSchema;
|
|
272
|
+
export declare var S3ObjectLockRetentionEventHoldDuration$: StaticStructureSchema;
|
|
271
273
|
export declare var S3ObjectMetadata$: StaticStructureSchema;
|
|
272
274
|
export declare var S3ObjectOwner$: StaticStructureSchema;
|
|
273
275
|
export declare var S3ReplicateObjectOperation$: StaticStructureSchema;
|
|
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import {
|
|
3
3
|
UpdateAccessGrantsLocationRequest,
|
|
4
4
|
UpdateAccessGrantsLocationResult,
|
|
5
|
-
} from "../models/
|
|
5
|
+
} from "../models/models_1";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
7
|
export interface UpdateAccessGrantsLocationCommandInput extends UpdateAccessGrantsLocationRequest {}
|
|
8
8
|
export interface UpdateAccessGrantsLocationCommandOutput
|
|
@@ -169,6 +169,12 @@ export declare const S3CannedAccessControlList: {
|
|
|
169
169
|
};
|
|
170
170
|
export type S3CannedAccessControlList =
|
|
171
171
|
(typeof S3CannedAccessControlList)[keyof typeof S3CannedAccessControlList];
|
|
172
|
+
export declare const S3AnnotationDirective: {
|
|
173
|
+
readonly COPY: "COPY";
|
|
174
|
+
readonly EXCLUDE: "EXCLUDE";
|
|
175
|
+
};
|
|
176
|
+
export type S3AnnotationDirective =
|
|
177
|
+
(typeof S3AnnotationDirective)[keyof typeof S3AnnotationDirective];
|
|
172
178
|
export declare const S3ChecksumAlgorithm: {
|
|
173
179
|
readonly CRC32: "CRC32";
|
|
174
180
|
readonly CRC32C: "CRC32C";
|
|
@@ -192,6 +198,12 @@ export declare const S3SSEAlgorithm: {
|
|
|
192
198
|
readonly KMS: "KMS";
|
|
193
199
|
};
|
|
194
200
|
export type S3SSEAlgorithm = (typeof S3SSEAlgorithm)[keyof typeof S3SSEAlgorithm];
|
|
201
|
+
export declare const S3ObjectLockEventHold: {
|
|
202
|
+
readonly OFF: "OFF";
|
|
203
|
+
readonly ON: "ON";
|
|
204
|
+
};
|
|
205
|
+
export type S3ObjectLockEventHold =
|
|
206
|
+
(typeof S3ObjectLockEventHold)[keyof typeof S3ObjectLockEventHold];
|
|
195
207
|
export declare const S3ObjectLockLegalHoldStatus: {
|
|
196
208
|
readonly OFF: "OFF";
|
|
197
209
|
readonly ON: "ON";
|
|
@@ -203,6 +215,12 @@ export declare const S3ObjectLockMode: {
|
|
|
203
215
|
readonly GOVERNANCE: "GOVERNANCE";
|
|
204
216
|
};
|
|
205
217
|
export type S3ObjectLockMode = (typeof S3ObjectLockMode)[keyof typeof S3ObjectLockMode];
|
|
218
|
+
export declare const S3ObjectLockRetentionEventHold: {
|
|
219
|
+
readonly OFF: "OFF";
|
|
220
|
+
readonly ON: "ON";
|
|
221
|
+
};
|
|
222
|
+
export type S3ObjectLockRetentionEventHold =
|
|
223
|
+
(typeof S3ObjectLockRetentionEventHold)[keyof typeof S3ObjectLockRetentionEventHold];
|
|
206
224
|
export declare const S3ObjectLockRetentionMode: {
|
|
207
225
|
readonly COMPLIANCE: "COMPLIANCE";
|
|
208
226
|
readonly GOVERNANCE: "GOVERNANCE";
|
|
@@ -34,13 +34,16 @@ import {
|
|
|
34
34
|
ReplicationStatus,
|
|
35
35
|
ReplicationStorageClass,
|
|
36
36
|
ReplicationTimeStatus,
|
|
37
|
+
S3AnnotationDirective,
|
|
37
38
|
S3CannedAccessControlList,
|
|
38
39
|
S3ChecksumAlgorithm,
|
|
39
40
|
S3GlacierJobTier,
|
|
40
41
|
S3GranteeTypeIdentifier,
|
|
41
42
|
S3MetadataDirective,
|
|
43
|
+
S3ObjectLockEventHold,
|
|
42
44
|
S3ObjectLockLegalHoldStatus,
|
|
43
45
|
S3ObjectLockMode,
|
|
46
|
+
S3ObjectLockRetentionEventHold,
|
|
44
47
|
S3ObjectLockRetentionMode,
|
|
45
48
|
S3Permission,
|
|
46
49
|
S3PrefixType,
|
|
@@ -540,11 +543,16 @@ export interface S3Tag {
|
|
|
540
543
|
Key: string | undefined;
|
|
541
544
|
Value: string | undefined;
|
|
542
545
|
}
|
|
546
|
+
export interface S3ObjectLockEventHoldDuration {
|
|
547
|
+
Days?: number | undefined;
|
|
548
|
+
Years?: number | undefined;
|
|
549
|
+
}
|
|
543
550
|
export interface S3CopyObjectOperation {
|
|
544
551
|
TargetResource?: string | undefined;
|
|
545
552
|
CannedAccessControlList?: S3CannedAccessControlList | undefined;
|
|
546
553
|
AccessControlGrants?: S3Grant[] | undefined;
|
|
547
554
|
MetadataDirective?: S3MetadataDirective | undefined;
|
|
555
|
+
AnnotationDirective?: S3AnnotationDirective | undefined;
|
|
548
556
|
ModifiedSinceConstraint?: Date | undefined;
|
|
549
557
|
NewObjectMetadata?: S3ObjectMetadata | undefined;
|
|
550
558
|
NewObjectTagging?: S3Tag[] | undefined;
|
|
@@ -559,6 +567,8 @@ export interface S3CopyObjectOperation {
|
|
|
559
567
|
ObjectLockRetainUntilDate?: Date | undefined;
|
|
560
568
|
BucketKeyEnabled?: boolean | undefined;
|
|
561
569
|
ChecksumAlgorithm?: S3ChecksumAlgorithm | undefined;
|
|
570
|
+
ObjectLockEventHold?: S3ObjectLockEventHold | undefined;
|
|
571
|
+
ObjectLockEventHoldDuration?: S3ObjectLockEventHoldDuration | undefined;
|
|
562
572
|
}
|
|
563
573
|
export interface S3ObjectLockLegalHold {
|
|
564
574
|
Status: S3ObjectLockLegalHoldStatus | undefined;
|
|
@@ -566,9 +576,15 @@ export interface S3ObjectLockLegalHold {
|
|
|
566
576
|
export interface S3SetObjectLegalHoldOperation {
|
|
567
577
|
LegalHold: S3ObjectLockLegalHold | undefined;
|
|
568
578
|
}
|
|
579
|
+
export interface S3ObjectLockRetentionEventHoldDuration {
|
|
580
|
+
Days?: number | undefined;
|
|
581
|
+
Years?: number | undefined;
|
|
582
|
+
}
|
|
569
583
|
export interface S3Retention {
|
|
570
584
|
RetainUntilDate?: Date | undefined;
|
|
571
585
|
Mode?: S3ObjectLockRetentionMode | undefined;
|
|
586
|
+
EventHold?: S3ObjectLockRetentionEventHold | undefined;
|
|
587
|
+
EventHoldDuration?: S3ObjectLockRetentionEventHoldDuration | undefined;
|
|
572
588
|
}
|
|
573
589
|
export interface S3SetObjectRetentionOperation {
|
|
574
590
|
BypassGovernanceRetention?: boolean | undefined;
|
|
@@ -1538,15 +1554,3 @@ export interface UntagResourceRequest {
|
|
|
1538
1554
|
TagKeys: string[] | undefined;
|
|
1539
1555
|
}
|
|
1540
1556
|
export interface UntagResourceResult {}
|
|
1541
|
-
export interface UpdateAccessGrantsLocationRequest {
|
|
1542
|
-
AccountId?: string | undefined;
|
|
1543
|
-
AccessGrantsLocationId: string | undefined;
|
|
1544
|
-
IAMRoleArn: string | undefined;
|
|
1545
|
-
}
|
|
1546
|
-
export interface UpdateAccessGrantsLocationResult {
|
|
1547
|
-
CreatedAt?: Date | undefined;
|
|
1548
|
-
AccessGrantsLocationId?: string | undefined;
|
|
1549
|
-
AccessGrantsLocationArn?: string | undefined;
|
|
1550
|
-
LocationScope?: string | undefined;
|
|
1551
|
-
IAMRoleArn?: string | undefined;
|
|
1552
|
-
}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { JobStatus, RequestedJobStatus } from "./enums";
|
|
2
2
|
import { StorageLensGroup } from "./models_0";
|
|
3
|
+
export interface UpdateAccessGrantsLocationRequest {
|
|
4
|
+
AccountId?: string | undefined;
|
|
5
|
+
AccessGrantsLocationId: string | undefined;
|
|
6
|
+
IAMRoleArn: string | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateAccessGrantsLocationResult {
|
|
9
|
+
CreatedAt?: Date | undefined;
|
|
10
|
+
AccessGrantsLocationId?: string | undefined;
|
|
11
|
+
AccessGrantsLocationArn?: string | undefined;
|
|
12
|
+
LocationScope?: string | undefined;
|
|
13
|
+
IAMRoleArn?: string | undefined;
|
|
14
|
+
}
|
|
3
15
|
export interface UpdateJobPriorityRequest {
|
|
4
16
|
AccountId?: string | undefined;
|
|
5
17
|
JobId: string | undefined;
|
|
@@ -267,7 +267,9 @@ export declare var S3Grantee$: StaticStructureSchema;
|
|
|
267
267
|
export declare var S3InitiateRestoreObjectOperation$: StaticStructureSchema;
|
|
268
268
|
export declare var S3JobManifestGenerator$: StaticStructureSchema;
|
|
269
269
|
export declare var S3ManifestOutputLocation$: StaticStructureSchema;
|
|
270
|
+
export declare var S3ObjectLockEventHoldDuration$: StaticStructureSchema;
|
|
270
271
|
export declare var S3ObjectLockLegalHold$: StaticStructureSchema;
|
|
272
|
+
export declare var S3ObjectLockRetentionEventHoldDuration$: StaticStructureSchema;
|
|
271
273
|
export declare var S3ObjectMetadata$: StaticStructureSchema;
|
|
272
274
|
export declare var S3ObjectOwner$: StaticStructureSchema;
|
|
273
275
|
export declare var S3ReplicateObjectOperation$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1128.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3-control",
|
|
6
6
|
"license": "Apache-2.0",
|