@aws-sdk/client-mediastore 3.379.1 → 3.382.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.
@@ -34,16 +34,19 @@ export type ContainerStatus = (typeof ContainerStatus)[keyof typeof ContainerSta
34
34
  */
35
35
  export interface Container {
36
36
  /**
37
+ * @public
37
38
  * <p>The DNS endpoint of the container. Use the endpoint to identify the specific
38
39
  * container when sending requests to the data plane. The service assigns this value when the
39
40
  * container is created. Once the value has been assigned, it does not change.</p>
40
41
  */
41
42
  Endpoint?: string;
42
43
  /**
44
+ * @public
43
45
  * <p>Unix timestamp.</p>
44
46
  */
45
47
  CreationTime?: Date;
46
48
  /**
49
+ * @public
47
50
  * <p>The Amazon Resource Name (ARN) of the container. The ARN has the following
48
51
  * format:</p>
49
52
  * <p>arn:aws:<region>:<account that owns this container>:container/<name of
@@ -52,10 +55,12 @@ export interface Container {
52
55
  */
53
56
  ARN?: string;
54
57
  /**
58
+ * @public
55
59
  * <p>The name of the container.</p>
56
60
  */
57
61
  Name?: string;
58
62
  /**
63
+ * @public
59
64
  * <p>The status of container creation or deletion. The status is one of the following:
60
65
  * <code>CREATING</code>, <code>ACTIVE</code>, or <code>DELETING</code>. While the service
61
66
  * is creating the container, the status is <code>CREATING</code>. When the endpoint is
@@ -63,6 +68,7 @@ export interface Container {
63
68
  */
64
69
  Status?: ContainerStatus | string;
65
70
  /**
71
+ * @public
66
72
  * <p>The state of access logging on the container. This value is <code>false</code> by default, indicating that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the container, MediaStore changes this value to <code>true</code>, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.</p>
67
73
  */
68
74
  AccessLoggingEnabled?: boolean;
@@ -113,6 +119,7 @@ export declare class ContainerNotFoundException extends __BaseException {
113
119
  */
114
120
  export interface CorsRule {
115
121
  /**
122
+ * @public
116
123
  * <p>One or more response headers that you want users to be able to access from their
117
124
  * applications (for example, from a JavaScript <code>XMLHttpRequest</code> object).</p>
118
125
  * <p>Each CORS rule must have at least one <code>AllowedOrigins</code> element. The string
@@ -122,6 +129,7 @@ export interface CorsRule {
122
129
  */
123
130
  AllowedOrigins: string[] | undefined;
124
131
  /**
132
+ * @public
125
133
  * <p>Identifies an HTTP method that the origin that is specified in the rule is allowed to
126
134
  * execute.</p>
127
135
  * <p>Each CORS rule must contain at least one <code>AllowedMethods</code> and one
@@ -129,6 +137,7 @@ export interface CorsRule {
129
137
  */
130
138
  AllowedMethods?: (MethodName | string)[];
131
139
  /**
140
+ * @public
132
141
  * <p>Specifies which headers are allowed in a preflight <code>OPTIONS</code> request
133
142
  * through the <code>Access-Control-Request-Headers</code> header. Each header name that is
134
143
  * specified in <code>Access-Control-Request-Headers</code> must have a corresponding entry in
@@ -137,12 +146,14 @@ export interface CorsRule {
137
146
  */
138
147
  AllowedHeaders: string[] | undefined;
139
148
  /**
149
+ * @public
140
150
  * <p>The time in seconds that your browser caches the preflight response for the specified
141
151
  * resource.</p>
142
152
  * <p>A CORS rule can have only one <code>MaxAgeSeconds</code> element.</p>
143
153
  */
144
154
  MaxAgeSeconds?: number;
145
155
  /**
156
+ * @public
146
157
  * <p>One or more headers in the response that you want users to be able to access from
147
158
  * their applications (for example, from a JavaScript <code>XMLHttpRequest</code>
148
159
  * object).</p>
@@ -172,11 +183,13 @@ export declare class CorsPolicyNotFoundException extends __BaseException {
172
183
  */
173
184
  export interface Tag {
174
185
  /**
186
+ * @public
175
187
  * <p>Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are
176
188
  * case-sensitive.</p>
177
189
  */
178
190
  Key: string | undefined;
179
191
  /**
192
+ * @public
180
193
  * <p>Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or
181
194
  * "companyB." Tag values are case-sensitive.</p>
182
195
  */
@@ -187,6 +200,7 @@ export interface Tag {
187
200
  */
188
201
  export interface CreateContainerInput {
189
202
  /**
203
+ * @public
190
204
  * <p>The name for the container. The name must be from 1 to 255 characters. Container
191
205
  * names must be unique to your AWS account within a specific region. As an example, you could
192
206
  * create a container named <code>movies</code> in every region, as long as you don’t have an
@@ -194,6 +208,7 @@ export interface CreateContainerInput {
194
208
  */
195
209
  ContainerName: string | undefined;
196
210
  /**
211
+ * @public
197
212
  * <p>An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as
198
213
  * "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50
199
214
  * tags to each container. For more information about tagging, including naming and usage conventions, see <a href="https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html">Tagging Resources in MediaStore</a>.</p>
@@ -205,6 +220,7 @@ export interface CreateContainerInput {
205
220
  */
206
221
  export interface CreateContainerOutput {
207
222
  /**
223
+ * @public
208
224
  * <p>ContainerARN: The Amazon Resource Name (ARN) of the newly created container. The ARN
209
225
  * has the following format: arn:aws:<region>:<account that owns this
210
226
  * container>:container/<name of container>. For example:
@@ -251,6 +267,7 @@ export declare class LimitExceededException extends __BaseException {
251
267
  */
252
268
  export interface DeleteContainerInput {
253
269
  /**
270
+ * @public
254
271
  * <p>The name of the container to delete. </p>
255
272
  */
256
273
  ContainerName: string | undefined;
@@ -265,6 +282,7 @@ export interface DeleteContainerOutput {
265
282
  */
266
283
  export interface DeleteContainerPolicyInput {
267
284
  /**
285
+ * @public
268
286
  * <p>The name of the container that holds the policy.</p>
269
287
  */
270
288
  ContainerName: string | undefined;
@@ -292,6 +310,7 @@ export declare class PolicyNotFoundException extends __BaseException {
292
310
  */
293
311
  export interface DeleteCorsPolicyInput {
294
312
  /**
313
+ * @public
295
314
  * <p>The name of the container to remove the policy from.</p>
296
315
  */
297
316
  ContainerName: string | undefined;
@@ -306,6 +325,7 @@ export interface DeleteCorsPolicyOutput {
306
325
  */
307
326
  export interface DeleteLifecyclePolicyInput {
308
327
  /**
328
+ * @public
309
329
  * <p>The name of the container that holds the object lifecycle policy.</p>
310
330
  */
311
331
  ContainerName: string | undefined;
@@ -320,6 +340,7 @@ export interface DeleteLifecyclePolicyOutput {
320
340
  */
321
341
  export interface DeleteMetricPolicyInput {
322
342
  /**
343
+ * @public
323
344
  * <p>The name of the container that is associated with the metric policy that you want to delete.</p>
324
345
  */
325
346
  ContainerName: string | undefined;
@@ -334,6 +355,7 @@ export interface DeleteMetricPolicyOutput {
334
355
  */
335
356
  export interface DescribeContainerInput {
336
357
  /**
358
+ * @public
337
359
  * <p>The name of the container to query.</p>
338
360
  */
339
361
  ContainerName?: string;
@@ -343,6 +365,7 @@ export interface DescribeContainerInput {
343
365
  */
344
366
  export interface DescribeContainerOutput {
345
367
  /**
368
+ * @public
346
369
  * <p>The name of the queried container.</p>
347
370
  */
348
371
  Container?: Container;
@@ -352,6 +375,7 @@ export interface DescribeContainerOutput {
352
375
  */
353
376
  export interface GetContainerPolicyInput {
354
377
  /**
378
+ * @public
355
379
  * <p>The name of the container. </p>
356
380
  */
357
381
  ContainerName: string | undefined;
@@ -361,6 +385,7 @@ export interface GetContainerPolicyInput {
361
385
  */
362
386
  export interface GetContainerPolicyOutput {
363
387
  /**
388
+ * @public
364
389
  * <p>The contents of the access policy.</p>
365
390
  */
366
391
  Policy: string | undefined;
@@ -370,6 +395,7 @@ export interface GetContainerPolicyOutput {
370
395
  */
371
396
  export interface GetCorsPolicyInput {
372
397
  /**
398
+ * @public
373
399
  * <p>The name of the container that the policy is assigned to.</p>
374
400
  */
375
401
  ContainerName: string | undefined;
@@ -379,6 +405,7 @@ export interface GetCorsPolicyInput {
379
405
  */
380
406
  export interface GetCorsPolicyOutput {
381
407
  /**
408
+ * @public
382
409
  * <p>The CORS policy assigned to the container.</p>
383
410
  */
384
411
  CorsPolicy: CorsRule[] | undefined;
@@ -388,6 +415,7 @@ export interface GetCorsPolicyOutput {
388
415
  */
389
416
  export interface GetLifecyclePolicyInput {
390
417
  /**
418
+ * @public
391
419
  * <p>The name of the container that the object lifecycle policy is assigned to.</p>
392
420
  */
393
421
  ContainerName: string | undefined;
@@ -397,6 +425,7 @@ export interface GetLifecyclePolicyInput {
397
425
  */
398
426
  export interface GetLifecyclePolicyOutput {
399
427
  /**
428
+ * @public
400
429
  * <p>The object lifecycle policy that is assigned to the container.</p>
401
430
  */
402
431
  LifecyclePolicy: string | undefined;
@@ -406,6 +435,7 @@ export interface GetLifecyclePolicyOutput {
406
435
  */
407
436
  export interface GetMetricPolicyInput {
408
437
  /**
438
+ * @public
409
439
  * <p>The name of the container that is associated with the metric policy.</p>
410
440
  */
411
441
  ContainerName: string | undefined;
@@ -416,10 +446,12 @@ export interface GetMetricPolicyInput {
416
446
  */
417
447
  export interface MetricPolicyRule {
418
448
  /**
449
+ * @public
419
450
  * <p>A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.</p>
420
451
  */
421
452
  ObjectGroup: string | undefined;
422
453
  /**
454
+ * @public
423
455
  * <p>A name that allows you to refer to the object group.</p>
424
456
  */
425
457
  ObjectGroupName: string | undefined;
@@ -431,10 +463,12 @@ export interface MetricPolicyRule {
431
463
  */
432
464
  export interface MetricPolicy {
433
465
  /**
466
+ * @public
434
467
  * <p>A setting to enable or disable metrics at the container level.</p>
435
468
  */
436
469
  ContainerLevelMetrics: ContainerLevelMetrics | string | undefined;
437
470
  /**
471
+ * @public
438
472
  * <p>A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also <a href="https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas">request a quota increase</a> to allow up to 300 rules per policy.</p>
439
473
  */
440
474
  MetricPolicyRules?: MetricPolicyRule[];
@@ -444,6 +478,7 @@ export interface MetricPolicy {
444
478
  */
445
479
  export interface GetMetricPolicyOutput {
446
480
  /**
481
+ * @public
447
482
  * <p>The metric policy that is associated with the specific container.</p>
448
483
  */
449
484
  MetricPolicy: MetricPolicy | undefined;
@@ -453,12 +488,14 @@ export interface GetMetricPolicyOutput {
453
488
  */
454
489
  export interface ListContainersInput {
455
490
  /**
491
+ * @public
456
492
  * <p>Only if you used <code>MaxResults</code> in the first command, enter the token (which
457
493
  * was included in the previous response) to obtain the next set of containers. This token is
458
494
  * included in a response only if there actually are more containers to list.</p>
459
495
  */
460
496
  NextToken?: string;
461
497
  /**
498
+ * @public
462
499
  * <p>Enter the maximum number of containers in the response. Use from 1 to 255 characters.
463
500
  * </p>
464
501
  */
@@ -469,10 +506,12 @@ export interface ListContainersInput {
469
506
  */
470
507
  export interface ListContainersOutput {
471
508
  /**
509
+ * @public
472
510
  * <p>The names of the containers.</p>
473
511
  */
474
512
  Containers: Container[] | undefined;
475
513
  /**
514
+ * @public
476
515
  * <p>
477
516
  * <code>NextToken</code> is the token to use in the next call to <code>ListContainers</code>.
478
517
  * This token is returned only if you included the <code>MaxResults</code> tag in the original
@@ -485,6 +524,7 @@ export interface ListContainersOutput {
485
524
  */
486
525
  export interface ListTagsForResourceInput {
487
526
  /**
527
+ * @public
488
528
  * <p>The Amazon Resource Name (ARN) for the container.</p>
489
529
  */
490
530
  Resource: string | undefined;
@@ -494,6 +534,7 @@ export interface ListTagsForResourceInput {
494
534
  */
495
535
  export interface ListTagsForResourceOutput {
496
536
  /**
537
+ * @public
497
538
  * <p>An array of key:value pairs that are assigned to the container.</p>
498
539
  */
499
540
  Tags?: Tag[];
@@ -503,10 +544,12 @@ export interface ListTagsForResourceOutput {
503
544
  */
504
545
  export interface PutContainerPolicyInput {
505
546
  /**
547
+ * @public
506
548
  * <p>The name of the container.</p>
507
549
  */
508
550
  ContainerName: string | undefined;
509
551
  /**
552
+ * @public
510
553
  * <p>The contents of the policy, which includes the following: </p>
511
554
  * <ul>
512
555
  * <li>
@@ -530,10 +573,12 @@ export interface PutContainerPolicyOutput {
530
573
  */
531
574
  export interface PutCorsPolicyInput {
532
575
  /**
576
+ * @public
533
577
  * <p>The name of the container that you want to assign the CORS policy to.</p>
534
578
  */
535
579
  ContainerName: string | undefined;
536
580
  /**
581
+ * @public
537
582
  * <p>The CORS policy to apply to the container. </p>
538
583
  */
539
584
  CorsPolicy: CorsRule[] | undefined;
@@ -548,10 +593,12 @@ export interface PutCorsPolicyOutput {
548
593
  */
549
594
  export interface PutLifecyclePolicyInput {
550
595
  /**
596
+ * @public
551
597
  * <p>The name of the container that you want to assign the object lifecycle policy to.</p>
552
598
  */
553
599
  ContainerName: string | undefined;
554
600
  /**
601
+ * @public
555
602
  * <p>The object lifecycle policy to apply to the container.</p>
556
603
  */
557
604
  LifecyclePolicy: string | undefined;
@@ -566,10 +613,12 @@ export interface PutLifecyclePolicyOutput {
566
613
  */
567
614
  export interface PutMetricPolicyInput {
568
615
  /**
616
+ * @public
569
617
  * <p>The name of the container that you want to add the metric policy to.</p>
570
618
  */
571
619
  ContainerName: string | undefined;
572
620
  /**
621
+ * @public
573
622
  * <p>The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:</p>
574
623
  * <ul>
575
624
  * <li>
@@ -592,6 +641,7 @@ export interface PutMetricPolicyOutput {
592
641
  */
593
642
  export interface StartAccessLoggingInput {
594
643
  /**
644
+ * @public
595
645
  * <p>The name of the container that you want to start access logging on.</p>
596
646
  */
597
647
  ContainerName: string | undefined;
@@ -606,6 +656,7 @@ export interface StartAccessLoggingOutput {
606
656
  */
607
657
  export interface StopAccessLoggingInput {
608
658
  /**
659
+ * @public
609
660
  * <p>The name of the container that you want to stop access logging on.</p>
610
661
  */
611
662
  ContainerName: string | undefined;
@@ -620,10 +671,12 @@ export interface StopAccessLoggingOutput {
620
671
  */
621
672
  export interface TagResourceInput {
622
673
  /**
674
+ * @public
623
675
  * <p>The Amazon Resource Name (ARN) for the container. </p>
624
676
  */
625
677
  Resource: string | undefined;
626
678
  /**
679
+ * @public
627
680
  * <p>An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example,
628
681
  * suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag
629
682
  * (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags:
@@ -641,10 +694,12 @@ export interface TagResourceOutput {
641
694
  */
642
695
  export interface UntagResourceInput {
643
696
  /**
697
+ * @public
644
698
  * <p>The Amazon Resource Name (ARN) for the container.</p>
645
699
  */
646
700
  Resource: string | undefined;
647
701
  /**
702
+ * @public
648
703
  * <p>A comma-separated list of keys for tags that you want to remove from the container. For example, if your container has two tags (customer:CompanyA
649
704
  * and priority:High) and you want to remove one of the tags (priority:High), you specify the key for the tag that you want to remove
650
705
  * (priority).</p>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediastore",
3
3
  "description": "AWS SDK for JavaScript Mediastore Client for Node.js, Browser and React Native",
4
- "version": "3.379.1",
4
+ "version": "3.382.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.379.1",
25
- "@aws-sdk/credential-provider-node": "3.379.1",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
26
  "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-signing": "3.379.1",
30
- "@aws-sdk/middleware-user-agent": "3.379.1",
30
+ "@aws-sdk/middleware-user-agent": "3.382.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.382.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",