@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
@@ -56,7 +56,7 @@ declare const DeleteApplicationReferenceDataSourceCommand_base: {
56
56
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
57
57
  *
58
58
  * @throws {@link ConcurrentModificationException} (client fault)
59
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
59
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
60
60
  * be the result of attempting to modify an application without using the current application
61
61
  * ID.</p>
62
62
  *
@@ -67,10 +67,10 @@ declare const DeleteApplicationReferenceDataSourceCommand_base: {
67
67
  * <p>The request JSON is not valid for the operation.</p>
68
68
  *
69
69
  * @throws {@link ResourceInUseException} (client fault)
70
- * <p>The application is not available for this operation.</p>
70
+ * <p>The application or snapshot is not available for this operation.</p>
71
71
  *
72
72
  * @throws {@link ResourceNotFoundException} (client fault)
73
- * <p>Specified application can't be found.</p>
73
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
74
74
  *
75
75
  * @throws {@link KinesisAnalyticsV2ServiceException}
76
76
  * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
@@ -51,7 +51,7 @@ declare const DeleteApplicationSnapshotCommand_base: {
51
51
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
52
52
  *
53
53
  * @throws {@link ConcurrentModificationException} (client fault)
54
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
54
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
55
55
  * be the result of attempting to modify an application without using the current application
56
56
  * ID.</p>
57
57
  *
@@ -62,10 +62,10 @@ declare const DeleteApplicationSnapshotCommand_base: {
62
62
  * <p>The request JSON is not valid for the operation.</p>
63
63
  *
64
64
  * @throws {@link ResourceInUseException} (client fault)
65
- * <p>The application is not available for this operation.</p>
65
+ * <p>The application or snapshot is not available for this operation.</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 UnsupportedOperationException} (client fault)
71
71
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -56,7 +56,7 @@ declare const DeleteApplicationVpcConfigurationCommand_base: {
56
56
  * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
57
57
  *
58
58
  * @throws {@link ConcurrentModificationException} (client fault)
59
- * <p>Exception thrown as a result of concurrent modifications to an application. This error can
59
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
60
60
  * be the result of attempting to modify an application without using the current application
61
61
  * ID.</p>
62
62
  *
@@ -67,10 +67,10 @@ declare const DeleteApplicationVpcConfigurationCommand_base: {
67
67
  * <p>The specified input parameter value is not valid.</p>
68
68
  *
69
69
  * @throws {@link ResourceInUseException} (client fault)
70
- * <p>The application is not available for this operation.</p>
70
+ * <p>The application or snapshot is not available for this operation.</p>
71
71
  *
72
72
  * @throws {@link ResourceNotFoundException} (client fault)
73
- * <p>Specified application can't be found.</p>
73
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
74
74
  *
75
75
  * @throws {@link KinesisAnalyticsV2ServiceException}
76
76
  * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
@@ -0,0 +1,95 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteSnapshotRequest, DeleteSnapshotResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteSnapshotCommand}.
11
+ */
12
+ export interface DeleteSnapshotCommandInput extends DeleteSnapshotRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteSnapshotCommand}.
18
+ */
19
+ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteSnapshotCommand_base: {
22
+ new (input: DeleteSnapshotCommandInput): import("@smithy/core/client").CommandImpl<DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteSnapshotCommandInput): import("@smithy/core/client").CommandImpl<DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an enhanced snapshot. Snapshots are not scoped to an application, so you can delete a snapshot independently of the application that it was created from.</p>
28
+ * <p>This operation is asynchronous. The response returns the snapshot ARN with the <code>DELETING</code> status. To track the progress of the operation, use <code>DescribeSnapshotOperation</code>.</p>
29
+ * <p>You can delete a snapshot in the <code>READY</code> or <code>FAILED</code> status. If a snapshot operation, such as an export, uses the snapshot, Managed Service for Apache Flink waits for that operation to finish before it deletes the snapshot. For a snapshot in any other status, <code>ResourceInUseException</code> is returned.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { KinesisAnalyticsV2Client, DeleteSnapshotCommand } from "@aws-sdk/client-kinesis-analytics-v2"; // ES Modules import
34
+ * // const { KinesisAnalyticsV2Client, DeleteSnapshotCommand } = 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 = { // DeleteSnapshotRequest
39
+ * SnapshotName: "STRING_VALUE", // required
40
+ * SnapshotCreationTimestamp: new Date("TIMESTAMP"), // required
41
+ * };
42
+ * const command = new DeleteSnapshotCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteSnapshotResponse
45
+ * // SnapshotArn: "STRING_VALUE", // required
46
+ * // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required
47
+ * // SnapshotOperationId: "STRING_VALUE", // required
48
+ * // SnapshotOperationStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "CANCELLED", // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param DeleteSnapshotCommandInput - {@link DeleteSnapshotCommandInput}
54
+ * @returns {@link DeleteSnapshotCommandOutput}
55
+ * @see {@link DeleteSnapshotCommandInput} for command's `input` shape.
56
+ * @see {@link DeleteSnapshotCommandOutput} for command's `response` shape.
57
+ * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
58
+ *
59
+ * @throws {@link ConcurrentModificationException} (client fault)
60
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
61
+ * be the result of attempting to modify an application without using the current application
62
+ * ID.</p>
63
+ *
64
+ * @throws {@link InvalidArgumentException} (client fault)
65
+ * <p>The specified input parameter value is not valid.</p>
66
+ *
67
+ * @throws {@link ResourceInUseException} (client fault)
68
+ * <p>The application or snapshot is not available for this operation.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
72
+ *
73
+ * @throws {@link UnsupportedOperationException} (client fault)
74
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
75
+ * operation. </p>
76
+ *
77
+ * @throws {@link KinesisAnalyticsV2ServiceException}
78
+ * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class DeleteSnapshotCommand extends DeleteSnapshotCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: DeleteSnapshotRequest;
88
+ output: DeleteSnapshotResponse;
89
+ };
90
+ sdk: {
91
+ input: DeleteSnapshotCommandInput;
92
+ output: DeleteSnapshotCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -177,6 +177,7 @@ declare const DescribeApplicationCommand_base: {
177
177
  * // ApplicationRestoreConfigurationDescription: { // ApplicationRestoreConfiguration
178
178
  * // ApplicationRestoreType: "SKIP_RESTORE_FROM_SNAPSHOT" || "RESTORE_FROM_LATEST_SNAPSHOT" || "RESTORE_FROM_CUSTOM_SNAPSHOT", // required
179
179
  * // SnapshotName: "STRING_VALUE",
180
+ * // SnapshotArn: "STRING_VALUE",
180
181
  * // },
181
182
  * // FlinkRunConfigurationDescription: { // FlinkRunConfiguration
182
183
  * // AllowNonRestoredState: true || false,
@@ -215,6 +216,7 @@ declare const DescribeApplicationCommand_base: {
215
216
  * // },
216
217
  * // ApplicationSnapshotConfigurationDescription: { // ApplicationSnapshotConfigurationDescription
217
218
  * // SnapshotsEnabled: true || false, // required
219
+ * // SnapshotMode: "APPLICATION_SNAPSHOTS_LEGACY" || "ENHANCED_SNAPSHOTS",
218
220
  * // },
219
221
  * // ApplicationSystemRollbackConfigurationDescription: { // ApplicationSystemRollbackConfigurationDescription
220
222
  * // RollbackEnabled: true || false, // required
@@ -302,7 +304,7 @@ declare const DescribeApplicationCommand_base: {
302
304
  * <p>The request JSON is not valid for the operation.</p>
303
305
  *
304
306
  * @throws {@link ResourceNotFoundException} (client fault)
305
- * <p>Specified application can't be found.</p>
307
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
306
308
  *
307
309
  * @throws {@link KinesisAnalyticsV2ServiceException}
308
310
  * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
@@ -73,7 +73,7 @@ declare const DescribeApplicationOperationCommand_base: {
73
73
  * <p>The specified input parameter value is not valid.</p>
74
74
  *
75
75
  * @throws {@link ResourceNotFoundException} (client fault)
76
- * <p>Specified application can't be found.</p>
76
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
77
77
  *
78
78
  * @throws {@link UnsupportedOperationException} (client fault)
79
79
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -65,7 +65,7 @@ declare const DescribeApplicationSnapshotCommand_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 UnsupportedOperationException} (client fault)
71
71
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -178,6 +178,7 @@ declare const DescribeApplicationVersionCommand_base: {
178
178
  * // ApplicationRestoreConfigurationDescription: { // ApplicationRestoreConfiguration
179
179
  * // ApplicationRestoreType: "SKIP_RESTORE_FROM_SNAPSHOT" || "RESTORE_FROM_LATEST_SNAPSHOT" || "RESTORE_FROM_CUSTOM_SNAPSHOT", // required
180
180
  * // SnapshotName: "STRING_VALUE",
181
+ * // SnapshotArn: "STRING_VALUE",
181
182
  * // },
182
183
  * // FlinkRunConfigurationDescription: { // FlinkRunConfiguration
183
184
  * // AllowNonRestoredState: true || false,
@@ -216,6 +217,7 @@ declare const DescribeApplicationVersionCommand_base: {
216
217
  * // },
217
218
  * // ApplicationSnapshotConfigurationDescription: { // ApplicationSnapshotConfigurationDescription
218
219
  * // SnapshotsEnabled: true || false, // required
220
+ * // SnapshotMode: "APPLICATION_SNAPSHOTS_LEGACY" || "ENHANCED_SNAPSHOTS",
219
221
  * // },
220
222
  * // ApplicationSystemRollbackConfigurationDescription: { // ApplicationSystemRollbackConfigurationDescription
221
223
  * // RollbackEnabled: true || false, // required
@@ -300,7 +302,7 @@ declare const DescribeApplicationVersionCommand_base: {
300
302
  * <p>The specified input parameter value is not valid.</p>
301
303
  *
302
304
  * @throws {@link ResourceNotFoundException} (client fault)
303
- * <p>Specified application can't be found.</p>
305
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
304
306
  *
305
307
  * @throws {@link UnsupportedOperationException} (client fault)
306
308
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
@@ -0,0 +1,107 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeSnapshotRequest, DescribeSnapshotResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeSnapshotCommand}.
11
+ */
12
+ export interface DescribeSnapshotCommandInput extends DescribeSnapshotRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeSnapshotCommand}.
18
+ */
19
+ export interface DescribeSnapshotCommandOutput extends DescribeSnapshotResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeSnapshotCommand_base: {
22
+ new (input: DescribeSnapshotCommandInput): import("@smithy/core/client").CommandImpl<DescribeSnapshotCommandInput, DescribeSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeSnapshotCommandInput): import("@smithy/core/client").CommandImpl<DescribeSnapshotCommandInput, DescribeSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns information about an enhanced snapshot. To see a list of the snapshots in your account, use <code>ListSnapshots</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KinesisAnalyticsV2Client, DescribeSnapshotCommand } from "@aws-sdk/client-kinesis-analytics-v2"; // ES Modules import
32
+ * // const { KinesisAnalyticsV2Client, DescribeSnapshotCommand } = require("@aws-sdk/client-kinesis-analytics-v2"); // CommonJS import
33
+ * // import type { KinesisAnalyticsV2ClientConfig } from "@aws-sdk/client-kinesis-analytics-v2";
34
+ * const config = {}; // type is KinesisAnalyticsV2ClientConfig
35
+ * const client = new KinesisAnalyticsV2Client(config);
36
+ * const input = { // DescribeSnapshotRequest
37
+ * SnapshotName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DescribeSnapshotCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DescribeSnapshotResponse
42
+ * // SnapshotInfoDetails: { // SnapshotInfoDetails
43
+ * // SnapshotName: "STRING_VALUE", // required
44
+ * // SnapshotArn: "STRING_VALUE", // required
45
+ * // SnapshotDescription: "STRING_VALUE",
46
+ * // SnapshotStatus: "CREATING" || "READY" || "DELETING" || "FAILED", // required
47
+ * // SnapshotCreationTimestamp: new Date("TIMESTAMP"), // required
48
+ * // RuntimeEnvironment: "SQL-1_0" || "FLINK-1_6" || "FLINK-1_8" || "ZEPPELIN-FLINK-1_0" || "FLINK-1_11" || "FLINK-1_13" || "ZEPPELIN-FLINK-2_0" || "FLINK-1_15" || "ZEPPELIN-FLINK-3_0" || "FLINK-1_18" || "FLINK-1_19" || "FLINK-1_20" || "FLINK-2_2" || "FLINK-2_3",
49
+ * // SnapshotSizeInBytes: Number("long"),
50
+ * // SnapshotEncryptionConfigurationDescription: { // SnapshotEncryptionConfiguration
51
+ * // KeyId: "STRING_VALUE",
52
+ * // KeyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
53
+ * // },
54
+ * // SnapshotInitiator: "USER" || "SYSTEM", // required
55
+ * // SnapshotInitiatorOperation: "CreateSnapshot" || "ImportSnapshot" || "SystemCreateSnapshot", // required
56
+ * // SnapshotSourceDescription: { // SnapshotSourceDescription
57
+ * // S3PrefixLocation: { // S3PrefixLocation
58
+ * // BucketARN: "STRING_VALUE", // required
59
+ * // KeyPrefix: "STRING_VALUE", // required
60
+ * // },
61
+ * // SourceApplicationDescription: { // SourceApplicationDescription
62
+ * // ApplicationName: "STRING_VALUE", // required
63
+ * // ApplicationCreationTimestamp: new Date("TIMESTAMP"), // required
64
+ * // ApplicationVersionId: Number("long"), // required
65
+ * // },
66
+ * // },
67
+ * // SnapshotFormat: "CANONICAL", // required
68
+ * // },
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param DescribeSnapshotCommandInput - {@link DescribeSnapshotCommandInput}
74
+ * @returns {@link DescribeSnapshotCommandOutput}
75
+ * @see {@link DescribeSnapshotCommandInput} for command's `input` shape.
76
+ * @see {@link DescribeSnapshotCommandOutput} for command's `response` shape.
77
+ * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
78
+ *
79
+ * @throws {@link InvalidArgumentException} (client fault)
80
+ * <p>The specified input parameter value is not valid.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
84
+ *
85
+ * @throws {@link UnsupportedOperationException} (client fault)
86
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
87
+ * operation. </p>
88
+ *
89
+ * @throws {@link KinesisAnalyticsV2ServiceException}
90
+ * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class DescribeSnapshotCommand extends DescribeSnapshotCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: DescribeSnapshotRequest;
100
+ output: DescribeSnapshotResponse;
101
+ };
102
+ sdk: {
103
+ input: DescribeSnapshotCommandInput;
104
+ output: DescribeSnapshotCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,124 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeSnapshotOperationRequest, DescribeSnapshotOperationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeSnapshotOperationCommand}.
11
+ */
12
+ export interface DescribeSnapshotOperationCommandInput extends DescribeSnapshotOperationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeSnapshotOperationCommand}.
18
+ */
19
+ export interface DescribeSnapshotOperationCommandOutput extends DescribeSnapshotOperationResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeSnapshotOperationCommand_base: {
22
+ new (input: DescribeSnapshotOperationCommandInput): import("@smithy/core/client").CommandImpl<DescribeSnapshotOperationCommandInput, DescribeSnapshotOperationCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeSnapshotOperationCommandInput): import("@smithy/core/client").CommandImpl<DescribeSnapshotOperationCommandInput, DescribeSnapshotOperationCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Provides a detailed description of a specified operation that was performed on an enhanced snapshot. To see a list of the operations of a snapshot, use <code>ListSnapshotOperations</code>.</p>
28
+ * <p>Snapshot operations are available for 90 days after they are created.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { KinesisAnalyticsV2Client, DescribeSnapshotOperationCommand } from "@aws-sdk/client-kinesis-analytics-v2"; // ES Modules import
33
+ * // const { KinesisAnalyticsV2Client, DescribeSnapshotOperationCommand } = require("@aws-sdk/client-kinesis-analytics-v2"); // CommonJS import
34
+ * // import type { KinesisAnalyticsV2ClientConfig } from "@aws-sdk/client-kinesis-analytics-v2";
35
+ * const config = {}; // type is KinesisAnalyticsV2ClientConfig
36
+ * const client = new KinesisAnalyticsV2Client(config);
37
+ * const input = { // DescribeSnapshotOperationRequest
38
+ * SnapshotName: "STRING_VALUE", // required
39
+ * SnapshotOperationId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DescribeSnapshotOperationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DescribeSnapshotOperationResponse
44
+ * // SnapshotOperationInfoDetails: { // SnapshotOperationInfoDetails
45
+ * // SnapshotOperationId: "STRING_VALUE", // required
46
+ * // SnapshotOperation: "CreateSnapshot" || "DeleteSnapshot" || "ImportSnapshot" || "ExportSnapshot" || "SystemCreateSnapshot", // required
47
+ * // SnapshotOperationStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "CANCELLED", // required
48
+ * // SnapshotArn: "STRING_VALUE", // required
49
+ * // SourceEncryptionConfigurationDescription: { // EncryptionConfigurationDescription
50
+ * // KeyId: "STRING_VALUE",
51
+ * // KeyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
52
+ * // },
53
+ * // DestinationEncryptionConfigurationDescription: {
54
+ * // KeyId: "STRING_VALUE",
55
+ * // KeyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
56
+ * // },
57
+ * // SnapshotSourceLocationDescription: { // SnapshotOperationLocationDescription
58
+ * // LocationType: "S3", // required
59
+ * // S3PrefixLocation: { // SnapshotOperationS3PrefixLocation
60
+ * // BucketARN: "STRING_VALUE", // required
61
+ * // KeyPrefix: "STRING_VALUE", // required
62
+ * // ExportedPrefix: "STRING_VALUE",
63
+ * // },
64
+ * // },
65
+ * // SnapshotDestinationLocationDescription: {
66
+ * // LocationType: "S3", // required
67
+ * // S3PrefixLocation: {
68
+ * // BucketARN: "STRING_VALUE", // required
69
+ * // KeyPrefix: "STRING_VALUE", // required
70
+ * // ExportedPrefix: "STRING_VALUE",
71
+ * // },
72
+ * // },
73
+ * // ApplicationOperationDescription: { // ApplicationOperationDescription
74
+ * // ApplicationOperationId: "STRING_VALUE",
75
+ * // ApplicationName: "STRING_VALUE",
76
+ * // },
77
+ * // StartTime: new Date("TIMESTAMP"),
78
+ * // EndTime: new Date("TIMESTAMP"),
79
+ * // SnapshotOperationFailureDetails: { // SnapshotOperationFailureDetails
80
+ * // ErrorInfo: { // SnapshotErrorInfo
81
+ * // ErrorCode: "STRING_VALUE",
82
+ * // ErrorString: "STRING_VALUE",
83
+ * // },
84
+ * // },
85
+ * // },
86
+ * // };
87
+ *
88
+ * ```
89
+ *
90
+ * @param DescribeSnapshotOperationCommandInput - {@link DescribeSnapshotOperationCommandInput}
91
+ * @returns {@link DescribeSnapshotOperationCommandOutput}
92
+ * @see {@link DescribeSnapshotOperationCommandInput} for command's `input` shape.
93
+ * @see {@link DescribeSnapshotOperationCommandOutput} for command's `response` shape.
94
+ * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
95
+ *
96
+ * @throws {@link InvalidArgumentException} (client fault)
97
+ * <p>The specified input parameter value is not valid.</p>
98
+ *
99
+ * @throws {@link ResourceNotFoundException} (client fault)
100
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
101
+ *
102
+ * @throws {@link UnsupportedOperationException} (client fault)
103
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
104
+ * operation. </p>
105
+ *
106
+ * @throws {@link KinesisAnalyticsV2ServiceException}
107
+ * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class DescribeSnapshotOperationCommand extends DescribeSnapshotOperationCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: DescribeSnapshotOperationRequest;
117
+ output: DescribeSnapshotOperationResponse;
118
+ };
119
+ sdk: {
120
+ input: DescribeSnapshotOperationCommandInput;
121
+ output: DescribeSnapshotOperationCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -0,0 +1,108 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ExportSnapshotRequest, ExportSnapshotResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ExportSnapshotCommand}.
11
+ */
12
+ export interface ExportSnapshotCommandInput extends ExportSnapshotRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ExportSnapshotCommand}.
18
+ */
19
+ export interface ExportSnapshotCommandOutput extends ExportSnapshotResponse, __MetadataBearer {
20
+ }
21
+ declare const ExportSnapshotCommand_base: {
22
+ new (input: ExportSnapshotCommandInput): import("@smithy/core/client").CommandImpl<ExportSnapshotCommandInput, ExportSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ExportSnapshotCommandInput): import("@smithy/core/client").CommandImpl<ExportSnapshotCommandInput, ExportSnapshotCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Exports the data of an enhanced snapshot to an Amazon S3 location. Managed Service for Apache Flink assumes the IAM role that you specify in <code>ExportDestinationConfiguration</code> to write the snapshot data. The snapshot must be in the <code>READY</code> status.</p>
28
+ * <p>This operation is asynchronous. To track the progress of the export, use <code>DescribeSnapshotOperation</code>.</p>
29
+ * <p>A snapshot can have only one export in progress at a time. If an export of the snapshot is already in progress, <code>LimitExceededException</code> is returned.</p>
30
+ * <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>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { KinesisAnalyticsV2Client, ExportSnapshotCommand } from "@aws-sdk/client-kinesis-analytics-v2"; // ES Modules import
35
+ * // const { KinesisAnalyticsV2Client, ExportSnapshotCommand } = require("@aws-sdk/client-kinesis-analytics-v2"); // CommonJS import
36
+ * // import type { KinesisAnalyticsV2ClientConfig } from "@aws-sdk/client-kinesis-analytics-v2";
37
+ * const config = {}; // type is KinesisAnalyticsV2ClientConfig
38
+ * const client = new KinesisAnalyticsV2Client(config);
39
+ * const input = { // ExportSnapshotRequest
40
+ * SnapshotName: "STRING_VALUE", // required
41
+ * ExportDestinationConfiguration: { // ExportDestinationConfiguration
42
+ * DestinationType: "S3", // required
43
+ * ExportRoleArn: "STRING_VALUE", // required
44
+ * DestinationEncryptionConfiguration: { // SnapshotEncryptionConfiguration
45
+ * KeyId: "STRING_VALUE",
46
+ * KeyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
47
+ * },
48
+ * DestinationS3PrefixLocation: { // S3PrefixLocation
49
+ * BucketARN: "STRING_VALUE", // required
50
+ * KeyPrefix: "STRING_VALUE", // required
51
+ * },
52
+ * },
53
+ * };
54
+ * const command = new ExportSnapshotCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // ExportSnapshotResponse
57
+ * // SnapshotOperationId: "STRING_VALUE", // required
58
+ * // SnapshotOperationStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "CANCELLED", // required
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ExportSnapshotCommandInput - {@link ExportSnapshotCommandInput}
64
+ * @returns {@link ExportSnapshotCommandOutput}
65
+ * @see {@link ExportSnapshotCommandInput} for command's `input` shape.
66
+ * @see {@link ExportSnapshotCommandOutput} for command's `response` shape.
67
+ * @see {@link KinesisAnalyticsV2ClientResolvedConfig | config} for KinesisAnalyticsV2Client's `config` shape.
68
+ *
69
+ * @throws {@link ConcurrentModificationException} (client fault)
70
+ * <p>Exception thrown as a result of concurrent modifications to an application or snapshot. This error can
71
+ * be the result of attempting to modify an application without using the current application
72
+ * ID.</p>
73
+ *
74
+ * @throws {@link InvalidArgumentException} (client fault)
75
+ * <p>The specified input parameter value is not valid.</p>
76
+ *
77
+ * @throws {@link LimitExceededException} (client fault)
78
+ * <p>The number of allowed resources has been exceeded.</p>
79
+ *
80
+ * @throws {@link ResourceInUseException} (client fault)
81
+ * <p>The application or snapshot is not available for this operation.</p>
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <p>The specified application, snapshot, or snapshot operation can't be found.</p>
85
+ *
86
+ * @throws {@link UnsupportedOperationException} (client fault)
87
+ * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
88
+ * operation. </p>
89
+ *
90
+ * @throws {@link KinesisAnalyticsV2ServiceException}
91
+ * <p>Base exception class for all service exceptions from KinesisAnalyticsV2 service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class ExportSnapshotCommand extends ExportSnapshotCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: ExportSnapshotRequest;
101
+ output: ExportSnapshotResponse;
102
+ };
103
+ sdk: {
104
+ input: ExportSnapshotCommandInput;
105
+ output: ExportSnapshotCommandOutput;
106
+ };
107
+ };
108
+ }