@horietakehiro/aws-cdk-utul 0.41.13 → 0.41.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/types/cfn-resource-types/aws-arcregionswitch-plan.d.ts +10 -0
  2. package/lib/types/cfn-resource-types/aws-arcregionswitch-plan.js +1 -1
  3. package/lib/types/cfn-resource-types/aws-codebuild-project.d.ts +5 -0
  4. package/lib/types/cfn-resource-types/aws-codebuild-project.js +1 -1
  5. package/lib/types/cfn-resource-types/aws-deadline-fleet.d.ts +4 -0
  6. package/lib/types/cfn-resource-types/aws-deadline-fleet.js +1 -1
  7. package/lib/types/cfn-resource-types/aws-deadline-monitor.d.ts +19 -0
  8. package/lib/types/cfn-resource-types/aws-deadline-monitor.js +1 -1
  9. package/lib/types/cfn-resource-types/aws-ec2-launchtemplate.d.ts +1 -38
  10. package/lib/types/cfn-resource-types/aws-ec2-launchtemplate.js +1 -1
  11. package/lib/types/cfn-resource-types/aws-ecr-repository.d.ts +7 -10
  12. package/lib/types/cfn-resource-types/aws-ecr-repository.js +1 -1
  13. package/lib/types/cfn-resource-types/aws-efs-mounttarget.d.ts +10 -3
  14. package/lib/types/cfn-resource-types/aws-efs-mounttarget.js +1 -1
  15. package/lib/types/cfn-resource-types/aws-ivs-playbackrestrictionpolicy.d.ts +2 -2
  16. package/lib/types/cfn-resource-types/aws-ivs-playbackrestrictionpolicy.js +1 -1
  17. package/lib/types/cfn-resource-types/aws-ivs-stage.d.ts +43 -0
  18. package/lib/types/cfn-resource-types/aws-ivs-stage.js +1 -1
  19. package/lib/types/cfn-resource-types/aws-observabilityadmin-organizationtelemetryrule.d.ts +95 -0
  20. package/lib/types/cfn-resource-types/aws-observabilityadmin-organizationtelemetryrule.js +3 -0
  21. package/lib/types/cfn-resource-types/aws-observabilityadmin-telemetryrule.d.ts +90 -0
  22. package/lib/types/cfn-resource-types/aws-observabilityadmin-telemetryrule.js +3 -0
  23. package/lib/types/cfn-resource-types/aws-opensearchservice-domain.d.ts +6 -0
  24. package/lib/types/cfn-resource-types/aws-opensearchservice-domain.js +1 -1
  25. package/lib/types/cfn-resource-types/aws-quicksight-dataset.d.ts +10 -10
  26. package/lib/types/cfn-resource-types/aws-quicksight-dataset.js +1 -1
  27. package/lib/types/cfn-resource-types/aws-quicksight-datasource.d.ts +267 -267
  28. package/lib/types/cfn-resource-types/aws-quicksight-datasource.js +1 -1
  29. package/lib/types/cfn-resource-types/aws-rds-dbcluster.d.ts +3 -0
  30. package/lib/types/cfn-resource-types/aws-rds-dbcluster.js +1 -1
  31. package/lib/types/cfn-resource-types/aws-rds-dbinstance.d.ts +0 -3
  32. package/lib/types/cfn-resource-types/aws-rds-dbinstance.js +1 -1
  33. package/lib/types/cfn-resource-types/aws-rds-dbproxy.d.ts +1 -1
  34. package/lib/types/cfn-resource-types/aws-rds-dbproxy.js +1 -1
  35. package/lib/types/cfn-resource-types/aws-sagemaker-cluster.d.ts +28 -19
  36. package/lib/types/cfn-resource-types/aws-sagemaker-cluster.js +1 -1
  37. package/lib/types/cfn-resource-types/aws-sagemaker-domain.d.ts +0 -4
  38. package/lib/types/cfn-resource-types/aws-sagemaker-domain.js +1 -1
  39. package/lib/types/cfn-resource-types/aws-securityhub-automationrule.d.ts +1 -1
  40. package/lib/types/cfn-resource-types/aws-securityhub-automationrule.js +1 -1
  41. package/lib/types/cfn-resource-types/aws-synthetics-canary.d.ts +16 -0
  42. package/lib/types/cfn-resource-types/aws-synthetics-canary.js +1 -1
  43. package/lib/types/cfn-resource-types.d.ts +4 -0
  44. package/lib/types/cfn-resource-types.js +15 -11
  45. package/package.json +1 -1
