@aws-sdk/client-s3-control 3.1169.0 → 3.1171.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 CHANGED
@@ -73,7 +73,7 @@ const commonParams = {
73
73
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
74
74
  };
75
75
 
76
- var version = "3.1168.0";
76
+ var version = "3.1170.0";
77
77
  var packageInfo = {
78
78
  version: version};
79
79
 
@@ -943,6 +943,7 @@ const _CAPFOLR = "CreateAccessPointForObjectLambdaRequest";
943
943
  const _CAPFOLRr = "CreateAccessPointForObjectLambdaResult";
944
944
  const _CAPR = "CreateAccessPointRequest";
945
945
  const _CAPRr = "CreateAccessPointResult";
946
+ const _CAURP = "CostAndUsageReportsPublish";
946
947
  const _CAh = "ChecksumAlgorithm";
947
948
  const _CAr = "CreatedAfter";
948
949
  const _CB = "CreatedBefore";
@@ -1185,6 +1186,7 @@ const _HED = "HttpExpiresDate";
1185
1186
  const _HR = "HomeRegion";
1186
1187
  const _I = "Include";
1187
1188
  const _IAMRA = "IAMRoleArn";
1189
+ const _IAT = "IntAccessTiers";
1188
1190
  const _ICA = "IdentityCenterArn";
1189
1191
  const _ICAA = "IdentityCenterApplicationArn";
1190
1192
  const _ICIA = "IdentityCenterInstanceArn";
@@ -1293,6 +1295,7 @@ const _MAT = "MatchAnyTag";
1293
1295
  const _MD = "MfaDelete";
1294
1296
  const _MDa = "MaxDepth";
1295
1297
  const _MDe = "MetadataDirective";
1298
+ const _MDi = "MinDepth";
1296
1299
  const _ME = "ManifestEncryption";
1297
1300
  const _MF = "ManifestFormat";
1298
1301
  const _MFA = "MFA";
@@ -1492,6 +1495,9 @@ const _SKEO = "SseKmsEncryptedObjects";
1492
1495
  const _SLA = "StorageLensArn";
1493
1496
  const _SLAO = "StorageLensAwsOrg";
1494
1497
  const _SLC = "StorageLensConfiguration";
1498
+ const _SLCAURP = "StorageLensCostAndUsageReportsPublish";
1499
+ const _SLCAURPL = "StorageLensCostAndUsageReportsPrefixLevel";
1500
+ const _SLCAURSC = "StorageLensCostAndUsageReportsSelectionCriteria";
1495
1501
  const _SLCL = "StorageLensConfigurationList";
1496
1502
  const _SLDE = "StorageLensDataExport";
1497
1503
  const _SLDEE = "StorageLensDataExportEncryption";
@@ -2413,6 +2419,11 @@ var Include$ = [3, n0, _I,
2413
2419
  [_Bu, _Reg],
2414
2420
  [[() => Buckets, 0], [() => Regions, 0]]
2415
2421
  ];
