@aws-sdk/client-oam 3.378.0 → 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.
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -16,6 +16,7 @@
16
16
  */
17
17
  export * from "./OAMClient";
18
18
  export * from "./OAM";
19
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
19
20
  export * from "./commands";
20
21
  export * from "./pagination";
21
22
  export * from "./models";
@@ -9,6 +9,7 @@ export declare class ConflictException extends __BaseException {
9
9
  readonly $fault: "client";
10
10
  Message?: string;
11
11
  /**
12
+ * @public
12
13
  * <p>The name of the exception.</p>
13
14
  */
14
15
  amznErrorType?: string;
@@ -35,6 +36,7 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
35
36
  */
36
37
  export interface CreateLinkInput {
37
38
  /**
39
+ * @public
38
40
  * <p>Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring
39
41
  * account.</p>
40
42
  * <p>You can use a custom label or use the following variables:</p>
@@ -55,17 +57,20 @@ export interface CreateLinkInput {
55
57
  */
56
58
  LabelTemplate: string | undefined;
57
59
  /**
60
+ * @public
58
61
  * <p>An array of strings that define which types of data that the source account shares with the monitoring
59
62
  * account.</p>
60
63
  */
61
64
  ResourceTypes: (ResourceType | string)[] | undefined;
62
65
  /**
66
+ * @public
63
67
  * <p>The ARN of the sink to use to create this link. You can use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html">ListSinks</a> to find the ARNs of sinks.</p>
64
68
  * <p>For more information about sinks, see
65
69
  * <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_CreateSink.html">CreateSink</a>.</p>
66
70
  */
67
71
  SinkIdentifier: string | undefined;
68
72
  /**
73
+ * @public
69
74
  * <p>Assigns one or more tags (key-value pairs) to the link. </p>
70
75
  * <p>Tags can help you organize and categorize your resources. You can also use them to scope user
71
76
  * permissions by granting a user
@@ -80,31 +85,38 @@ export interface CreateLinkInput {
80
85
  */
81
86
  export interface CreateLinkOutput {
82
87
  /**
88
+ * @public
83
89
  * <p>The ARN of the link that is newly created.</p>
84
90
  */
85
91
  Arn?: string;
86
92
  /**
93
+ * @public
87
94
  * <p>The random ID string that Amazon Web Services generated as part of the link ARN.</p>
88
95
  */
89
96
  Id?: string;
90
97
  /**
98
+ * @public
91
99
  * <p>The label that you assigned to this link. If the <code>labelTemplate</code> includes variables,
92
100
  * this field displays the variables resolved to their actual values.</p>
93
101
  */
94
102
  Label?: string;
95
103
  /**
104
+ * @public
96
105
  * <p>The exact label template that you specified, with the variables not resolved.</p>
97
106
  */
98
107
  LabelTemplate?: string;
99
108
  /**
109
+ * @public
100
110
  * <p>The resource types supported by this link.</p>
101
111
  */
102
112
  ResourceTypes?: string[];
103
113
  /**
114
+ * @public
104
115
  * <p>The ARN of the sink that is used for this link.</p>
105
116
  */
106
117
  SinkArn?: string;
107
118
  /**
119
+ * @public
108
120
  * <p>The tags assigned to the link.</p>
109
121
  */
110
122
  Tags?: Record<string, string>;
@@ -118,6 +130,7 @@ export declare class InternalServiceFault extends __BaseException {
118
130
  readonly $fault: "server";
119
131
  Message?: string;
120
132
  /**
133
+ * @public
121
134
  * <p>The name of the exception.</p>
122
135
  */
123
136
  amznErrorType?: string;
@@ -134,6 +147,7 @@ export declare class InvalidParameterException extends __BaseException {
134
147
  readonly name: "InvalidParameterException";
135
148
  readonly $fault: "client";
136
149
  /**
150
+ * @public
137
151
  * <p>The name of the exception.</p>
138
152
  */
139
153
  amznErrorType?: string;
@@ -150,6 +164,7 @@ export declare class MissingRequiredParameterException extends __BaseException {
150
164
  readonly name: "MissingRequiredParameterException";
151
165
  readonly $fault: "client";
152
166
  /**
167
+ * @public
153
168
  * <p>The name of the exception.</p>
154
169
  */
155
170
  amznErrorType?: string;
@@ -167,6 +182,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
167
182
  readonly $fault: "client";
168
183
  Message?: string;
169
184
  /**
185
+ * @public
170
186
  * <p>The name of the exception.</p>
171
187
  */
172
188
  amznErrorType?: string;
@@ -180,10 +196,12 @@ export declare class ServiceQuotaExceededException extends __BaseException {
180
196
  */
181
197
  export interface CreateSinkInput {
182
198
  /**
199
+ * @public
183
200
  * <p>A name for the sink.</p>
184
201
  */
185
202
  Name: string | undefined;
186
203
  /**
204
+ * @public
187
205
  * <p>Assigns one or more tags (key-value pairs) to the link. </p>
188
206
  * <p>Tags can help you organize and categorize your resources. You can also use them to scope user
189
207
  * permissions by granting a user
@@ -198,18 +216,22 @@ export interface CreateSinkInput {
198
216
  */
199
217
  export interface CreateSinkOutput {
200
218
  /**
219
+ * @public
201
220
  * <p>The ARN of the sink that is newly created.</p>
202
221
  */
203
222
  Arn?: string;
204
223
  /**
224
+ * @public
205
225
  * <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
206
226
  */
207
227
  Id?: string;
208
228
  /**
229
+ * @public
209
230
  * <p>The name of the sink.</p>
210
231
  */
211
232
  Name?: string;
212
233
  /**
234
+ * @public
213
235
  * <p>The tags assigned to the sink.</p>
214
236
  */
215
237
  Tags?: Record<string, string>;
@@ -219,6 +241,7 @@ export interface CreateSinkOutput {
219
241
  */
220
242
  export interface DeleteLinkInput {
221
243
  /**
244
+ * @public
222
245
  * <p>The ARN of the link to delete.</p>
223
246
  */
224
247
  Identifier: string | undefined;
@@ -237,6 +260,7 @@ export declare class ResourceNotFoundException extends __BaseException {
237
260
  readonly $fault: "client";
238
261
  Message?: string;
239
262
  /**
263
+ * @public
240
264
  * <p>The name of the exception.</p>
241
265
  */
242
266
  amznErrorType?: string;
@@ -250,6 +274,7 @@ export declare class ResourceNotFoundException extends __BaseException {
250
274
  */
251
275
  export interface DeleteSinkInput {
252
276
  /**
277
+ * @public
253
278
  * <p>The ARN of the sink to delete.</p>
254
279
  */
255
280
  Identifier: string | undefined;
@@ -264,6 +289,7 @@ export interface DeleteSinkOutput {
264
289
  */
265
290
  export interface GetLinkInput {
266
291
  /**
292
+ * @public
267
293
  * <p>The ARN of the link to retrieve information for.</p>
268
294
  */
269
295
  Identifier: string | undefined;
@@ -273,30 +299,37 @@ export interface GetLinkInput {
273
299
  */
274
300
  export interface GetLinkOutput {
275
301
  /**
302
+ * @public
276
303
  * <p>The ARN of the link.</p>
277
304
  */
278
305
  Arn?: string;
279
306
  /**
307
+ * @public
280
308
  * <p>The random ID string that Amazon Web Services generated as part of the link ARN.</p>
281
309
  */
282
310
  Id?: string;
283
311
  /**
312
+ * @public
284
313
  * <p>The label that you assigned to this link, with the variables resolved to their actual values.</p>
285
314
  */
286
315
  Label?: string;
287
316
  /**
317
+ * @public
288
318
  * <p>The exact label template that was specified when the link was created, with the template variables not resolved.</p>
289
319
  */
290
320
  LabelTemplate?: string;
291
321
  /**
322
+ * @public
292
323
  * <p>The resource types supported by this link.</p>
293
324
  */
294
325
  ResourceTypes?: string[];
295
326
  /**
327
+ * @public
296
328
  * <p>The ARN of the sink that is used for this link.</p>
297
329
  */
298
330
  SinkArn?: string;
299
331
  /**
332
+ * @public
300
333
  * <p>The tags assigned to the link.</p>
301
334
  */
302
335
  Tags?: Record<string, string>;
@@ -306,6 +339,7 @@ export interface GetLinkOutput {
306
339
  */
307
340
  export interface GetSinkInput {
308
341
  /**
342
+ * @public
309
343
  * <p>The ARN of the sink to retrieve information for.</p>
310
344
  */
311
345
  Identifier: string | undefined;
@@ -315,18 +349,22 @@ export interface GetSinkInput {
315
349
  */
316
350
  export interface GetSinkOutput {
317
351
  /**
352
+ * @public
318
353
  * <p>The ARN of the sink.</p>
319
354
  */
320
355
  Arn?: string;
321
356
  /**
357
+ * @public
322
358
  * <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
323
359
  */
324
360
  Id?: string;
325
361
  /**
362
+ * @public
326
363
  * <p>The name of the sink.</p>
327
364
  */
328
365
  Name?: string;
329
366
  /**
367
+ * @public
330
368
  * <p>The tags assigned to the sink.</p>
331
369
  */
332
370
  Tags?: Record<string, string>;
@@ -336,6 +374,7 @@ export interface GetSinkOutput {
336
374
  */
337
375
  export interface GetSinkPolicyInput {
338
376
  /**
377
+ * @public
339
378
  * <p>The ARN of the sink to retrieve the policy of.</p>
340
379
  */
341
380
  SinkIdentifier: string | undefined;
@@ -345,14 +384,17 @@ export interface GetSinkPolicyInput {
345
384
  */
346
385
  export interface GetSinkPolicyOutput {
347
386
  /**
387
+ * @public
348
388
  * <p>The ARN of the sink.</p>
349
389
  */
350
390
  SinkArn?: string;
351
391
  /**
392
+ * @public
352
393
  * <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
353
394
  */
354
395
  SinkId?: string;
355
396
  /**
397
+ * @public
356
398
  * <p>The policy that you specified, in JSON format.</p>
357
399
  */
358
400
  Policy?: string;
@@ -362,14 +404,17 @@ export interface GetSinkPolicyOutput {
362
404
  */
363
405
  export interface ListAttachedLinksInput {
364
406
  /**
407
+ * @public
365
408
  * <p>Limits the number of returned links to the specified number.</p>
366
409
  */
367
410
  MaxResults?: number;
368
411
  /**
412
+ * @public
369
413
  * <p>The token for the next set of items to return. You received this token from a previous call.</p>
370
414
  */
371
415
  NextToken?: string;
372
416
  /**
417
+ * @public
373
418
  * <p>The ARN of the sink that you want to retrieve links for.</p>
374
419
  */
375
420
  SinkIdentifier: string | undefined;
@@ -381,14 +426,17 @@ export interface ListAttachedLinksInput {
381
426
  */
382
427
  export interface ListAttachedLinksItem {
383
428
  /**
429
+ * @public
384
430
  * <p>The label that was assigned to this link at creation, with the variables resolved to their actual values.</p>
385
431
  */
386
432
  Label?: string;
387
433
  /**
434
+ * @public
388
435
  * <p>The ARN of the link.</p>
389
436
  */
390
437
  LinkArn?: string;
391
438
  /**
439
+ * @public
392
440
  * <p>The resource types supported by this link.</p>
393
441
  */
394
442
  ResourceTypes?: string[];
@@ -398,10 +446,12 @@ export interface ListAttachedLinksItem {
398
446
  */
399
447
  export interface ListAttachedLinksOutput {
400
448
  /**
449
+ * @public
401
450
  * <p>An array of structures that contain the information about the attached links.</p>
402
451
  */
403
452
  Items: ListAttachedLinksItem[] | undefined;
404
453
  /**
454
+ * @public
405
455
  * <p>The token to use when requesting the next set of links.</p>
406
456
  */
407
457
  NextToken?: string;
@@ -411,10 +461,12 @@ export interface ListAttachedLinksOutput {
411
461
  */
412
462
  export interface ListLinksInput {
413
463
  /**
464
+ * @public
414
465
  * <p>Limits the number of returned links to the specified number.</p>
415
466
  */
416
467
  MaxResults?: number;
417
468
  /**
469
+ * @public
418
470
  * <p>The token for the next set of items to return. You received this token from a previous call.</p>
419
471
  */
420
472
  NextToken?: string;
@@ -425,22 +477,27 @@ export interface ListLinksInput {
425
477
  */
426
478
  export interface ListLinksItem {
427
479
  /**
480
+ * @public
428
481
  * <p>The ARN of the link.</p>
429
482
  */
430
483
  Arn?: string;
431
484
  /**
485
+ * @public
432
486
  * <p>The random ID string that Amazon Web Services generated as part of the link ARN.</p>
433
487
  */
434
488
  Id?: string;
435
489
  /**
490
+ * @public
436
491
  * <p>The label that was assigned to this link at creation, with the variables resolved to their actual values.</p>
437
492
  */
438
493
  Label?: string;
439
494
  /**
495
+ * @public
440
496
  * <p>The resource types supported by this link.</p>
441
497
  */
442
498
  ResourceTypes?: string[];
443
499
  /**
500
+ * @public
444
501
  * <p>The ARN of the sink that this link is attached to.</p>
445
502
  */
446
503
  SinkArn?: string;
@@ -450,10 +507,12 @@ export interface ListLinksItem {
450
507
  */
451
508
  export interface ListLinksOutput {
452
509
  /**
510
+ * @public
453
511
  * <p>An array of structures that contain the information about the returned links.</p>
454
512
  */
455
513
  Items: ListLinksItem[] | undefined;
456
514
  /**
515
+ * @public
457
516
  * <p>The token to use when requesting the next set of links.</p>
458
517
  */
459
518
  NextToken?: string;
@@ -463,10 +522,12 @@ export interface ListLinksOutput {
463
522
  */
464
523
  export interface ListSinksInput {
465
524
  /**
525
+ * @public
466
526
  * <p>Limits the number of returned links to the specified number.</p>
467
527
  */
468
528
  MaxResults?: number;
469
529
  /**
530
+ * @public
470
531
  * <p>The token for the next set of items to return. You received this token from a previous call.</p>
471
532
  */
472
533
  NextToken?: string;
@@ -477,14 +538,17 @@ export interface ListSinksInput {
477
538
  */
478
539
  export interface ListSinksItem {
479
540
  /**
541
+ * @public
480
542
  * <p>The ARN of the sink.</p>
481
543
  */
482
544
  Arn?: string;
483
545
  /**
546
+ * @public
484
547
  * <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
485
548
  */
486
549
  Id?: string;
487
550
  /**
551
+ * @public
488
552
  * <p>The name of the sink.</p>
489
553
  */
490
554
  Name?: string;
@@ -494,10 +558,12 @@ export interface ListSinksItem {
494
558
  */
495
559
  export interface ListSinksOutput {
496
560
  /**
561
+ * @public
497
562
  * <p>An array of structures that contain the information about the returned sinks.</p>
498
563
  */
499
564
  Items: ListSinksItem[] | undefined;
500
565
  /**
566
+ * @public
501
567
  * <p>The token to use when requesting the next set of sinks.</p>
502
568
  */
503
569
  NextToken?: string;
@@ -507,6 +573,7 @@ export interface ListSinksOutput {
507
573
  */
508
574
  export interface ListTagsForResourceInput {
509
575
  /**
576
+ * @public
510
577
  * <p>The ARN of the resource that you want to view tags for.</p>
511
578
  * <p>The ARN format of a sink is
512
579
  * <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
@@ -532,6 +599,7 @@ export interface ListTagsForResourceInput {
532
599
  */
533
600
  export interface ListTagsForResourceOutput {
534
601
  /**
602
+ * @public
535
603
  * <p>The list of tags associated with the requested resource.&gt;</p>
536
604
  */
537
605
  Tags?: Record<string, string>;
@@ -554,10 +622,12 @@ export declare class ValidationException extends __BaseException {
554
622
  */
555
623
  export interface PutSinkPolicyInput {
556
624
  /**
625
+ * @public
557
626
  * <p>The ARN of the sink to attach this policy to.</p>
558
627
  */
559
628
  SinkIdentifier: string | undefined;
560
629
  /**
630
+ * @public
561
631
  * <p>The JSON policy to use. If you are updating an existing policy, the entire existing policy is
562
632
  * replaced by what you specify here.</p>
563
633
  * <p>The policy must be in JSON string format with quotation marks escaped and no newlines.</p>
@@ -570,14 +640,17 @@ export interface PutSinkPolicyInput {
570
640
  */
571
641
  export interface PutSinkPolicyOutput {
572
642
  /**
643
+ * @public
573
644
  * <p>The ARN of the sink.</p>
574
645
  */
575
646
  SinkArn?: string;
576
647
  /**
648
+ * @public
577
649
  * <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
578
650
  */
579
651
  SinkId?: string;
580
652
  /**
653
+ * @public
581
654
  * <p>The policy that you specified.</p>
582
655
  */
583
656
  Policy?: string;
@@ -587,6 +660,7 @@ export interface PutSinkPolicyOutput {
587
660
  */
588
661
  export interface TagResourceInput {
589
662
  /**
663
+ * @public
590
664
  * <p>The ARN of the resource that you're adding tags to.</p>
591
665
  * <p>The ARN format of a sink is
592
666
  * <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
@@ -601,6 +675,7 @@ export interface TagResourceInput {
601
675
  */
602
676
  ResourceArn: string | undefined;
603
677
  /**
678
+ * @public
604
679
  * <p>The list of key-value pairs to associate with the resource.</p>
605
680
  */
606
681
  Tags: Record<string, string> | undefined;
@@ -628,6 +703,7 @@ export declare class TooManyTagsException extends __BaseException {
628
703
  */
629
704
  export interface UntagResourceInput {
630
705
  /**
706
+ * @public
631
707
  * <p>The ARN of the resource that you're removing tags from.</p>
632
708
  * <p>The ARN format of a sink is
633
709
  * <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
@@ -642,6 +718,7 @@ export interface UntagResourceInput {
642
718
  */
643
719
  ResourceArn: string | undefined;
644
720
  /**
721
+ * @public
645
722
  * <p>The list of tag keys to remove from the resource.</p>
646
723
  */
647
724
  TagKeys: string[] | undefined;
@@ -656,10 +733,12 @@ export interface UntagResourceOutput {
656
733
  */
657
734
  export interface UpdateLinkInput {
658
735
  /**
736
+ * @public
659
737
  * <p>The ARN of the link that you want to update.</p>
660
738
  */
661
739
  Identifier: string | undefined;
662
740
  /**
741
+ * @public
663
742
  * <p>An array of strings that define which types of data that the source account will send to the monitoring
664
743
  * account.</p>
665
744
  * <p>Your input here replaces the current set of data types that are shared.</p>
@@ -671,30 +750,37 @@ export interface UpdateLinkInput {
671
750
  */
672
751
  export interface UpdateLinkOutput {
673
752
  /**
753
+ * @public
674
754
  * <p>The ARN of the link that you have updated.</p>
675
755
  */
676
756
  Arn?: string;
677
757
  /**
758
+ * @public
678
759
  * <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
679
760
  */
680
761
  Id?: string;
681
762
  /**
763
+ * @public
682
764
  * <p>The label assigned to this link, with the variables resolved to their actual values.</p>
683
765
  */
684
766
  Label?: string;
685
767
  /**
768
+ * @public
686
769
  * <p>The exact label template that was specified when the link was created, with the template variables not resolved.</p>
687
770
  */
688
771
  LabelTemplate?: string;
689
772
  /**
773
+ * @public
690
774
  * <p>The resource types now supported by this link.</p>
691
775
  */
692
776
  ResourceTypes?: string[];
693
777
  /**
778
+ * @public
694
779
  * <p>The ARN of the sink that is used for this link.</p>
695
780
  */
696
781
  SinkArn?: string;
697
782
  /**
783
+ * @public
698
784
  * <p>The tags assigned to the link.</p>
699
785
  */
700
786
  Tags?: Record<string, string>;
@@ -1,5 +1,6 @@
1
1
  export * from "./OAMClient";
2
2
  export * from "./OAM";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export * from "./commands";
4
5
  export * from "./pagination";
5
6
  export * from "./models";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-oam",
3
3
  "description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
4
- "version": "3.378.0",
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.378.0",
25
- "@aws-sdk/credential-provider-node": "3.378.0",
26
- "@aws-sdk/middleware-host-header": "3.378.0",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
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
- "@aws-sdk/middleware-signing": "3.378.0",
30
- "@aws-sdk/middleware-user-agent": "3.378.0",
29
+ "@aws-sdk/middleware-signing": "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",