@aws-sdk/client-cloudwatch-logs 3.445.0 → 3.448.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.
Files changed (97) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/CloudWatchLogs.js +30 -0
  3. package/dist-cjs/commands/CreateDeliveryCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteDeliveryCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteDeliveryDestinationCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteDeliveryDestinationPolicyCommand.js +51 -0
  7. package/dist-cjs/commands/DeleteDeliverySourceCommand.js +51 -0
  8. package/dist-cjs/commands/DescribeDeliveriesCommand.js +51 -0
  9. package/dist-cjs/commands/DescribeDeliveryDestinationsCommand.js +51 -0
  10. package/dist-cjs/commands/DescribeDeliverySourcesCommand.js +51 -0
  11. package/dist-cjs/commands/GetDeliveryCommand.js +51 -0
  12. package/dist-cjs/commands/GetDeliveryDestinationCommand.js +51 -0
  13. package/dist-cjs/commands/GetDeliveryDestinationPolicyCommand.js +51 -0
  14. package/dist-cjs/commands/GetDeliverySourceCommand.js +51 -0
  15. package/dist-cjs/commands/PutDeliveryDestinationCommand.js +51 -0
  16. package/dist-cjs/commands/PutDeliveryDestinationPolicyCommand.js +51 -0
  17. package/dist-cjs/commands/PutDeliverySourceCommand.js +51 -0
  18. package/dist-cjs/commands/index.js +15 -0
  19. package/dist-cjs/models/models_0.js +78 -1
  20. package/dist-cjs/pagination/DescribeDeliveriesPaginator.js +29 -0
  21. package/dist-cjs/pagination/DescribeDeliveryDestinationsPaginator.js +29 -0
  22. package/dist-cjs/pagination/DescribeDeliverySourcesPaginator.js +29 -0
  23. package/dist-cjs/pagination/index.js +3 -0
  24. package/dist-cjs/protocols/Aws_json1_1.js +887 -74
  25. package/dist-es/CloudWatchLogs.js +30 -0
  26. package/dist-es/commands/CreateDeliveryCommand.js +47 -0
  27. package/dist-es/commands/DeleteDeliveryCommand.js +47 -0
  28. package/dist-es/commands/DeleteDeliveryDestinationCommand.js +47 -0
  29. package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +47 -0
  30. package/dist-es/commands/DeleteDeliverySourceCommand.js +47 -0
  31. package/dist-es/commands/DescribeDeliveriesCommand.js +47 -0
  32. package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +47 -0
  33. package/dist-es/commands/DescribeDeliverySourcesCommand.js +47 -0
  34. package/dist-es/commands/GetDeliveryCommand.js +47 -0
  35. package/dist-es/commands/GetDeliveryDestinationCommand.js +47 -0
  36. package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +47 -0
  37. package/dist-es/commands/GetDeliverySourceCommand.js +47 -0
  38. package/dist-es/commands/PutDeliveryDestinationCommand.js +47 -0
  39. package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +47 -0
  40. package/dist-es/commands/PutDeliverySourceCommand.js +47 -0
  41. package/dist-es/commands/index.js +15 -0
  42. package/dist-es/models/models_0.js +72 -0
  43. package/dist-es/pagination/DescribeDeliveriesPaginator.js +25 -0
  44. package/dist-es/pagination/DescribeDeliveryDestinationsPaginator.js +25 -0
  45. package/dist-es/pagination/DescribeDeliverySourcesPaginator.js +25 -0
  46. package/dist-es/pagination/index.js +3 -0
  47. package/dist-es/protocols/Aws_json1_1.js +854 -71
  48. package/dist-types/CloudWatchLogs.d.ts +105 -0
  49. package/dist-types/CloudWatchLogsClient.d.ts +17 -2
  50. package/dist-types/commands/CreateDeliveryCommand.d.ts +142 -0
  51. package/dist-types/commands/DeleteDeliveryCommand.d.ts +91 -0
  52. package/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +92 -0
  53. package/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +84 -0
  54. package/dist-types/commands/DeleteDeliverySourceCommand.d.ts +92 -0
  55. package/dist-types/commands/DescribeDeliveriesCommand.d.ts +98 -0
  56. package/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +100 -0
  57. package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +100 -0
  58. package/dist-types/commands/GetDeliveryCommand.d.ts +101 -0
  59. package/dist-types/commands/GetDeliveryDestinationCommand.d.ts +99 -0
  60. package/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +86 -0
  61. package/dist-types/commands/GetDeliverySourceCommand.d.ts +99 -0
  62. package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -1
  63. package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +145 -0
  64. package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +118 -0
  65. package/dist-types/commands/PutDeliverySourceCommand.d.ts +142 -0
  66. package/dist-types/commands/index.d.ts +15 -0
  67. package/dist-types/models/models_0.d.ts +635 -0
  68. package/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +7 -0
  69. package/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +7 -0
  70. package/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +7 -0
  71. package/dist-types/pagination/index.d.ts +3 -0
  72. package/dist-types/protocols/Aws_json1_1.d.ts +135 -0
  73. package/dist-types/ts3.4/CloudWatchLogs.d.ts +255 -0
  74. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +90 -0
  75. package/dist-types/ts3.4/commands/CreateDeliveryCommand.d.ts +38 -0
  76. package/dist-types/ts3.4/commands/DeleteDeliveryCommand.d.ts +33 -0
  77. package/dist-types/ts3.4/commands/DeleteDeliveryDestinationCommand.d.ts +38 -0
  78. package/dist-types/ts3.4/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +38 -0
  79. package/dist-types/ts3.4/commands/DeleteDeliverySourceCommand.d.ts +37 -0
  80. package/dist-types/ts3.4/commands/DescribeDeliveriesCommand.d.ts +39 -0
  81. package/dist-types/ts3.4/commands/DescribeDeliveryDestinationsCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/DescribeDeliverySourcesCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/GetDeliveryCommand.d.ts +35 -0
  84. package/dist-types/ts3.4/commands/GetDeliveryDestinationCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/GetDeliveryDestinationPolicyCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/GetDeliverySourceCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/PutDeliveryDestinationCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/PutDeliveryDestinationPolicyCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/PutDeliverySourceCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +173 -0
  92. package/dist-types/ts3.4/pagination/DescribeDeliveriesPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/DescribeDeliveryDestinationsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/DescribeDeliverySourcesPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  96. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +180 -0
  97. package/package.json +1 -1
