@aws-sdk/client-s3-control 3.454.0 → 3.457.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Format = exports.NoSuchPublicAccessBlockConfiguration = exports.MultiRegionAccessPointStatus = exports.BucketVersioningStatus = exports.MFADeleteStatus = exports.ReplicationRuleStatus = exports.SseKmsEncryptedObjectsStatus = exports.ReplicaModificationsStatus = exports.ExistingObjectReplicationStatus = exports.ReplicationStorageClass = exports.ReplicationTimeStatus = exports.MetricsStatus = exports.DeleteMarkerReplicationStatus = exports.ExpirationStatus = exports.TransitionStorageClass = exports.JobStatus = exports.NotFoundException = exports.TooManyRequestsException = exports.InternalServiceException = exports.IdempotencyException = exports.JobReportScope = exports.JobReportFormat = exports.S3ObjectLockRetentionMode = exports.S3StorageClass = exports.S3ObjectLockMode = exports.S3ObjectLockLegalHoldStatus = exports.S3SSEAlgorithm = exports.S3MetadataDirective = exports.S3ChecksumAlgorithm = exports.S3CannedAccessControlList = exports.S3Permission = exports.S3GranteeTypeIdentifier = exports.S3GlacierJobTier = exports.JobManifestGenerator = exports.GeneratedManifestFormat = exports.ReplicationStatus = exports.JobManifestFormat = exports.JobManifestFieldName = exports.BadRequestException = exports.BucketLocationConstraint = exports.BucketCannedACL = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectLambdaAccessPointAliasStatus = exports.ObjectLambdaContentTransformation = exports.ObjectLambdaTransformationConfigurationAction = exports.ObjectLambdaAllowedFeature = exports.AsyncOperationName = exports.NetworkOrigin = exports.OwnerOverride = void 0;
3
+ exports.Format = exports.NoSuchPublicAccessBlockConfiguration = exports.MultiRegionAccessPointStatus = exports.BucketVersioningStatus = exports.MFADeleteStatus = exports.ReplicationRuleStatus = exports.SseKmsEncryptedObjectsStatus = exports.ReplicaModificationsStatus = exports.ExistingObjectReplicationStatus = exports.ReplicationStorageClass = exports.ReplicationTimeStatus = exports.MetricsStatus = exports.DeleteMarkerReplicationStatus = exports.ExpirationStatus = exports.TransitionStorageClass = exports.JobStatus = exports.NotFoundException = exports.TooManyRequestsException = exports.InternalServiceException = exports.IdempotencyException = exports.JobReportScope = exports.JobReportFormat = exports.S3ObjectLockRetentionMode = exports.S3ObjectLockMode = exports.S3ObjectLockLegalHoldStatus = exports.S3SSEAlgorithm = exports.S3MetadataDirective = exports.S3ChecksumAlgorithm = exports.S3CannedAccessControlList = exports.S3Permission = exports.S3GranteeTypeIdentifier = exports.S3GlacierJobTier = exports.JobManifestGenerator = exports.GeneratedManifestFormat = exports.ReplicationStatus = exports.S3StorageClass = exports.JobManifestFormat = exports.JobManifestFieldName = exports.BadRequestException = exports.BucketLocationConstraint = exports.BucketCannedACL = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectLambdaAccessPointAliasStatus = exports.ObjectLambdaContentTransformation = exports.ObjectLambdaTransformationConfigurationAction = exports.ObjectLambdaAllowedFeature = exports.AsyncOperationName = exports.NetworkOrigin = exports.OwnerOverride = void 0;
4
4
  exports.RequestedJobStatus = exports.JobStatusException = exports.TooManyTagsException = exports.MFADelete = exports.OperationName = exports.InvalidRequestException = exports.InvalidNextTokenException = exports.OutputSchemaVersion = void 0;
5
5
  const S3ControlServiceException_1 = require("./S3ControlServiceException");
