@aws-sdk/client-kinesis-analytics-v2 3.1166.0 → 3.1167.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 (83) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +416 -26
  3. package/dist-es/KinesisAnalyticsV2.js +20 -0
  4. package/dist-es/commands/CreateSnapshotCommand.js +4 -0
  5. package/dist-es/commands/DeleteSnapshotCommand.js +4 -0
  6. package/dist-es/commands/DescribeSnapshotCommand.js +4 -0
  7. package/dist-es/commands/DescribeSnapshotOperationCommand.js +4 -0
  8. package/dist-es/commands/ExportSnapshotCommand.js +4 -0
  9. package/dist-es/commands/ImportSnapshotCommand.js +4 -0
  10. package/dist-es/commands/ListSnapshotOperationsCommand.js +4 -0
  11. package/dist-es/commands/ListSnapshotsCommand.js +4 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/enums.js +32 -0
  14. package/dist-es/pagination/ListSnapshotOperationsPaginator.js +4 -0
  15. package/dist-es/pagination/ListSnapshotsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +288 -25
  18. package/dist-types/KinesisAnalyticsV2.d.ts +71 -0
  19. package/dist-types/KinesisAnalyticsV2Client.d.ts +10 -2
  20. package/dist-types/commands/AddApplicationCloudWatchLoggingOptionCommand.d.ts +3 -3
  21. package/dist-types/commands/AddApplicationInputCommand.d.ts +3 -3
  22. package/dist-types/commands/AddApplicationInputProcessingConfigurationCommand.d.ts +3 -3
  23. package/dist-types/commands/AddApplicationOutputCommand.d.ts +3 -3
  24. package/dist-types/commands/AddApplicationReferenceDataSourceCommand.d.ts +3 -3
  25. package/dist-types/commands/AddApplicationVpcConfigurationCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateApplicationCommand.d.ts +5 -2
  27. package/dist-types/commands/CreateApplicationPresignedUrlCommand.d.ts +2 -2
  28. package/dist-types/commands/CreateApplicationSnapshotCommand.d.ts +2 -2
  29. package/dist-types/commands/CreateSnapshotCommand.d.ts +109 -0
  30. package/dist-types/commands/DeleteApplicationCloudWatchLoggingOptionCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteApplicationInputProcessingConfigurationCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteApplicationOutputCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteApplicationReferenceDataSourceCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteApplicationSnapshotCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteApplicationVpcConfigurationCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteSnapshotCommand.d.ts +95 -0
  38. package/dist-types/commands/DescribeApplicationCommand.d.ts +3 -1
  39. package/dist-types/commands/DescribeApplicationOperationCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeApplicationSnapshotCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeApplicationVersionCommand.d.ts +3 -1
  42. package/dist-types/commands/DescribeSnapshotCommand.d.ts +107 -0
  43. package/dist-types/commands/DescribeSnapshotOperationCommand.d.ts +124 -0
  44. package/dist-types/commands/ExportSnapshotCommand.d.ts +108 -0
  45. package/dist-types/commands/ImportSnapshotCommand.d.ts +122 -0
  46. package/dist-types/commands/ListApplicationOperationsCommand.d.ts +1 -1
  47. package/dist-types/commands/ListApplicationVersionsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListSnapshotOperationsCommand.d.ts +96 -0
  49. package/dist-types/commands/ListSnapshotsCommand.d.ts +97 -0
  50. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  51. package/dist-types/commands/RollbackApplicationCommand.d.ts +5 -3
  52. package/dist-types/commands/StartApplicationCommand.d.ts +7 -2
  53. package/dist-types/commands/StopApplicationCommand.d.ts +3 -3
  54. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  55. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  56. package/dist-types/commands/UpdateApplicationCommand.d.ts +11 -3
  57. package/dist-types/commands/UpdateApplicationMaintenanceConfigurationCommand.d.ts +3 -3
  58. package/dist-types/commands/index.d.ts +8 -0
  59. package/dist-types/models/enums.d.ts +88 -0
  60. package/dist-types/models/errors.d.ts +3 -3
  61. package/dist-types/models/models_0.d.ts +874 -105
  62. package/dist-types/pagination/ListSnapshotOperationsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/ListSnapshotsPaginator.d.ts +7 -0
  64. package/dist-types/pagination/index.d.ts +2 -0
  65. package/dist-types/schemas/schemas_0.d.ts +40 -0
  66. package/dist-types/ts3.4/KinesisAnalyticsV2.d.ts +151 -0
  67. package/dist-types/ts3.4/KinesisAnalyticsV2Client.d.ts +48 -0
  68. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +38 -0
  70. package/dist-types/ts3.4/commands/DescribeSnapshotCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/DescribeSnapshotOperationCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/ExportSnapshotCommand.d.ts +38 -0
  73. package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +38 -0
  74. package/dist-types/ts3.4/commands/ListSnapshotOperationsCommand.d.ts +39 -0
  75. package/dist-types/ts3.4/commands/ListSnapshotsCommand.d.ts +38 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  77. package/dist-types/ts3.4/models/enums.d.ts +41 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +189 -0
  79. package/dist-types/ts3.4/pagination/ListSnapshotOperationsPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/ListSnapshotsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +40 -0
  83. package/package.json +2 -2