package/README.md CHANGED
@@ -252,6 +252,14 @@ CancelExportTask
252
252
 
253
253
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/cancelexporttaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/cancelexporttaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/cancelexporttaskcommandoutput.html)
254
254
 
255
+ </details>
256
+ <details>
257
+ <summary>
258
+ CreateDelivery
259
+ </summary>
260
+
261
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/createdeliverycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/createdeliverycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/createdeliverycommandoutput.html)
262
+
255
263
  </details>
256
264
  <details>
257
265
  <summary>
@@ -292,6 +300,38 @@ DeleteDataProtectionPolicy
292
300
 
293
301
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/deletedataprotectionpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedataprotectionpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedataprotectionpolicycommandoutput.html)
294
302
 
303
+ </details>
304
+ <details>
305
+ <summary>
306
+ DeleteDelivery
307
+ </summary>
308
+
309
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/deletedeliverycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverycommandoutput.html)
310
+
311
+ </details>
312
+ <details>
313
+ <summary>
314
+ DeleteDeliveryDestination
315
+ </summary>
316
+
317
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/deletedeliverydestinationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverydestinationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverydestinationcommandoutput.html)
318
+
319
+ </details>
320
+ <details>
321
+ <summary>
322
+ DeleteDeliveryDestinationPolicy
323
+ </summary>
324
+
325
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/deletedeliverydestinationpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverydestinationpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverydestinationpolicycommandoutput.html)
326
+
327
+ </details>
328
+ <details>
329
+ <summary>
330
+ DeleteDeliverySource
331
+ </summary>
332
+
333
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/deletedeliverysourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverysourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/deletedeliverysourcecommandoutput.html)
334
+
295
335
  </details>
296
336
  <details>
297
337
  <summary>
