@aws-sdk/client-redshift 3.451.0 → 3.454.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 (65) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/Redshift.js +8 -0
  3. package/dist-cjs/commands/CreateRedshiftIdcApplicationCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteRedshiftIdcApplicationCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeRedshiftIdcApplicationsCommand.js +51 -0
  6. package/dist-cjs/commands/ModifyRedshiftIdcApplicationCommand.js +51 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +74 -2
  9. package/dist-cjs/pagination/DescribeRedshiftIdcApplicationsPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_query.js +654 -6
  12. package/dist-es/Redshift.js +8 -0
  13. package/dist-es/commands/CreateRedshiftIdcApplicationCommand.js +47 -0
  14. package/dist-es/commands/DeleteRedshiftIdcApplicationCommand.js +47 -0
  15. package/dist-es/commands/DescribeRedshiftIdcApplicationsCommand.js +47 -0
  16. package/dist-es/commands/ModifyRedshiftIdcApplicationCommand.js +47 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/models/models_0.js +68 -0
  19. package/dist-es/pagination/DescribeRedshiftIdcApplicationsPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_query.js +642 -2
  22. package/dist-types/Redshift.d.ts +28 -0
  23. package/dist-types/RedshiftClient.d.ts +6 -2
  24. package/dist-types/commands/CreateClusterCommand.d.ts +4 -0
  25. package/dist-types/commands/CreateRedshiftIdcApplicationCommand.d.ts +140 -0
  26. package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteRedshiftIdcApplicationCommand.d.ts +84 -0
  28. package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +2 -1
  29. package/dist-types/commands/DescribeCustomDomainAssociationsCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -2
  36. package/dist-types/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +119 -0
  37. package/dist-types/commands/ModifyCustomDomainAssociationCommand.d.ts +5 -2
  38. package/dist-types/commands/ModifyRedshiftIdcApplicationCommand.d.ts +136 -0
  39. package/dist-types/commands/index.d.ts +4 -0
  40. package/dist-types/models/models_0.d.ts +276 -361
  41. package/dist-types/models/models_1.d.ts +458 -3
  42. package/dist-types/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/index.d.ts +1 -0
  44. package/dist-types/protocols/Aws_query.d.ts +36 -0
  45. package/dist-types/ts3.4/Redshift.d.ts +68 -0
  46. package/dist-types/ts3.4/RedshiftClient.d.ts +24 -0
  47. package/dist-types/ts3.4/commands/CreateRedshiftIdcApplicationCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/DeleteRedshiftIdcApplicationCommand.d.ts +38 -0
  49. package/dist-types/ts3.4/commands/DescribeClusterVersionsCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/DescribeCustomDomainAssociationsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeDataSharesCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DescribeEndpointAccessCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/ModifyRedshiftIdcApplicationCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +118 -68
  61. package/dist-types/ts3.4/models/models_1.d.ts +98 -2
  62. package/dist-types/ts3.4/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  64. package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
  65. package/package.json +2 -2