@@ -8,6 +8,7 @@ import { AddApplicationVpcConfigurationCommand, } from "./commands/AddApplicatio
8
8
  import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
9
9
  import { CreateApplicationPresignedUrlCommand, } from "./commands/CreateApplicationPresignedUrlCommand";
10
10
  import { CreateApplicationSnapshotCommand, } from "./commands/CreateApplicationSnapshotCommand";
11
+ import { CreateSnapshotCommand, } from "./commands/CreateSnapshotCommand";
11
12
  import { DeleteApplicationCloudWatchLoggingOptionCommand, } from "./commands/DeleteApplicationCloudWatchLoggingOptionCommand";
12
13
  import { DeleteApplicationCommand, } from "./commands/DeleteApplicationCommand";
13
14
  import { DeleteApplicationInputProcessingConfigurationCommand, } from "./commands/DeleteApplicationInputProcessingConfigurationCommand";
@@ -15,15 +16,22 @@ import { DeleteApplicationOutputCommand, } from "./commands/DeleteApplicationOut
15
16
  import { DeleteApplicationReferenceDataSourceCommand, } from "./commands/DeleteApplicationReferenceDataSourceCommand";
16
17
  import { DeleteApplicationSnapshotCommand, } from "./commands/DeleteApplicationSnapshotCommand";
17
18
  import { DeleteApplicationVpcConfigurationCommand, } from "./commands/DeleteApplicationVpcConfigurationCommand";
19
+ import { DeleteSnapshotCommand, } from "./commands/DeleteSnapshotCommand";
18
20
  import { DescribeApplicationCommand, } from "./commands/DescribeApplicationCommand";
19
21
  import { DescribeApplicationOperationCommand, } from "./commands/DescribeApplicationOperationCommand";
20
22
  import { DescribeApplicationSnapshotCommand, } from "./commands/DescribeApplicationSnapshotCommand";
21
23
  import { DescribeApplicationVersionCommand, } from "./commands/DescribeApplicationVersionCommand";
24
+ import { DescribeSnapshotCommand, } from "./commands/DescribeSnapshotCommand";
25
+ import { DescribeSnapshotOperationCommand, } from "./commands/DescribeSnapshotOperationCommand";
22
26
  import { DiscoverInputSchemaCommand, } from "./commands/DiscoverInputSchemaCommand";
27
+ import { ExportSnapshotCommand, } from "./commands/ExportSnapshotCommand";
28
+ import { ImportSnapshotCommand, } from "./commands/ImportSnapshotCommand";
23
29
  import { ListApplicationOperationsCommand, } from "./commands/ListApplicationOperationsCommand";
24
30
  import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
25
31
  import { ListApplicationSnapshotsCommand, } from "./commands/ListApplicationSnapshotsCommand";
26
32
  import { ListApplicationVersionsCommand, } from "./commands/ListApplicationVersionsCommand";
33
+ import { ListSnapshotOperationsCommand, } from "./commands/ListSnapshotOperationsCommand";
34
+ import { ListSnapshotsCommand, } from "./commands/ListSnapshotsCommand";
27
35
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
28
36
  import { RollbackApplicationCommand, } from "./commands/RollbackApplicationCommand";
29
37
  import { StartApplicationCommand, } from "./commands/StartApplicationCommand";
@@ -37,6 +45,8 @@ import { paginateListApplicationOperations } from "./pagination/ListApplicationO
37
45
  import { paginateListApplicationSnapshots } from "./pagination/ListApplicationSnapshotsPaginator";
38
46
  import { paginateListApplications } from "./pagination/ListApplicationsPaginator";
39
47
  import { paginateListApplicationVersions } from "./pagination/ListApplicationVersionsPaginator";