@@ -364,6 +404,30 @@ DescribeAccountPolicies
364
404
 
365
405
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/describeaccountpoliciescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describeaccountpoliciescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describeaccountpoliciescommandoutput.html)
366
406
 
407
+ </details>
408
+ <details>
409
+ <summary>
410
+ DescribeDeliveries
411
+ </summary>
412
+
413
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/describedeliveriescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describedeliveriescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describedeliveriescommandoutput.html)
414
+
415
+ </details>
416
+ <details>
417
+ <summary>
418
+ DescribeDeliveryDestinations
419
+ </summary>
420
+
421
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/describedeliverydestinationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describedeliverydestinationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describedeliverydestinationscommandoutput.html)
422
+
423
+ </details>
424
+ <details>
425
+ <summary>
426
+ DescribeDeliverySources
427
+ </summary>
428
+
429
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/describedeliverysourcescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describedeliverysourcescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/describedeliverysourcescommandoutput.html)
430
+
367
431
  </details>
368
432
  <details>
369
433
  <summary>
@@ -460,6 +524,38 @@ GetDataProtectionPolicy
460
524
 
461
525
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/getdataprotectionpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdataprotectionpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdataprotectionpolicycommandoutput.html)
462
526
 
527
+ </details>
528
+ <details>
529
+ <summary>
530
+ GetDelivery
531
+ </summary>
532
+
533
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/getdeliverycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverycommandoutput.html)
534
+
535
+ </details>
536
+ <details>
537
+ <summary>
538
+ GetDeliveryDestination
539
+ </summary>
540
+
541
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/getdeliverydestinationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverydestinationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverydestinationcommandoutput.html)
542
+
543
+ </details>
544
+ <details>
545
+ <summary>
546
+ GetDeliveryDestinationPolicy
547
+ </summary>
548
+
549
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/getdeliverydestinationpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverydestinationpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverydestinationpolicycommandoutput.html)
550
+
551
+ </details>
552
+ <details>
553
+ <summary>
554
+ GetDeliverySource
555
+ </summary>
556
+
557
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/getdeliverysourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverysourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/getdeliverysourcecommandoutput.html)
558
+
463
559
  </details>
464
560
  <details>
465
561
  <summary>
@@ -524,6 +620,30 @@ PutDataProtectionPolicy
524
620
 
525
621
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/putdataprotectionpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdataprotectionpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdataprotectionpolicycommandoutput.html)
526
622
 
623
+ </details>
624
+ <details>
625
+ <summary>
626
+ PutDeliveryDestination
627
+ </summary>
628
+
629
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/putdeliverydestinationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdeliverydestinationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdeliverydestinationcommandoutput.html)
630
+
631
+ </details>
632
+ <details>
633
+ <summary>
634
+ PutDeliveryDestinationPolicy
635
+ </summary>
636
+
637
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/putdeliverydestinationpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdeliverydestinationpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdeliverydestinationpolicycommandoutput.html)
638
+
639
+ </details>
640
+ <details>
641
+ <summary>
642
+ PutDeliverySource
643
+ </summary>
644
+
645
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/classes/putdeliverysourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdeliverysourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudwatch-logs/interfaces/putdeliverysourcecommandoutput.html)
646
+
527
647
  </details>
528
648
  <details>
529
649
  <summary>
@@ -5,11 +5,16 @@ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const CloudWatchLogsClient_1 = require("./CloudWatchLogsClient");
6
6
  const AssociateKmsKeyCommand_1 = require("./commands/AssociateKmsKeyCommand");
7
7
  const CancelExportTaskCommand_1 = require("./commands/CancelExportTaskCommand");
8
+ const CreateDeliveryCommand_1 = require("./commands/CreateDeliveryCommand");
8
9
  const CreateExportTaskCommand_1 = require("./commands/CreateExportTaskCommand");
9
10
  const CreateLogGroupCommand_1 = require("./commands/CreateLogGroupCommand");
10
11
  const CreateLogStreamCommand_1 = require("./commands/CreateLogStreamCommand");
11
12
  const DeleteAccountPolicyCommand_1 = require("./commands/DeleteAccountPolicyCommand");