@@ -0,0 +1,119 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DescribeRedshiftIdcApplicationsMessage, DescribeRedshiftIdcApplicationsResult } from "../models/models_1";
5
+ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeRedshiftIdcApplicationsCommand}.
14
+ */
15
+ export interface DescribeRedshiftIdcApplicationsCommandInput extends DescribeRedshiftIdcApplicationsMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeRedshiftIdcApplicationsCommand}.
21
+ */
22
+ export interface DescribeRedshiftIdcApplicationsCommandOutput extends DescribeRedshiftIdcApplicationsResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the Amazon Redshift IAM Identity Center applications.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftClient, DescribeRedshiftIdcApplicationsCommand } from "@aws-sdk/client-redshift"; // ES Modules import
31
+ * // const { RedshiftClient, DescribeRedshiftIdcApplicationsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
32
+ * const client = new RedshiftClient(config);
33
+ * const input = { // DescribeRedshiftIdcApplicationsMessage
34
+ * RedshiftIdcApplicationArn: "STRING_VALUE",
35
+ * MaxRecords: Number("int"),
36
+ * Marker: "STRING_VALUE",
37
+ * };
38
+ * const command = new DescribeRedshiftIdcApplicationsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DescribeRedshiftIdcApplicationsResult
41
+ * // RedshiftIdcApplications: [ // RedshiftIdcApplicationList
42
+ * // { // RedshiftIdcApplication
43
+ * // IdcInstanceArn: "STRING_VALUE",
44
+ * // RedshiftIdcApplicationName: "STRING_VALUE",
45
+ * // RedshiftIdcApplicationArn: "STRING_VALUE",
46
+ * // IdentityNamespace: "STRING_VALUE",
47
+ * // IdcDisplayName: "STRING_VALUE",
48
+ * // IamRoleArn: "STRING_VALUE",
49
+ * // IdcManagedApplicationArn: "STRING_VALUE",
50
+ * // IdcOnboardStatus: "STRING_VALUE",
51
+ * // AuthorizedTokenIssuerList: [ // AuthorizedTokenIssuerList
52
+ * // { // AuthorizedTokenIssuer
53
+ * // TrustedTokenIssuerArn: "STRING_VALUE",
54
+ * // AuthorizedAudiencesList: [ // AuthorizedAudienceList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // },
58
+ * // ],
59
+ * // ServiceIntegrations: [ // ServiceIntegrationList
60
+ * // { // ServiceIntegrationsUnion Union: only one key present
61
+ * // LakeFormation: [ // LakeFormationServiceIntegrations
62
+ * // { // LakeFormationScopeUnion Union: only one key present
63
+ * // LakeFormationQuery: { // LakeFormationQuery
64
+ * // Authorization: "Enabled" || "Disabled", // required
65
+ * // },
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // ],
70
+ * // },
71
+ * // ],
72
+ * // Marker: "STRING_VALUE",
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param DescribeRedshiftIdcApplicationsCommandInput - {@link DescribeRedshiftIdcApplicationsCommandInput}
78
+ * @returns {@link DescribeRedshiftIdcApplicationsCommandOutput}
79
+ * @see {@link DescribeRedshiftIdcApplicationsCommandInput} for command's `input` shape.
80
+ * @see {@link DescribeRedshiftIdcApplicationsCommandOutput} for command's `response` shape.
81
+ * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
82
+ *
83
+ * @throws {@link DependentServiceAccessDeniedFault} (client fault)
84
+ * <p>A dependent service denied access for the integration.</p>
85
+ *
86
+ * @throws {@link DependentServiceUnavailableFault} (client fault)
87
+ * <p>Your request cannot be completed because a dependent internal service is
88
+ * temporarily unavailable. Wait 30 to 60 seconds and try again.</p>
89
+ *
90
+ * @throws {@link RedshiftIdcApplicationNotExistsFault} (client fault)
91
+ * <p>The application you attempted to find doesn't exist.</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
+ */
100
+ export declare class DescribeRedshiftIdcApplicationsCommand extends $Command<DescribeRedshiftIdcApplicationsCommandInput, DescribeRedshiftIdcApplicationsCommandOutput, RedshiftClientResolvedConfig> {
101
+ readonly input: DescribeRedshiftIdcApplicationsCommandInput;
102
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
+ /**
104
+ * @public
105
+ */
106
+ constructor(input: DescribeRedshiftIdcApplicationsCommandInput);
107
+ /**
108
+ * @internal
109
+ */
110
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRedshiftIdcApplicationsCommandInput, DescribeRedshiftIdcApplicationsCommandOutput>;
111
+ /**
112
+ * @internal
113
+ */
114
+ private serialize;
115
+ /**
116
+ * @internal
117
+ */
118
+ private deserialize;
119
+ }
@@ -31,8 +31,8 @@ export interface ModifyCustomDomainAssociationCommandOutput extends ModifyCustom
31
31
  * // const { RedshiftClient, ModifyCustomDomainAssociationCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
32
32
  * const client = new RedshiftClient(config);