48
+ import { paginateListSnapshotOperations } from "./pagination/ListSnapshotOperationsPaginator";
49
+ import { paginateListSnapshots } from "./pagination/ListSnapshotsPaginator";
40
50
  const commands = {
41
51
  AddApplicationCloudWatchLoggingOptionCommand,
42
52
  AddApplicationInputCommand,
@@ -47,6 +57,7 @@ const commands = {
47
57
  CreateApplicationCommand,
48
58
  CreateApplicationPresignedUrlCommand,
49
59
  CreateApplicationSnapshotCommand,
60
+ CreateSnapshotCommand,
50
61
  DeleteApplicationCommand,
51
62
  DeleteApplicationCloudWatchLoggingOptionCommand,
52
63
  DeleteApplicationInputProcessingConfigurationCommand,
@@ -54,15 +65,22 @@ const commands = {
54
65
  DeleteApplicationReferenceDataSourceCommand,
55
66
  DeleteApplicationSnapshotCommand,
56
67
  DeleteApplicationVpcConfigurationCommand,
68
+ DeleteSnapshotCommand,
57
69
  DescribeApplicationCommand,
58
70
  DescribeApplicationOperationCommand,
59
71
  DescribeApplicationSnapshotCommand,
60
72
  DescribeApplicationVersionCommand,
73
+ DescribeSnapshotCommand,
74
+ DescribeSnapshotOperationCommand,
61
75
  DiscoverInputSchemaCommand,
76
+ ExportSnapshotCommand,
77
+ ImportSnapshotCommand,
62
78
  ListApplicationOperationsCommand,
63
79
  ListApplicationsCommand,
64
80
  ListApplicationSnapshotsCommand,
65
81
  ListApplicationVersionsCommand,
82
+ ListSnapshotOperationsCommand,
83
+ ListSnapshotsCommand,
66
84
  ListTagsForResourceCommand,
67
85
  RollbackApplicationCommand,
68
86
  StartApplicationCommand,
@@ -77,6 +95,8 @@ const paginators = {
77
95
  paginateListApplications,
78
96
  paginateListApplicationSnapshots,
79
97
  paginateListApplicationVersions,
98
+ paginateListSnapshotOperations,
99
+ paginateListSnapshots,
80
100
  };
81
101
  export class KinesisAnalyticsV2 extends KinesisAnalyticsV2Client {
82
102
  }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateSnapshot$ } from "../schemas/schemas_0";
3
+ export class CreateSnapshotCommand extends command(_ep0, _mw0, "CreateSnapshot", CreateSnapshot$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteSnapshot$ } from "../schemas/schemas_0";
3
+ export class DeleteSnapshotCommand extends command(_ep0, _mw0, "DeleteSnapshot", DeleteSnapshot$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DescribeSnapshot$ } from "../schemas/schemas_0";
3
+ export class DescribeSnapshotCommand extends command(_ep0, _mw0, "DescribeSnapshot", DescribeSnapshot$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DescribeSnapshotOperation$ } from "../schemas/schemas_0";
3
+ export class DescribeSnapshotOperationCommand extends command(_ep0, _mw0, "DescribeSnapshotOperation", DescribeSnapshotOperation$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ExportSnapshot$ } from "../schemas/schemas_0";
3
+ export class ExportSnapshotCommand extends command(_ep0, _mw0, "ExportSnapshot", ExportSnapshot$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ImportSnapshot$ } from "../schemas/schemas_0";
3
+ export class ImportSnapshotCommand extends command(_ep0, _mw0, "ImportSnapshot", ImportSnapshot$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListSnapshotOperations$ } from "../schemas/schemas_0";
3
+ export class ListSnapshotOperationsCommand extends command(_ep0, _mw0, "ListSnapshotOperations", ListSnapshotOperations$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListSnapshots$ } from "../schemas/schemas_0";
3
+ export class ListSnapshotsCommand extends command(_ep0, _mw0, "ListSnapshots", ListSnapshots$) {
4
+ }
@@ -7,6 +7,7 @@ export * from "./AddApplicationVpcConfigurationCommand";
7
7
  export * from "./CreateApplicationCommand";
8
8
  export * from "./CreateApplicationPresignedUrlCommand";
9
9
  export * from "./CreateApplicationSnapshotCommand";
10
+ export * from "./CreateSnapshotCommand";
10
11
  export * from "./DeleteApplicationCloudWatchLoggingOptionCommand";
11
12
  export * from "./DeleteApplicationCommand";
12
13
  export * from "./DeleteApplicationInputProcessingConfigurationCommand";
@@ -14,15 +15,22 @@ export * from "./DeleteApplicationOutputCommand";
14
15
  export * from "./DeleteApplicationReferenceDataSourceCommand";
15
16
  export * from "./DeleteApplicationSnapshotCommand";
16
17
  export * from "./DeleteApplicationVpcConfigurationCommand";
18
+ export * from "./DeleteSnapshotCommand";
17
19
  export * from "./DescribeApplicationCommand";
18
20
  export * from "./DescribeApplicationOperationCommand";
19
21
  export * from "./DescribeApplicationSnapshotCommand";
20
22
  export * from "./DescribeApplicationVersionCommand";
23
+ export * from "./DescribeSnapshotCommand";
24
+ export * from "./DescribeSnapshotOperationCommand";
21
25
  export * from "./DiscoverInputSchemaCommand";
26
+ export * from "./ExportSnapshotCommand";
27
+ export * from "./ImportSnapshotCommand";
22
28
  export * from "./ListApplicationOperationsCommand";
23
29
  export * from "./ListApplicationSnapshotsCommand";
24
30
  export * from "./ListApplicationVersionsCommand";
25
31
  export * from "./ListApplicationsCommand";
32
+ export * from "./ListSnapshotOperationsCommand";
33
+ export * from "./ListSnapshotsCommand";
26
34
  export * from "./ListTagsForResourceCommand";
27
35
  export * from "./RollbackApplicationCommand";
28
36
  export * from "./StartApplicationCommand";
@@ -15,6 +15,10 @@ export const KeyType = {
15
15
  AWS_OWNED_KEY: "AWS_OWNED_KEY",
16
16
  CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
17
17
  };
18
+ export const SnapshotMode = {
19
+ APPLICATION_SNAPSHOTS_LEGACY: "APPLICATION_SNAPSHOTS_LEGACY",
20
+ ENHANCED_SNAPSHOTS: "ENHANCED_SNAPSHOTS",
21
+ };
18
22
  export const ConfigurationType = {
19
23
  CUSTOM: "CUSTOM",
20
24
  DEFAULT: "DEFAULT",
@@ -83,9 +87,37 @@ export const UrlType = {
83
87
  FLINK_DASHBOARD_URL: "FLINK_DASHBOARD_URL",
84
88
  ZEPPELIN_UI_URL: "ZEPPELIN_UI_URL",
85
89
  };
90
+ export const SnapshotOperationStatus = {
91
+ CANCELLED: "CANCELLED",
92
+ FAILED: "FAILED",
93
+ IN_PROGRESS: "IN_PROGRESS",
94
+ SUCCESSFUL: "SUCCESSFUL",
95
+ };
86
96
  export const SnapshotStatus = {
87
97
  CREATING: "CREATING",
88
98
  DELETING: "DELETING",
89
99
  FAILED: "FAILED",
90
100
  READY: "READY",
91
101
  };
102
+ export const SnapshotFormat = {
103
+ CANONICAL: "CANONICAL",
104
+ };
105
+ export const SnapshotInitiator = {
106
+ SYSTEM: "SYSTEM",
107
+ USER: "USER",
108
+ };
109
+ export const SnapshotInitiatorOperation = {
110
+ CreateSnapshot: "CreateSnapshot",
111
+ ImportSnapshot: "ImportSnapshot",
112
+ SystemCreateSnapshot: "SystemCreateSnapshot",
113
+ };
114
+ export const StorageLocationType = {
115
+ S3: "S3",
116
+ };
117
+ export const SnapshotOperation = {
118
+ CreateSnapshot: "CreateSnapshot",
119
+ DeleteSnapshot: "DeleteSnapshot",
120
+ ExportSnapshot: "ExportSnapshot",
121
+ ImportSnapshot: "ImportSnapshot",
122
+ SystemCreateSnapshot: "SystemCreateSnapshot",
123
+ };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListSnapshotOperationsCommand, } from "../commands/ListSnapshotOperationsCommand";
3
+ import { KinesisAnalyticsV2Client } from "../KinesisAnalyticsV2Client";
4
+ export const paginateListSnapshotOperations = createPaginator(KinesisAnalyticsV2Client, ListSnapshotOperationsCommand, "NextToken", "NextToken", "Limit");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListSnapshotsCommand, } from "../commands/ListSnapshotsCommand";
3
+ import { KinesisAnalyticsV2Client } from "../KinesisAnalyticsV2Client";
4
+ export const paginateListSnapshots = createPaginator(KinesisAnalyticsV2Client, ListSnapshotsCommand, "NextToken", "NextToken", "Limit");
@@ -3,3 +3,5 @@ export * from "./ListApplicationOperationsPaginator";
3
3
  export * from "./ListApplicationsPaginator";
4
4
  export * from "./ListApplicationSnapshotsPaginator";
5
5
  export * from "./ListApplicationVersionsPaginator";
6
+ export * from "./ListSnapshotOperationsPaginator";
7
+ export * from "./ListSnapshotsPaginator";