12
13
  const DeleteDataProtectionPolicyCommand_1 = require("./commands/DeleteDataProtectionPolicyCommand");
14
+ const DeleteDeliveryCommand_1 = require("./commands/DeleteDeliveryCommand");
15
+ const DeleteDeliveryDestinationCommand_1 = require("./commands/DeleteDeliveryDestinationCommand");
16
+ const DeleteDeliveryDestinationPolicyCommand_1 = require("./commands/DeleteDeliveryDestinationPolicyCommand");
17
+ const DeleteDeliverySourceCommand_1 = require("./commands/DeleteDeliverySourceCommand");
13
18
  const DeleteDestinationCommand_1 = require("./commands/DeleteDestinationCommand");
14
19
  const DeleteLogGroupCommand_1 = require("./commands/DeleteLogGroupCommand");
15
20
  const DeleteLogStreamCommand_1 = require("./commands/DeleteLogStreamCommand");
@@ -19,6 +24,9 @@ const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCo
19
24
  const DeleteRetentionPolicyCommand_1 = require("./commands/DeleteRetentionPolicyCommand");
20
25
  const DeleteSubscriptionFilterCommand_1 = require("./commands/DeleteSubscriptionFilterCommand");
21
26
  const DescribeAccountPoliciesCommand_1 = require("./commands/DescribeAccountPoliciesCommand");
27
+ const DescribeDeliveriesCommand_1 = require("./commands/DescribeDeliveriesCommand");
28
+ const DescribeDeliveryDestinationsCommand_1 = require("./commands/DescribeDeliveryDestinationsCommand");
29
+ const DescribeDeliverySourcesCommand_1 = require("./commands/DescribeDeliverySourcesCommand");
22
30
  const DescribeDestinationsCommand_1 = require("./commands/DescribeDestinationsCommand");
23
31
  const DescribeExportTasksCommand_1 = require("./commands/DescribeExportTasksCommand");
24
32
  const DescribeLogGroupsCommand_1 = require("./commands/DescribeLogGroupsCommand");