33
33
  * const input = { // ModifyCustomDomainAssociationMessage
34
- * CustomDomainName: "STRING_VALUE",
35
- * CustomDomainCertificateArn: "STRING_VALUE",
34
+ * CustomDomainName: "STRING_VALUE", // required
35
+ * CustomDomainCertificateArn: "STRING_VALUE", // required
36
36
  * ClusterIdentifier: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new ModifyCustomDomainAssociationCommand(input);
@@ -59,6 +59,9 @@ export interface ModifyCustomDomainAssociationCommandOutput extends ModifyCustom
59
59
  * @throws {@link CustomCnameAssociationFault} (client fault)
60
60
  * <p>An error occurred when an attempt was made to change the custom domain association.</p>
61
61
  *
62
+ * @throws {@link CustomDomainAssociationNotFoundFault} (client fault)
63
+ * <p>An error occurred. The custom domain name couldn't be found.</p>
64
+ *
62
65
  * @throws {@link UnsupportedOperationFault} (client fault)
63
66
  * <p>The requested operation isn't supported.</p>
64
67
  *
@@ -0,0 +1,136 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ModifyRedshiftIdcApplicationMessage, ModifyRedshiftIdcApplicationResult } from "../models/models_1";
5
+ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyRedshiftIdcApplicationCommand}.
14
+ */
15
+ export interface ModifyRedshiftIdcApplicationCommandInput extends ModifyRedshiftIdcApplicationMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyRedshiftIdcApplicationCommand}.
21
+ */
22
+ export interface ModifyRedshiftIdcApplicationCommandOutput extends ModifyRedshiftIdcApplicationResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Changes an existing Amazon Redshift IAM Identity Center application.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftClient, ModifyRedshiftIdcApplicationCommand } from "@aws-sdk/client-redshift"; // ES Modules import
31
+ * // const { RedshiftClient, ModifyRedshiftIdcApplicationCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
32
+ * const client = new RedshiftClient(config);
33
+ * const input = { // ModifyRedshiftIdcApplicationMessage
34
+ * RedshiftIdcApplicationArn: "STRING_VALUE", // required
35
+ * IdentityNamespace: "STRING_VALUE",
36
+ * IamRoleArn: "STRING_VALUE",
37
+ * IdcDisplayName: "STRING_VALUE",
38
+ * AuthorizedTokenIssuerList: [ // AuthorizedTokenIssuerList
39
+ * { // AuthorizedTokenIssuer
40
+ * TrustedTokenIssuerArn: "STRING_VALUE",
41
+ * AuthorizedAudiencesList: [ // AuthorizedAudienceList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * ServiceIntegrations: [ // ServiceIntegrationList
47
+ * { // ServiceIntegrationsUnion Union: only one key present
48
+ * LakeFormation: [ // LakeFormationServiceIntegrations
49
+ * { // LakeFormationScopeUnion Union: only one key present
50
+ * LakeFormationQuery: { // LakeFormationQuery
51
+ * Authorization: "Enabled" || "Disabled", // required
52
+ * },
53
+ * },
54
+ * ],
55
+ * },
56
+ * ],
57
+ * };
58
+ * const command = new ModifyRedshiftIdcApplicationCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // ModifyRedshiftIdcApplicationResult
61
+ * // RedshiftIdcApplication: { // RedshiftIdcApplication
62
+ * // IdcInstanceArn: "STRING_VALUE",
63
+ * // RedshiftIdcApplicationName: "STRING_VALUE",
64
+ * // RedshiftIdcApplicationArn: "STRING_VALUE",
65
+ * // IdentityNamespace: "STRING_VALUE",
66
+ * // IdcDisplayName: "STRING_VALUE",
67
+ * // IamRoleArn: "STRING_VALUE",
68
+ * // IdcManagedApplicationArn: "STRING_VALUE",
69
+ * // IdcOnboardStatus: "STRING_VALUE",
70
+ * // AuthorizedTokenIssuerList: [ // AuthorizedTokenIssuerList
71
+ * // { // AuthorizedTokenIssuer
72
+ * // TrustedTokenIssuerArn: "STRING_VALUE",
73
+ * // AuthorizedAudiencesList: [ // AuthorizedAudienceList
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // },
77
+ * // ],
78
+ * // ServiceIntegrations: [ // ServiceIntegrationList
79
+ * // { // ServiceIntegrationsUnion Union: only one key present
80
+ * // LakeFormation: [ // LakeFormationServiceIntegrations
81
+ * // { // LakeFormationScopeUnion Union: only one key present
82
+ * // LakeFormationQuery: { // LakeFormationQuery
83
+ * // Authorization: "Enabled" || "Disabled", // required
84
+ * // },
85
+ * // },
86
+ * // ],
87
+ * // },
88
+ * // ],
89
+ * // },
90
+ * // };
91
+ *
92
+ * ```
93
+ *
94
+ * @param ModifyRedshiftIdcApplicationCommandInput - {@link ModifyRedshiftIdcApplicationCommandInput}
95
+ * @returns {@link ModifyRedshiftIdcApplicationCommandOutput}
96
+ * @see {@link ModifyRedshiftIdcApplicationCommandInput} for command's `input` shape.
97
+ * @see {@link ModifyRedshiftIdcApplicationCommandOutput} for command's `response` shape.
98
+ * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
99
+ *
100
+ * @throws {@link DependentServiceAccessDeniedFault} (client fault)
101
+ * <p>A dependent service denied access for the integration.</p>
102
+ *
103
+ * @throws {@link DependentServiceUnavailableFault} (client fault)
104
+ * <p>Your request cannot be completed because a dependent internal service is
105
+ * temporarily unavailable. Wait 30 to 60 seconds and try again.</p>
106
+ *
107
+ * @throws {@link RedshiftIdcApplicationNotExistsFault} (client fault)
108
+ * <p>The application you attempted to find doesn't exist.</p>
109
+ *
110
+ * @throws {@link UnsupportedOperationFault} (client fault)
111
+ * <p>The requested operation isn't supported.</p>
112
+ *
113
+ * @throws {@link RedshiftServiceException}
114
+ * <p>Base exception class for all service exceptions from Redshift service.</p>
115
+ *
116
+ */
117
+ export declare class ModifyRedshiftIdcApplicationCommand extends $Command<ModifyRedshiftIdcApplicationCommandInput, ModifyRedshiftIdcApplicationCommandOutput, RedshiftClientResolvedConfig> {
118
+ readonly input: ModifyRedshiftIdcApplicationCommandInput;
119
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
120
+ /**
121
+ * @public
122
+ */
123
+ constructor(input: ModifyRedshiftIdcApplicationCommandInput);
124
+ /**
125
+ * @internal
126
+ */
127
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifyRedshiftIdcApplicationCommandInput, ModifyRedshiftIdcApplicationCommandOutput>;
128
+ /**
129
+ * @internal
130
+ */
131
+ private serialize;
132
+ /**
133
+ * @internal
134
+ */
135
+ private deserialize;
136
+ }
@@ -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 "./CreateRedshiftIdcApplicationCommand";
23
24
  export * from "./CreateScheduledActionCommand";
24
25
  export * from "./CreateSnapshotCopyGrantCommand";
25
26
  export * from "./CreateSnapshotScheduleCommand";
@@ -38,6 +39,7 @@ export * from "./DeleteEventSubscriptionCommand";
38
39
  export * from "./DeleteHsmClientCertificateCommand";
39
40
  export * from "./DeleteHsmConfigurationCommand";
40
41
  export * from "./DeletePartnerCommand";
42
+ export * from "./DeleteRedshiftIdcApplicationCommand";
41
43
  export * from "./DeleteResourcePolicyCommand";
42
44
  export * from "./DeleteScheduledActionCommand";
43
45
  export * from "./DeleteSnapshotCopyGrantCommand";
@@ -72,6 +74,7 @@ export * from "./DescribeLoggingStatusCommand";
72
74
  export * from "./DescribeNodeConfigurationOptionsCommand";
73
75
  export * from "./DescribeOrderableClusterOptionsCommand";
74
76
  export * from "./DescribePartnersCommand";
77
+ export * from "./DescribeRedshiftIdcApplicationsCommand";
75
78
  export * from "./DescribeReservedNodeExchangeStatusCommand";
76
79
  export * from "./DescribeReservedNodeOfferingsCommand";
77
80
  export * from "./DescribeReservedNodesCommand";
@@ -107,6 +110,7 @@ export * from "./ModifyClusterSubnetGroupCommand";
107
110
  export * from "./ModifyCustomDomainAssociationCommand";
108
111
  export * from "./ModifyEndpointAccessCommand";
109
112
  export * from "./ModifyEventSubscriptionCommand";
113
+ export * from "./ModifyRedshiftIdcApplicationCommand";
110
114
  export * from "./ModifyScheduledActionCommand";
111
115
  export * from "./ModifySnapshotCopyRetentionPeriodCommand";
112
116
  export * from "./ModifySnapshotScheduleCommand";