cdk-comprehend-s3olap 2.0.8 → 2.0.11
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/.jsii +5 -5
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +16 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.examples.json +5 -0
- package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.min.json +767 -0
- package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +278 -73
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +325 -98
- package/node_modules/aws-sdk/apis/metadata.json +6 -0
- package/node_modules/aws-sdk/apis/redshift-data-2019-12-20.min.json +25 -16
- package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.examples.json +5 -0
- package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.min.json +1206 -0
- package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +841 -300
- package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +45 -0
- package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.paginators.json +6 -0
- package/node_modules/aws-sdk/clients/all.d.ts +2 -0
- package/node_modules/aws-sdk/clients/all.js +3 -1
- package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
- package/node_modules/aws-sdk/clients/connectcampaigns.d.ts +446 -0
- package/node_modules/aws-sdk/clients/connectcampaigns.js +18 -0
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +18 -18
- package/node_modules/aws-sdk/clients/dynamodbstreams.d.ts +1 -1
- package/node_modules/aws-sdk/clients/finspacedata.d.ts +201 -4
- package/node_modules/aws-sdk/clients/guardduty.d.ts +186 -4
- package/node_modules/aws-sdk/clients/redshiftdata.d.ts +51 -14
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +1525 -0
- package/node_modules/aws-sdk/clients/redshiftserverless.js +18 -0
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +6 -6
- package/node_modules/aws-sdk/clients/securityhub.d.ts +1020 -19
- package/node_modules/aws-sdk/clients/servicecatalogappregistry.d.ts +49 -2
- package/node_modules/aws-sdk/clients/workspaces.d.ts +10 -10
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +84 -10
- package/node_modules/aws-sdk/dist/aws-sdk.js +9 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +36 -36
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +11 -11
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/esbuild/bin/esbuild +1 -0
- package/node_modules/esbuild/install.js +5 -4
- package/node_modules/esbuild/lib/main.d.ts +3 -1
- package/node_modules/esbuild/lib/main.js +15 -10
- package/node_modules/esbuild/package.json +21 -21
- package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
- package/node_modules/esbuild-linux-64/package.json +1 -1
- package/package.json +11 -11
@@ -11,6 +11,14 @@ declare class GuardDuty extends Service {
|
|
11
11
|
*/
|
12
12
|
constructor(options?: GuardDuty.Types.ClientConfiguration)
|
13
13
|
config: Config & GuardDuty.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
|
16
|
+
*/
|
17
|
+
acceptAdministratorInvitation(params: GuardDuty.Types.AcceptAdministratorInvitationRequest, callback?: (err: AWSError, data: GuardDuty.Types.AcceptAdministratorInvitationResponse) => void): Request<GuardDuty.Types.AcceptAdministratorInvitationResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
|
20
|
+
*/
|
21
|
+
acceptAdministratorInvitation(callback?: (err: AWSError, data: GuardDuty.Types.AcceptAdministratorInvitationResponse) => void): Request<GuardDuty.Types.AcceptAdministratorInvitationResponse, AWSError>;
|
14
22
|
/**
|
15
23
|
* Accepts the invitation to be monitored by a GuardDuty administrator account.
|
16
24
|
*/
|
@@ -171,6 +179,14 @@ declare class GuardDuty extends Service {
|
|
171
179
|
* Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
|
172
180
|
*/
|
173
181
|
disableOrganizationAdminAccount(callback?: (err: AWSError, data: GuardDuty.Types.DisableOrganizationAdminAccountResponse) => void): Request<GuardDuty.Types.DisableOrganizationAdminAccountResponse, AWSError>;
|
182
|
+
/**
|
183
|
+
* Disassociates the current GuardDuty member account from its administrator account.
|
184
|
+
*/
|
185
|
+
disassociateFromAdministratorAccount(params: GuardDuty.Types.DisassociateFromAdministratorAccountRequest, callback?: (err: AWSError, data: GuardDuty.Types.DisassociateFromAdministratorAccountResponse) => void): Request<GuardDuty.Types.DisassociateFromAdministratorAccountResponse, AWSError>;
|
186
|
+
/**
|
187
|
+
* Disassociates the current GuardDuty member account from its administrator account.
|
188
|
+
*/
|
189
|
+
disassociateFromAdministratorAccount(callback?: (err: AWSError, data: GuardDuty.Types.DisassociateFromAdministratorAccountResponse) => void): Request<GuardDuty.Types.DisassociateFromAdministratorAccountResponse, AWSError>;
|
174
190
|
/**
|
175
191
|
* Disassociates the current GuardDuty member account from its administrator account.
|
176
192
|
*/
|
@@ -180,11 +196,11 @@ declare class GuardDuty extends Service {
|
|
180
196
|
*/
|
181
197
|
disassociateFromMasterAccount(callback?: (err: AWSError, data: GuardDuty.Types.DisassociateFromMasterAccountResponse) => void): Request<GuardDuty.Types.DisassociateFromMasterAccountResponse, AWSError>;
|
182
198
|
/**
|
183
|
-
* Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
|
199
|
+
* Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
|
184
200
|
*/
|
185
201
|
disassociateMembers(params: GuardDuty.Types.DisassociateMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.DisassociateMembersResponse) => void): Request<GuardDuty.Types.DisassociateMembersResponse, AWSError>;
|
186
202
|
/**
|
187
|
-
* Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
|
203
|
+
* Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
|
188
204
|
*/
|
189
205
|
disassociateMembers(callback?: (err: AWSError, data: GuardDuty.Types.DisassociateMembersResponse) => void): Request<GuardDuty.Types.DisassociateMembersResponse, AWSError>;
|
190
206
|
/**
|
@@ -195,6 +211,14 @@ declare class GuardDuty extends Service {
|
|
195
211
|
* Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
|
196
212
|
*/
|
197
213
|
enableOrganizationAdminAccount(callback?: (err: AWSError, data: GuardDuty.Types.EnableOrganizationAdminAccountResponse) => void): Request<GuardDuty.Types.EnableOrganizationAdminAccountResponse, AWSError>;
|
214
|
+
/**
|
215
|
+
* Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
|
216
|
+
*/
|
217
|
+
getAdministratorAccount(params: GuardDuty.Types.GetAdministratorAccountRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetAdministratorAccountResponse) => void): Request<GuardDuty.Types.GetAdministratorAccountResponse, AWSError>;
|
218
|
+
/**
|
219
|
+
* Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
|
220
|
+
*/
|
221
|
+
getAdministratorAccount(callback?: (err: AWSError, data: GuardDuty.Types.GetAdministratorAccountResponse) => void): Request<GuardDuty.Types.GetAdministratorAccountResponse, AWSError>;
|
198
222
|
/**
|
199
223
|
* Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
200
224
|
*/
|
@@ -267,6 +291,14 @@ declare class GuardDuty extends Service {
|
|
267
291
|
* Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
|
268
292
|
*/
|
269
293
|
getMembers(callback?: (err: AWSError, data: GuardDuty.Types.GetMembersResponse) => void): Request<GuardDuty.Types.GetMembersResponse, AWSError>;
|
294
|
+
/**
|
295
|
+
* Provides the number of days left for each data source used in the free trial period.
|
296
|
+
*/
|
297
|
+
getRemainingFreeTrialDays(params: GuardDuty.Types.GetRemainingFreeTrialDaysRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetRemainingFreeTrialDaysResponse) => void): Request<GuardDuty.Types.GetRemainingFreeTrialDaysResponse, AWSError>;
|
298
|
+
/**
|
299
|
+
* Provides the number of days left for each data source used in the free trial period.
|
300
|
+
*/
|
301
|
+
getRemainingFreeTrialDays(callback?: (err: AWSError, data: GuardDuty.Types.GetRemainingFreeTrialDaysResponse) => void): Request<GuardDuty.Types.GetRemainingFreeTrialDaysResponse, AWSError>;
|
270
302
|
/**
|
271
303
|
* Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
|
272
304
|
*/
|
@@ -276,11 +308,11 @@ declare class GuardDuty extends Service {
|
|
276
308
|
*/
|
277
309
|
getThreatIntelSet(callback?: (err: AWSError, data: GuardDuty.Types.GetThreatIntelSetResponse) => void): Request<GuardDuty.Types.GetThreatIntelSetResponse, AWSError>;
|
278
310
|
/**
|
279
|
-
* Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources the cost returned will include only the usage so far under 30 days
|
311
|
+
* Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated.
|
280
312
|
*/
|
281
313
|
getUsageStatistics(params: GuardDuty.Types.GetUsageStatisticsRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetUsageStatisticsResponse) => void): Request<GuardDuty.Types.GetUsageStatisticsResponse, AWSError>;
|
282
314
|
/**
|
283
|
-
* Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources the cost returned will include only the usage so far under 30 days
|
315
|
+
* Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated.
|
284
316
|
*/
|
285
317
|
getUsageStatistics(callback?: (err: AWSError, data: GuardDuty.Types.GetUsageStatisticsResponse) => void): Request<GuardDuty.Types.GetUsageStatisticsResponse, AWSError>;
|
286
318
|
/**
|
@@ -477,6 +509,22 @@ declare class GuardDuty extends Service {
|
|
477
509
|
updateThreatIntelSet(callback?: (err: AWSError, data: GuardDuty.Types.UpdateThreatIntelSetResponse) => void): Request<GuardDuty.Types.UpdateThreatIntelSetResponse, AWSError>;
|
478
510
|
}
|
479
511
|
declare namespace GuardDuty {
|
512
|
+
export interface AcceptAdministratorInvitationRequest {
|
513
|
+
/**
|
514
|
+
* The unique ID of the detector of the GuardDuty member account.
|
515
|
+
*/
|
516
|
+
DetectorId: DetectorId;
|
517
|
+
/**
|
518
|
+
* The account ID of the GuardDuty administrator account whose invitation you're accepting.
|
519
|
+
*/
|
520
|
+
AdministratorId: String;
|
521
|
+
/**
|
522
|
+
* The value that is used to validate the administrator account to the member account.
|
523
|
+
*/
|
524
|
+
InvitationId: String;
|
525
|
+
}
|
526
|
+
export interface AcceptAdministratorInvitationResponse {
|
527
|
+
}
|
480
528
|
export interface AcceptInvitationRequest {
|
481
529
|
/**
|
482
530
|
* The unique ID of the detector of the GuardDuty member account.
|
@@ -532,6 +580,17 @@ declare namespace GuardDuty {
|
|
532
580
|
Email: Email;
|
533
581
|
}
|
534
582
|
export type AccountDetails = AccountDetail[];
|
583
|
+
export interface AccountFreeTrialInfo {
|
584
|
+
/**
|
585
|
+
* The account identifier of the GuardDuty member account.
|
586
|
+
*/
|
587
|
+
AccountId?: String;
|
588
|
+
/**
|
589
|
+
* Describes the data source enabled for the GuardDuty member account.
|
590
|
+
*/
|
591
|
+
DataSources?: DataSourcesFreeTrial;
|
592
|
+
}
|
593
|
+
export type AccountFreeTrialInfos = AccountFreeTrialInfo[];
|
535
594
|
export type AccountId = string;
|
536
595
|
export type AccountIds = AccountId[];
|
537
596
|
export interface AccountLevelPermissions {
|
@@ -578,6 +637,25 @@ declare namespace GuardDuty {
|
|
578
637
|
}
|
579
638
|
export type AdminAccounts = AdminAccount[];
|
580
639
|
export type AdminStatus = "ENABLED"|"DISABLE_IN_PROGRESS"|string;
|
640
|
+
export interface Administrator {
|
641
|
+
/**
|
642
|
+
* The ID of the account used as the administrator account.
|
643
|
+
*/
|
644
|
+
AccountId?: AccountId;
|
645
|
+
/**
|
646
|
+
* The value that is used to validate the administrator account to the member account.
|
647
|
+
*/
|
648
|
+
InvitationId?: String;
|
649
|
+
/**
|
650
|
+
* The status of the relationship between the administrator and member accounts.
|
651
|
+
*/
|
652
|
+
RelationshipStatus?: String;
|
653
|
+
/**
|
654
|
+
* The timestamp when the invitation was sent.
|
655
|
+
*/
|
656
|
+
InvitedAt?: String;
|
657
|
+
}
|
658
|
+
export type AffectedResources = {[key: string]: String};
|
581
659
|
export interface ArchiveFindingsRequest {
|
582
660
|
/**
|
583
661
|
* The ID of the detector that specifies the GuardDuty service whose findings you want to archive.
|
@@ -623,6 +701,10 @@ declare namespace GuardDuty {
|
|
623
701
|
* The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account.
|
624
702
|
*/
|
625
703
|
RemoteAccountDetails?: RemoteAccountDetails;
|
704
|
+
/**
|
705
|
+
* The details of the Amazon Web Services account that made the API call. This field identifies the resources that were affected by this API call.
|
706
|
+
*/
|
707
|
+
AffectedResources?: AffectedResources;
|
626
708
|
}
|
627
709
|
export interface BlockPublicAccess {
|
628
710
|
/**
|
@@ -1004,8 +1086,36 @@ declare namespace GuardDuty {
|
|
1004
1086
|
*/
|
1005
1087
|
Kubernetes?: KubernetesConfigurationResult;
|
1006
1088
|
}
|
1089
|
+
export interface DataSourceFreeTrial {
|
1090
|
+
/**
|
1091
|
+
* A value that specifies the number of days left to use each enabled data source.
|
1092
|
+
*/
|
1093
|
+
FreeTrialDaysRemaining?: Integer;
|
1094
|
+
}
|
1007
1095
|
export type DataSourceList = DataSource[];
|
1008
1096
|
export type DataSourceStatus = "ENABLED"|"DISABLED"|string;
|
1097
|
+
export interface DataSourcesFreeTrial {
|
1098
|
+
/**
|
1099
|
+
* Describes whether any AWS CloudTrail management event logs are enabled as data sources.
|
1100
|
+
*/
|
1101
|
+
CloudTrail?: DataSourceFreeTrial;
|
1102
|
+
/**
|
1103
|
+
* Describes whether any DNS logs are enabled as data sources.
|
1104
|
+
*/
|
1105
|
+
DnsLogs?: DataSourceFreeTrial;
|
1106
|
+
/**
|
1107
|
+
* Describes whether any VPC Flow logs are enabled as data sources.
|
1108
|
+
*/
|
1109
|
+
FlowLogs?: DataSourceFreeTrial;
|
1110
|
+
/**
|
1111
|
+
* Describes whether any S3 data event logs are enabled as data sources.
|
1112
|
+
*/
|
1113
|
+
S3Logs?: DataSourceFreeTrial;
|
1114
|
+
/**
|
1115
|
+
* Describes whether any Kubernetes logs are enabled as data sources.
|
1116
|
+
*/
|
1117
|
+
Kubernetes?: KubernetesDataSourceFreeTrial;
|
1118
|
+
}
|
1009
1119
|
export interface DeclineInvitationsRequest {
|
1010
1120
|
/**
|
1011
1121
|
* A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to decline invitations from.
|
@@ -1201,6 +1311,14 @@ declare namespace GuardDuty {
|
|
1201
1311
|
}
|
1202
1312
|
export interface DisableOrganizationAdminAccountResponse {
|
1203
1313
|
}
|
1314
|
+
export interface DisassociateFromAdministratorAccountRequest {
|
1315
|
+
/**
|
1316
|
+
* The unique ID of the detector of the GuardDuty member account.
|
1317
|
+
*/
|
1318
|
+
DetectorId: DetectorId;
|
1319
|
+
}
|
1320
|
+
export interface DisassociateFromAdministratorAccountResponse {
|
1321
|
+
}
|
1204
1322
|
export interface DisassociateFromMasterAccountRequest {
|
1205
1323
|
/**
|
1206
1324
|
* The unique ID of the detector of the GuardDuty member account.
|
@@ -1230,6 +1348,14 @@ declare namespace GuardDuty {
|
|
1230
1348
|
* The domain information for the API request.
|
1231
1349
|
*/
|
1232
1350
|
Domain?: String;
|
1351
|
+
/**
|
1352
|
+
* The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
|
1353
|
+
*/
|
1354
|
+
Protocol?: String;
|
1355
|
+
/**
|
1356
|
+
* Indicates whether the targeted port is blocked.
|
1357
|
+
*/
|
1358
|
+
Blocked?: Boolean;
|
1233
1359
|
}
|
1234
1360
|
export interface DomainDetails {
|
1235
1361
|
/**
|
@@ -1379,6 +1505,18 @@ declare namespace GuardDuty {
|
|
1379
1505
|
*/
|
1380
1506
|
Lon?: Double;
|
1381
1507
|
}
|
1508
|
+
export interface GetAdministratorAccountRequest {
|
1509
|
+
/**
|
1510
|
+
* The unique ID of the detector of the GuardDuty member account.
|
1511
|
+
*/
|
1512
|
+
DetectorId: DetectorId;
|
1513
|
+
}
|
1514
|
+
export interface GetAdministratorAccountResponse {
|
1515
|
+
/**
|
1516
|
+
* The administrator account details.
|
1517
|
+
*/
|
1518
|
+
Administrator: Administrator;
|
1519
|
+
}
|
1382
1520
|
export interface GetDetectorRequest {
|
1383
1521
|
/**
|
1384
1522
|
* The unique ID of the detector that you want to get.
|
@@ -1583,6 +1721,26 @@ declare namespace GuardDuty {
|
|
1583
1721
|
*/
|
1584
1722
|
UnprocessedAccounts: UnprocessedAccounts;
|
1585
1723
|
}
|
1724
|
+
export interface GetRemainingFreeTrialDaysRequest {
|
1725
|
+
/**
|
1726
|
+
* The unique ID of the detector of the GuardDuty member account.
|
1727
|
+
*/
|
1728
|
+
DetectorId: DetectorId;
|
1729
|
+
/**
|
1730
|
+
* A list of account identifiers of the GuardDuty member account.
|
1731
|
+
*/
|
1732
|
+
AccountIds?: AccountIds;
|
1733
|
+
}
|
1734
|
+
export interface GetRemainingFreeTrialDaysResponse {
|
1735
|
+
/**
|
1736
|
+
* The member accounts which were included in a request and were processed successfully.
|
1737
|
+
*/
|
1738
|
+
Accounts?: AccountFreeTrialInfos;
|
1739
|
+
/**
|
1740
|
+
* The member account that was included in a request but for which the request could not be processed.
|
1741
|
+
*/
|
1742
|
+
UnprocessedAccounts?: UnprocessedAccounts;
|
1743
|
+
}
|
1586
1744
|
export interface GetThreatIntelSetRequest {
|
1587
1745
|
/**
|
1588
1746
|
* The unique ID of the detector that the threatIntelSet is associated with.
|
@@ -1822,6 +1980,12 @@ declare namespace GuardDuty {
|
|
1822
1980
|
*/
|
1823
1981
|
AuditLogs: KubernetesAuditLogsConfigurationResult;
|
1824
1982
|
}
|
1983
|
+
export interface KubernetesDataSourceFreeTrial {
|
1984
|
+
/**
|
1985
|
+
* Describes whether Kubernetes audit logs are enabled as a data source.
|
1986
|
+
*/
|
1987
|
+
AuditLogs?: DataSourceFreeTrial;
|
1988
|
+
}
|
1825
1989
|
export interface KubernetesDetails {
|
1826
1990
|
/**
|
1827
1991
|
* Details about the Kubernetes user involved in a Kubernetes finding.
|
@@ -2170,6 +2334,10 @@ declare namespace GuardDuty {
|
|
2170
2334
|
* The last-updated timestamp of the member.
|
2171
2335
|
*/
|
2172
2336
|
UpdatedAt: String;
|
2337
|
+
/**
|
2338
|
+
* The administrator account ID.
|
2339
|
+
*/
|
2340
|
+
AdministratorId?: String;
|
2173
2341
|
}
|
2174
2342
|
export interface MemberDataSourceConfiguration {
|
2175
2343
|
/**
|
@@ -2582,6 +2750,20 @@ declare namespace GuardDuty {
|
|
2582
2750
|
* Feedback that was submitted about the finding.
|
2583
2751
|
*/
|
2584
2752
|
UserFeedback?: String;
|
2753
|
+
/**
|
2754
|
+
* Contains additional information about the generated finding.
|
2755
|
+
*/
|
2756
|
+
AdditionalInfo?: ServiceAdditionalInfo;
|
2757
|
+
}
|
2758
|
+
export interface ServiceAdditionalInfo {
|
2759
|
+
/**
|
2760
|
+
* This field specifies the value of the additional information.
|
2761
|
+
*/
|
2762
|
+
Value?: String;
|
2763
|
+
/**
|
2764
|
+
* Describes the type of the additional information.
|
2765
|
+
*/
|
2766
|
+
Type?: String;
|
2585
2767
|
}
|
2586
2768
|
export interface SortCriteria {
|
2587
2769
|
/**
|
@@ -12,11 +12,11 @@ declare class RedshiftData extends Service {
|
|
12
12
|
constructor(options?: RedshiftData.Types.ClientConfiguration)
|
13
13
|
config: Config & RedshiftData.Types.ClientConfiguration;
|
14
14
|
/**
|
15
|
-
* Runs one or more SQL statements, which can be data manipulation language (DML) or data definition language (DDL). Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
15
|
+
* Runs one or more SQL statements, which can be data manipulation language (DML) or data definition language (DDL). Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
16
16
|
*/
|
17
17
|
batchExecuteStatement(params: RedshiftData.Types.BatchExecuteStatementInput, callback?: (err: AWSError, data: RedshiftData.Types.BatchExecuteStatementOutput) => void): Request<RedshiftData.Types.BatchExecuteStatementOutput, AWSError>;
|
18
18
|
/**
|
19
|
-
* Runs one or more SQL statements, which can be data manipulation language (DML) or data definition language (DDL). Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
19
|
+
* Runs one or more SQL statements, which can be data manipulation language (DML) or data definition language (DDL). Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
20
20
|
*/
|
21
21
|
batchExecuteStatement(callback?: (err: AWSError, data: RedshiftData.Types.BatchExecuteStatementOutput) => void): Request<RedshiftData.Types.BatchExecuteStatementOutput, AWSError>;
|
22
22
|
/**
|
@@ -36,19 +36,19 @@ declare class RedshiftData extends Service {
|
|
36
36
|
*/
|
37
37
|
describeStatement(callback?: (err: AWSError, data: RedshiftData.Types.DescribeStatementResponse) => void): Request<RedshiftData.Types.DescribeStatementResponse, AWSError>;
|
38
38
|
/**
|
39
|
-
* Describes the detailed information about a table from metadata in the cluster. The information includes its columns. A token is returned to page through the column list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
39
|
+
* Describes the detailed information about a table from metadata in the cluster. The information includes its columns. A token is returned to page through the column list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
40
40
|
*/
|
41
41
|
describeTable(params: RedshiftData.Types.DescribeTableRequest, callback?: (err: AWSError, data: RedshiftData.Types.DescribeTableResponse) => void): Request<RedshiftData.Types.DescribeTableResponse, AWSError>;
|
42
42
|
/**
|
43
|
-
* Describes the detailed information about a table from metadata in the cluster. The information includes its columns. A token is returned to page through the column list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
43
|
+
* Describes the detailed information about a table from metadata in the cluster. The information includes its columns. A token is returned to page through the column list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
44
44
|
*/
|
45
45
|
describeTable(callback?: (err: AWSError, data: RedshiftData.Types.DescribeTableResponse) => void): Request<RedshiftData.Types.DescribeTableResponse, AWSError>;
|
46
46
|
/**
|
47
|
-
* Runs an SQL statement, which can be data manipulation language (DML) or data definition language (DDL). This statement must be a single SQL statement. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
47
|
+
* Runs an SQL statement, which can be data manipulation language (DML) or data definition language (DDL). This statement must be a single SQL statement. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
48
48
|
*/
|
49
49
|
executeStatement(params: RedshiftData.Types.ExecuteStatementInput, callback?: (err: AWSError, data: RedshiftData.Types.ExecuteStatementOutput) => void): Request<RedshiftData.Types.ExecuteStatementOutput, AWSError>;
|
50
50
|
/**
|
51
|
-
* Runs an SQL statement, which can be data manipulation language (DML) or data definition language (DDL). This statement must be a single SQL statement. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
51
|
+
* Runs an SQL statement, which can be data manipulation language (DML) or data definition language (DDL). This statement must be a single SQL statement. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
52
52
|
*/
|
53
53
|
executeStatement(callback?: (err: AWSError, data: RedshiftData.Types.ExecuteStatementOutput) => void): Request<RedshiftData.Types.ExecuteStatementOutput, AWSError>;
|
54
54
|
/**
|
@@ -60,19 +60,19 @@ declare class RedshiftData extends Service {
|
|
60
60
|
*/
|
61
61
|
getStatementResult(callback?: (err: AWSError, data: RedshiftData.Types.GetStatementResultResponse) => void): Request<RedshiftData.Types.GetStatementResultResponse, AWSError>;
|
62
62
|
/**
|
63
|
-
* List the databases in a cluster. A token is returned to page through the database list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
63
|
+
* List the databases in a cluster. A token is returned to page through the database list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
64
64
|
*/
|
65
65
|
listDatabases(params: RedshiftData.Types.ListDatabasesRequest, callback?: (err: AWSError, data: RedshiftData.Types.ListDatabasesResponse) => void): Request<RedshiftData.Types.ListDatabasesResponse, AWSError>;
|
66
66
|
/**
|
67
|
-
* List the databases in a cluster. A token is returned to page through the database list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
67
|
+
* List the databases in a cluster. A token is returned to page through the database list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
68
68
|
*/
|
69
69
|
listDatabases(callback?: (err: AWSError, data: RedshiftData.Types.ListDatabasesResponse) => void): Request<RedshiftData.Types.ListDatabasesResponse, AWSError>;
|
70
70
|
/**
|
71
|
-
* Lists the schemas in a database. A token is returned to page through the schema list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
71
|
+
* Lists the schemas in a database. A token is returned to page through the schema list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
72
72
|
*/
|
73
73
|
listSchemas(params: RedshiftData.Types.ListSchemasRequest, callback?: (err: AWSError, data: RedshiftData.Types.ListSchemasResponse) => void): Request<RedshiftData.Types.ListSchemasResponse, AWSError>;
|
74
74
|
/**
|
75
|
-
* Lists the schemas in a database. A token is returned to page through the schema list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
75
|
+
* Lists the schemas in a database. A token is returned to page through the schema list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
76
76
|
*/
|
77
77
|
listSchemas(callback?: (err: AWSError, data: RedshiftData.Types.ListSchemasResponse) => void): Request<RedshiftData.Types.ListSchemasResponse, AWSError>;
|
78
78
|
/**
|
@@ -84,11 +84,11 @@ declare class RedshiftData extends Service {
|
|
84
84
|
*/
|
85
85
|
listStatements(callback?: (err: AWSError, data: RedshiftData.Types.ListStatementsResponse) => void): Request<RedshiftData.Types.ListStatementsResponse, AWSError>;
|
86
86
|
/**
|
87
|
-
* List the tables in a database. If neither SchemaPattern nor TablePattern are specified, then all tables in the database are returned. A token is returned to page through the table list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
87
|
+
* List the tables in a database. If neither SchemaPattern nor TablePattern are specified, then all tables in the database are returned. A token is returned to page through the table list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
88
88
|
*/
|
89
89
|
listTables(params: RedshiftData.Types.ListTablesRequest, callback?: (err: AWSError, data: RedshiftData.Types.ListTablesResponse) => void): Request<RedshiftData.Types.ListTablesResponse, AWSError>;
|
90
90
|
/**
|
91
|
-
* List the tables in a database. If neither SchemaPattern nor TablePattern are specified, then all tables in the database are returned. A token is returned to page through the table list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless
|
91
|
+
* List the tables in a database. If neither SchemaPattern nor TablePattern are specified, then all tables in the database are returned. A token is returned to page through the table list. Depending on the authorization method, use one of the following combinations of request parameters: Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless workgroup, specify the Amazon Resource Name (ARN) of the secret and the database name. Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the redshift:GetClusterCredentials operation is required. When connecting to a serverless workgroup, specify the workgroup name and database name. Also, permission to call the redshift-serverless:GetCredentials operation is required.
|
92
92
|
*/
|
93
93
|
listTables(callback?: (err: AWSError, data: RedshiftData.Types.ListTablesResponse) => void): Request<RedshiftData.Types.ListTablesResponse, AWSError>;
|
94
94
|
}
|
@@ -122,10 +122,14 @@ declare namespace RedshiftData {
|
|
122
122
|
* A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statements run.
|
123
123
|
*/
|
124
124
|
WithEvent?: Boolean;
|
125
|
+
/**
|
126
|
+
* The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
|
127
|
+
*/
|
128
|
+
WorkgroupName?: WorkgroupNameString;
|
125
129
|
}
|
126
130
|
export interface BatchExecuteStatementOutput {
|
127
131
|
/**
|
128
|
-
* The cluster identifier. This
|
132
|
+
* The cluster identifier. This element is not returned when connecting to a serverless workgroup.
|
129
133
|
*/
|
130
134
|
ClusterIdentifier?: Location;
|
131
135
|
/**
|
@@ -148,6 +152,10 @@ declare namespace RedshiftData {
|
|
148
152
|
* The name or ARN of the secret that enables access to the database.
|
149
153
|
*/
|
150
154
|
SecretArn?: SecretArn;
|
155
|
+
/**
|
156
|
+
* The serverless workgroup name. This element is not returned when connecting to a provisioned cluster.
|
157
|
+
*/
|
158
|
+
WorkgroupName?: WorkgroupNameString;
|
151
159
|
}
|
152
160
|
export type _Blob = Buffer|Uint8Array|Blob|string;
|
153
161
|
export type Boolean = boolean;
|
@@ -302,6 +310,10 @@ declare namespace RedshiftData {
|
|
302
310
|
* The date and time (UTC) that the metadata for the SQL statement was last updated. An example is the time the status last changed.
|
303
311
|
*/
|
304
312
|
UpdatedAt?: Timestamp;
|
313
|
+
/**
|
314
|
+
* The serverless workgroup name.
|
315
|
+
*/
|
316
|
+
WorkgroupName?: WorkgroupNameString;
|
305
317
|
}
|
306
318
|
export interface DescribeTableRequest {
|
307
319
|
/**
|
@@ -340,6 +352,10 @@ declare namespace RedshiftData {
|
|
340
352
|
* The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned
|
341
353
|
*/
|
342
354
|
Table?: String;
|
355
|
+
/**
|
356
|
+
* The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
|
357
|
+
*/
|
358
|
+
WorkgroupName?: WorkgroupNameString;
|
343
359
|
}
|
344
360
|
export interface DescribeTableResponse {
|
345
361
|
/**
|
@@ -388,10 +404,14 @@ declare namespace RedshiftData {
|
|
388
404
|
* A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
|
389
405
|
*/
|
390
406
|
WithEvent?: Boolean;
|
407
|
+
/**
|
408
|
+
* The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
|
409
|
+
*/
|
410
|
+
WorkgroupName?: WorkgroupNameString;
|
391
411
|
}
|
392
412
|
export interface ExecuteStatementOutput {
|
393
413
|
/**
|
394
|
-
* The cluster identifier. This
|
414
|
+
* The cluster identifier. This element is not returned when connecting to a serverless workgroup.
|
395
415
|
*/
|
396
416
|
ClusterIdentifier?: Location;
|
397
417
|
/**
|
@@ -414,6 +434,10 @@ declare namespace RedshiftData {
|
|
414
434
|
* The name or ARN of the secret that enables access to the database.
|
415
435
|
*/
|
416
436
|
SecretArn?: SecretArn;
|
437
|
+
/**
|
438
|
+
* The serverless workgroup name. This element is not returned when connecting to a provisioned cluster.
|
439
|
+
*/
|
440
|
+
WorkgroupName?: WorkgroupNameString;
|
417
441
|
}
|
418
442
|
export interface Field {
|
419
443
|
/**
|
@@ -496,6 +520,10 @@ declare namespace RedshiftData {
|
|
496
520
|
* The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
|
497
521
|
*/
|
498
522
|
SecretArn?: SecretArn;
|
523
|
+
/**
|
524
|
+
* The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
|
525
|
+
*/
|
526
|
+
WorkgroupName?: WorkgroupNameString;
|
499
527
|
}
|
500
528
|
export interface ListDatabasesResponse {
|
501
529
|
/**
|
@@ -540,6 +568,10 @@ declare namespace RedshiftData {
|
|
540
568
|
* The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
|
541
569
|
*/
|
542
570
|
SecretArn?: SecretArn;
|
571
|
+
/**
|
572
|
+
* The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
|
573
|
+
*/
|
574
|
+
WorkgroupName?: WorkgroupNameString;
|
543
575
|
}
|
544
576
|
export interface ListSchemasResponse {
|
545
577
|
/**
|
@@ -621,6 +653,10 @@ declare namespace RedshiftData {
|
|
621
653
|
* A pattern to filter results by table name. Within a table pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only table name entries matching the search pattern are returned. If TablePattern is not specified, then all tables that match SchemaPatternare returned. If neither SchemaPattern or TablePattern are specified, then all tables are returned.
|
622
654
|
*/
|
623
655
|
TablePattern?: String;
|
656
|
+
/**
|
657
|
+
* The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
|
658
|
+
*/
|
659
|
+
WorkgroupName?: WorkgroupNameString;
|
624
660
|
}
|
625
661
|
export interface ListTablesResponse {
|
626
662
|
/**
|
@@ -765,6 +801,7 @@ declare namespace RedshiftData {
|
|
765
801
|
type?: String;
|
766
802
|
}
|
767
803
|
export type Timestamp = Date;
|
804
|
+
export type WorkgroupNameString = string;
|
768
805
|
export type bool = boolean;
|
769
806
|
/**
|
770
807
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|