@aws-sdk/client-kinesis-analytics-v2 3.1166.0 → 3.1168.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
@@ -0,0 +1,122 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ImportSnapshotRequest, ImportSnapshotResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ImportSnapshotCommand}.
11
+ */
12
+ export interface ImportSnapshotCommandInput extends ImportSnapshotRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ImportSnapshotCommand}.
18
+ */
19
+ export interface ImportSnapshotCommandOutput extends ImportSnapshotResponse, __MetadataBearer {
20
+ }
21
+ declare const ImportSnapshotCommand_base: {
22
+ new (input: ImportSnapshotCommandInput): import("@smithy/core/client").CommandImpl<ImportSnapshotCommandInput, ImportSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ImportSnapshotCommandInput): import("@smithy/core/client").CommandImpl<ImportSnapshotCommandInput, ImportSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Imports an Apache Flink savepoint from an Amazon S3 location as an enhanced snapshot. Managed Service for Apache Flink assumes the IAM role that you specify in <code>ImportSourceConfiguration</code> to read the savepoint data.</p>
28
+ * <p>This operation is asynchronous. The response returns the snapshot ARN with the <code>CREATING</code> status. To track the progress of the import, use <code>DescribeSnapshotOperation</code>.</p>
29
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/managed-flink/latest/java/snapshots-import-export.html">Import and export</a>.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { KinesisAnalyticsV2Client, ImportSnapshotCommand } from "@aws-sdk/client-kinesis-analytics-v2"; // ES Modules import
34
+ * // const { KinesisAnalyticsV2Client, ImportSnapshotCommand } = require("@aws-sdk/client-kinesis-analytics-v2"); // CommonJS import
35
+ * // import type { KinesisAnalyticsV2ClientConfig } from "@aws-sdk/client-kinesis-analytics-v2";
36
+ * const config = {}; // type is KinesisAnalyticsV2ClientConfig
37
+ * const client = new KinesisAnalyticsV2Client(config);
38
+ * const input = { // ImportSnapshotRequest
39
+ * SnapshotName: "STRING_VALUE", // required
40
+ * ImportSourceConfiguration: { // ImportSourceConfiguration
41
+ * SourceType: "S3", // required
42
+ * ImportRoleArn: "STRING_VALUE", // required
43
+ * SourceEncryptionConfiguration: { // SnapshotEncryptionConfiguration
44
+ * KeyId: "STRING_VALUE",
45
+ * KeyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
46
+ * },
47
+ * SourceS3PrefixLocation: { // S3PrefixLocation
48
+ * BucketARN: "STRING_VALUE", // required
49
+ * KeyPrefix: "STRING_VALUE", // required
50
+ * },
51
+ * },
52
+ * DestinationEncryptionConfiguration: {
53
+ * KeyId: "STRING_VALUE",
54
+ * KeyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
55
+ * },
56
+ * SnapshotDescription: "STRING_VALUE",
57
+ * SnapshotFormat: "CANONICAL",
58
+ * Tags: [ // Tags
59
+ * { // Tag
60
+ * Key: "STRING_VALUE", // required
61
+ * Value: "STRING_VALUE",
62
+ * },
63
+ * ],
64
+ * };
65
+ * const command = new ImportSnapshotCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // ImportSnapshotResponse
68
+ * // SnapshotArn: "STRING_VALUE", // required
69
+ * // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required
70
+ * // SnapshotOperationId: "STRING_VALUE", // required
71
+ * // SnapshotOperationStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "CANCELLED", // required
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ImportSnapshotCommandInput - {@link ImportSnapshotCommandInput}
77
+ * @returns {@link ImportSnapshotCommandOutput}
78
+ * @see {@link ImportSnapshotCommandInput} for command's `input` shape.
79
+ * @see {@link ImportSnapshotCommandOutput} for command's `response` shape.
80
+ * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
81
+ *
82
+ * @throws {@link ConcurrentModificationException} (client fault)
83
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
84
+ * be the result of attempting to modify an application without using the current application
85
+ * ID.</p>
86
+ *
87
+ * @throws {@link InvalidArgumentException} (client fault)
88
+ * <p>The specified input parameter value is not valid.</p>
89
+ *
90
+ * @throws {@link LimitExceededException} (client fault)
91
+ * <p>The number of allowed resources has been exceeded.</p>
92
+ *
93
+ * @throws {@link ResourceInUseException} (client fault)
94
+ * <p>The application or snapshot is not available for this operation.</p>
95
+ *
96
+ * @throws {@link TooManyTagsException} (client fault)
97
+ * <p>Application created with too many tags, or too many tags added to an application. Note that the maximum
98
+ * number of application tags includes system tags. The maximum number of user-defined application tags is 50.</p>
99
+ *
100
+ * @throws {@link UnsupportedOperationException} (client fault)
101
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
102
+ * operation. </p>
103
+ *
104
+ * @throws {@link KinesisAnalyticsV2ServiceException}
105
+ * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
106
+ *
107
+ *
108
+ * @public
109
+ */
110
+ export declare class ImportSnapshotCommand extends ImportSnapshotCommand_base {
111
+ /** @internal type navigation helper, not in runtime. */
112
+ protected static __types: {
113
+ api: {
114
+ input: ImportSnapshotRequest;
115
+ output: ImportSnapshotResponse;
116
+ };
117
+ sdk: {
118
+ input: ImportSnapshotCommandInput;
119
+ output: ImportSnapshotCommandOutput;
120
+ };
121
+ };
122
+ }
@@ -72,7 +72,7 @@ declare const ListApplicationOperationsCommand_base: {
72
72
  * <p>The specified input parameter value is not valid.</p>
73
73
  *
74
74
  * @throws {@link ResourceNotFoundException} (client fault)
75
- * <p>Specified application can't be found.</p>
75
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
76
76
  *
77
77
  * @throws {@link UnsupportedOperationException} (client fault)
78
78
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -67,7 +67,7 @@ declare const ListApplicationVersionsCommand_base: {
67
67
  * <p>The specified input parameter value is not valid.</p>
68
68
  *
69
69
  * @throws {@link ResourceNotFoundException} (client fault)
70
- * <p>Specified application can't be found.</p>
70
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
71
71
  *
72
72
  * @throws {@link UnsupportedOperationException} (client fault)
73
73
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -0,0 +1,96 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListSnapshotOperationsRequest, ListSnapshotOperationsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListSnapshotOperationsCommand}.
11
+ */
12
+ export interface ListSnapshotOperationsCommandInput extends ListSnapshotOperationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListSnapshotOperationsCommand}.
18
+ */
19
+ export interface ListSnapshotOperationsCommandOutput extends ListSnapshotOperationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListSnapshotOperationsCommand_base: {
22
+ new (input: ListSnapshotOperationsCommandInput): import("@smithy/core/client").CommandImpl<ListSnapshotOperationsCommandInput, ListSnapshotOperationsCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListSnapshotOperationsCommandInput): import("@smithy/core/client").CommandImpl<ListSnapshotOperationsCommandInput, ListSnapshotOperationsCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the operations that were performed on the specified enhanced snapshot, such as <code>CreateSnapshot</code>, <code>ImportSnapshot</code>, and <code>ExportSnapshot</code>. The response includes a summary of each operation.</p>
28
+ * <p>You can specify only one of the <code>SnapshotOperation</code> or <code>SnapshotOperationStatus</code> filters in a request. If you specify both, <code>InvalidArgumentException</code> is returned.</p>
29
+ * <p>To get the complete description of a specific operation, use <code>DescribeSnapshotOperation</code>. Snapshot operations are available for 90 days after they are created.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { KinesisAnalyticsV2Client, ListSnapshotOperationsCommand } from "@aws-sdk/client-kinesis-analytics-v2"; // ES Modules import
34
+ * // const { KinesisAnalyticsV2Client, ListSnapshotOperationsCommand } = require("@aws-sdk/client-kinesis-analytics-v2"); // CommonJS import
35
+ * // import type { KinesisAnalyticsV2ClientConfig } from "@aws-sdk/client-kinesis-analytics-v2";
36
+ * const config = {}; // type is KinesisAnalyticsV2ClientConfig
37
+ * const client = new KinesisAnalyticsV2Client(config);
38
+ * const input = { // ListSnapshotOperationsRequest
39
+ * SnapshotName: "STRING_VALUE", // required
40
+ * SnapshotOperation: "CreateSnapshot" || "DeleteSnapshot" || "ImportSnapshot" || "ExportSnapshot" || "SystemCreateSnapshot",
41
+ * SnapshotOperationStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "CANCELLED",
42
+ * Limit: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListSnapshotOperationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListSnapshotOperationsResponse
48
+ * // SnapshotOperationInfoList: [ // SnapshotOperationInfoList // required
49
+ * // { // SnapshotOperationInfo
50
+ * // SnapshotOperationId: "STRING_VALUE", // required
51
+ * // SnapshotOperation: "CreateSnapshot" || "DeleteSnapshot" || "ImportSnapshot" || "ExportSnapshot" || "SystemCreateSnapshot", // required
52
+ * // SnapshotOperationStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "CANCELLED", // required
53
+ * // StartTime: new Date("TIMESTAMP"),
54
+ * // EndTime: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListSnapshotOperationsCommandInput - {@link ListSnapshotOperationsCommandInput}
63
+ * @returns {@link ListSnapshotOperationsCommandOutput}
64
+ * @see {@link ListSnapshotOperationsCommandInput} for command's `input` shape.
65
+ * @see {@link ListSnapshotOperationsCommandOutput} for command's `response` shape.
66
+ * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
67
+ *
68
+ * @throws {@link InvalidArgumentException} (client fault)
69
+ * <p>The specified input parameter value is not valid.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
73
+ *
74
+ * @throws {@link UnsupportedOperationException} (client fault)
75
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
76
+ * operation. </p>
77
+ *
78
+ * @throws {@link KinesisAnalyticsV2ServiceException}
79
+ * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListSnapshotOperationsCommand extends ListSnapshotOperationsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListSnapshotOperationsRequest;
89
+ output: ListSnapshotOperationsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListSnapshotOperationsCommandInput;
93
+ output: ListSnapshotOperationsCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListSnapshotsRequest, ListSnapshotsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListSnapshotsCommand}.
11
+ */
12
+ export interface ListSnapshotsCommandInput extends ListSnapshotsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListSnapshotsCommand}.
18
+ */
19
+ export interface ListSnapshotsCommandOutput extends ListSnapshotsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListSnapshotsCommand_base: {
22
+ new (input: ListSnapshotsCommandInput): import("@smithy/core/client").CommandImpl<ListSnapshotsCommandInput, ListSnapshotsCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListSnapshotsCommandInput]): import("@smithy/core/client").CommandImpl<ListSnapshotsCommandInput, ListSnapshotsCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the enhanced snapshots in your account. Snapshots are not scoped to an application. To list the snapshots that were created from a specific application, use the <code>SourceApplicationName</code> parameter.</p>
28
+ * <p>You can specify only one of the following filters in a request: <code>SourceApplicationName</code>, <code>SnapshotInitiator</code>, <code>SnapshotInitiatorOperation</code>, or <code>SnapshotStatus</code>. If you specify more than one filter, <code>InvalidArgumentException</code> is returned.</p>
29
+ * <p>The results are sorted in descending order of snapshot creation timestamp. To get detailed information about a specific snapshot, use <code>DescribeSnapshot</code>.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { KinesisAnalyticsV2Client, ListSnapshotsCommand } from "@aws-sdk/client-kinesis-analytics-v2"; // ES Modules import
34
+ * // const { KinesisAnalyticsV2Client, ListSnapshotsCommand } = require("@aws-sdk/client-kinesis-analytics-v2"); // CommonJS import
35
+ * // import type { KinesisAnalyticsV2ClientConfig } from "@aws-sdk/client-kinesis-analytics-v2";
36
+ * const config = {}; // type is KinesisAnalyticsV2ClientConfig
37
+ * const client = new KinesisAnalyticsV2Client(config);
38
+ * const input = { // ListSnapshotsRequest
39
+ * SourceApplicationName: "STRING_VALUE",
40
+ * SnapshotInitiator: "USER" || "SYSTEM",
41
+ * SnapshotInitiatorOperation: "CreateSnapshot" || "ImportSnapshot" || "SystemCreateSnapshot",
42
+ * SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED",
43
+ * Limit: Number("int"),
44
+ * NextToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListSnapshotsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListSnapshotsResponse
49
+ * // SnapshotInfoList: [ // SnapshotInfoList // required
50
+ * // { // SnapshotInfo
51
+ * // SnapshotName: "STRING_VALUE", // required
52
+ * // SnapshotArn: "STRING_VALUE", // required
53
+ * // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required
54
+ * // SnapshotCreationTimestamp: new Date("TIMESTAMP"), // required
55
+ * // SnapshotInitiator: "USER" || "SYSTEM", // required
56
+ * // SnapshotInitiatorOperation: "CreateSnapshot" || "ImportSnapshot" || "SystemCreateSnapshot", // required
57
+ * // SourceApplicationName: "STRING_VALUE",
58
+ * // SnapshotFormat: "CANONICAL", // required
59
+ * // },
60
+ * // ],
61
+ * // NextToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListSnapshotsCommandInput - {@link ListSnapshotsCommandInput}
67
+ * @returns {@link ListSnapshotsCommandOutput}
68
+ * @see {@link ListSnapshotsCommandInput} for command's `input` shape.
69
+ * @see {@link ListSnapshotsCommandOutput} for command's `response` shape.
70
+ * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
71
+ *
72
+ * @throws {@link InvalidArgumentException} (client fault)
73
+ * <p>The specified input parameter value is not valid.</p>
74
+ *
75
+ * @throws {@link UnsupportedOperationException} (client fault)
76
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
77
+ * operation. </p>
78
+ *
79
+ * @throws {@link KinesisAnalyticsV2ServiceException}
80
+ * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListSnapshotsCommand extends ListSnapshotsCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListSnapshotsRequest;
90
+ output: ListSnapshotsResponse;
91
+ };
92
+ sdk: {
93
+ input: ListSnapshotsCommandInput;
94
+ output: ListSnapshotsCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -57,7 +57,7 @@ declare const ListTagsForResourceCommand_base: {
57
57
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
58
58
  *
59
59
  * @throws {@link ConcurrentModificationException} (client fault)
60
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
60
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
61
61
  * be the result of attempting to modify an application without using the current application
62
62
  * ID.</p>
63
63
  *
@@ -65,7 +65,7 @@ declare const ListTagsForResourceCommand_base: {
65
65
  * <p>The specified input parameter value is not valid.</p>
66
66
  *
67
67
  * @throws {@link ResourceNotFoundException} (client fault)
68
- * <p>Specified application can't be found.</p>
68
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
69
69
  *
70
70
  * @throws {@link KinesisAnalyticsV2ServiceException}
71
71
  * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
@@ -180,6 +180,7 @@ declare const RollbackApplicationCommand_base: {
180
180
  * // ApplicationRestoreConfigurationDescription: { // ApplicationRestoreConfiguration
181
181
  * // ApplicationRestoreType: "SKIP_RESTORE_FROM_SNAPSHOT" || "RESTORE_FROM_LATEST_SNAPSHOT" || "RESTORE_FROM_CUSTOM_SNAPSHOT", // required
182
182
  * // SnapshotName: "STRING_VALUE",
183
+ * // SnapshotArn: "STRING_VALUE",
183
184
  * // },
184
185
  * // FlinkRunConfigurationDescription: { // FlinkRunConfiguration
185
186
  * // AllowNonRestoredState: true || false,
@@ -218,6 +219,7 @@ declare const RollbackApplicationCommand_base: {
218
219
  * // },
219
220
  * // ApplicationSnapshotConfigurationDescription: { // ApplicationSnapshotConfigurationDescription
220
221
  * // SnapshotsEnabled: true || false, // required
222
+ * // SnapshotMode: "APPLICATION_SNAPSHOTS_LEGACY" || "ENHANCED_SNAPSHOTS",
221
223
  * // },
222
224
  * // ApplicationSystemRollbackConfigurationDescription: { // ApplicationSystemRollbackConfigurationDescription
223
225
  * // RollbackEnabled: true || false, // required
@@ -300,7 +302,7 @@ declare const RollbackApplicationCommand_base: {
300
302
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
301
303
  *
302
304
  * @throws {@link ConcurrentModificationException} (client fault)
303
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
305
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
304
306
  * be the result of attempting to modify an application without using the current application
305
307
  * ID.</p>
306
308
  *
@@ -311,10 +313,10 @@ declare const RollbackApplicationCommand_base: {
311
313
  * <p>The request JSON is not valid for the operation.</p>
312
314
  *
313
315
  * @throws {@link ResourceInUseException} (client fault)
314
- * <p>The application is not available for this operation.</p>
316
+ * <p>The application or snapshot is not available for this operation.</p>
315
317
  *
316
318
  * @throws {@link ResourceNotFoundException} (client fault)
317
- * <p>Specified application can't be found.</p>
319
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
318
320
  *
319
321
  * @throws {@link UnsupportedOperationException} (client fault)
320
322
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -51,6 +51,7 @@ declare const StartApplicationCommand_base: {
51
51
  * ApplicationRestoreConfiguration: { // ApplicationRestoreConfiguration
52
52
  * ApplicationRestoreType: "SKIP_RESTORE_FROM_SNAPSHOT" || "RESTORE_FROM_LATEST_SNAPSHOT" || "RESTORE_FROM_CUSTOM_SNAPSHOT", // required
53
53
  * SnapshotName: "STRING_VALUE",
54
+ * SnapshotArn: "STRING_VALUE",
54
55
  * },
55
56
  * },
56
57
  * };
@@ -78,10 +79,14 @@ declare const StartApplicationCommand_base: {
78
79
  * <p>The request JSON is not valid for the operation.</p>
79
80
  *
80
81
  * @throws {@link ResourceInUseException} (client fault)
81
- * <p>The application is not available for this operation.</p>
82
+ * <p>The application or snapshot is not available for this operation.</p>
82
83
  *
83
84
  * @throws {@link ResourceNotFoundException} (client fault)
84
- * <p>Specified application can't be found.</p>
85
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
86
+ *
87
+ * @throws {@link UnsupportedOperationException} (client fault)
88
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
89
+ * operation. </p>
85
90
  *
86
91
  * @throws {@link KinesisAnalyticsV2ServiceException}
87
92
  * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
@@ -58,7 +58,7 @@ declare const StopApplicationCommand_base: {
58
58
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
59
59
  *
60
60
  * @throws {@link ConcurrentModificationException} (client fault)
61
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
61
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
62
62
  * be the result of attempting to modify an application without using the current application
63
63
  * ID.</p>
64
64
  *
@@ -72,10 +72,10 @@ declare const StopApplicationCommand_base: {
72
72
  * <p>The request JSON is not valid for the operation.</p>
73
73
  *
74
74
  * @throws {@link ResourceInUseException} (client fault)
75
- * <p>The application is not available for this operation.</p>
75
+ * <p>The application or snapshot is not available for this operation.</p>
76
76
  *
77
77
  * @throws {@link ResourceNotFoundException} (client fault)
78
- * <p>Specified application can't be found.</p>
78
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
79
79
  *
80
80
  * @throws {@link KinesisAnalyticsV2ServiceException}
81
81
  * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
@@ -57,7 +57,7 @@ declare const TagResourceCommand_base: {
57
57
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
58
58
  *
59
59
  * @throws {@link ConcurrentModificationException} (client fault)
60
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
60
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
61
61
  * be the result of attempting to modify an application without using the current application
62
62
  * ID.</p>
63
63
  *
@@ -65,10 +65,10 @@ declare const TagResourceCommand_base: {
65
65
  * <p>The specified input parameter value is not valid.</p>
66
66
  *
67
67
  * @throws {@link ResourceInUseException} (client fault)
68
- * <p>The application is not available for this operation.</p>
68
+ * <p>The application or snapshot is not available for this operation.</p>
69
69
  *
70
70
  * @throws {@link ResourceNotFoundException} (client fault)
71
- * <p>Specified application can't be found.</p>
71
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
72
72
  *
73
73
  * @throws {@link TooManyTagsException} (client fault)
74
74
  * <p>Application created with too many tags, or too many tags added to an application. Note that the maximum
@@ -53,7 +53,7 @@ declare const UntagResourceCommand_base: {
53
53
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
54
54
  *
55
55
  * @throws {@link ConcurrentModificationException} (client fault)
56
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
56
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
57
57
  * be the result of attempting to modify an application without using the current application
58
58
  * ID.</p>
59
59
  *
@@ -61,10 +61,10 @@ declare const UntagResourceCommand_base: {
61
61
  * <p>The specified input parameter value is not valid.</p>
62
62
  *
63
63
  * @throws {@link ResourceInUseException} (client fault)
64
- * <p>The application is not available for this operation.</p>
64
+ * <p>The application or snapshot is not available for this operation.</p>
65
65
  *
66
66
  * @throws {@link ResourceNotFoundException} (client fault)
67
- * <p>Specified application can't be found.</p>
67
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
68
68
  *
69
69
  * @throws {@link TooManyTagsException} (client fault)
70
70
  * <p>Application created with too many tags, or too many tags added to an application. Note that the maximum
@@ -177,6 +177,7 @@ declare const UpdateApplicationCommand_base: {
177
177
  * },
178
178
  * ApplicationSnapshotConfigurationUpdate: { // ApplicationSnapshotConfigurationUpdate
179
179
  * SnapshotsEnabledUpdate: true || false, // required
180
+ * SnapshotModeUpdate: "APPLICATION_SNAPSHOTS_LEGACY" || "ENHANCED_SNAPSHOTS",
180
181
  * },
181
182
  * ApplicationSystemRollbackConfigurationUpdate: { // ApplicationSystemRollbackConfigurationUpdate
182
183
  * RollbackEnabledUpdate: true || false, // required
@@ -236,6 +237,7 @@ declare const UpdateApplicationCommand_base: {
236
237
  * ApplicationRestoreConfiguration: { // ApplicationRestoreConfiguration
237
238
  * ApplicationRestoreType: "SKIP_RESTORE_FROM_SNAPSHOT" || "RESTORE_FROM_LATEST_SNAPSHOT" || "RESTORE_FROM_CUSTOM_SNAPSHOT", // required
238
239
  * SnapshotName: "STRING_VALUE",
240
+ * SnapshotArn: "STRING_VALUE",
239
241
  * },
240
242
  * },
241
243
  * CloudWatchLoggingOptionUpdates: [ // CloudWatchLoggingOptionUpdates
@@ -385,6 +387,7 @@ declare const UpdateApplicationCommand_base: {
385
387
  * // ApplicationRestoreConfigurationDescription: { // ApplicationRestoreConfiguration
386
388
  * // ApplicationRestoreType: "SKIP_RESTORE_FROM_SNAPSHOT" || "RESTORE_FROM_LATEST_SNAPSHOT" || "RESTORE_FROM_CUSTOM_SNAPSHOT", // required
387
389
  * // SnapshotName: "STRING_VALUE",
390
+ * // SnapshotArn: "STRING_VALUE",
388
391
  * // },
389
392
  * // FlinkRunConfigurationDescription: { // FlinkRunConfiguration
390
393
  * // AllowNonRestoredState: true || false,
@@ -423,6 +426,7 @@ declare const UpdateApplicationCommand_base: {
423
426
  * // },
424
427
  * // ApplicationSnapshotConfigurationDescription: { // ApplicationSnapshotConfigurationDescription
425
428
  * // SnapshotsEnabled: true || false, // required
429
+ * // SnapshotMode: "APPLICATION_SNAPSHOTS_LEGACY" || "ENHANCED_SNAPSHOTS",
426
430
  * // },
427
431
  * // ApplicationSystemRollbackConfigurationDescription: { // ApplicationSystemRollbackConfigurationDescription
428
432
  * // RollbackEnabled: true || false, // required
@@ -509,7 +513,7 @@ declare const UpdateApplicationCommand_base: {
509
513
  * error.</p>
510
514
  *
511
515
  * @throws {@link ConcurrentModificationException} (client fault)
512
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
516
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
513
517
  * be the result of attempting to modify an application without using the current application
514
518
  * ID.</p>
515
519
  *
@@ -526,10 +530,14 @@ declare const UpdateApplicationCommand_base: {
526
530
  * <p>The number of allowed resources has been exceeded.</p>
527
531
  *
528
532
  * @throws {@link ResourceInUseException} (client fault)
529
- * <p>The application is not available for this operation.</p>
533
+ * <p>The application or snapshot is not available for this operation.</p>
530
534
  *
531
535
  * @throws {@link ResourceNotFoundException} (client fault)
532
- * <p>Specified application can't be found.</p>
536
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
537
+ *
538
+ * @throws {@link UnsupportedOperationException} (client fault)
539
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
540
+ * operation. </p>
533
541
  *
534
542
  * @throws {@link KinesisAnalyticsV2ServiceException}
535
543
  * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
@@ -73,7 +73,7 @@ declare const UpdateApplicationMaintenanceConfigurationCommand_base: {
73
73
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
74
74
  *
75
75
  * @throws {@link ConcurrentModificationException} (client fault)
76
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
76
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
77
77
  * be the result of attempting to modify an application without using the current application
78
78
  * ID.</p>
79
79
  *
@@ -81,10 +81,10 @@ declare const UpdateApplicationMaintenanceConfigurationCommand_base: {
81
81
  * <p>The specified input parameter value is not valid.</p>
82
82
  *
83
83
  * @throws {@link ResourceInUseException} (client fault)
84
- * <p>The application is not available for this operation.</p>
84
+ * <p>The application or snapshot is not available for this operation.</p>
85
85
  *
86
86
  * @throws {@link ResourceNotFoundException} (client fault)
87
- * <p>Specified application can't be found.</p>
87
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
88
88
  *
89
89
  * @throws {@link UnsupportedOperationException} (client fault)
90
90
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -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";