@@ -1,12 +1,31 @@
1
- export type AuthenticationType = ("PASSWORD" | "TOKEN" | "X509");
2
- export type StarburstProductType = ("GALAXY" | "ENTERPRISE");
3
- export type DataSourceErrorInfoType = ("ACCESS_DENIED" | "COPY_SOURCE_NOT_FOUND" | "TIMEOUT" | "ENGINE_VERSION_NOT_SUPPORTED" | "UNKNOWN_HOST" | "GENERIC_SQL_FAILURE" | "CONFLICT" | "UNKNOWN");
4
1
  export type ResourceStatus = ("CREATION_IN_PROGRESS" | "CREATION_SUCCESSFUL" | "CREATION_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_FAILED" | "PENDING_UPDATE" | "DELETED");
2
+ export type DataSourceErrorInfoType = ("ACCESS_DENIED" | "COPY_SOURCE_NOT_FOUND" | "TIMEOUT" | "ENGINE_VERSION_NOT_SUPPORTED" | "UNKNOWN_HOST" | "GENERIC_SQL_FAILURE" | "CONFLICT" | "UNKNOWN");
3
+ export type StarburstProductType = ("GALAXY" | "ENTERPRISE");
4
+ export type AuthenticationType = ("PASSWORD" | "TOKEN" | "X509");
5
5
  export type DataSourceType = ("ADOBE_ANALYTICS" | "AMAZON_ELASTICSEARCH" | "AMAZON_OPENSEARCH" | "ATHENA" | "AURORA" | "AURORA_POSTGRESQL" | "AWS_IOT_ANALYTICS" | "DATABRICKS" | "DENODO" | "DREMIO" | "DYNAMODB" | "SAPHANA" | "DB2_AS400" | "EXASOL" | "FILE" | "GITHUB" | "JIRA" | "MARIADB" | "MYSQL" | "ORACLE" | "POSTGRESQL" | "PRESTO" | "QBUSINESS" | "REDSHIFT" | "S3" | "S3_TABLES" | "S3_KNOWLEDGE_BASE" | "SALESFORCE" | "SERVICENOW" | "SNOWFLAKE" | "SPARK" | "SPICE" | "SQLSERVER" | "TERADATA" | "TIMESTREAM" | "TWITTER" | "BIGQUERY" | "GOOGLE_ANALYTICS" | "TRINO" | "STARBURST" | "MONGO" | "MONGO_ATLAS" | "DOCUMENTDB" | "APPFLOW" | "IMPALA" | "GLUE" | "GOOGLE_DRIVE" | "CONFLUENCE" | "SHAREPOINT" | "ONE_DRIVE" | "WEB_CRAWLER");
6
6
  /**
7
7
  * Definition of the AWS::QuickSight::DataSource Resource Type.
8
8
  */
9
9
  export interface _AWS_QUICKSIGHT_DATASOURCE {
10
+ Status?: ResourceStatus;
11
+ /**
12
+ * <p>The time that this data source was created.</p>
13
+ */
14
+ CreatedTime?: string;
15
+ ErrorInfo?: DataSourceErrorInfo;
16
+ /**
17
+ * <p>The last time that this data source was updated.</p>
18
+ */
19
+ LastUpdatedTime?: string;
20
+ /**
21
+ * @minItems 0
22
+ * @maxItems 10
23
+ */
24
+ FolderArns?: string[];
25
+ Name: string;
26
+ DataSourceParameters?: DataSourceParameters;
27
+ Type: DataSourceType;
28
+ VpcConnectionProperties?: VpcConnectionProperties;
10
29
  /**
11
30
  * <p>A set of alternate data source parameters that you want to share for the credentials
12
31
  * stored with this data source. The credentials are applied in tandem with the data source
@@ -22,43 +41,34 @@ export interface _AWS_QUICKSIGHT_DATASOURCE {
22
41
  * @maxItems 50
23
42
  */
24
43
  AlternateDataSourceParameters?: DataSourceParameters[];
25
- /**
26
- * <p>The Amazon Resource Name (ARN) of the data source.</p>
27
- */
28
- Arn?: string;
29
44
  AwsAccountId?: string;
30
- /**
31
- * <p>The time that this data source was created.</p>
32
- */
33
- CreatedTime?: string;
34
- Credentials?: DataSourceCredentials;
35
- DataSourceId?: string;
36
- DataSourceParameters?: DataSourceParameters;
37
- ErrorInfo?: DataSourceErrorInfo;
38
- /**
39
- * @minItems 0
40
- * @maxItems 10
41
- */
42
- FolderArns?: string[];
43
- /**
44
- * <p>The last time that this data source was updated.</p>
45
- */
46
- LastUpdatedTime?: string;
47
- Name: string;
48
45
  /**
49
46
  * @minItems 1
50
47
  * @maxItems 64
51
48
  */
52
49
  Permissions?: ResourcePermission[];
50
+ /**
51
+ * <p>The Amazon Resource Name (ARN) of the data source.</p>
52
+ */
53
+ Arn?: string;
53
54
  SslProperties?: SslProperties;
54
- Status?: ResourceStatus;
55
+ Credentials?: DataSourceCredentials;
56
+ DataSourceId?: string;
55
57
  /**
56
58
  * @minItems 1
57
59
  * @maxItems 200
58
60
  */
59
61
  Tags?: Tag[];
60
- Type: DataSourceType;
61
- VpcConnectionProperties?: VpcConnectionProperties;
62
+ }
63
+ /**
64
+ * <p>Error information for the data source creation or update.</p>
65
+ */
66
+ export interface DataSourceErrorInfo {
67
+ Type?: DataSourceErrorInfoType;
68
+ /**
69
+ * <p>Error message.</p>
70
+ */
71
+ Message?: string;
62
72
  }