6
6
  exports.OwnerOverride = {
@@ -108,6 +108,15 @@ exports.JobManifestFormat = {
108
108
  S3BatchOperations_CSV_20180820: "S3BatchOperations_CSV_20180820",
109
109
  S3InventoryReport_CSV_20161130: "S3InventoryReport_CSV_20161130",
110
110
  };
111
+ exports.S3StorageClass = {
112
+ DEEP_ARCHIVE: "DEEP_ARCHIVE",
113
+ GLACIER: "GLACIER",
114
+ GLACIER_IR: "GLACIER_IR",
115
+ INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
116
+ ONEZONE_IA: "ONEZONE_IA",
117
+ STANDARD: "STANDARD",
118
+ STANDARD_IA: "STANDARD_IA",
119
+ };
111
120
  exports.ReplicationStatus = {
112
121
  COMPLETED: "COMPLETED",
113
122
  FAILED: "FAILED",
@@ -172,15 +181,6 @@ exports.S3ObjectLockMode = {
172
181
  COMPLIANCE: "COMPLIANCE",
173
182
  GOVERNANCE: "GOVERNANCE",
174
183
  };
175
- exports.S3StorageClass = {
176
- DEEP_ARCHIVE: "DEEP_ARCHIVE",
177
- GLACIER: "GLACIER",
178
- GLACIER_IR: "GLACIER_IR",
179
- INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
180
- ONEZONE_IA: "ONEZONE_IA",
181
- STANDARD: "STANDARD",
182
- STANDARD_IA: "STANDARD_IA",
183
- };
184
184
  exports.S3ObjectLockRetentionMode = {
185
185
  COMPLIANCE: "COMPLIANCE",
186
186
  GOVERNANCE: "GOVERNANCE",
@@ -5133,6 +5133,30 @@ const se_JobManifestGeneratorFilter = (input, context) => {
5133
5133
  });
5134
5134
  bodyNode.addChildNode(containerNode);
5135
5135
  }
5136
+ if (input.KeyNameConstraint != null) {
5137
+ const node = se_KeyNameConstraint(input.KeyNameConstraint, context).withName("KeyNameConstraint");
5138
+ bodyNode.addChildNode(node);
5139
+ }
5140
+ if (input.ObjectSizeGreaterThanBytes != null) {
5141
+ const node = xml_builder_1.XmlNode
5142
+ .of("ObjectSizeGreaterThanBytes", String(input.ObjectSizeGreaterThanBytes))
5143
+ .withName("ObjectSizeGreaterThanBytes");
5144
+ bodyNode.addChildNode(node);
5145
+ }
5146
+ if (input.ObjectSizeLessThanBytes != null) {
5147
+ const node = xml_builder_1.XmlNode
5148
+ .of("ObjectSizeLessThanBytes", String(input.ObjectSizeLessThanBytes))
5149
+ .withName("ObjectSizeLessThanBytes");
5150
+ bodyNode.addChildNode(node);
5151
+ }
5152
+ if (input.MatchAnyStorageClass != null) {
5153
+ const nodes = se_StorageClassList(input.MatchAnyStorageClass, context);
5154
+ const containerNode = new xml_builder_1.XmlNode("MatchAnyStorageClass");
5155
+ nodes.map((node) => {
5156
+ containerNode.addChildNode(node);
5157
+ });
5158
+ bodyNode.addChildNode(containerNode);
5159
+ }
5136
5160
  return bodyNode;
5137
5161
  };
5138
5162
  const se_JobManifestLocation = (input, context) => {
@@ -5231,6 +5255,34 @@ const se_JobReport = (input, context) => {
5231
5255
  }
5232
5256
  return bodyNode;
5233
5257
  };
5258
+ const se_KeyNameConstraint = (input, context) => {
5259
+ const bodyNode = new xml_builder_1.XmlNode("KeyNameConstraint");
5260
+ if (input.MatchAnyPrefix != null) {
5261
+ const nodes = se_NonEmptyMaxLength1024StringList(input.MatchAnyPrefix, context);
5262
+ const containerNode = new xml_builder_1.XmlNode("MatchAnyPrefix");
5263
+ nodes.map((node) => {
5264
+ containerNode.addChildNode(node);
5265
+ });
5266
+ bodyNode.addChildNode(containerNode);
5267
+ }
5268
+ if (input.MatchAnySuffix != null) {
5269
+ const nodes = se_NonEmptyMaxLength1024StringList(input.MatchAnySuffix, context);
5270
+ const containerNode = new xml_builder_1.XmlNode("MatchAnySuffix");
5271
+ nodes.map((node) => {
5272
+ containerNode.addChildNode(node);
5273
+ });
5274
+ bodyNode.addChildNode(containerNode);
5275
+ }
5276
+ if (input.MatchAnySubstring != null) {
5277
+ const nodes = se_NonEmptyMaxLength1024StringList(input.MatchAnySubstring, context);
5278
+ const containerNode = new xml_builder_1.XmlNode("MatchAnySubstring");
5279
+ nodes.map((node) => {
5280
+ containerNode.addChildNode(node);
5281
+ });
5282
+ bodyNode.addChildNode(containerNode);
5283
+ }
5284
+ return bodyNode;
5285
+ };
5234
5286
  const se_LambdaInvokeOperation = (input, context) => {
5235
5287
  const bodyNode = new xml_builder_1.XmlNode("LambdaInvokeOperation");
5236
5288
  if (input.FunctionArn != null) {
@@ -5489,6 +5541,14 @@ const se_NoncurrentVersionTransitionList = (input, context) => {
5489
5541
  return node.withName("NoncurrentVersionTransition");
5490
5542
  });
5491
5543
  };
