@aws-sdk/client-redshift-serverless 3.1182.0 → 3.1183.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 +35 -0
- package/dist-cjs/index.js +231 -25
- package/dist-es/RedshiftServerless.js +10 -0
- package/dist-es/commands/CreateRoleAssociationCommand.js +4 -0
- package/dist-es/commands/DeleteRoleAssociationCommand.js +4 -0
- package/dist-es/commands/GetExpressConfigurationCommand.js +4 -0
- package/dist-es/commands/ListRoleAssociationsCommand.js +4 -0
- package/dist-es/commands/UpdateExpressConfigurationCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +12 -8
- package/dist-es/schemas/schemas_0.js +168 -16
- package/dist-types/RedshiftServerless.d.ts +37 -0
- package/dist-types/RedshiftServerlessClient.d.ts +7 -2
- package/dist-types/commands/CreateRoleAssociationCommand.d.ts +102 -0
- package/dist-types/commands/DeleteRoleAssociationCommand.d.ts +99 -0
- package/dist-types/commands/GetExpressConfigurationCommand.d.ts +130 -0
- package/dist-types/commands/ListRoleAssociationsCommand.d.ts +100 -0
- package/dist-types/commands/UpdateExpressConfigurationCommand.d.ts +150 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +35 -23
- package/dist-types/models/models_0.d.ts +389 -1
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +87 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateRoleAssociationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRoleAssociationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetExpressConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRoleAssociationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateExpressConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +16 -10
- package/dist-types/ts3.4/models/models_0.d.ts +110 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { type CreateCustomDomainAssociationCommandInput, type CreateCustomDomain
|
|
|
4
4
|
import { type CreateEndpointAccessCommandInput, type CreateEndpointAccessCommandOutput } from "./commands/CreateEndpointAccessCommand";
|
|
5
5
|
import { type CreateNamespaceCommandInput, type CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
|
|
6
6
|
import { type CreateReservationCommandInput, type CreateReservationCommandOutput } from "./commands/CreateReservationCommand";
|
|
7
|
+
import { type CreateRoleAssociationCommandInput, type CreateRoleAssociationCommandOutput } from "./commands/CreateRoleAssociationCommand";
|
|
7
8
|
import { type CreateScheduledActionCommandInput, type CreateScheduledActionCommandOutput } from "./commands/CreateScheduledActionCommand";
|
|
8
9
|
import { type CreateSnapshotCommandInput, type CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
|
|
9
10
|
import { type CreateSnapshotCopyConfigurationCommandInput, type CreateSnapshotCopyConfigurationCommandOutput } from "./commands/CreateSnapshotCopyConfigurationCommand";
|
|
@@ -13,6 +14,7 @@ import { type DeleteCustomDomainAssociationCommandInput, type DeleteCustomDomain
|
|
|
13
14
|
import { type DeleteEndpointAccessCommandInput, type DeleteEndpointAccessCommandOutput } from "./commands/DeleteEndpointAccessCommand";
|
|
14
15
|
import { type DeleteNamespaceCommandInput, type DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
|
|
15
16
|
import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
17
|
+
import { type DeleteRoleAssociationCommandInput, type DeleteRoleAssociationCommandOutput } from "./commands/DeleteRoleAssociationCommand";
|
|
16
18
|
import { type DeleteScheduledActionCommandInput, type DeleteScheduledActionCommandOutput } from "./commands/DeleteScheduledActionCommand";
|
|
17
19
|
import { type DeleteSnapshotCommandInput, type DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
|
|
18
20
|
import { type DeleteSnapshotCopyConfigurationCommandInput, type DeleteSnapshotCopyConfigurationCommandOutput } from "./commands/DeleteSnapshotCopyConfigurationCommand";
|
|
@@ -21,6 +23,7 @@ import { type DeleteWorkgroupCommandInput, type DeleteWorkgroupCommandOutput } f
|
|
|
21
23
|
import { type GetCredentialsCommandInput, type GetCredentialsCommandOutput } from "./commands/GetCredentialsCommand";
|
|
22
24
|
import { type GetCustomDomainAssociationCommandInput, type GetCustomDomainAssociationCommandOutput } from "./commands/GetCustomDomainAssociationCommand";
|
|
23
25
|
import { type GetEndpointAccessCommandInput, type GetEndpointAccessCommandOutput } from "./commands/GetEndpointAccessCommand";
|
|
26
|
+
import { type GetExpressConfigurationCommandInput, type GetExpressConfigurationCommandOutput } from "./commands/GetExpressConfigurationCommand";
|
|
24
27
|
import { type GetIdentityCenterAuthTokenCommandInput, type GetIdentityCenterAuthTokenCommandOutput } from "./commands/GetIdentityCenterAuthTokenCommand";
|
|
25
28
|
import { type GetNamespaceCommandInput, type GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
|
|
26
29
|
import { type GetRecoveryPointCommandInput, type GetRecoveryPointCommandOutput } from "./commands/GetRecoveryPointCommand";
|
|
@@ -40,6 +43,7 @@ import { type ListNamespacesCommandInput, type ListNamespacesCommandOutput } fro
|
|
|
40
43
|
import { type ListRecoveryPointsCommandInput, type ListRecoveryPointsCommandOutput } from "./commands/ListRecoveryPointsCommand";
|
|
41
44
|
import { type ListReservationOfferingsCommandInput, type ListReservationOfferingsCommandOutput } from "./commands/ListReservationOfferingsCommand";
|
|
42
45
|
import { type ListReservationsCommandInput, type ListReservationsCommandOutput } from "./commands/ListReservationsCommand";
|
|
46
|
+
import { type ListRoleAssociationsCommandInput, type ListRoleAssociationsCommandOutput } from "./commands/ListRoleAssociationsCommand";
|
|
43
47
|
import { type ListScheduledActionsCommandInput, type ListScheduledActionsCommandOutput } from "./commands/ListScheduledActionsCommand";
|
|
44
48
|
import { type ListSnapshotCopyConfigurationsCommandInput, type ListSnapshotCopyConfigurationsCommandOutput } from "./commands/ListSnapshotCopyConfigurationsCommand";
|
|
45
49
|
import { type ListSnapshotsCommandInput, type ListSnapshotsCommandOutput } from "./commands/ListSnapshotsCommand";
|
|
@@ -57,6 +61,7 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
|
|
|
57
61
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
58
62
|
import { type UpdateCustomDomainAssociationCommandInput, type UpdateCustomDomainAssociationCommandOutput } from "./commands/UpdateCustomDomainAssociationCommand";
|
|
59
63
|
import { type UpdateEndpointAccessCommandInput, type UpdateEndpointAccessCommandOutput } from "./commands/UpdateEndpointAccessCommand";
|
|
64
|
+
import { type UpdateExpressConfigurationCommandInput, type UpdateExpressConfigurationCommandOutput } from "./commands/UpdateExpressConfigurationCommand";
|
|
60
65
|
import { type UpdateLakehouseConfigurationCommandInput, type UpdateLakehouseConfigurationCommandOutput } from "./commands/UpdateLakehouseConfigurationCommand";
|
|
61
66
|
import { type UpdateNamespaceCommandInput, type UpdateNamespaceCommandOutput } from "./commands/UpdateNamespaceCommand";
|
|
62
67
|
import { type UpdateScheduledActionCommandInput, type UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
|
|
@@ -102,6 +107,12 @@ export interface RedshiftServerless {
|
|
|
102
107
|
createReservation(args: CreateReservationCommandInput, options?: RedshiftServerlessRequestOptions): Promise<CreateReservationCommandOutput>;
|
|
103
108
|
createReservation(args: CreateReservationCommandInput, cb: (err: any, data?: CreateReservationCommandOutput) => void): void;
|
|
104
109
|
createReservation(args: CreateReservationCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: CreateReservationCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link CreateRoleAssociationCommand}
|
|
112
|
+
*/
|
|
113
|
+
createRoleAssociation(args: CreateRoleAssociationCommandInput, options?: RedshiftServerlessRequestOptions): Promise<CreateRoleAssociationCommandOutput>;
|
|
114
|
+
createRoleAssociation(args: CreateRoleAssociationCommandInput, cb: (err: any, data?: CreateRoleAssociationCommandOutput) => void): void;
|
|
115
|
+
createRoleAssociation(args: CreateRoleAssociationCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: CreateRoleAssociationCommandOutput) => void): void;
|
|
105
116
|
/**
|
|
106
117
|
* @see {@link CreateScheduledActionCommand}
|
|
107
118
|
*/
|
|
@@ -156,6 +167,12 @@ export interface RedshiftServerless {
|
|
|
156
167
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: RedshiftServerlessRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
157
168
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
158
169
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
170
|
+
/**
|
|
171
|
+
* @see {@link DeleteRoleAssociationCommand}
|
|
172
|
+
*/
|
|
173
|
+
deleteRoleAssociation(args: DeleteRoleAssociationCommandInput, options?: RedshiftServerlessRequestOptions): Promise<DeleteRoleAssociationCommandOutput>;
|
|
174
|
+
deleteRoleAssociation(args: DeleteRoleAssociationCommandInput, cb: (err: any, data?: DeleteRoleAssociationCommandOutput) => void): void;
|
|
175
|
+
deleteRoleAssociation(args: DeleteRoleAssociationCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: DeleteRoleAssociationCommandOutput) => void): void;
|
|
159
176
|
/**
|
|
160
177
|
* @see {@link DeleteScheduledActionCommand}
|
|
161
178
|
*/
|
|
@@ -205,6 +222,13 @@ export interface RedshiftServerless {
|
|
|
205
222
|
getEndpointAccess(args: GetEndpointAccessCommandInput, options?: RedshiftServerlessRequestOptions): Promise<GetEndpointAccessCommandOutput>;
|
|
206
223
|
getEndpointAccess(args: GetEndpointAccessCommandInput, cb: (err: any, data?: GetEndpointAccessCommandOutput) => void): void;
|
|
207
224
|
getEndpointAccess(args: GetEndpointAccessCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: GetEndpointAccessCommandOutput) => void): void;
|
|
225
|
+
/**
|
|
226
|
+
* @see {@link GetExpressConfigurationCommand}
|
|
227
|
+
*/
|
|
228
|
+
getExpressConfiguration(): Promise<GetExpressConfigurationCommandOutput>;
|
|
229
|
+
getExpressConfiguration(args: GetExpressConfigurationCommandInput, options?: RedshiftServerlessRequestOptions): Promise<GetExpressConfigurationCommandOutput>;
|
|
230
|
+
getExpressConfiguration(args: GetExpressConfigurationCommandInput, cb: (err: any, data?: GetExpressConfigurationCommandOutput) => void): void;
|
|
231
|
+
getExpressConfiguration(args: GetExpressConfigurationCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: GetExpressConfigurationCommandOutput) => void): void;
|
|
208
232
|
/**
|
|
209
233
|
* @see {@link GetIdentityCenterAuthTokenCommand}
|
|
210
234
|
*/
|
|
@@ -327,6 +351,12 @@ export interface RedshiftServerless {
|
|
|
327
351
|
listReservations(args: ListReservationsCommandInput, options?: RedshiftServerlessRequestOptions): Promise<ListReservationsCommandOutput>;
|
|
328
352
|
listReservations(args: ListReservationsCommandInput, cb: (err: any, data?: ListReservationsCommandOutput) => void): void;
|
|
329
353
|
listReservations(args: ListReservationsCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: ListReservationsCommandOutput) => void): void;
|
|
354
|
+
/**
|
|
355
|
+
* @see {@link ListRoleAssociationsCommand}
|
|
356
|
+
*/
|
|
357
|
+
listRoleAssociations(args: ListRoleAssociationsCommandInput, options?: RedshiftServerlessRequestOptions): Promise<ListRoleAssociationsCommandOutput>;
|
|
358
|
+
listRoleAssociations(args: ListRoleAssociationsCommandInput, cb: (err: any, data?: ListRoleAssociationsCommandOutput) => void): void;
|
|
359
|
+
listRoleAssociations(args: ListRoleAssociationsCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: ListRoleAssociationsCommandOutput) => void): void;
|
|
330
360
|
/**
|
|
331
361
|
* @see {@link ListScheduledActionsCommand}
|
|
332
362
|
*/
|
|
@@ -436,6 +466,13 @@ export interface RedshiftServerless {
|
|
|
436
466
|
updateEndpointAccess(args: UpdateEndpointAccessCommandInput, options?: RedshiftServerlessRequestOptions): Promise<UpdateEndpointAccessCommandOutput>;
|
|
437
467
|
updateEndpointAccess(args: UpdateEndpointAccessCommandInput, cb: (err: any, data?: UpdateEndpointAccessCommandOutput) => void): void;
|
|
438
468
|
updateEndpointAccess(args: UpdateEndpointAccessCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: UpdateEndpointAccessCommandOutput) => void): void;
|
|
469
|
+
/**
|
|
470
|
+
* @see {@link UpdateExpressConfigurationCommand}
|
|
471
|
+
*/
|
|
472
|
+
updateExpressConfiguration(): Promise<UpdateExpressConfigurationCommandOutput>;
|
|
473
|
+
updateExpressConfiguration(args: UpdateExpressConfigurationCommandInput, options?: RedshiftServerlessRequestOptions): Promise<UpdateExpressConfigurationCommandOutput>;
|
|
474
|
+
updateExpressConfiguration(args: UpdateExpressConfigurationCommandInput, cb: (err: any, data?: UpdateExpressConfigurationCommandOutput) => void): void;
|
|
475
|
+
updateExpressConfiguration(args: UpdateExpressConfigurationCommandInput, options: RedshiftServerlessRequestOptions, cb: (err: any, data?: UpdateExpressConfigurationCommandOutput) => void): void;
|
|
439
476
|
/**
|
|
440
477
|
* @see {@link UpdateLakehouseConfigurationCommand}
|
|
441
478
|
*/
|
|
@@ -11,6 +11,7 @@ import type { CreateCustomDomainAssociationCommandInput, CreateCustomDomainAssoc
|
|
|
11
11
|
import type { CreateEndpointAccessCommandInput, CreateEndpointAccessCommandOutput } from "./commands/CreateEndpointAccessCommand";
|
|
12
12
|
import type { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
|
|
13
13
|
import type { CreateReservationCommandInput, CreateReservationCommandOutput } from "./commands/CreateReservationCommand";
|
|
14
|
+
import type { CreateRoleAssociationCommandInput, CreateRoleAssociationCommandOutput } from "./commands/CreateRoleAssociationCommand";
|
|
14
15
|
import type { CreateScheduledActionCommandInput, CreateScheduledActionCommandOutput } from "./commands/CreateScheduledActionCommand";
|
|
15
16
|
import type { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
|
|
16
17
|
import type { CreateSnapshotCopyConfigurationCommandInput, CreateSnapshotCopyConfigurationCommandOutput } from "./commands/CreateSnapshotCopyConfigurationCommand";
|
|
@@ -20,6 +21,7 @@ import type { DeleteCustomDomainAssociationCommandInput, DeleteCustomDomainAssoc
|
|
|
20
21
|
import type { DeleteEndpointAccessCommandInput, DeleteEndpointAccessCommandOutput } from "./commands/DeleteEndpointAccessCommand";
|
|
21
22
|
import type { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
|
|
22
23
|
import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
24
|
+
import type { DeleteRoleAssociationCommandInput, DeleteRoleAssociationCommandOutput } from "./commands/DeleteRoleAssociationCommand";
|
|
23
25
|
import type { DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput } from "./commands/DeleteScheduledActionCommand";
|
|
24
26
|
import type { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
|
|
25
27
|
import type { DeleteSnapshotCopyConfigurationCommandInput, DeleteSnapshotCopyConfigurationCommandOutput } from "./commands/DeleteSnapshotCopyConfigurationCommand";
|
|
@@ -28,6 +30,7 @@ import type { DeleteWorkgroupCommandInput, DeleteWorkgroupCommandOutput } from "
|
|
|
28
30
|
import type { GetCredentialsCommandInput, GetCredentialsCommandOutput } from "./commands/GetCredentialsCommand";
|
|
29
31
|
import type { GetCustomDomainAssociationCommandInput, GetCustomDomainAssociationCommandOutput } from "./commands/GetCustomDomainAssociationCommand";
|
|
30
32
|
import type { GetEndpointAccessCommandInput, GetEndpointAccessCommandOutput } from "./commands/GetEndpointAccessCommand";
|
|
33
|
+
import type { GetExpressConfigurationCommandInput, GetExpressConfigurationCommandOutput } from "./commands/GetExpressConfigurationCommand";
|
|
31
34
|
import type { GetIdentityCenterAuthTokenCommandInput, GetIdentityCenterAuthTokenCommandOutput } from "./commands/GetIdentityCenterAuthTokenCommand";
|
|
32
35
|
import type { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
|
|
33
36
|
import type { GetRecoveryPointCommandInput, GetRecoveryPointCommandOutput } from "./commands/GetRecoveryPointCommand";
|
|
@@ -47,6 +50,7 @@ import type { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./
|
|
|
47
50
|
import type { ListRecoveryPointsCommandInput, ListRecoveryPointsCommandOutput } from "./commands/ListRecoveryPointsCommand";
|
|
48
51
|
import type { ListReservationOfferingsCommandInput, ListReservationOfferingsCommandOutput } from "./commands/ListReservationOfferingsCommand";
|
|
49
52
|
import type { ListReservationsCommandInput, ListReservationsCommandOutput } from "./commands/ListReservationsCommand";
|
|
53
|
+
import type { ListRoleAssociationsCommandInput, ListRoleAssociationsCommandOutput } from "./commands/ListRoleAssociationsCommand";
|
|
50
54
|
import type { ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput } from "./commands/ListScheduledActionsCommand";
|
|
51
55
|
import type { ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurationsCommandOutput } from "./commands/ListSnapshotCopyConfigurationsCommand";
|
|
52
56
|
import type { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "./commands/ListSnapshotsCommand";
|
|
@@ -64,6 +68,7 @@ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./comman
|
|
|
64
68
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
65
69
|
import type { UpdateCustomDomainAssociationCommandInput, UpdateCustomDomainAssociationCommandOutput } from "./commands/UpdateCustomDomainAssociationCommand";
|
|
66
70
|
import type { UpdateEndpointAccessCommandInput, UpdateEndpointAccessCommandOutput } from "./commands/UpdateEndpointAccessCommand";
|
|
71
|
+
import type { UpdateExpressConfigurationCommandInput, UpdateExpressConfigurationCommandOutput } from "./commands/UpdateExpressConfigurationCommand";
|
|
67
72
|
import type { UpdateLakehouseConfigurationCommandInput, UpdateLakehouseConfigurationCommandOutput } from "./commands/UpdateLakehouseConfigurationCommand";
|
|
68
73
|
import type { UpdateNamespaceCommandInput, UpdateNamespaceCommandOutput } from "./commands/UpdateNamespaceCommand";
|
|
69
74
|
import type { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
|
|
@@ -77,11 +82,11 @@ export { __Client };
|
|
|
77
82
|
/**
|
|
78
83
|
* @public
|
|
79
84
|
*/
|
|
80
|
-
export type ServiceInputTypes = ConvertRecoveryPointToSnapshotCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateNamespaceCommandInput | CreateReservationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCommandInput | CreateSnapshotCopyConfigurationCommandInput | CreateUsageLimitCommandInput | CreateWorkgroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteNamespaceCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCommandInput | DeleteSnapshotCopyConfigurationCommandInput | DeleteUsageLimitCommandInput | DeleteWorkgroupCommandInput | GetCredentialsCommandInput | GetCustomDomainAssociationCommandInput | GetEndpointAccessCommandInput | GetIdentityCenterAuthTokenCommandInput | GetNamespaceCommandInput | GetRecoveryPointCommandInput | GetReservationCommandInput | GetReservationOfferingCommandInput | GetResourcePolicyCommandInput | GetScheduledActionCommandInput | GetSnapshotCommandInput | GetTableRestoreStatusCommandInput | GetTrackCommandInput | GetUsageLimitCommandInput | GetWorkgroupCommandInput | ListCustomDomainAssociationsCommandInput | ListEndpointAccessCommandInput | ListManagedWorkgroupsCommandInput | ListNamespacesCommandInput | ListRecoveryPointsCommandInput | ListReservationOfferingsCommandInput | ListReservationsCommandInput | ListScheduledActionsCommandInput | ListSnapshotCopyConfigurationsCommandInput | ListSnapshotsCommandInput | ListTableRestoreStatusCommandInput | ListTagsForResourceCommandInput | ListTracksCommandInput | ListUsageLimitsCommandInput | ListWorkgroupsCommandInput | PutResourcePolicyCommandInput | RestoreFromRecoveryPointCommandInput | RestoreFromSnapshotCommandInput | RestoreTableFromRecoveryPointCommandInput | RestoreTableFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCustomDomainAssociationCommandInput | UpdateEndpointAccessCommandInput | UpdateLakehouseConfigurationCommandInput | UpdateNamespaceCommandInput | UpdateScheduledActionCommandInput | UpdateSnapshotCommandInput | UpdateSnapshotCopyConfigurationCommandInput | UpdateUsageLimitCommandInput | UpdateWorkgroupCommandInput;
|
|
85
|
+
export type ServiceInputTypes = ConvertRecoveryPointToSnapshotCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateNamespaceCommandInput | CreateReservationCommandInput | CreateRoleAssociationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCommandInput | CreateSnapshotCopyConfigurationCommandInput | CreateUsageLimitCommandInput | CreateWorkgroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteNamespaceCommandInput | DeleteResourcePolicyCommandInput | DeleteRoleAssociationCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCommandInput | DeleteSnapshotCopyConfigurationCommandInput | DeleteUsageLimitCommandInput | DeleteWorkgroupCommandInput | GetCredentialsCommandInput | GetCustomDomainAssociationCommandInput | GetEndpointAccessCommandInput | GetExpressConfigurationCommandInput | GetIdentityCenterAuthTokenCommandInput | GetNamespaceCommandInput | GetRecoveryPointCommandInput | GetReservationCommandInput | GetReservationOfferingCommandInput | GetResourcePolicyCommandInput | GetScheduledActionCommandInput | GetSnapshotCommandInput | GetTableRestoreStatusCommandInput | GetTrackCommandInput | GetUsageLimitCommandInput | GetWorkgroupCommandInput | ListCustomDomainAssociationsCommandInput | ListEndpointAccessCommandInput | ListManagedWorkgroupsCommandInput | ListNamespacesCommandInput | ListRecoveryPointsCommandInput | ListReservationOfferingsCommandInput | ListReservationsCommandInput | ListRoleAssociationsCommandInput | ListScheduledActionsCommandInput | ListSnapshotCopyConfigurationsCommandInput | ListSnapshotsCommandInput | ListTableRestoreStatusCommandInput | ListTagsForResourceCommandInput | ListTracksCommandInput | ListUsageLimitsCommandInput | ListWorkgroupsCommandInput | PutResourcePolicyCommandInput | RestoreFromRecoveryPointCommandInput | RestoreFromSnapshotCommandInput | RestoreTableFromRecoveryPointCommandInput | RestoreTableFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCustomDomainAssociationCommandInput | UpdateEndpointAccessCommandInput | UpdateExpressConfigurationCommandInput | UpdateLakehouseConfigurationCommandInput | UpdateNamespaceCommandInput | UpdateScheduledActionCommandInput | UpdateSnapshotCommandInput | UpdateSnapshotCopyConfigurationCommandInput | UpdateUsageLimitCommandInput | UpdateWorkgroupCommandInput;
|
|
81
86
|
/**
|
|
82
87
|
* @public
|
|
83
88
|
*/
|
|
84
|
-
export type ServiceOutputTypes = ConvertRecoveryPointToSnapshotCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateNamespaceCommandOutput | CreateReservationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotCopyConfigurationCommandOutput | CreateUsageLimitCommandOutput | CreateWorkgroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteNamespaceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCommandOutput | DeleteSnapshotCopyConfigurationCommandOutput | DeleteUsageLimitCommandOutput | DeleteWorkgroupCommandOutput | GetCredentialsCommandOutput | GetCustomDomainAssociationCommandOutput | GetEndpointAccessCommandOutput | GetIdentityCenterAuthTokenCommandOutput | GetNamespaceCommandOutput | GetRecoveryPointCommandOutput | GetReservationCommandOutput | GetReservationOfferingCommandOutput | GetResourcePolicyCommandOutput | GetScheduledActionCommandOutput | GetSnapshotCommandOutput | GetTableRestoreStatusCommandOutput | GetTrackCommandOutput | GetUsageLimitCommandOutput | GetWorkgroupCommandOutput | ListCustomDomainAssociationsCommandOutput | ListEndpointAccessCommandOutput | ListManagedWorkgroupsCommandOutput | ListNamespacesCommandOutput | ListRecoveryPointsCommandOutput | ListReservationOfferingsCommandOutput | ListReservationsCommandOutput | ListScheduledActionsCommandOutput | ListSnapshotCopyConfigurationsCommandOutput | ListSnapshotsCommandOutput | ListTableRestoreStatusCommandOutput | ListTagsForResourceCommandOutput | ListTracksCommandOutput | ListUsageLimitsCommandOutput | ListWorkgroupsCommandOutput | PutResourcePolicyCommandOutput | RestoreFromRecoveryPointCommandOutput | RestoreFromSnapshotCommandOutput | RestoreTableFromRecoveryPointCommandOutput | RestoreTableFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCustomDomainAssociationCommandOutput | UpdateEndpointAccessCommandOutput | UpdateLakehouseConfigurationCommandOutput | UpdateNamespaceCommandOutput | UpdateScheduledActionCommandOutput | UpdateSnapshotCommandOutput | UpdateSnapshotCopyConfigurationCommandOutput | UpdateUsageLimitCommandOutput | UpdateWorkgroupCommandOutput;
|
|
89
|
+
export type ServiceOutputTypes = ConvertRecoveryPointToSnapshotCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateNamespaceCommandOutput | CreateReservationCommandOutput | CreateRoleAssociationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotCopyConfigurationCommandOutput | CreateUsageLimitCommandOutput | CreateWorkgroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteNamespaceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRoleAssociationCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCommandOutput | DeleteSnapshotCopyConfigurationCommandOutput | DeleteUsageLimitCommandOutput | DeleteWorkgroupCommandOutput | GetCredentialsCommandOutput | GetCustomDomainAssociationCommandOutput | GetEndpointAccessCommandOutput | GetExpressConfigurationCommandOutput | GetIdentityCenterAuthTokenCommandOutput | GetNamespaceCommandOutput | GetRecoveryPointCommandOutput | GetReservationCommandOutput | GetReservationOfferingCommandOutput | GetResourcePolicyCommandOutput | GetScheduledActionCommandOutput | GetSnapshotCommandOutput | GetTableRestoreStatusCommandOutput | GetTrackCommandOutput | GetUsageLimitCommandOutput | GetWorkgroupCommandOutput | ListCustomDomainAssociationsCommandOutput | ListEndpointAccessCommandOutput | ListManagedWorkgroupsCommandOutput | ListNamespacesCommandOutput | ListRecoveryPointsCommandOutput | ListReservationOfferingsCommandOutput | ListReservationsCommandOutput | ListRoleAssociationsCommandOutput | ListScheduledActionsCommandOutput | ListSnapshotCopyConfigurationsCommandOutput | ListSnapshotsCommandOutput | ListTableRestoreStatusCommandOutput | ListTagsForResourceCommandOutput | ListTracksCommandOutput | ListUsageLimitsCommandOutput | ListWorkgroupsCommandOutput | PutResourcePolicyCommandOutput | RestoreFromRecoveryPointCommandOutput | RestoreFromSnapshotCommandOutput | RestoreTableFromRecoveryPointCommandOutput | RestoreTableFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCustomDomainAssociationCommandOutput | UpdateEndpointAccessCommandOutput | UpdateExpressConfigurationCommandOutput | UpdateLakehouseConfigurationCommandOutput | UpdateNamespaceCommandOutput | UpdateScheduledActionCommandOutput | UpdateSnapshotCommandOutput | UpdateSnapshotCopyConfigurationCommandOutput | UpdateUsageLimitCommandOutput | UpdateWorkgroupCommandOutput;
|
|
85
90
|
/**
|
|
86
91
|
* @public
|
|
87
92
|
*/
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateRoleAssociationRequest, CreateRoleAssociationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateRoleAssociationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateRoleAssociationCommandInput extends CreateRoleAssociationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateRoleAssociationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateRoleAssociationCommandOutput extends CreateRoleAssociationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateRoleAssociationCommand_base: {
|
|
22
|
+
new (input: CreateRoleAssociationCommandInput): import("@smithy/core/client").CommandImpl<CreateRoleAssociationCommandInput, CreateRoleAssociationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateRoleAssociationCommandInput): import("@smithy/core/client").CommandImpl<CreateRoleAssociationCommandInput, CreateRoleAssociationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Associates an IAM principal with an Amazon Redshift system-defined role on Amazon Redshift Serverless with express configuration. When the principal connects to the regional endpoint, its database user gets the associated system-defined role for monitoring, operational, or administrative tasks. A role association doesn't give access to your data. You must also have separate permissions to obtain credentials and connect to the regional endpoint. To associate multiple principals or role types, submit a separate request for each association. You can associate up to 10 principals with each role type.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RedshiftServerlessClient, CreateRoleAssociationCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
32
|
+
* // const { RedshiftServerlessClient, CreateRoleAssociationCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
33
|
+
* // import type { RedshiftServerlessClientConfig } from "@aws-sdk/client-redshift-serverless";
|
|
34
|
+
* const config = {}; // type is RedshiftServerlessClientConfig
|
|
35
|
+
* const client = new RedshiftServerlessClient(config);
|
|
36
|
+
* const input = { // CreateRoleAssociationRequest
|
|
37
|
+
* targetArn: "STRING_VALUE", // required
|
|
38
|
+
* roleType: "STRING_VALUE", // required
|
|
39
|
+
* principal: { // PrincipalInput Union: only one key present
|
|
40
|
+
* iam: { // IamPrincipalInput
|
|
41
|
+
* arn: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateRoleAssociationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateRoleAssociationResponse
|
|
48
|
+
* // targetArn: "STRING_VALUE",
|
|
49
|
+
* // roleType: "STRING_VALUE",
|
|
50
|
+
* // principal: { // PrincipalOutput Union: only one key present
|
|
51
|
+
* // iam: { // IamPrincipalOutput
|
|
52
|
+
* // arn: "STRING_VALUE", // required
|
|
53
|
+
* // resolvedUniqueId: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param CreateRoleAssociationCommandInput - {@link CreateRoleAssociationCommandInput}
|
|
61
|
+
* @returns {@link CreateRoleAssociationCommandOutput}
|
|
62
|
+
* @see {@link CreateRoleAssociationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CreateRoleAssociationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>The submitted action has conflicts.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The resource could not be found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link RedshiftServerlessServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class CreateRoleAssociationCommand extends CreateRoleAssociationCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: CreateRoleAssociationRequest;
|
|
95
|
+
output: CreateRoleAssociationResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: CreateRoleAssociationCommandInput;
|
|
99
|
+
output: CreateRoleAssociationCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteRoleAssociationRequest, DeleteRoleAssociationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteRoleAssociationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteRoleAssociationCommandInput extends DeleteRoleAssociationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteRoleAssociationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteRoleAssociationCommandOutput extends DeleteRoleAssociationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteRoleAssociationCommand_base: {
|
|
22
|
+
new (input: DeleteRoleAssociationCommandInput): import("@smithy/core/client").CommandImpl<DeleteRoleAssociationCommandInput, DeleteRoleAssociationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteRoleAssociationCommandInput): import("@smithy/core/client").CommandImpl<DeleteRoleAssociationCommandInput, DeleteRoleAssociationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes the association, if it exists, between an IAM principal and an Amazon Redshift system-defined role on Amazon Redshift Serverless with express configuration. This operation is idempotent. If the association doesn't exist, the request still succeeds.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RedshiftServerlessClient, DeleteRoleAssociationCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
32
|
+
* // const { RedshiftServerlessClient, DeleteRoleAssociationCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
33
|
+
* // import type { RedshiftServerlessClientConfig } from "@aws-sdk/client-redshift-serverless";
|
|
34
|
+
* const config = {}; // type is RedshiftServerlessClientConfig
|
|
35
|
+
* const client = new RedshiftServerlessClient(config);
|
|
36
|
+
* const input = { // DeleteRoleAssociationRequest
|
|
37
|
+
* targetArn: "STRING_VALUE", // required
|
|
38
|
+
* roleType: "STRING_VALUE", // required
|
|
39
|
+
* principal: { // PrincipalInput Union: only one key present
|
|
40
|
+
* iam: { // IamPrincipalInput
|
|
41
|
+
* arn: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteRoleAssociationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DeleteRoleAssociationResponse
|
|
48
|
+
* // targetArn: "STRING_VALUE",
|
|
49
|
+
* // roleType: "STRING_VALUE",
|
|
50
|
+
* // principal: { // PrincipalOutput Union: only one key present
|
|
51
|
+
* // iam: { // IamPrincipalOutput
|
|
52
|
+
* // arn: "STRING_VALUE", // required
|
|
53
|
+
* // resolvedUniqueId: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DeleteRoleAssociationCommandInput - {@link DeleteRoleAssociationCommandInput}
|
|
61
|
+
* @returns {@link DeleteRoleAssociationCommandOutput}
|
|
62
|
+
* @see {@link DeleteRoleAssociationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DeleteRoleAssociationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The resource could not be found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link RedshiftServerlessServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class DeleteRoleAssociationCommand extends DeleteRoleAssociationCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: DeleteRoleAssociationRequest;
|
|
92
|
+
output: DeleteRoleAssociationResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: DeleteRoleAssociationCommandInput;
|
|
96
|
+
output: DeleteRoleAssociationCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetExpressConfigurationRequest, GetExpressConfigurationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetExpressConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetExpressConfigurationCommandInput extends GetExpressConfigurationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetExpressConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetExpressConfigurationCommandOutput extends GetExpressConfigurationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetExpressConfigurationCommand_base: {
|
|
22
|
+
new (input: GetExpressConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetExpressConfigurationCommandInput, GetExpressConfigurationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetExpressConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<GetExpressConfigurationCommandInput, GetExpressConfigurationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the configuration of Amazon Redshift Serverless with express configuration. The first call in an Amazon Web Services account and Amazon Web Services Region activates Amazon Redshift Serverless with express configuration in that Region. To use this operation, you must have the <code>redshift-serverless:GetExpressConfiguration</code> permission, and the <code>iam:CreateServiceLinkedRole</code> permission if the account doesn't already have the Amazon Redshift service-linked role.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RedshiftServerlessClient, GetExpressConfigurationCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
32
|
+
* // const { RedshiftServerlessClient, GetExpressConfigurationCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
33
|
+
* // import type { RedshiftServerlessClientConfig } from "@aws-sdk/client-redshift-serverless";
|
|
34
|
+
* const config = {}; // type is RedshiftServerlessClientConfig
|
|
35
|
+
* const client = new RedshiftServerlessClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new GetExpressConfigurationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetExpressConfigurationResponse
|
|
40
|
+
* // expressConfiguration: { // ExpressConfiguration
|
|
41
|
+
* // workgroupArn: "STRING_VALUE",
|
|
42
|
+
* // workgroupName: "STRING_VALUE",
|
|
43
|
+
* // configParameters: [ // ConfigParameterList
|
|
44
|
+
* // { // ConfigParameter
|
|
45
|
+
* // parameterKey: "STRING_VALUE",
|
|
46
|
+
* // parameterValue: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // maxCapacity: Number("int"),
|
|
50
|
+
* // endpoint: { // Endpoint
|
|
51
|
+
* // address: "STRING_VALUE",
|
|
52
|
+
* // port: Number("int"),
|
|
53
|
+
* // vpcEndpoints: [ // VpcEndpointList
|
|
54
|
+
* // { // VpcEndpoint
|
|
55
|
+
* // vpcEndpointId: "STRING_VALUE",
|
|
56
|
+
* // vpcId: "STRING_VALUE",
|
|
57
|
+
* // networkInterfaces: [ // NetworkInterfaceList
|
|
58
|
+
* // { // NetworkInterface
|
|
59
|
+
* // networkInterfaceId: "STRING_VALUE",
|
|
60
|
+
* // subnetId: "STRING_VALUE",
|
|
61
|
+
* // privateIpAddress: "STRING_VALUE",
|
|
62
|
+
* // availabilityZone: "STRING_VALUE",
|
|
63
|
+
* // ipv6Address: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // dbName: "STRING_VALUE",
|
|
70
|
+
* // loggingConfiguration: { // LoggingConfigurationStatus
|
|
71
|
+
* // logExports: [ // LogExportList
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // s3TablePublishStatus: { // ExpressS3TablePublishStatus
|
|
75
|
+
* // s3Tables: [ // S3TableNameList
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // s3TableNamespace: "STRING_VALUE",
|
|
79
|
+
* // s3TableGranularity: "STRING_VALUE",
|
|
80
|
+
* // enabledAll: true || false,
|
|
81
|
+
* // lastIngestionTimes: { // S3TableLastIngestionTimeMap
|
|
82
|
+
* // "<keys>": "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param GetExpressConfigurationCommandInput - {@link GetExpressConfigurationCommandInput}
|
|
92
|
+
* @returns {@link GetExpressConfigurationCommandOutput}
|
|
93
|
+
* @see {@link GetExpressConfigurationCommandInput} for command's `input` shape.
|
|
94
|
+
* @see {@link GetExpressConfigurationCommandOutput} for command's `response` shape.
|
|
95
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
98
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ConflictException} (client fault)
|
|
101
|
+
* <p>The submitted action has conflicts.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InternalServerException} (server fault)
|
|
104
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
107
|
+
* <p>The resource could not be found.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ValidationException} (client fault)
|
|
110
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link RedshiftServerlessServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
114
|
+
*
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class GetExpressConfigurationCommand extends GetExpressConfigurationCommand_base {
|
|
119
|
+
/** @internal type navigation helper, not in runtime. */
|
|
120
|
+
protected static __types: {
|
|
121
|
+
api: {
|
|
122
|
+
input: {};
|
|
123
|
+
output: GetExpressConfigurationResponse;
|
|
124
|
+
};
|
|
125
|
+
sdk: {
|
|
126
|
+
input: GetExpressConfigurationCommandInput;
|
|
127
|
+
output: GetExpressConfigurationCommandOutput;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRoleAssociationsRequest, ListRoleAssociationsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRoleAssociationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRoleAssociationsCommandInput extends ListRoleAssociationsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRoleAssociationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRoleAssociationsCommandOutput extends ListRoleAssociationsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRoleAssociationsCommand_base: {
|
|
22
|
+
new (input: ListRoleAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListRoleAssociationsCommandInput, ListRoleAssociationsCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListRoleAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListRoleAssociationsCommandInput, ListRoleAssociationsCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the role associations on Amazon Redshift Serverless with express configuration, grouped by role type. The response isn't paginated: it contains at most five role types with up to 10 principals each.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RedshiftServerlessClient, ListRoleAssociationsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
32
|
+
* // const { RedshiftServerlessClient, ListRoleAssociationsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
33
|
+
* // import type { RedshiftServerlessClientConfig } from "@aws-sdk/client-redshift-serverless";
|
|
34
|
+
* const config = {}; // type is RedshiftServerlessClientConfig
|
|
35
|
+
* const client = new RedshiftServerlessClient(config);
|
|
36
|
+
* const input = { // ListRoleAssociationsRequest
|
|
37
|
+
* targetArn: "STRING_VALUE", // required
|
|
38
|
+
* roleType: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListRoleAssociationsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListRoleAssociationsResponse
|
|
43
|
+
* // targetArn: "STRING_VALUE",
|
|
44
|
+
* // roleAssociations: [ // RoleAssociationList // required
|
|
45
|
+
* // { // RoleAssociationEntry
|
|
46
|
+
* // roleType: "STRING_VALUE", // required
|
|
47
|
+
* // principals: [ // PrincipalOutputList // required
|
|
48
|
+
* // { // PrincipalOutput Union: only one key present
|
|
49
|
+
* // iam: { // IamPrincipalOutput
|
|
50
|
+
* // arn: "STRING_VALUE", // required
|
|
51
|
+
* // resolvedUniqueId: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListRoleAssociationsCommandInput - {@link ListRoleAssociationsCommandInput}
|
|
62
|
+
* @returns {@link ListRoleAssociationsCommandOutput}
|
|
63
|
+
* @see {@link ListRoleAssociationsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListRoleAssociationsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The resource could not be found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link RedshiftServerlessServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListRoleAssociationsCommand extends ListRoleAssociationsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListRoleAssociationsRequest;
|
|
93
|
+
output: ListRoleAssociationsResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListRoleAssociationsCommandInput;
|
|
97
|
+
output: ListRoleAssociationsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|