63
73
  /**
64
74
  * <p>The parameters that Amazon QuickSight uses to connect to your underlying data source.
@@ -66,35 +76,73 @@ export interface _AWS_QUICKSIGHT_DATASOURCE {
66
76
  * attributes can be non-null.</p>
67
77
  */
68
78
  export interface DataSourceParameters {
69
- AmazonElasticsearchParameters?: AmazonElasticsearchParameters;
70
- AthenaParameters?: AthenaParameters;
71
- AuroraParameters?: AuroraParameters;
72
79
  AuroraPostgreSqlParameters?: AuroraPostgreSqlParameters;
80
+ TeradataParameters?: TeradataParameters;
81
+ RdsParameters?: RdsParameters;
82
+ AthenaParameters?: AthenaParameters;
83
+ SparkParameters?: SparkParameters;
73
84
  MariaDbParameters?: MariaDbParameters;
74
- MySqlParameters?: MySqlParameters;
75
85
  OracleParameters?: OracleParameters;
76
- PostgreSqlParameters?: PostgreSqlParameters;
77
86
  PrestoParameters?: PrestoParameters;
78
- RdsParameters?: RdsParameters;
87
+ StarburstParameters?: StarburstParameters;
79
88
  RedshiftParameters?: RedshiftParameters;
80
- S3Parameters?: S3Parameters;
81
- SnowflakeParameters?: SnowflakeParameters;
82
- SparkParameters?: SparkParameters;
89
+ MySqlParameters?: MySqlParameters;
83
90
  SqlServerParameters?: SqlServerParameters;
84
- TeradataParameters?: TeradataParameters;
91
+ SnowflakeParameters?: SnowflakeParameters;
92
+ AmazonElasticsearchParameters?: AmazonElasticsearchParameters;
85
93
  AmazonOpenSearchParameters?: AmazonOpenSearchParameters;
86
- DatabricksParameters?: DatabricksParameters;
87
- StarburstParameters?: StarburstParameters;
94
+ PostgreSqlParameters?: PostgreSqlParameters;
95
+ AuroraParameters?: AuroraParameters;
96
+ S3Parameters?: S3Parameters;
88
97
  TrinoParameters?: TrinoParameters;
98
+ DatabricksParameters?: DatabricksParameters;
89
99
  }
90
100
  /**
91
- * <p>The parameters for OpenSearch.</p>
101
+ * <p>Parameters for Amazon Aurora PostgreSQL-Compatible Edition.</p>
92
102
  */
93
- export interface AmazonElasticsearchParameters {
103
+ export interface AuroraPostgreSqlParameters {
94
104
  /**
95
- * <p>The OpenSearch domain.</p>
105
+ * <p>The port that Amazon Aurora PostgreSQL is listening on.</p>
96
106
  */
97
- Domain: string;
107
+ Port: number;
108
+ /**
109
+ * <p>The Amazon Aurora PostgreSQL database to connect to.</p>
110
+ */
111
+ Database: string;
112
+ /**
113
+ * <p>The Amazon Aurora PostgreSQL-Compatible host to connect to.</p>
114
+ */
115
+ Host: string;
116
+ }
117
+ /**
118
+ * <p>The parameters for Teradata.</p>
119
+ */
120
+ export interface TeradataParameters {
121
+ /**
122
+ * <p>Port.</p>
123
+ */
124
+ Port: number;
125
+ /**
126
+ * <p>Database.</p>
127
+ */
128
+ Database: string;
129
+ /**
130
+ * <p>Host.</p>
131
+ */
132
+ Host: string;
133
+ }
134
+ /**
135
+ * <p>The parameters for Amazon RDS.</p>
136
+ */
137
+ export interface RdsParameters {
138
+ /**
139
+ * <p>Instance ID.</p>
140
+ */
141
+ InstanceId: string;
142
+ /**
143
+ * <p>Database.</p>
144
+ */
145
+ Database: string;
98
146
  }
99
147
  /**
100
148
  * <p>Parameters for Amazon Athena.</p>
@@ -104,11 +152,11 @@ export interface AthenaParameters {
104
152
  * <p>The workgroup that Amazon Athena uses.</p>
105
153
  */
106
154
  WorkGroup?: string;
155
+ IdentityCenterConfiguration?: IdentityCenterConfiguration;
107
156
  /**
108
157
  * <p>Use the <code>RoleArn</code> structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use <code>RoleArn</code> to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.</p>
109
158
  */
110
159
  RoleArn?: string;
111
- IdentityCenterConfiguration?: IdentityCenterConfiguration;
112
160
  }