5544
+ const se_NonEmptyMaxLength1024StringList = (input, context) => {
5545
+ return input
5546
+ .filter((e) => e != null)
5547
+ .map((entry) => {
5548
+ const node = xml_builder_1.XmlNode.of("NonEmptyMaxLength1024String", entry);
5549
+ return node.withName("member");
5550
+ });
5551
+ };
5492
5552
  const se_ObjectLambdaAllowedFeaturesList = (input, context) => {
5493
5553
  return input
5494
5554
  .filter((e) => e != null)
@@ -6278,6 +6338,14 @@ const se_SSES3Encryption = (input, context) => {
6278
6338
  const bodyNode = new xml_builder_1.XmlNode("SSE-S3");
6279
6339
  return bodyNode;
6280
6340
  };
6341
+ const se_StorageClassList = (input, context) => {
6342
+ return input
6343
+ .filter((e) => e != null)
6344
+ .map((entry) => {
6345
+ const node = xml_builder_1.XmlNode.of("S3StorageClass", entry);
6346
+ return node.withName("member");
6347
+ });
6348
+ };
6281
6349
  const se_StorageLensAwsOrg = (input, context) => {
6282
6350
  const bodyNode = new xml_builder_1.XmlNode("StorageLensAwsOrg");
6283
6351
  if (input.Arn != null) {
@@ -7106,6 +7174,21 @@ const de_JobManifestGeneratorFilter = (output, context) => {
7106
7174
  output["ObjectReplicationStatuses"]["member"] !== undefined) {
7107
7175
  contents.ObjectReplicationStatuses = de_ReplicationStatusFilterList((0, smithy_client_1.getArrayIfSingleItem)(output["ObjectReplicationStatuses"]["member"]), context);
7108
7176
  }
7177
+ if (output["KeyNameConstraint"] !== undefined) {
7178
+ contents.KeyNameConstraint = de_KeyNameConstraint(output["KeyNameConstraint"], context);
7179
+ }
7180
+ if (output["ObjectSizeGreaterThanBytes"] !== undefined) {
7181
+ contents.ObjectSizeGreaterThanBytes = (0, smithy_client_1.strictParseLong)(output["ObjectSizeGreaterThanBytes"]);
7182
+ }
7183
+ if (output["ObjectSizeLessThanBytes"] !== undefined) {
7184
+ contents.ObjectSizeLessThanBytes = (0, smithy_client_1.strictParseLong)(output["ObjectSizeLessThanBytes"]);
7185
+ }
7186
+ if (output.MatchAnyStorageClass === "") {
7187
+ contents.MatchAnyStorageClass = [];
7188
+ }
7189
+ else if (output["MatchAnyStorageClass"] !== undefined && output["MatchAnyStorageClass"]["member"] !== undefined) {
7190
+ contents.MatchAnyStorageClass = de_StorageClassList((0, smithy_client_1.getArrayIfSingleItem)(output["MatchAnyStorageClass"]["member"]), context);
7191
+ }
7109
7192
  return contents;
7110
7193
  };
7111
7194
  const de_JobManifestLocation = (output, context) => {
@@ -7207,6 +7290,28 @@ const de_JobTimers = (output, context) => {
7207
7290
  }
7208
7291
  return contents;
7209
7292
  };
7293
+ const de_KeyNameConstraint = (output, context) => {
7294
+ const contents = {};
7295
+ if (output.MatchAnyPrefix === "") {
7296
+ contents.MatchAnyPrefix = [];
7297
+ }
7298
+ else if (output["MatchAnyPrefix"] !== undefined && output["MatchAnyPrefix"]["member"] !== undefined) {
7299
+ contents.MatchAnyPrefix = de_NonEmptyMaxLength1024StringList((0, smithy_client_1.getArrayIfSingleItem)(output["MatchAnyPrefix"]["member"]), context);
7300
+ }
7301
+ if (output.MatchAnySuffix === "") {
7302
+ contents.MatchAnySuffix = [];
7303
+ }
7304
+ else if (output["MatchAnySuffix"] !== undefined && output["MatchAnySuffix"]["member"] !== undefined) {
7305
+ contents.MatchAnySuffix = de_NonEmptyMaxLength1024StringList((0, smithy_client_1.getArrayIfSingleItem)(output["MatchAnySuffix"]["member"]), context);
7306
+ }
7307
+ if (output.MatchAnySubstring === "") {
7308
+ contents.MatchAnySubstring = [];
7309
+ }
7310
+ else if (output["MatchAnySubstring"] !== undefined && output["MatchAnySubstring"]["member"] !== undefined) {
7311
+ contents.MatchAnySubstring = de_NonEmptyMaxLength1024StringList((0, smithy_client_1.getArrayIfSingleItem)(output["MatchAnySubstring"]["member"]), context);
7312
+ }
7313
+ return contents;
7314
+ };
7210
7315
  const de_LambdaInvokeOperation = (output, context) => {
7211
7316
  const contents = {};
7212
7317
  if (output["FunctionArn"] !== undefined) {
@@ -7496,6 +7601,13 @@ const de_NoncurrentVersionTransitionList = (output, context) => {
7496
7601
  return de_NoncurrentVersionTransition(entry, context);
7497
7602
  });
7498
7603
  };
7604
+ const de_NonEmptyMaxLength1024StringList = (output, context) => {
7605
+ return (output || [])
7606
+ .filter((e) => e != null)
7607
+ .map((entry) => {
7608
+ return (0, smithy_client_1.expectString)(entry);
7609
+ });
7610
+ };
7499
7611
  const de_ObjectLambdaAccessPoint = (output, context) => {
7500
7612
  const contents = {};
7501
7613
  if (output["Name"] !== undefined) {
@@ -8222,6 +8334,13 @@ const de_SSES3Encryption = (output, context) => {
8222
8334
  const contents = {};
8223
8335
  return contents;
8224
8336
  };
8337
+ const de_StorageClassList = (output, context) => {
8338
+ return (output || [])
8339
+ .filter((e) => e != null)
8340
+ .map((entry) => {
8341
+ return (0, smithy_client_1.expectString)(entry);
8342
+ });
8343
+ };
8225
8344
  const de_StorageLensAwsOrg = (output, context) => {
8226
8345
  const contents = {};
8227
8346
  if (output["Arn"] !== undefined) {
@@ -101,6 +101,15 @@ export const JobManifestFormat = {
101
101
  S3BatchOperations_CSV_20180820: "S3BatchOperations_CSV_20180820",
102
102
  S3InventoryReport_CSV_20161130: "S3InventoryReport_CSV_20161130",
103
103
  };
104
+ export const S3StorageClass = {
105
+ DEEP_ARCHIVE: "DEEP_ARCHIVE",
106
+ GLACIER: "GLACIER",
107
+ GLACIER_IR: "GLACIER_IR",
108
+ INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
109
+ ONEZONE_IA: "ONEZONE_IA",
110
+ STANDARD: "STANDARD",
111
+ STANDARD_IA: "STANDARD_IA",
112
+ };
104
113
  export const ReplicationStatus = {
105
114
  COMPLETED: "COMPLETED",
106
115
  FAILED: "FAILED",
@@ -165,15 +174,6 @@ export const S3ObjectLockMode = {
165
174
  COMPLIANCE: "COMPLIANCE",
166
175
  GOVERNANCE: "GOVERNANCE",
167
176
  };
168
- export const S3StorageClass = {
169
- DEEP_ARCHIVE: "DEEP_ARCHIVE",
170
- GLACIER: "GLACIER",
171
- GLACIER_IR: "GLACIER_IR",
172
- INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
173
- ONEZONE_IA: "ONEZONE_IA",
174
- STANDARD: "STANDARD",
175
- STANDARD_IA: "STANDARD_IA",
176
- };
177
177
  export const S3ObjectLockRetentionMode = {
178
178
  COMPLIANCE: "COMPLIANCE",
179
179
  GOVERNANCE: "GOVERNANCE",
@@ -4984,6 +4984,30 @@ const se_JobManifestGeneratorFilter = (input, context) => {
4984
4984
  });
4985
4985
  bodyNode.addChildNode(containerNode);
4986
4986
  }
4987
+ if (input.KeyNameConstraint != null) {
4988
+ const node = se_KeyNameConstraint(input.KeyNameConstraint, context).withName("KeyNameConstraint");
4989
+ bodyNode.addChildNode(node);
4990
+ }
4991
+ if (input.ObjectSizeGreaterThanBytes != null) {
4992
+ const node = __XmlNode
4993
+ .of("ObjectSizeGreaterThanBytes", String(input.ObjectSizeGreaterThanBytes))
4994
+ .withName("ObjectSizeGreaterThanBytes");
4995
+ bodyNode.addChildNode(node);
4996
+ }
4997
+ if (input.ObjectSizeLessThanBytes != null) {
4998
+ const node = __XmlNode
4999
+ .of("ObjectSizeLessThanBytes", String(input.ObjectSizeLessThanBytes))
5000
+ .withName("ObjectSizeLessThanBytes");
5001
+ bodyNode.addChildNode(node);
5002
+ }
5003
+ if (input.MatchAnyStorageClass != null) {
5004
+ const nodes = se_StorageClassList(input.MatchAnyStorageClass, context);
5005
+ const containerNode = new __XmlNode("MatchAnyStorageClass");
5006
+ nodes.map((node) => {
5007
+ containerNode.addChildNode(node);
5008
+ });
5009
+ bodyNode.addChildNode(containerNode);
5010
+ }
4987
5011
  return bodyNode;
4988
5012
  };
4989
5013
  const se_JobManifestLocation = (input, context) => {
@@ -5082,6 +5106,34 @@ const se_JobReport = (input, context) => {
5082
5106
  }
5083
5107
  return bodyNode;
5084
5108
  };
5109
+ const se_KeyNameConstraint = (input, context) => {
5110
+ const bodyNode = new __XmlNode("KeyNameConstraint");
5111
+ if (input.MatchAnyPrefix != null) {
5112
+ const nodes = se_NonEmptyMaxLength1024StringList(input.MatchAnyPrefix, context);
5113
+ const containerNode = new __XmlNode("MatchAnyPrefix");
5114
+ nodes.map((node) => {
5115
+ containerNode.addChildNode(node);
5116
+ });
5117
+ bodyNode.addChildNode(containerNode);
5118
+ }
5119
+ if (input.MatchAnySuffix != null) {
5120
+ const nodes = se_NonEmptyMaxLength1024StringList(input.MatchAnySuffix, context);
5121
+ const containerNode = new __XmlNode("MatchAnySuffix");
5122
+ nodes.map((node) => {
5123
+ containerNode.addChildNode(node);
5124
+ });
5125
+ bodyNode.addChildNode(containerNode);
5126
+ }
5127
+ if (input.MatchAnySubstring != null) {
5128
+ const nodes = se_NonEmptyMaxLength1024StringList(input.MatchAnySubstring, context);
5129
+ const containerNode = new __XmlNode("MatchAnySubstring");
5130
+ nodes.map((node) => {
5131
+ containerNode.addChildNode(node);
5132
+ });
5133
+ bodyNode.addChildNode(containerNode);
5134
+ }
5135
+ return bodyNode;
5136
+ };
5085
5137
  const se_LambdaInvokeOperation = (input, context) => {
5086
5138
  const bodyNode = new __XmlNode("LambdaInvokeOperation");
5087
5139
  if (input.FunctionArn != null) {
@@ -5340,6 +5392,14 @@ const se_NoncurrentVersionTransitionList = (input, context) => {
5340
5392
  return node.withName("NoncurrentVersionTransition");
5341
5393
  });
5342
5394
  };
5395
+ const se_NonEmptyMaxLength1024StringList = (input, context) => {
5396
+ return input
5397
+ .filter((e) => e != null)
5398
+ .map((entry) => {
5399
+ const node = __XmlNode.of("NonEmptyMaxLength1024String", entry);
5400
+ return node.withName("member");
5401
+ });
5402
+ };
5343
5403
  const se_ObjectLambdaAllowedFeaturesList = (input, context) => {
5344
5404
  return input
5345
5405
  .filter((e) => e != null)
@@ -6129,6 +6189,14 @@ const se_SSES3Encryption = (input, context) => {
6129
6189
  const bodyNode = new __XmlNode("SSE-S3");
6130
6190
  return bodyNode;
6131
6191
  };
6192
+ const se_StorageClassList = (input, context) => {
6193
+ return input
6194
+ .filter((e) => e != null)
6195
+ .map((entry) => {
6196
+ const node = __XmlNode.of("S3StorageClass", entry);
6197
+ return node.withName("member");
6198
+ });
6199
+ };
6132
6200
  const se_StorageLensAwsOrg = (input, context) => {
6133
6201
  const bodyNode = new __XmlNode("StorageLensAwsOrg");
6134
6202
  if (input.Arn != null) {
@@ -6957,6 +7025,21 @@ const de_JobManifestGeneratorFilter = (output, context) => {
6957
7025
  output["ObjectReplicationStatuses"]["member"] !== undefined) {
6958
7026
  contents.ObjectReplicationStatuses = de_ReplicationStatusFilterList(__getArrayIfSingleItem(output["ObjectReplicationStatuses"]["member"]), context);
6959
7027
  }
7028
+ if (output["KeyNameConstraint"] !== undefined) {
7029
+ contents.KeyNameConstraint = de_KeyNameConstraint(output["KeyNameConstraint"], context);
7030
+ }
7031
+ if (output["ObjectSizeGreaterThanBytes"] !== undefined) {
7032
+ contents.ObjectSizeGreaterThanBytes = __strictParseLong(output["ObjectSizeGreaterThanBytes"]);
7033
+ }
7034
+ if (output["ObjectSizeLessThanBytes"] !== undefined) {
7035
+ contents.ObjectSizeLessThanBytes = __strictParseLong(output["ObjectSizeLessThanBytes"]);
7036
+ }
7037
+ if (output.MatchAnyStorageClass === "") {
7038
+ contents.MatchAnyStorageClass = [];
7039
+ }
7040
+ else if (output["MatchAnyStorageClass"] !== undefined && output["MatchAnyStorageClass"]["member"] !== undefined) {
7041
+ contents.MatchAnyStorageClass = de_StorageClassList(__getArrayIfSingleItem(output["MatchAnyStorageClass"]["member"]), context);
7042
+ }
6960
7043
  return contents;
6961
7044
  };
6962
7045
  const de_JobManifestLocation = (output, context) => {
@@ -7058,6 +7141,28 @@ const de_JobTimers = (output, context) => {
7058
7141
  }
7059
7142
  return contents;
7060
7143
  };
7144
+ const de_KeyNameConstraint = (output, context) => {
7145
+ const contents = {};
7146
+ if (output.MatchAnyPrefix === "") {
7147
+ contents.MatchAnyPrefix = [];
7148
+ }
7149
+ else if (output["MatchAnyPrefix"] !== undefined && output["MatchAnyPrefix"]["member"] !== undefined) {
7150
+ contents.MatchAnyPrefix = de_NonEmptyMaxLength1024StringList(__getArrayIfSingleItem(output["MatchAnyPrefix"]["member"]), context);
7151
+ }
7152
+ if (output.MatchAnySuffix === "") {
7153
+ contents.MatchAnySuffix = [];
7154
+ }
7155
+ else if (output["MatchAnySuffix"] !== undefined && output["MatchAnySuffix"]["member"] !== undefined) {
7156
+ contents.MatchAnySuffix = de_NonEmptyMaxLength1024StringList(__getArrayIfSingleItem(output["MatchAnySuffix"]["member"]), context);
7157
+ }
7158
+ if (output.MatchAnySubstring === "") {
7159
+ contents.MatchAnySubstring = [];
7160
+ }
7161
+ else if (output["MatchAnySubstring"] !== undefined && output["MatchAnySubstring"]["member"] !== undefined) {
7162
+ contents.MatchAnySubstring = de_NonEmptyMaxLength1024StringList(__getArrayIfSingleItem(output["MatchAnySubstring"]["member"]), context);
7163
+ }
7164
+ return contents;
7165
+ };
7061
7166
  const de_LambdaInvokeOperation = (output, context) => {
7062
7167
  const contents = {};
7063
7168
  if (output["FunctionArn"] !== undefined) {
@@ -7347,6 +7452,13 @@ const de_NoncurrentVersionTransitionList = (output, context) => {
7347
7452
  return de_NoncurrentVersionTransition(entry, context);
7348
7453
  });
7349
7454
  };
7455
+ const de_NonEmptyMaxLength1024StringList = (output, context) => {
7456
+ return (output || [])
7457
+ .filter((e) => e != null)
7458
+ .map((entry) => {
7459
+ return __expectString(entry);
7460
+ });
7461
+ };
7350
7462
  const de_ObjectLambdaAccessPoint = (output, context) => {
7351
7463
  const contents = {};
7352
7464
  if (output["Name"] !== undefined) {
@@ -8073,6 +8185,13 @@ const de_SSES3Encryption = (output, context) => {
8073
8185
  const contents = {};
8074
8186
  return contents;
8075
8187
  };
8188
+ const de_StorageClassList = (output, context) => {
8189
+ return (output || [])
8190
+ .filter((e) => e != null)
8191
+ .map((entry) => {
8192
+ return __expectString(entry);
8193
+ });
8194
+ };
8076
8195
  const de_StorageLensAwsOrg = (output, context) => {
8077
8196
  const contents = {};
8078
8197
  if (output["Arn"] !== undefined) {
@@ -218,6 +218,22 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
218
218
  * ObjectReplicationStatuses: [ // ReplicationStatusFilterList
219
219
  * "COMPLETED" || "FAILED" || "REPLICA" || "NONE",
220
220
  * ],
221
+ * KeyNameConstraint: { // KeyNameConstraint
222
+ * MatchAnyPrefix: [ // NonEmptyMaxLength1024StringList
223
+ * "STRING_VALUE",
224
+ * ],
225
+ * MatchAnySuffix: [
226
+ * "STRING_VALUE",
227
+ * ],
228
+ * MatchAnySubstring: [
229
+ * "STRING_VALUE",
230
+ * ],
231
+ * },
232
+ * ObjectSizeGreaterThanBytes: Number("long"),
233
+ * ObjectSizeLessThanBytes: Number("long"),
234
+ * MatchAnyStorageClass: [ // StorageClassList
235
+ * "STANDARD" || "STANDARD_IA" || "ONEZONE_IA" || "GLACIER" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "GLACIER_IR",
236
+ * ],
221
237
  * },
222
238
  * EnableManifestOutput: true || false, // required
223
239
  * },
@@ -23,13 +23,12 @@ export interface DeleteStorageLensGroupCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>
27
- * Deletes an existing S3 Storage Lens group.</p>
26
+ * <p> Deletes an existing S3 Storage Lens group.</p>
28
27
  * <p>To use this operation, you must have the permission to perform the
29
- * <code>s3:DeleteStorageLensGroup</code> action. For more information about the required Storage Lens
30
- * 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>
28
+ * <code>s3:DeleteStorageLensGroup</code> action. For more information about the required
29
+ * Storage Lens 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>
31
30
  * <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
32
- * Lens error codes</a>.</p>
31
+ * Lens error codes</a>.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -232,6 +232,22 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
232
232
  * // ObjectReplicationStatuses: [ // ReplicationStatusFilterList
233
233
  * // "COMPLETED" || "FAILED" || "REPLICA" || "NONE",
234
234
  * // ],
235
+ * // KeyNameConstraint: { // KeyNameConstraint
236
+ * // MatchAnyPrefix: [ // NonEmptyMaxLength1024StringList
237
+ * // "STRING_VALUE",
238
+ * // ],
239
+ * // MatchAnySuffix: [
240
+ * // "STRING_VALUE",
241
+ * // ],
242
+ * // MatchAnySubstring: [
243
+ * // "STRING_VALUE",
244
+ * // ],
245
+ * // },
246
+ * // ObjectSizeGreaterThanBytes: Number("long"),
247
+ * // ObjectSizeLessThanBytes: Number("long"),
248
+ * // MatchAnyStorageClass: [ // StorageClassList
249
+ * // "STANDARD" || "STANDARD_IA" || "ONEZONE_IA" || "GLACIER" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "GLACIER_IR",
250
+ * // ],
235
251
  * // },
236
252
  * // EnableManifestOutput: true || false, // required
237
253
  * // },
@@ -31,7 +31,8 @@ export interface GetBucketReplicationCommandOutput extends GetBucketReplicationR
31
31
  * <p>Returns the replication configuration of an S3 on Outposts bucket. For more information
32
32
  * about S3 on Outposts, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the
33
33
  * <i>Amazon S3 User Guide</i>. For information about S3 replication on Outposts
34
- * configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html">Replicating objects for S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
34
+ * configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html">Replicating objects for
35
+ * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
35
36
  * <note>
36
37
  * <p>It can take a while to propagate <code>PUT</code> or <code>DELETE</code> requests for
37
38
  * a replication configuration to all S3 on Outposts systems. Therefore, the replication
@@ -23,13 +23,12 @@ export interface GetStorageLensGroupCommandOutput extends GetStorageLensGroupRes
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>
27
- * Retrieves the Storage Lens group configuration details.</p>
26
+ * <p> Retrieves the Storage Lens group configuration details.</p>
28
27
  * <p>To use this operation, you must have the permission to perform the
29
- * <code>s3:GetStorageLensGroup</code> action. For more information about the required Storage Lens
30
- * 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>
28
+ * <code>s3:GetStorageLensGroup</code> action. For more information about the required
29
+ * Storage Lens 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>
31
30
  * <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
32
- * Lens error codes</a>.</p>
31
+ * Lens error codes</a>.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -23,14 +23,12 @@ export interface ListStorageLensGroupsCommandOutput extends ListStorageLensGroup
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>
27
- * Lists all the Storage Lens groups in the specified home Region.
28
- * </p>
26
+ * <p> Lists all the Storage Lens groups in the specified home Region. </p>
29
27
  * <p>To use this operation, you must have the permission to perform the
30
- * <code>s3:ListStorageLensGroups</code> action. For more information about the required Storage Lens
31
- * 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>
28
+ * <code>s3:ListStorageLensGroups</code> action. For more information about the required
29
+ * Storage Lens 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>
32
30
  * <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
33
- * Lens error codes</a>.</p>
31
+ * Lens error codes</a>.</p>
34
32
  * @example
35
33
  * Use a bare-bones client and the command you need to make an API call.
36
34
  * ```javascript
@@ -26,9 +26,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * <p> This operation allows you to list all the Amazon Web Services resource tags for the specified
27
27
  * resource. </p>
28
28
  * <p>To use this operation, you must have the permission to perform the
29
- * <code>s3:ListTagsForResource</code> action. For more information about the required Storage Lens
30
- * 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>
31
- * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3 Tagging error codes</a>.</p>
29
+ * <code>s3:ListTagsForResource</code> action. For more information about the required
30
+ * Storage Lens 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>
31
+ * <p>For information about S3 Tagging errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList">List of Amazon S3
32
+ * Tagging error codes</a>.</p>
32
33
  * <note>
33
34
  * <p>This operation is only supported for <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html">S3 Storage Lens
34
35
  * groups</a>.</p>
@@ -29,8 +29,8 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
29
29
  * in the <i>Amazon S3 API Reference</i>. </p>
30
30
  * </note>
31
31
  * <p>Creates a replication configuration or replaces an existing one. For information about
32
- * S3 replication on Outposts configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html">Replicating objects for S3 on Outposts</a> in the
33
- * <i>Amazon S3 User Guide</i>.</p>
32
+ * S3 replication on Outposts configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html">Replicating objects for
33
+ * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
34
34
  * <note>
35
35
  * <p>It can take a while to propagate <code>PUT</code> or <code>DELETE</code> requests for
36
36
  * a replication configuration to all S3 on Outposts systems. Therefore, the replication
@@ -55,9 +55,9 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
55
55
  * </li>
56
56
  * </ul>
57
57
  * <p>A replication configuration must include at least one rule and can contain a maximum of
58
- * 100. Each rule identifies a subset of objects to replicate by filtering the objects in
59
- * the source Outposts bucket. To choose additional subsets of objects to replicate, add a
60
- * rule for each subset.</p>
58
+ * 100. Each rule identifies a subset of objects to replicate by filtering the objects in the
59
+ * source Outposts bucket. To choose additional subsets of objects to replicate, add a rule
60
+ * for each subset.</p>
61
61
  * <p>To specify a subset of the objects in the source Outposts bucket to apply a replication
62
62
  * rule to, add the <code>Filter</code> element as a child of the <code>Rule</code> element.
63
63
  * You can filter objects based on an object key prefix, one or more object tags, or both.
@@ -86,9 +86,10 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
86
86
  * S3 on Outposts</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsBucketPolicy.html">Managing access to
87
87
  * S3 on Outposts buckets</a>. </p>
88
88
  * <note>
89
- * <p>To perform this operation, the user or role must also have the <code>iam:CreateRole</code> and <code>iam:PassRole</code> permissions.
90
- * For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a user
91
- * permissions to pass a role to an Amazon Web Services service</a>.</p>
89
+ * <p>To perform this operation, the user or role must also have the
90
+ * <code>iam:CreateRole</code> and <code>iam:PassRole</code> permissions. For more
91
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a user permissions to
92
+ * pass a role to an Amazon Web Services service</a>.</p>
92
93
  * </note>
93
94
  * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketReplication.html#API_control_PutBucketReplication_Examples">Examples</a> section.</p>
94
95
  * <p>The following operations are related to <code>PutBucketReplication</code>:</p>
@@ -59,11 +59,11 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
59
59
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html"> Creating and managing
60
60
  * a lifecycle configuration for your S3 on Outposts bucket</a> in the <i>Amazon S3
61
61
  * User Guide</i>.</p>
62
- * <p>If you have an object expiration lifecycle configuration in your non-versioned bucket and you
63
- * want to maintain the same permanent delete behavior when you enable versioning, you must
64
- * add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration will manage
65
- * the deletes of the noncurrent object versions in the version-enabled bucket. For more
66
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
62
+ * <p>If you have an object expiration lifecycle configuration in your non-versioned bucket
63
+ * and you want to maintain the same permanent delete behavior when you enable versioning, you
64
+ * must add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration
65
+ * will manage the deletes of the noncurrent object versions in the version-enabled bucket.
66
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
67
67
  * User Guide</i>.</p>
68
68
  * <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples">Examples</a> section.</p>
69
69
  * <p>The following operations are related to <code>PutBucketVersioning</code> for
@@ -27,7 +27,8 @@ export interface SubmitMultiRegionAccessPointRoutesCommandOutput extends SubmitM
27
27
  * routing status for the specified Regions from active to passive, or from passive to active.
28
28
  * A value of <code>0</code> indicates a passive status, which means that traffic won't be
29
29
  * routed to the specified Region. A value of <code>100</code> indicates an active status,
30
- * which means that traffic will be routed to the specified Region. At least one Region must be active at all times.</p>
30
+ * which means that traffic will be routed to the specified Region. At least one Region must
31
+ * be active at all times.</p>
31
32
  * <p>When the routing configuration is changed, any in-progress operations (uploads, copies,
32
33
  * deletes, and so on) to formerly active Regions will continue to run to their final
33
34
  * completion state (success or failure). The routing configurations of any Regions that