2422
+ var IntAccessTiers$ = [3, n0, _IAT,
2423
+ 0,
2424
+ [_IEs],
2425
+ [2]
2426
+ ];
2416
2427
  var JobDescriptor$ = [3, n0, _JD,
2417
2428
  0,
2418
2429
  [_JI, _CR, _D, _JA, _St, _Ma, _Op, _Pr, _PSr, _SUR, _FR, _Re, _CT, _TD, _RA, _SD, _SCu, _MG, _GMD],
@@ -3110,8 +3121,23 @@ var StorageLensAwsOrg$ = [3, n0, _SLAO,
3110
3121
  ];
3111
3122
  var StorageLensConfiguration$ = [3, n0, _SLC,
3112
3123
  0,
3113
- [_Id, _AL, _IEs, _I, _Ex, _DE, _EPDE, _AOw, _SLA, _PD],
3114
- [0, [() => AccountLevel$, 0], 2, [() => Include$, 0], [() => _Exclude$, 0], [() => StorageLensDataExport$, 0], [() => StorageLensExpandedPrefixesDataExport$, 0], () => StorageLensAwsOrg$, 0, 0], 3
3124
+ [_Id, _AL, _IEs, _I, _Ex, _DE, _EPDE, _CAURP, _AOw, _SLA, _PD, _IAT],
3125
+ [0, [() => AccountLevel$, 0], 2, [() => Include$, 0], [() => _Exclude$, 0], [() => StorageLensDataExport$, 0], [() => StorageLensExpandedPrefixesDataExport$, 0], () => StorageLensCostAndUsageReportsPublish$, () => StorageLensAwsOrg$, 0, 0, () => IntAccessTiers$], 3
3126
+ ];
3127
+ var StorageLensCostAndUsageReportsPrefixLevel$ = [3, n0, _SLCAURPL,
3128
+ 0,
3129
+ [_IEs, _SCe],
3130
+ [2, () => StorageLensCostAndUsageReportsSelectionCriteria$], 1
3131
+ ];
3132
+ var StorageLensCostAndUsageReportsPublish$ = [3, n0, _SLCAURP,
3133
+ 0,
3134
+ [_PL],
3135
+ [() => StorageLensCostAndUsageReportsPrefixLevel$]
3136
+ ];
3137
+ var StorageLensCostAndUsageReportsSelectionCriteria$ = [3, n0, _SLCAURSC,
3138
+ 0,
3139
+ [_MDi, _MDa],
3140
+ [1, 1]
3115
3141
  ];
3116
3142
  var StorageLensDataExport$ = [3, n0, _SLDE,
3117
3143
  0,
@@ -4945,6 +4971,7 @@ exports.IdempotencyException = IdempotencyException;
4945
4971
  exports.IdempotencyException$ = IdempotencyException$;
4946
4972
  exports.Include$ = Include$;
4947
4973
  exports.InstanceScope = InstanceScope;
4974
+ exports.IntAccessTiers$ = IntAccessTiers$;
4948
4975
  exports.InternalServiceException = InternalServiceException;
4949
4976
  exports.InternalServiceException$ = InternalServiceException$;
4950
4977
  exports.InvalidNextTokenException = InvalidNextTokenException;
@@ -5201,6 +5228,9 @@ exports.SseKmsEncryptedObjects$ = SseKmsEncryptedObjects$;
5201
5228
  exports.SseKmsEncryptedObjectsStatus = SseKmsEncryptedObjectsStatus;
5202
5229
  exports.StorageLensAwsOrg$ = StorageLensAwsOrg$;
5203
5230
  exports.StorageLensConfiguration$ = StorageLensConfiguration$;
5231
+ exports.StorageLensCostAndUsageReportsPrefixLevel$ = StorageLensCostAndUsageReportsPrefixLevel$;
5232
+ exports.StorageLensCostAndUsageReportsPublish$ = StorageLensCostAndUsageReportsPublish$;
5233
+ exports.StorageLensCostAndUsageReportsSelectionCriteria$ = StorageLensCostAndUsageReportsSelectionCriteria$;
5204
5234
  exports.StorageLensDataExport$ = StorageLensDataExport$;
5205
5235
  exports.StorageLensDataExportEncryption$ = StorageLensDataExportEncryption$;
5206
5236
  exports.StorageLensExpandedPrefixesDataExport$ = StorageLensExpandedPrefixesDataExport$;
@@ -82,6 +82,7 @@ const _CAPFOLR = "CreateAccessPointForObjectLambdaRequest";
82
82
  const _CAPFOLRr = "CreateAccessPointForObjectLambdaResult";
83
83
  const _CAPR = "CreateAccessPointRequest";
84
84
  const _CAPRr = "CreateAccessPointResult";
85
+ const _CAURP = "CostAndUsageReportsPublish";
85
86
  const _CAh = "ChecksumAlgorithm";
86
87
  const _CAr = "CreatedAfter";
87
88
  const _CB = "CreatedBefore";
@@ -324,6 +325,7 @@ const _HED = "HttpExpiresDate";
324
325
  const _HR = "HomeRegion";
325
326
  const _I = "Include";
326
327
  const _IAMRA = "IAMRoleArn";
328
+ const _IAT = "IntAccessTiers";
327
329
  const _ICA = "IdentityCenterArn";
328
330
  const _ICAA = "IdentityCenterApplicationArn";
329
331
  const _ICIA = "IdentityCenterInstanceArn";
@@ -432,6 +434,7 @@ const _MAT = "MatchAnyTag";
432
434
  const _MD = "MfaDelete";
433
435
  const _MDa = "MaxDepth";
434
436
  const _MDe = "MetadataDirective";
437
+ const _MDi = "MinDepth";
435
438
  const _ME = "ManifestEncryption";
436
439
  const _MF = "ManifestFormat";
437
440
  const _MFA = "MFA";
@@ -631,6 +634,9 @@ const _SKEO = "SseKmsEncryptedObjects";
631
634
  const _SLA = "StorageLensArn";
632
635
  const _SLAO = "StorageLensAwsOrg";
633
636
  const _SLC = "StorageLensConfiguration";
637
+ const _SLCAURP = "StorageLensCostAndUsageReportsPublish";
638
+ const _SLCAURPL = "StorageLensCostAndUsageReportsPrefixLevel";
639
+ const _SLCAURSC = "StorageLensCostAndUsageReportsSelectionCriteria";
634
640
  const _SLCL = "StorageLensConfigurationList";
635
641
  const _SLDE = "StorageLensDataExport";
636
642
  const _SLDEE = "StorageLensDataExportEncryption";
@@ -1555,6 +1561,11 @@ export var Include$ = [3, n0, _I,
1555
1561
  [_Bu, _Reg],
1556
1562
  [[() => Buckets, 0], [() => Regions, 0]]
1557
1563
  ];
1564
+ export var IntAccessTiers$ = [3, n0, _IAT,
1565
+ 0,
1566
+ [_IEs],
1567
+ [2]
1568
+ ];
1558
1569
  export var JobDescriptor$ = [3, n0, _JD,
1559
1570
  0,
1560
1571
  [_JI, _CR, _D, _JA, _St, _Ma, _Op, _Pr, _PSr, _SUR, _FR, _Re, _CT, _TD, _RA, _SD, _SCu, _MG, _GMD],
@@ -2252,8 +2263,23 @@ export var StorageLensAwsOrg$ = [3, n0, _SLAO,
2252
2263
  ];
2253
2264
  export var StorageLensConfiguration$ = [3, n0, _SLC,
2254
2265
  0,
2255
- [_Id, _AL, _IEs, _I, _Ex, _DE, _EPDE, _AOw, _SLA, _PD],
2256
- [0, [() => AccountLevel$, 0], 2, [() => Include$, 0], [() => _Exclude$, 0], [() => StorageLensDataExport$, 0], [() => StorageLensExpandedPrefixesDataExport$, 0], () => StorageLensAwsOrg$, 0, 0], 3
2266
+ [_Id, _AL, _IEs, _I, _Ex, _DE, _EPDE, _CAURP, _AOw, _SLA, _PD, _IAT],
2267
+ [0, [() => AccountLevel$, 0], 2, [() => Include$, 0], [() => _Exclude$, 0], [() => StorageLensDataExport$, 0], [() => StorageLensExpandedPrefixesDataExport$, 0], () => StorageLensCostAndUsageReportsPublish$, () => StorageLensAwsOrg$, 0, 0, () => IntAccessTiers$], 3
2268
+ ];
2269
+ export var StorageLensCostAndUsageReportsPrefixLevel$ = [3, n0, _SLCAURPL,
2270
+ 0,
2271
+ [_IEs, _SCe],
2272
+ [2, () => StorageLensCostAndUsageReportsSelectionCriteria$], 1
2273
+ ];
2274
+ export var StorageLensCostAndUsageReportsPublish$ = [3, n0, _SLCAURP,
2275
+ 0,
2276
+ [_PL],
2277
+ [() => StorageLensCostAndUsageReportsPrefixLevel$]
2278
+ ];
2279
+ export var StorageLensCostAndUsageReportsSelectionCriteria$ = [3, n0, _SLCAURSC,
2280
+ 0,
2281
+ [_MDi, _MDa],
2282
+ [1, 1]
2257
2283
  ];
2258
2284
  export var StorageLensDataExport$ = [3, n0, _SLDE,
2259
2285
  0,
@@ -173,12 +173,24 @@ declare const GetStorageLensConfigurationCommand_base: {
173
173
  * // },
174
174
  * // },
175
175
  * // },
176
+ * // CostAndUsageReportsPublish: { // StorageLensCostAndUsageReportsPublish
177
+ * // PrefixLevel: { // StorageLensCostAndUsageReportsPrefixLevel
178
+ * // IsEnabled: true || false, // required
179
+ * // SelectionCriteria: { // StorageLensCostAndUsageReportsSelectionCriteria
180
+ * // MinDepth: Number("int"),
181
+ * // MaxDepth: Number("int"),
182
+ * // },
183
+ * // },
184
+ * // },
176
185
  * // IsEnabled: true || false, // required
177
186
  * // AwsOrg: { // StorageLensAwsOrg
178
187
  * // Arn: "STRING_VALUE", // required
179
188
  * // },
180
189
  * // StorageLensArn: "STRING_VALUE",
181
190
  * // PrefixDelimiter: "STRING_VALUE",
191
+ * // IntAccessTiers: { // IntAccessTiers
192
+ * // IsEnabled: true || false,
193
+ * // },
182
194
  * // },
183
195
  * // };
184
196
  *
@@ -168,12 +168,24 @@ declare const PutStorageLensConfigurationCommand_base: {
168
168
  * },
169
169
  * },
170
170
  * },
171
+ * CostAndUsageReportsPublish: { // StorageLensCostAndUsageReportsPublish
172
+ * PrefixLevel: { // StorageLensCostAndUsageReportsPrefixLevel
173
+ * IsEnabled: true || false, // required
174
+ * SelectionCriteria: { // StorageLensCostAndUsageReportsSelectionCriteria
175
+ * MinDepth: Number("int"),
176
+ * MaxDepth: Number("int"),
177
+ * },
178
+ * },
179
+ * },
171
180
  * IsEnabled: true || false, // required
172
181
  * AwsOrg: { // StorageLensAwsOrg
173
182
  * Arn: "STRING_VALUE", // required
174
183
  * },
175
184
  * StorageLensArn: "STRING_VALUE",
176
185
  * PrefixDelimiter: "STRING_VALUE",
186
+ * IntAccessTiers: { // IntAccessTiers
187
+ * IsEnabled: true || false,
188
+ * },
177
189
  * },
178
190
  * Tags: [ // StorageLensTags
179
191
  * { // StorageLensTag
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { TagResourceRequest, TagResourceResult } from "../models/models_0";
2
+ import type { TagResourceRequest, TagResourceResult } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
2
+ import type { UntagResourceRequest, UntagResourceResult } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -5506,6 +5506,65 @@ export interface StorageLensAwsOrg {
5506
5506
  */
5507
5507
  Arn: string | undefined;
5508
5508
  }
5509
+ /**
5510
+ * <p>A container for the selection criteria used by the S3 Storage Lens Amazon Web Services Cost and Usage Reports (Amazon Web Services CUR)
5511
+ * publish configuration. The selection criteria specifies the minimum and maximum
5512
+ * prefix depth (both inclusive) for which cost data is published to
5513
+ * Amazon Web Services CUR. You must provide both <code>MinDepth</code> and <code>MaxDepth</code>
5514
+ * together, or neither; <code>MinDepth</code> must be less than or equal to
5515
+ * <code>MaxDepth</code>, and the difference must not exceed 4. If neither is
5516
+ * provided, <code>MinDepth</code> defaults to <code>1</code> and
5517
+ * <code>MaxDepth</code> defaults to <code>3</code>.</p>
5518
+ * @public
5519
+ */
5520
+ export interface StorageLensCostAndUsageReportsSelectionCriteria {
5521
+ /**
5522
+ * <p>The minimum prefix depth (inclusive) for which cost data is published
5523
+ * to Amazon Web Services CUR. You must provide both <code>MinDepth</code> and
5524
+ * <code>MaxDepth</code> together, or neither. If neither is provided,
5525
+ * <code>MinDepth</code> defaults to <code>1</code>.</p>
5526
+ * @public
5527
+ */
5528
+ MinDepth?: number | undefined;
5529
+ /**
5530
+ * <p>The maximum prefix depth (inclusive) for which cost data is published
5531
+ * to Amazon Web Services CUR. You must provide both <code>MinDepth</code> and
5532
+ * <code>MaxDepth</code> together, or neither. If neither is provided,
5533
+ * <code>MaxDepth</code> defaults to <code>3</code>.</p>
5534
+ * @public
5535
+ */
5536
+ MaxDepth?: number | undefined;
5537
+ }
5538
+ /**
5539
+ * <p>A container for the prefix-level configuration that determines the prefixes
5540
+ * for which S3 Storage Lens publishes cost data to Amazon Web Services Cost and Usage Reports (Amazon Web Services CUR).</p>
5541
+ * @public
5542
+ */
5543
+ export interface StorageLensCostAndUsageReportsPrefixLevel {
5544
+ /**
5545
+ * <p>Indicates whether prefix-level cost data publishing to Amazon Web Services CUR is enabled.</p>
5546
+ * @public
5547
+ */
5548
+ IsEnabled: boolean | undefined;
5549
+ /**
5550
+ * <p>A container for the selection criteria that determines the prefix depths for
5551
+ * which cost data is published to Amazon Web Services CUR.</p>
5552
+ * @public
5553
+ */
5554
+ SelectionCriteria?: StorageLensCostAndUsageReportsSelectionCriteria | undefined;
5555
+ }
5556
+ /**
5557
+ * <p>A container for the configuration used to publish S3 Storage Lens cost data to Amazon Web Services Cost and Usage Reports (Amazon Web Services CUR).</p>
5558
+ * @public
5559
+ */
5560
+ export interface StorageLensCostAndUsageReportsPublish {
5561
+ /**
5562
+ * <p>A container for the prefix-level configuration that determines the prefixes
5563
+ * for which S3 Storage Lens publishes cost data to Amazon Web Services CUR.</p>
5564
+ * @public
5565
+ */
5566
+ PrefixLevel?: StorageLensCostAndUsageReportsPrefixLevel | undefined;
5567
+ }
5509
5568
  /**
5510
5569
  * <p>A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.</p>
5511
5570
  * <p>For more information about publishing S3 Storage Lens metrics to CloudWatch, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_view_metrics_cloudwatch.html">Monitor
@@ -5698,6 +5757,20 @@ export interface Include {
5698
5757
  */
5699
5758
  Regions?: string[] | undefined;
5700
5759
  }
5760
+ /**
5761
+ * <p>The container for S3 Storage Lens Intelligent-Tiering access tier metrics.
5762
+ * When enabled, S3 Storage Lens produces metrics for each individual S3 Intelligent-Tiering access tier
5763
+ * instead of reporting a single aggregate value for the INTELLIGENT_TIERING storage class.</p>
5764
+ * <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
5765
+ * @public
5766
+ */
5767
+ export interface IntAccessTiers {
5768
+ /**
5769
+ * <p>A container that indicates whether S3 Storage Lens Intelligent-Tiering access tier metrics are enabled.</p>
5770
+ * @public
5771
+ */
5772
+ IsEnabled?: boolean | undefined;
5773
+ }
5701
5774
  /**
5702
5775
  * <p>A container for the Amazon S3 Storage Lens configuration.</p>
5703
5776
  * @public
@@ -5738,6 +5811,11 @@ export interface StorageLensConfiguration {
5738
5811
  * @public
5739
5812
  */
5740
5813
  ExpandedPrefixesDataExport?: StorageLensExpandedPrefixesDataExport | undefined;
5814
+ /**
5815
+ * <p>A container for the configuration used to publish S3 Storage Lens cost data to Amazon Web Services Cost and Usage Reports (Amazon Web Services CUR).</p>
5816
+ * @public
5817
+ */
5818
+ CostAndUsageReportsPublish?: StorageLensCostAndUsageReportsPublish | undefined;
5741
5819
  /**
5742
5820
  * <p>A container for whether the S3 Storage Lens configuration is enabled.</p>
5743
5821
  * @public
@@ -5781,6 +5859,11 @@ export interface StorageLensConfiguration {
5781
5859
  * @public
5782
5860
  */
5783
5861
  PrefixDelimiter?: string | undefined;
5862
+ /**
5863
+ * <p>A container element for S3 Storage Lens Intelligent-Tiering access tier metrics.</p>
5864
+ * @public
5865
+ */
5866
+ IntAccessTiers?: IntAccessTiers | undefined;
5784
5867
  }
5785
5868
  /**
5786
5869
  * @public
@@ -7122,61 +7205,3 @@ export interface SubmitMultiRegionAccessPointRoutesRequest {
7122
7205
  */
7123
7206
  export interface SubmitMultiRegionAccessPointRoutesResult {
7124
7207
  }
7125
- /**
7126
- * @public
7127
- */
7128
- export interface TagResourceRequest {
7129
- /**
7130
- * <p>
7131
- * The Amazon Web Services account ID that created the S3 resource that you're trying to add tags to or the requester's account ID.
7132
- * </p>
7133
- * @public
7134
- */
7135
- AccountId?: string | undefined;
7136
- /**
7137
- * <p>The Amazon Resource Name (ARN) of the S3 resource that you're applying tags to. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
7138
- * @public
7139
- */
7140
- ResourceArn: string | undefined;
7141
- /**
7142
- * <p>
7143
- * The Amazon Web Services resource tags that you want to add to the specified S3 resource.
7144
- * </p>
7145
- * @public
7146
- */
7147
- Tags: Tag[] | undefined;
7148
- }
7149
- /**
7150
- * @public
7151
- */
7152
- export interface TagResourceResult {
7153
- }
7154
- /**
7155
- * @public
7156
- */
7157
- export interface UntagResourceRequest {
7158
- /**
7159
- * <p>
7160
- * The Amazon Web Services account ID that owns the resource that you're trying to remove the tags from.
7161
- * </p>
7162
- * @public
7163
- */
7164
- AccountId?: string | undefined;
7165
- /**
7166
- * <p>The Amazon Resource Name (ARN) of the S3 resource that you're removing tags from. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
7167
- * @public
7168
- */
7169
- ResourceArn: string | undefined;
7170
- /**
7171
- * <p>
7172
- * The array of tag key-value pairs that you're trying to remove from of the S3 resource.
7173
- * </p>
7174
- * @public
7175
- */
7176
- TagKeys: string[] | undefined;
7177
- }
7178
- /**
7179
- * @public
7180
- */
7181
- export interface UntagResourceResult {
7182
- }
@@ -1,5 +1,63 @@
1
1
  import type { JobStatus, RequestedJobStatus } from "./enums";
2
- import type { StorageLensGroup } from "./models_0";
2
+ import type { StorageLensGroup, Tag } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface TagResourceRequest {
7
+ /**
8
+ * <p>
9
+ * The Amazon Web Services account ID that created the S3 resource that you're trying to add tags to or the requester's account ID.
10
+ * </p>
11
+ * @public
12
+ */
13
+ AccountId?: string | undefined;
14
+ /**
15
+ * <p>The Amazon Resource Name (ARN) of the S3 resource that you're applying tags to. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
16
+ * @public
17
+ */
18
+ ResourceArn: string | undefined;
19
+ /**
20
+ * <p>
21
+ * The Amazon Web Services resource tags that you want to add to the specified S3 resource.
22
+ * </p>
23
+ * @public
24
+ */
25
+ Tags: Tag[] | undefined;
26
+ }
27
+ /**
28
+ * @public
29
+ */
30
+ export interface TagResourceResult {
31
+ }
32
+ /**
33
+ * @public
34
+ */
35
+ export interface UntagResourceRequest {
36
+ /**
37
+ * <p>
38
+ * The Amazon Web Services account ID that owns the resource that you're trying to remove the tags from.
39
+ * </p>
40
+ * @public
41
+ */
42
+ AccountId?: string | undefined;
43
+ /**
44
+ * <p>The Amazon Resource Name (ARN) of the S3 resource that you're removing tags from. The tagged resource can be a directory bucket, S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.</p>
45
+ * @public
46
+ */
47
+ ResourceArn: string | undefined;
48
+ /**
49
+ * <p>
50
+ * The array of tag key-value pairs that you're trying to remove from of the S3 resource.
51
+ * </p>
52
+ * @public
53
+ */
54
+ TagKeys: string[] | undefined;
55
+ }
56
+ /**
57
+ * @public
58
+ */
59
+ export interface UntagResourceResult {
60
+ }
3
61
  /**
4
62
  * @public
5
63
  */
@@ -154,6 +154,7 @@ export declare var GetStorageLensGroupRequest$: StaticStructureSchema;
154
154
  export declare var GetStorageLensGroupResult$: StaticStructureSchema;
155
155
  export declare var Grantee$: StaticStructureSchema;
156
156
  export declare var Include$: StaticStructureSchema;
157
+ export declare var IntAccessTiers$: StaticStructureSchema;
157
158
  export declare var JobDescriptor$: StaticStructureSchema;
158
159
  export declare var JobFailure$: StaticStructureSchema;
159
160
  export declare var JobListDescriptor$: StaticStructureSchema;
@@ -294,6 +295,9 @@ export declare var SSES3Encryption$: StaticStructureSchema;
294
295
  export declare var SSES3Filter$: StaticStructureSchema;
295
296
  export declare var StorageLensAwsOrg$: StaticStructureSchema;
296
297
  export declare var StorageLensConfiguration$: StaticStructureSchema;
298
+ export declare var StorageLensCostAndUsageReportsPrefixLevel$: StaticStructureSchema;
299
+ export declare var StorageLensCostAndUsageReportsPublish$: StaticStructureSchema;
300
+ export declare var StorageLensCostAndUsageReportsSelectionCriteria$: StaticStructureSchema;
297
301
  export declare var StorageLensDataExport$: StaticStructureSchema;
298
302
  export declare var StorageLensDataExportEncryption$: StaticStructureSchema;
299
303
  export declare var StorageLensExpandedPrefixesDataExport$: StaticStructureSchema;
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { TagResourceRequest, TagResourceResult } from "../models/models_0";
2
+ import { TagResourceRequest, TagResourceResult } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface TagResourceCommandInput extends TagResourceRequest {}
5
5
  export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
2
+ import { UntagResourceRequest, UntagResourceResult } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
5
5
  export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {}
@@ -1204,6 +1204,17 @@ export interface GetStorageLensConfigurationRequest {
1204
1204
  export interface StorageLensAwsOrg {
1205
1205
  Arn: string | undefined;
1206
1206
  }
1207
+ export interface StorageLensCostAndUsageReportsSelectionCriteria {
1208
+ MinDepth?: number | undefined;
1209
+ MaxDepth?: number | undefined;
1210
+ }
1211
+ export interface StorageLensCostAndUsageReportsPrefixLevel {
1212
+ IsEnabled: boolean | undefined;
1213
+ SelectionCriteria?: StorageLensCostAndUsageReportsSelectionCriteria | undefined;
1214
+ }
1215
+ export interface StorageLensCostAndUsageReportsPublish {
1216
+ PrefixLevel?: StorageLensCostAndUsageReportsPrefixLevel | undefined;
1217
+ }
1207
1218
  export interface CloudWatchMetrics {
1208
1219
  IsEnabled: boolean | undefined;
1209
1220
  }
@@ -1244,6 +1255,9 @@ export interface Include {
1244
1255
  Buckets?: string[] | undefined;
1245
1256
  Regions?: string[] | undefined;
1246
1257
  }
1258
+ export interface IntAccessTiers {
1259
+ IsEnabled?: boolean | undefined;
1260
+ }
1247
1261
  export interface StorageLensConfiguration {
1248
1262
  Id: string | undefined;
1249
1263
  AccountLevel: AccountLevel | undefined;
@@ -1251,10 +1265,12 @@ export interface StorageLensConfiguration {
1251
1265
  Exclude?: _Exclude | undefined;
1252
1266
  DataExport?: StorageLensDataExport | undefined;
1253
1267
  ExpandedPrefixesDataExport?: StorageLensExpandedPrefixesDataExport | undefined;
1268
+ CostAndUsageReportsPublish?: StorageLensCostAndUsageReportsPublish | undefined;
1254
1269
  IsEnabled: boolean | undefined;
1255
1270
  AwsOrg?: StorageLensAwsOrg | undefined;
1256
1271
  StorageLensArn?: string | undefined;
1257
1272
  PrefixDelimiter?: string | undefined;
1273
+ IntAccessTiers?: IntAccessTiers | undefined;
1258
1274
  }
1259
1275
  export interface GetStorageLensConfigurationResult {
1260
1276
  StorageLensConfiguration?: StorageLensConfiguration | undefined;
@@ -1547,15 +1563,3 @@ export interface SubmitMultiRegionAccessPointRoutesRequest {
1547
1563
  RouteUpdates: MultiRegionAccessPointRoute[] | undefined;
1548
1564
  }
1549
1565
  export interface SubmitMultiRegionAccessPointRoutesResult {}
1550
- export interface TagResourceRequest {
1551
- AccountId?: string | undefined;
1552
- ResourceArn: string | undefined;
1553
- Tags: Tag[] | undefined;
1554
- }
1555
- export interface TagResourceResult {}
1556
- export interface UntagResourceRequest {
1557
- AccountId?: string | undefined;
1558
- ResourceArn: string | undefined;
1559
- TagKeys: string[] | undefined;
1560
- }
1561
- export interface UntagResourceResult {}
@@ -1,5 +1,17 @@
1
1
  import { JobStatus, RequestedJobStatus } from "./enums";
2
- import { StorageLensGroup } from "./models_0";
2
+ import { StorageLensGroup, Tag } from "./models_0";
3
+ export interface TagResourceRequest {
4
+ AccountId?: string | undefined;
5
+ ResourceArn: string | undefined;
6
+ Tags: Tag[] | undefined;
7
+ }
8
+ export interface TagResourceResult {}
9
+ export interface UntagResourceRequest {
10
+ AccountId?: string | undefined;
11
+ ResourceArn: string | undefined;
12
+ TagKeys: string[] | undefined;
13
+ }
14
+ export interface UntagResourceResult {}
3
15
  export interface UpdateAccessGrantsLocationRequest {
4
16
  AccountId?: string | undefined;
5
17
  AccessGrantsLocationId: string | undefined;
@@ -154,6 +154,7 @@ export declare var GetStorageLensGroupRequest$: StaticStructureSchema;
154
154
  export declare var GetStorageLensGroupResult$: StaticStructureSchema;
155
155
  export declare var Grantee$: StaticStructureSchema;
156
156
  export declare var Include$: StaticStructureSchema;
157
+ export declare var IntAccessTiers$: StaticStructureSchema;
157
158
  export declare var JobDescriptor$: StaticStructureSchema;
158
159
  export declare var JobFailure$: StaticStructureSchema;
159
160
  export declare var JobListDescriptor$: StaticStructureSchema;
@@ -294,6 +295,9 @@ export declare var SSES3Encryption$: StaticStructureSchema;
294
295
  export declare var SSES3Filter$: StaticStructureSchema;
295
296
  export declare var StorageLensAwsOrg$: StaticStructureSchema;
296
297
  export declare var StorageLensConfiguration$: StaticStructureSchema;
298
+ export declare var StorageLensCostAndUsageReportsPrefixLevel$: StaticStructureSchema;
299
+ export declare var StorageLensCostAndUsageReportsPublish$: StaticStructureSchema;
300
+ export declare var StorageLensCostAndUsageReportsSelectionCriteria$: StaticStructureSchema;
297
301
  export declare var StorageLensDataExport$: StaticStructureSchema;
298
302
  export declare var StorageLensDataExportEncryption$: StaticStructureSchema;
299
303
  export declare var StorageLensExpandedPrefixesDataExport$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3-control",
3
- "version": "3.1169.0",
3
+ "version": "3.1171.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",