@aws-sdk/client-redshift 3.670.0 → 3.672.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.
- package/README.md +32 -0
- package/dist-cjs/index.js +685 -67
- package/dist-es/Redshift.js +8 -0
- package/dist-es/commands/CreateIntegrationCommand.js +22 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +22 -0
- package/dist-es/commands/DescribeIntegrationsCommand.js +22 -0
- package/dist-es/commands/ModifyIntegrationCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +93 -9
- package/dist-es/models/models_1.js +14 -20
- package/dist-es/pagination/DescribeIntegrationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +458 -31
- package/dist-types/Redshift.d.ts +29 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/CreateIntegrationCommand.d.ts +135 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +107 -0
- package/dist-types/commands/DescribeClusterSecurityGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeClusterTracksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIntegrationsCommand.d.ts +114 -0
- package/dist-types/commands/ModifyIntegrationCommand.d.ts +113 -0
- package/dist-types/commands/ResizeClusterCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +241 -407
- package/dist-types/models/models_1.d.ts +508 -41
- package/dist-types/pagination/DescribeIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_query.d.ts +36 -0
- package/dist-types/ts3.4/Redshift.d.ts +69 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/DescribeClusterSecurityGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterSubnetGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeClusterTracksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIntegrationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyIntegrationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -71
- package/dist-types/ts3.4/models/models_1.d.ts +100 -21
- package/dist-types/ts3.4/pagination/DescribeIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { Integration } from "../models/models_0";
|
|
4
|
+
import { ModifyIntegrationMessage } from "../models/models_1";
|
|
5
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* The input for {@link ModifyIntegrationCommand}.
|
|
15
|
+
*/
|
|
16
|
+
export interface ModifyIntegrationCommandInput extends ModifyIntegrationMessage {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*
|
|
21
|
+
* The output of {@link ModifyIntegrationCommand}.
|
|
22
|
+
*/
|
|
23
|
+
export interface ModifyIntegrationCommandOutput extends Integration, __MetadataBearer {
|
|
24
|
+
}
|
|
25
|
+
declare const ModifyIntegrationCommand_base: {
|
|
26
|
+
new (input: ModifyIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyIntegrationCommandInput, ModifyIntegrationCommandOutput, RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (__0_0: ModifyIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyIntegrationCommandInput, ModifyIntegrationCommandOutput, RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* <p>Modifies a zero-ETL integration with Amazon Redshift.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { RedshiftClient, ModifyIntegrationCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
36
|
+
* // const { RedshiftClient, ModifyIntegrationCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
37
|
+
* const client = new RedshiftClient(config);
|
|
38
|
+
* const input = { // ModifyIntegrationMessage
|
|
39
|
+
* IntegrationArn: "STRING_VALUE", // required
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* IntegrationName: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ModifyIntegrationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // Integration
|
|
46
|
+
* // IntegrationArn: "STRING_VALUE",
|
|
47
|
+
* // IntegrationName: "STRING_VALUE",
|
|
48
|
+
* // SourceArn: "STRING_VALUE",
|
|
49
|
+
* // TargetArn: "STRING_VALUE",
|
|
50
|
+
* // Status: "creating" || "active" || "modifying" || "failed" || "deleting" || "syncing" || "needs_attention",
|
|
51
|
+
* // Errors: [ // IntegrationErrorList
|
|
52
|
+
* // { // IntegrationError
|
|
53
|
+
* // ErrorCode: "STRING_VALUE", // required
|
|
54
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // KMSKeyId: "STRING_VALUE",
|
|
60
|
+
* // AdditionalEncryptionContext: { // EncryptionContextMap
|
|
61
|
+
* // "<keys>": "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // Tags: [ // TagList
|
|
64
|
+
* // { // Tag
|
|
65
|
+
* // Key: "STRING_VALUE",
|
|
66
|
+
* // Value: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ModifyIntegrationCommandInput - {@link ModifyIntegrationCommandInput}
|
|
74
|
+
* @returns {@link ModifyIntegrationCommandOutput}
|
|
75
|
+
* @see {@link ModifyIntegrationCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ModifyIntegrationCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link IntegrationAlreadyExistsFault} (client fault)
|
|
80
|
+
* <p>The integration you are trying to create already exists.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link IntegrationConflictOperationFault} (client fault)
|
|
83
|
+
* <p>A conflicting conditional operation is currently in progress against this resource.
|
|
84
|
+
* This typically occurs when there are multiple requests being made to the same resource at the same time,
|
|
85
|
+
* and these requests conflict with each other.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link IntegrationConflictStateFault} (client fault)
|
|
88
|
+
* <p>The integration is in an invalid state and can't perform the requested operation.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link IntegrationNotFoundFault} (client fault)
|
|
91
|
+
* <p>The integration can't be found.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
94
|
+
* <p>The requested operation isn't supported.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link RedshiftServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class ModifyIntegrationCommand extends ModifyIntegrationCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: ModifyIntegrationMessage;
|
|
106
|
+
output: Integration;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: ModifyIntegrationCommandInput;
|
|
110
|
+
output: ModifyIntegrationCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -20,6 +20,7 @@ export * from "./CreateEndpointAccessCommand";
|
|
|
20
20
|
export * from "./CreateEventSubscriptionCommand";
|
|
21
21
|
export * from "./CreateHsmClientCertificateCommand";
|
|
22
22
|
export * from "./CreateHsmConfigurationCommand";
|
|
23
|
+
export * from "./CreateIntegrationCommand";
|
|
23
24
|
export * from "./CreateRedshiftIdcApplicationCommand";
|
|
24
25
|
export * from "./CreateScheduledActionCommand";
|
|
25
26
|
export * from "./CreateSnapshotCopyGrantCommand";
|
|
@@ -38,6 +39,7 @@ export * from "./DeleteEndpointAccessCommand";
|
|
|
38
39
|
export * from "./DeleteEventSubscriptionCommand";
|
|
39
40
|
export * from "./DeleteHsmClientCertificateCommand";
|
|
40
41
|
export * from "./DeleteHsmConfigurationCommand";
|
|
42
|
+
export * from "./DeleteIntegrationCommand";
|
|
41
43
|
export * from "./DeletePartnerCommand";
|
|
42
44
|
export * from "./DeleteRedshiftIdcApplicationCommand";
|
|
43
45
|
export * from "./DeleteResourcePolicyCommand";
|
|
@@ -70,6 +72,7 @@ export * from "./DescribeEventsCommand";
|
|
|
70
72
|
export * from "./DescribeHsmClientCertificatesCommand";
|
|
71
73
|
export * from "./DescribeHsmConfigurationsCommand";
|
|
72
74
|
export * from "./DescribeInboundIntegrationsCommand";
|
|
75
|
+
export * from "./DescribeIntegrationsCommand";
|
|
73
76
|
export * from "./DescribeLoggingStatusCommand";
|
|
74
77
|
export * from "./DescribeNodeConfigurationOptionsCommand";
|
|
75
78
|
export * from "./DescribeOrderableClusterOptionsCommand";
|
|
@@ -111,6 +114,7 @@ export * from "./ModifyClusterSubnetGroupCommand";
|
|
|
111
114
|
export * from "./ModifyCustomDomainAssociationCommand";
|
|
112
115
|
export * from "./ModifyEndpointAccessCommand";
|
|
113
116
|
export * from "./ModifyEventSubscriptionCommand";
|
|
117
|
+
export * from "./ModifyIntegrationCommand";
|
|
114
118
|
export * from "./ModifyRedshiftIdcApplicationCommand";
|
|
115
119
|
export * from "./ModifyScheduledActionCommand";
|
|
116
120
|
export * from "./ModifySnapshotCopyRetentionPeriodCommand";
|