@@ -31,6 +39,10 @@ const DescribeSubscriptionFiltersCommand_1 = require("./commands/DescribeSubscri
31
39
  const DisassociateKmsKeyCommand_1 = require("./commands/DisassociateKmsKeyCommand");
32
40
  const FilterLogEventsCommand_1 = require("./commands/FilterLogEventsCommand");
33
41
  const GetDataProtectionPolicyCommand_1 = require("./commands/GetDataProtectionPolicyCommand");
42
+ const GetDeliveryCommand_1 = require("./commands/GetDeliveryCommand");
43
+ const GetDeliveryDestinationCommand_1 = require("./commands/GetDeliveryDestinationCommand");
44
+ const GetDeliveryDestinationPolicyCommand_1 = require("./commands/GetDeliveryDestinationPolicyCommand");
45
+ const GetDeliverySourceCommand_1 = require("./commands/GetDeliverySourceCommand");
34
46
  const GetLogEventsCommand_1 = require("./commands/GetLogEventsCommand");
35
47
  const GetLogGroupFieldsCommand_1 = require("./commands/GetLogGroupFieldsCommand");
36
48
  const GetLogRecordCommand_1 = require("./commands/GetLogRecordCommand");
@@ -39,6 +51,9 @@ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceComm
39
51
  const ListTagsLogGroupCommand_1 = require("./commands/ListTagsLogGroupCommand");
40
52
  const PutAccountPolicyCommand_1 = require("./commands/PutAccountPolicyCommand");
41
53
  const PutDataProtectionPolicyCommand_1 = require("./commands/PutDataProtectionPolicyCommand");
54
+ const PutDeliveryDestinationCommand_1 = require("./commands/PutDeliveryDestinationCommand");
55
+ const PutDeliveryDestinationPolicyCommand_1 = require("./commands/PutDeliveryDestinationPolicyCommand");
56
+ const PutDeliverySourceCommand_1 = require("./commands/PutDeliverySourceCommand");
42
57
  const PutDestinationCommand_1 = require("./commands/PutDestinationCommand");
43
58
  const PutDestinationPolicyCommand_1 = require("./commands/PutDestinationPolicyCommand");
44
59
  const PutLogEventsCommand_1 = require("./commands/PutLogEventsCommand");
@@ -57,11 +72,16 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
57
72
  const commands = {
58
73
  AssociateKmsKeyCommand: AssociateKmsKeyCommand_1.AssociateKmsKeyCommand,
59
74
  CancelExportTaskCommand: CancelExportTaskCommand_1.CancelExportTaskCommand,
75
+ CreateDeliveryCommand: CreateDeliveryCommand_1.CreateDeliveryCommand,
60
76
  CreateExportTaskCommand: CreateExportTaskCommand_1.CreateExportTaskCommand,
61
77
  CreateLogGroupCommand: CreateLogGroupCommand_1.CreateLogGroupCommand,
62
78
  CreateLogStreamCommand: CreateLogStreamCommand_1.CreateLogStreamCommand,
63
79
  DeleteAccountPolicyCommand: DeleteAccountPolicyCommand_1.DeleteAccountPolicyCommand,
64
80
  DeleteDataProtectionPolicyCommand: DeleteDataProtectionPolicyCommand_1.DeleteDataProtectionPolicyCommand,
81
+ DeleteDeliveryCommand: DeleteDeliveryCommand_1.DeleteDeliveryCommand,
82
+ DeleteDeliveryDestinationCommand: DeleteDeliveryDestinationCommand_1.DeleteDeliveryDestinationCommand,
83
+ DeleteDeliveryDestinationPolicyCommand: DeleteDeliveryDestinationPolicyCommand_1.DeleteDeliveryDestinationPolicyCommand,
84
+ DeleteDeliverySourceCommand: DeleteDeliverySourceCommand_1.DeleteDeliverySourceCommand,
65
85
  DeleteDestinationCommand: DeleteDestinationCommand_1.DeleteDestinationCommand,
66
86
  DeleteLogGroupCommand: DeleteLogGroupCommand_1.DeleteLogGroupCommand,
67
87
  DeleteLogStreamCommand: DeleteLogStreamCommand_1.DeleteLogStreamCommand,
@@ -71,6 +91,9 @@ const commands = {
71
91
  DeleteRetentionPolicyCommand: DeleteRetentionPolicyCommand_1.DeleteRetentionPolicyCommand,
72
92
  DeleteSubscriptionFilterCommand: DeleteSubscriptionFilterCommand_1.DeleteSubscriptionFilterCommand,
73
93
  DescribeAccountPoliciesCommand: DescribeAccountPoliciesCommand_1.DescribeAccountPoliciesCommand,
94
+ DescribeDeliveriesCommand: DescribeDeliveriesCommand_1.DescribeDeliveriesCommand,
95
+ DescribeDeliveryDestinationsCommand: DescribeDeliveryDestinationsCommand_1.DescribeDeliveryDestinationsCommand,
96
+ DescribeDeliverySourcesCommand: DescribeDeliverySourcesCommand_1.DescribeDeliverySourcesCommand,
74
97
  DescribeDestinationsCommand: DescribeDestinationsCommand_1.DescribeDestinationsCommand,
75
98
  DescribeExportTasksCommand: DescribeExportTasksCommand_1.DescribeExportTasksCommand,
76
99
  DescribeLogGroupsCommand: DescribeLogGroupsCommand_1.DescribeLogGroupsCommand,
@@ -83,6 +106,10 @@ const commands = {
83
106
  DisassociateKmsKeyCommand: DisassociateKmsKeyCommand_1.DisassociateKmsKeyCommand,
84
107
  FilterLogEventsCommand: FilterLogEventsCommand_1.FilterLogEventsCommand,
85
108
  GetDataProtectionPolicyCommand: GetDataProtectionPolicyCommand_1.GetDataProtectionPolicyCommand,
109
+ GetDeliveryCommand: GetDeliveryCommand_1.GetDeliveryCommand,
110
+ GetDeliveryDestinationCommand: GetDeliveryDestinationCommand_1.GetDeliveryDestinationCommand,
111
+ GetDeliveryDestinationPolicyCommand: GetDeliveryDestinationPolicyCommand_1.GetDeliveryDestinationPolicyCommand,
112
+ GetDeliverySourceCommand: GetDeliverySourceCommand_1.GetDeliverySourceCommand,
86
113
  GetLogEventsCommand: GetLogEventsCommand_1.GetLogEventsCommand,
87
114
  GetLogGroupFieldsCommand: GetLogGroupFieldsCommand_1.GetLogGroupFieldsCommand,
88
115
  GetLogRecordCommand: GetLogRecordCommand_1.GetLogRecordCommand,
@@ -91,6 +118,9 @@ const commands = {
91
118
  ListTagsLogGroupCommand: ListTagsLogGroupCommand_1.ListTagsLogGroupCommand,
92
119
  PutAccountPolicyCommand: PutAccountPolicyCommand_1.PutAccountPolicyCommand,
93
120
  PutDataProtectionPolicyCommand: PutDataProtectionPolicyCommand_1.PutDataProtectionPolicyCommand,
121
+ PutDeliveryDestinationCommand: PutDeliveryDestinationCommand_1.PutDeliveryDestinationCommand,
122
+ PutDeliveryDestinationPolicyCommand: PutDeliveryDestinationPolicyCommand_1.PutDeliveryDestinationPolicyCommand,
123
+ PutDeliverySourceCommand: PutDeliverySourceCommand_1.PutDeliverySourceCommand,
94
124
  PutDestinationCommand: PutDestinationCommand_1.PutDestinationCommand,
95
125
  PutDestinationPolicyCommand: PutDestinationPolicyCommand_1.PutDestinationPolicyCommand,
96
126
  PutLogEventsCommand: PutLogEventsCommand_1.PutLogEventsCommand,
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateDeliveryCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class CreateDeliveryCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateDeliveryCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CloudWatchLogsClient";
29
+ const commandName = "CreateDeliveryCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "CreateDelivery",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_CreateDeliveryCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_CreateDeliveryCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreateDeliveryCommand = CreateDeliveryCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDeliveryCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class DeleteDeliveryCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteDeliveryCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CloudWatchLogsClient";
29
+ const commandName = "DeleteDeliveryCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteDelivery",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_DeleteDeliveryCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DeleteDeliveryCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteDeliveryCommand = DeleteDeliveryCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDeliveryDestinationCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class DeleteDeliveryDestinationCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteDeliveryDestinationCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CloudWatchLogsClient";
29
+ const commandName = "DeleteDeliveryDestinationCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteDeliveryDestination",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_DeleteDeliveryDestinationCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DeleteDeliveryDestinationCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteDeliveryDestinationCommand = DeleteDeliveryDestinationCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDeliveryDestinationPolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class DeleteDeliveryDestinationPolicyCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteDeliveryDestinationPolicyCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CloudWatchLogsClient";
29
+ const commandName = "DeleteDeliveryDestinationPolicyCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteDeliveryDestinationPolicy",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_DeleteDeliveryDestinationPolicyCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DeleteDeliveryDestinationPolicyCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteDeliveryDestinationPolicyCommand = DeleteDeliveryDestinationPolicyCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDeliverySourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class DeleteDeliverySourceCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteDeliverySourceCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CloudWatchLogsClient";
29
+ const commandName = "DeleteDeliverySourceCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteDeliverySource",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_DeleteDeliverySourceCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DeleteDeliverySourceCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteDeliverySourceCommand = DeleteDeliverySourceCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeDeliveriesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class DescribeDeliveriesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDeliveriesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CloudWatchLogsClient";
29
+ const commandName = "DescribeDeliveriesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeDeliveries",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_DescribeDeliveriesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DescribeDeliveriesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DescribeDeliveriesCommand = DescribeDeliveriesCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeDeliveryDestinationsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class DescribeDeliveryDestinationsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDeliveryDestinationsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "CloudWatchLogsClient";
29
+ const commandName = "DescribeDeliveryDestinationsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeDeliveryDestinations",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_DescribeDeliveryDestinationsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DescribeDeliveryDestinationsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DescribeDeliveryDestinationsCommand = DescribeDeliveryDestinationsCommand;