113
161
  /**
114
162
  * <p>The parameters for an IAM Identity Center configuration.</p>
@@ -120,47 +168,22 @@ export interface IdentityCenterConfiguration {
120
168
  EnableIdentityPropagation?: boolean;
121
169
  }
122
170
  /**
123
- * <p>Parameters for Amazon Aurora.</p>
171
+ * <p>The parameters for Spark.</p>
124
172
  */
125
- export interface AuroraParameters {
126
- /**
127
- * <p>Host.</p>
128
- */
129
- Host: string;
173
+ export interface SparkParameters {
130
174
  /**
131
175
  * <p>Port.</p>
132
176
  */
133
177
  Port: number;
134
178
  /**
135
- * <p>Database.</p>
136
- */
137
- Database: string;
138
- }
139
- /**
140
- * <p>Parameters for Amazon Aurora PostgreSQL-Compatible Edition.</p>
141
- */
142
- export interface AuroraPostgreSqlParameters {
143
- /**
144
- * <p>The Amazon Aurora PostgreSQL-Compatible host to connect to.</p>
179
+ * <p>Host.</p>
145
180
  */
146
181
  Host: string;
147
- /**
148
- * <p>The port that Amazon Aurora PostgreSQL is listening on.</p>
149
- */
150
- Port: number;
151
- /**
152
- * <p>The Amazon Aurora PostgreSQL database to connect to.</p>
153
- */
154
- Database: string;
155
182
  }
156
183
  /**
157
184
  * <p>The parameters for MariaDB.</p>
158
185
  */
159
186
  export interface MariaDbParameters {
160
- /**
161
- * <p>Host.</p>
162
- */
163
- Host: string;
164
187
  /**
165
188
  * <p>Port.</p>
166
189
  */
@@ -169,32 +192,16 @@ export interface MariaDbParameters {
169
192
  * <p>Database.</p>
170
193
  */
171
194
  Database: string;
172
- }
173
- /**
174
- * <p>The parameters for MySQL.</p>
175
- */
176
- export interface MySqlParameters {
177
195
  /**
178
196
  * <p>Host.</p>
179
197
  */
180
198
  Host: string;
181
- /**
182
- * <p>Port.</p>
183
- */
184
- Port: number;
185
- /**
186
- * <p>Database.</p>
187
- */
188
- Database: string;
189
199
  }
190
200
  /**
191
201
  * <p>The parameters for Oracle.</p>
192
202
  */
193
203
  export interface OracleParameters {
194
- /**
195
- * <p>An Oracle host.</p>
196
- */
197
- Host: string;
204
+ UseServiceName?: boolean;
198
205
  /**
199
206
  * <p>The port.</p>
200
207
  */
@@ -203,64 +210,75 @@ export interface OracleParameters {
203
210
  * <p>The database.</p>
204
211
  */
205
212
  Database: string;
206
- UseServiceName?: boolean;
207
- }
208
- /**
209
- * <p>The parameters for PostgreSQL.</p>
210
- */
211
- export interface PostgreSqlParameters {
212
213
  /**
213
- * <p>Host.</p>
214
+ * <p>An Oracle host.</p>
214
215
  */
215
216
  Host: string;
217
+ }
218
+ /**
219
+ * <p>The parameters for Presto.</p>
220
+ */
221
+ export interface PrestoParameters {
216
222
  /**
217
223
  * <p>Port.</p>
218
224
  */
219
225
  Port: number;
220
226
  /**
221
- * <p>Database.</p>
227
+ * <p>Host.</p>
222
228
  */
223
- Database: string;
229
+ Host: string;
230
+ /**
231
+ * <p>Catalog.</p>
232
+ */
233
+ Catalog: string;
224
234
  }
225
235
  /**
226
- * <p>The parameters for Presto.</p>
236
+ * <p>The parameters that are required to connect to a Starburst data source.</p>
227
237
  */
228
- export interface PrestoParameters {
238
+ export interface StarburstParameters {
229
239
  /**
230
- * <p>Host.</p>
240
+ * <p>The port for the Starburst data source.</p>
231
241
  */
232
- Host: string;
242
+ Port: number;
243
+ DatabaseAccessControlRole?: string;
244
+ ProductType?: StarburstProductType;
245
+ OAuthParameters?: OAuthParameters;
233
246
  /**
234
- * <p>Port.</p>
247
+ * <p>The host name of the Starburst data source.</p>
235
248
  */
236
- Port: number;
249
+ Host: string;
237
250
  /**
238
- * <p>Catalog.</p>
251
+ * <p>The catalog name for the Starburst data source.</p>
239
252
  */
240
253
  Catalog: string;
254
+ AuthenticationType?: AuthenticationType;
255
+ }
256
+ export interface OAuthParameters {
257
+ TokenProviderUrl: string;
258
+ OAuthScope?: string;
259
+ IdentityProviderVpcConnectionProperties?: VpcConnectionProperties;
260
+ IdentityProviderResourceUri?: string;
241
261
  }
242
262
  /**
243
- * <p>The parameters for Amazon RDS.</p>
263
+ * <p>VPC connection properties.</p>
244
264
  */
245
- export interface RdsParameters {
246
- /**
247
- * <p>Instance ID.</p>
248
- */
249
- InstanceId: string;
265
+ export interface VpcConnectionProperties {
250
266
  /**
251
- * <p>Database.</p>
267
+ * <p>The Amazon Resource Name (ARN) for the VPC connection.</p>
252
268
  */
253
- Database: string;
269
+ VpcConnectionArn: string;
254
270
  }
255
271
  /**
256
272
  * <p>The parameters for Amazon Redshift. The <code>ClusterId</code> field can be blank if
257
273
  * <code>Host</code> and <code>Port</code> are both set. The <code>Host</code> and <code>Port</code> fields can be blank if the <code>ClusterId</code> field is set.</p>
258
274
  */
259
275
  export interface RedshiftParameters {
276
+ IAMParameters?: RedshiftIAMParameters;
260
277
  /**
261
- * <p>Host. This field can be blank if <code>ClusterId</code> is provided.</p>
278
+ * <p>Cluster ID. This field can be blank if the <code>Host</code> and <code>Port</code> are
279
+ * provided.</p>
262
280
  */
263
- Host?: string;
281
+ ClusterId?: string;
264
282
  /**
265
283
  * <p>Port. This field can be blank if the <code>ClusterId</code> is provided.</p>
266
284
  */
@@ -270,11 +288,9 @@ export interface RedshiftParameters {
270
288
  */
271
289
  Database: string;
272
290
  /**
273
- * <p>Cluster ID. This field can be blank if the <code>Host</code> and <code>Port</code> are
274
- * provided.</p>
291
+ * <p>Host. This field can be blank if <code>ClusterId</code> is provided.</p>
275
292
  */
276
- ClusterId?: string;
277
- IAMParameters?: RedshiftIAMParameters;
293
+ Host?: string;
278
294
  IdentityCenterConfiguration?: IdentityCenterConfiguration;
279
295
  }
280
296
  /**
@@ -284,13 +300,17 @@ export interface RedshiftParameters {
284
300
  */
285
301
  export interface RedshiftIAMParameters {
286
302
  /**
287
- * <p>Use the <code>RoleArn</code> structure to allow Amazon QuickSight to call <code>redshift:GetClusterCredentials</code> on your cluster. The calling principal must have <code>iam:PassRole</code> access to pass the role to Amazon QuickSight. The role's trust policy must allow the Amazon QuickSight service principal to assume the role.</p>
303
+ * <p>Automatically creates a database user. If your database doesn't have a <code>DatabaseUser</code>, set this parameter to <code>True</code>. If there is no <code>DatabaseUser</code>, Amazon QuickSight can't connect to your cluster. The <code>RoleArn</code> that you use for this operation must grant access to <code>redshift:CreateClusterUser</code> to successfully create the user.</p>
288
304
  */
289
- RoleArn: string;
305
+ AutoCreateDatabaseUser?: boolean;
290
306
  /**
291
307
  * <p>The user whose permissions and group memberships will be used by Amazon QuickSight to access the cluster. If this user already exists in your database, Amazon QuickSight is granted the same permissions that the user has. If the user doesn't exist, set the value of <code>AutoCreateDatabaseUser</code> to <code>True</code> to create a new user with PUBLIC permissions.</p>
292
308
  */
293
309
  DatabaseUser?: string;
310
+ /**
311
+ * <p>Use the <code>RoleArn</code> structure to allow Amazon QuickSight to call <code>redshift:GetClusterCredentials</code> on your cluster. The calling principal must have <code>iam:PassRole</code> access to pass the role to Amazon QuickSight. The role's trust policy must allow the Amazon QuickSight service principal to assume the role.</p>
312
+ */
313
+ RoleArn: string;
294
314
  /**
295
315
  * <p>A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions are combined with the permissions granted to Amazon QuickSight by the <code>DatabaseUser</code>. If you choose to include this parameter, the <code>RoleArn</code> must grant access to <code>redshift:JoinGroup</code>.</p>
296
316
  *
@@ -298,90 +318,83 @@ export interface RedshiftIAMParameters {
298
318
  * @maxItems 50
299
319
  */
300
320
  DatabaseGroups?: string[];
301
- /**
302
- * <p>Automatically creates a database user. If your database doesn't have a <code>DatabaseUser</code>, set this parameter to <code>True</code>. If there is no <code>DatabaseUser</code>, Amazon QuickSight can't connect to your cluster. The <code>RoleArn</code> that you use for this operation must grant access to <code>redshift:CreateClusterUser</code> to successfully create the user.</p>
303
- */
304
- AutoCreateDatabaseUser?: boolean;
305
321
  }
306
322
  /**
307
- * <p>The parameters for S3.</p>
323
+ * <p>The parameters for MySQL.</p>
308
324
  */
309
- export interface S3Parameters {
310
- ManifestFileLocation: ManifestFileLocation;
325
+ export interface MySqlParameters {
311
326
  /**
312
- * <p>Use the <code>RoleArn</code> structure to override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use <code>RoleArn</code> to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.</p>
327
+ * <p>Port.</p>
313
328
  */
314
- RoleArn?: string;
329
+ Port: number;
330
+ /**
331
+ * <p>Database.</p>
332
+ */
333
+ Database: string;
334
+ /**
335
+ * <p>Host.</p>
336
+ */
337
+ Host: string;
315
338
  }
316
339
  /**
317
- * <p>Amazon S3 manifest file location.</p>
340
+ * <p>The parameters for SQL Server.</p>
318
341
  */
319
- export interface ManifestFileLocation {
342
+ export interface SqlServerParameters {
320
343
  /**
321
- * <p>Amazon S3 bucket.</p>
344
+ * <p>Port.</p>
322
345
  */
323
- Bucket: string;
346
+ Port: number;
324
347
  /**
325
- * <p>Amazon S3 key that identifies an object.</p>
348
+ * <p>Database.</p>
326
349
  */
327
- Key: string;
350
+ Database: string;
351
+ /**
352
+ * <p>Host.</p>
353
+ */
354
+ Host: string;
328
355
  }
329
356
  /**
330
357
  * <p>The parameters for Snowflake.</p>
331
358
  */
332
359
  export interface SnowflakeParameters {
333
360
  /**
334
- * <p>Host.</p>
361
+ * <p>Warehouse.</p>
335
362
  */
336
- Host: string;
363
+ Warehouse: string;
364
+ DatabaseAccessControlRole?: string;
337
365
  /**
338
366
  * <p>Database.</p>
339
367
  */
340
368
  Database: string;
369
+ OAuthParameters?: OAuthParameters;
341
370
  /**
342
- * <p>Warehouse.</p>
371
+ * <p>Host.</p>
343
372
  */
344
- Warehouse: string;
373
+ Host: string;
345
374
  AuthenticationType?: AuthenticationType;
346
- DatabaseAccessControlRole?: string;
347
- OAuthParameters?: OAuthParameters;
348
- }
349
- export interface OAuthParameters {
350
- TokenProviderUrl: string;
351
- OAuthScope?: string;
352
- IdentityProviderVpcConnectionProperties?: VpcConnectionProperties;
353
- IdentityProviderResourceUri?: string;
354
375
  }
355
376
  /**
356
- * <p>VPC connection properties.</p>
377
+ * <p>The parameters for OpenSearch.</p>
357
378
  */
358
- export interface VpcConnectionProperties {
379
+ export interface AmazonElasticsearchParameters {
359
380
  /**
360
- * <p>The Amazon Resource Name (ARN) for the VPC connection.</p>
381
+ * <p>The OpenSearch domain.</p>
361
382
  */
362
- VpcConnectionArn: string;
383
+ Domain: string;
363
384
  }
364
385
  /**
365
- * <p>The parameters for Spark.</p>
386
+ * <p>The parameters for OpenSearch.</p>
366
387
  */
367
- export interface SparkParameters {
368
- /**
369
- * <p>Host.</p>
370
- */
371
- Host: string;
388
+ export interface AmazonOpenSearchParameters {
372
389
  /**
373
- * <p>Port.</p>
390
+ * <p>The OpenSearch domain.</p>
374
391
  */
375
- Port: number;
392
+ Domain: string;
376
393
  }
377
394
  /**
378
- * <p>The parameters for SQL Server.</p>
395
+ * <p>The parameters for PostgreSQL.</p>
379
396
  */
380
- export interface SqlServerParameters {
381
- /**
382
- * <p>Host.</p>
383
- */
384
- Host: string;
397
+ export interface PostgreSqlParameters {
385
398
  /**
386
399
  * <p>Port.</p>
387
400
  */
@@ -390,15 +403,15 @@ export interface SqlServerParameters {
390
403
  * <p>Database.</p>
391
404
  */
392
405
  Database: string;
393
- }
394
- /**
395
- * <p>The parameters for Teradata.</p>
396
- */
397
- export interface TeradataParameters {
398
406
  /**
399
407
  * <p>Host.</p>
400
408
  */
401
409
  Host: string;
410
+ }
411
+ /**
412
+ * <p>Parameters for Amazon Aurora.</p>
413
+ */
414
+ export interface AuroraParameters {
402
415
  /**
403
416
  * <p>Port.</p>
404
417
  */
@@ -407,77 +420,118 @@ export interface TeradataParameters {
407
420
  * <p>Database.</p>
408
421
  */
409
422
  Database: string;
423
+ /**
424
+ * <p>Host.</p>
425
+ */
426
+ Host: string;
410
427
  }
411
428
  /**
412
- * <p>The parameters for OpenSearch.</p>
429
+ * <p>The parameters for S3.</p>
413
430
  */
414
- export interface AmazonOpenSearchParameters {
431
+ export interface S3Parameters {
432
+ ManifestFileLocation: ManifestFileLocation;
415
433
  /**
416
- * <p>The OpenSearch domain.</p>
434
+ * <p>Use the <code>RoleArn</code> structure to override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use <code>RoleArn</code> to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.</p>
417
435
  */
418
- Domain: string;
436
+ RoleArn?: string;
419
437
  }
420
438
  /**
421
- * <p>The parameters that are required to connect to a Databricks data source.</p>
439
+ * <p>Amazon S3 manifest file location.</p>
422
440
  */
423
- export interface DatabricksParameters {
441
+ export interface ManifestFileLocation {
424
442
  /**
425
- * <p>The host name of the Databricks data source.</p>
443
+ * <p>Amazon S3 bucket.</p>
426
444
  */
427
- Host: string;
445
+ Bucket: string;
428
446
  /**
429
- * <p>The port for the Databricks data source.</p>
447
+ * <p>Amazon S3 key that identifies an object.</p>
448
+ */
449
+ Key: string;
450
+ }
451
+ /**
452
+ * <p>The parameters that are required to connect to a Trino data source.</p>
453
+ */
454
+ export interface TrinoParameters {
455
+ /**
456
+ * <p>The port for the Trino data source.</p>
430
457
  */
431
458
  Port: number;
432
459
  /**
433
- * <p>The HTTP path of the Databricks data source.</p>
460
+ * <p>The host name of the Trino data source.</p>
434
461
  */
435
- SqlEndpointPath: string;
462
+ Host: string;
463
+ /**
464
+ * <p>The catalog name for the Trino data source.</p>
465
+ */
466
+ Catalog: string;
436
467
  }
437
468
  /**
438
- * <p>The parameters that are required to connect to a Starburst data source.</p>
469
+ * <p>The parameters that are required to connect to a Databricks data source.</p>
439
470
  */
440
- export interface StarburstParameters {
471
+ export interface DatabricksParameters {
441
472
  /**
442
- * <p>The host name of the Starburst data source.</p>
473
+ * <p>The port for the Databricks data source.</p>
443
474
  */
444
- Host: string;
475
+ Port: number;
445
476
  /**
446
- * <p>The port for the Starburst data source.</p>
477
+ * <p>The host name of the Databricks data source.</p>
447
478
  */
448
- Port: number;
479
+ Host: string;
449
480
  /**
450
- * <p>The catalog name for the Starburst data source.</p>
481
+ * <p>The HTTP path of the Databricks data source.</p>
451
482
  */
452
- Catalog: string;
453
- ProductType?: StarburstProductType;
454
- DatabaseAccessControlRole?: string;
455
- AuthenticationType?: AuthenticationType;
456
- OAuthParameters?: OAuthParameters;
483
+ SqlEndpointPath: string;
457
484
  }
458
485
  /**
459
- * <p>The parameters that are required to connect to a Trino data source.</p>
486
+ * <p>Permission for the resource.</p>
460
487
  */
461
- export interface TrinoParameters {
488
+ export interface ResourcePermission {
462
489
  /**
463
- * <p>The host name of the Trino data source.</p>
490
+ * <p>The IAM action to grant or revoke permissions on.</p>
491
+ *
492
+ * @minItems 1
493
+ * @maxItems 20
464
494
  */
465
- Host: string;
495
+ Actions: string[];
496
+ Resource?: string;
466
497
  /**
467
- * <p>The port for the Trino data source.</p>
498
+ * <p>The Amazon Resource Name (ARN) of the principal. This can be one of the
499
+ * following:</p>
500
+ * <ul>
501
+ * <li>
502
+ * <p>The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)</p>
503
+ * </li>
504
+ * <li>
505
+ * <p>The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p>
506
+ * </li>
507
+ * <li>
508
+ * <p>The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight
509
+ * ARN. Use this option only to share resources (templates) across Amazon Web Services accounts.
510
+ * (This is less common.) </p>
511
+ * </li>
512
+ * </ul>
468
513
  */
469
- Port: number;
514
+ Principal: string;
515
+ }
516
+ /**
517
+ * <p>Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your
518
+ * underlying data source.</p>
519
+ */
520
+ export interface SslProperties {
470
521
  /**
471
- * <p>The catalog name for the Trino data source.</p>
522
+ * <p>A Boolean option to control whether SSL should be disabled.</p>
472
523
  */
473
- Catalog: string;
524
+ DisableSsl?: boolean;
474
525
  }
475
526
  /**
476
527
  * <p>Data source credentials. This is a variant type structure. For this structure to be
477
528
  * valid, only one of the attributes can be non-null.</p>
478
529
  */
479
530
  export interface DataSourceCredentials {
480
- CredentialPair?: CredentialPair;
531
+ /**
532
+ * <p>The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.</p>
533
+ */
534
+ SecretArn?: string;
481
535
  /**
482
536
  * <p>The Amazon Resource Name (ARN) of a data source that has the credential pair that you
483
537
  * want to use. When <code>CopySourceArn</code> is not null, the credential pair from the
@@ -485,23 +539,12 @@ export interface DataSourceCredentials {
485
539
  * <code>DataSourceCredentials</code> structure.</p>
486
540
  */
487
541
  CopySourceArn?: string;
488
- /**
489
- * <p>The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.</p>
490
- */
491
- SecretArn?: string;
542
+ CredentialPair?: CredentialPair;
492
543
  }
493
544
  /**
494
545
  * <p>The combination of user name and password that are used as credentials.</p>
495
546
  */
496
547
  export interface CredentialPair {
497
- /**
498
- * <p>User name.</p>
499
- */
500
- Username: string;
501
- /**
502
- * <p>Password.</p>
503
- */
504
- Password: string;
505
548
  /**
506
549
  * <p>A set of alternate data source parameters that you want to share for these
507
550
  * credentials. The credentials are applied in tandem with the data source parameters when
@@ -517,69 +560,26 @@ export interface CredentialPair {
517
560
  * @maxItems 50
518
561
  */
519
562
  AlternateDataSourceParameters?: DataSourceParameters[];
520
- }
521
- /**
522
- * <p>Error information for the data source creation or update.</p>
523
- */
524
- export interface DataSourceErrorInfo {
525
- Type?: DataSourceErrorInfoType;
526
563
  /**
527
- * <p>Error message.</p>
528
- */
529
- Message?: string;
530
- }
531
- /**
532
- * <p>Permission for the resource.</p>
533
- */
534
- export interface ResourcePermission {
535
- /**
536
- * <p>The Amazon Resource Name (ARN) of the principal. This can be one of the
537
- * following:</p>
538
- * <ul>
539
- * <li>
540
- * <p>The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)</p>
541
- * </li>
542
- * <li>
543
- * <p>The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p>
544
- * </li>
545
- * <li>
546
- * <p>The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight
547
- * ARN. Use this option only to share resources (templates) across Amazon Web Services accounts.
548
- * (This is less common.) </p>
549
- * </li>
550
- * </ul>
551
- */
552
- Principal: string;
553
- Resource?: string;
554
- /**
555
- * <p>The IAM action to grant or revoke permissions on.</p>
556
- *
557
- * @minItems 1
558
- * @maxItems 20
564
+ * <p>User name.</p>
559
565
  */
560
- Actions: string[];
561
- }
562
- /**
563
- * <p>Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your
564
- * underlying data source.</p>
565
- */
566
- export interface SslProperties {
566
+ Username: string;
567
567
  /**
568
- * <p>A Boolean option to control whether SSL should be disabled.</p>
568
+ * <p>Password.</p>
569
569
  */
570
- DisableSsl?: boolean;
570
+ Password: string;
571
571
  }
572
572
  /**
573
573
  * <p>The key or keys of the key-value pairs for the resource tag or tags assigned to the
574
574
  * resource.</p>
575
575
  */
576
576
  export interface Tag {
577
- /**
578
- * <p>Tag key.</p>
579
- */
580
- Key: string;
581
577
  /**
582
578
  * <p>Tag value.</p>
583
579
  */
584
580
  Value: string;
581
+ /**
582
+ * <p>Tag key.</p>
583
+ */
584
+ Key: string;
585
585
  }