cdk-lambda-subminute 2.0.310 → 2.0.311
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 +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +52 -1
- package/node_modules/aws-sdk/README.md +1 -3
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +423 -86
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +320 -3
- package/node_modules/aws-sdk/apis/amp-2020-08-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/amp-2020-08-01.waiters2.json +33 -0
- package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +141 -6
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.examples.json +714 -0
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +1095 -0
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.paginators.json +28 -0
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +855 -84
- package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +18 -0
- package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.min.json +470 -0
- package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +67 -24
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +243 -39
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +204 -169
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +317 -13
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
- package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +294 -0
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +108 -107
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +211 -4
- package/node_modules/aws-sdk/apis/eks-2017-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.min.json +104 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.paginators.json +4 -0
- package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +71 -33
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
- package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +366 -15
- package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/freetier-2023-09-07.examples.json +5 -0
- package/node_modules/aws-sdk/apis/freetier-2023-09-07.min.json +105 -0
- package/node_modules/aws-sdk/apis/freetier-2023-09-07.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +259 -135
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +64 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +159 -33
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +126 -35
- package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +310 -36
- package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +58 -50
- package/node_modules/aws-sdk/apis/metadata.json +25 -0
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +633 -331
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +85 -52
- package/node_modules/aws-sdk/apis/personalize-events-2018-03-22.min.json +97 -5
- package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +68 -11
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +398 -268
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +14 -2
- package/node_modules/aws-sdk/apis/repostspace-2022-05-13.examples.json +5 -0
- package/node_modules/aws-sdk/apis/repostspace-2022-05-13.min.json +447 -0
- package/node_modules/aws-sdk/apis/repostspace-2022-05-13.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +142 -142
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +45 -0
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +1330 -314
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +15 -0
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +111 -50
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.examples.json +526 -10
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +1057 -352
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +85 -0
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +268 -70
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +119 -96
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +374 -5
- package/node_modules/aws-sdk/clients/all.d.ts +7 -0
- package/node_modules/aws-sdk/clients/all.js +8 -1
- package/node_modules/aws-sdk/clients/amp.d.ts +322 -0
- package/node_modules/aws-sdk/clients/appsync.d.ts +169 -0
- package/node_modules/aws-sdk/clients/b2bi.d.ts +1388 -0
- package/node_modules/aws-sdk/clients/b2bi.js +18 -0
- package/node_modules/aws-sdk/clients/backup.d.ts +848 -45
- package/node_modules/aws-sdk/clients/bcmdataexports.d.ts +589 -0
- package/node_modules/aws-sdk/clients/bcmdataexports.js +18 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +76 -2
- package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +413 -1
- package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +307 -6
- package/node_modules/aws-sdk/clients/configservice.d.ts +60 -11
- package/node_modules/aws-sdk/clients/controltower.d.ts +319 -25
- package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +1283 -0
- package/node_modules/aws-sdk/clients/costoptimizationhub.js +18 -0
- package/node_modules/aws-sdk/clients/detective.d.ts +469 -0
- package/node_modules/aws-sdk/clients/ecs.d.ts +10 -5
- package/node_modules/aws-sdk/clients/efs.d.ts +75 -33
- package/node_modules/aws-sdk/clients/eks.d.ts +237 -15
- package/node_modules/aws-sdk/clients/eksauth.d.ts +124 -0
- package/node_modules/aws-sdk/clients/eksauth.js +19 -0
- package/node_modules/aws-sdk/clients/elbv2.d.ts +433 -4
- package/node_modules/aws-sdk/clients/fis.d.ts +383 -3
- package/node_modules/aws-sdk/clients/freetier.d.ts +149 -0
- package/node_modules/aws-sdk/clients/freetier.js +18 -0
- package/node_modules/aws-sdk/clients/fsx.d.ts +194 -21
- package/node_modules/aws-sdk/clients/glue.d.ts +3 -3
- package/node_modules/aws-sdk/clients/guardduty.d.ts +82 -11
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +198 -13
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +118 -2
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +343 -2
- package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +14 -9
- package/node_modules/aws-sdk/clients/managedblockchain.d.ts +26 -5
- package/node_modules/aws-sdk/clients/personalize.d.ts +65 -20
- package/node_modules/aws-sdk/clients/personalizeevents.d.ts +102 -12
- package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +72 -2
- package/node_modules/aws-sdk/clients/quicksight.d.ts +124 -0
- package/node_modules/aws-sdk/clients/rds.d.ts +80 -80
- package/node_modules/aws-sdk/clients/redshift.d.ts +16 -0
- package/node_modules/aws-sdk/clients/repostspace.d.ts +458 -0
- package/node_modules/aws-sdk/clients/repostspace.js +18 -0
- package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
- package/node_modules/aws-sdk/clients/s3control.d.ts +841 -13
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +94 -5
- package/node_modules/aws-sdk/clients/securityhub.d.ts +908 -15
- package/node_modules/aws-sdk/clients/stepfunctions.d.ts +153 -8
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +312 -46
- package/node_modules/aws-sdk/clients/workspaces.d.ts +43 -1
- package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +895 -0
- package/node_modules/aws-sdk/clients/workspacesthinclient.js +18 -0
- 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 +321 -55
- package/node_modules/aws-sdk/dist/aws-sdk.js +2045 -597
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +104 -104
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +14 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -36,6 +36,14 @@ declare class Amp extends Service {
|
|
36
36
|
* Create a rule group namespace.
|
37
37
|
*/
|
38
38
|
createRuleGroupsNamespace(callback?: (err: AWSError, data: Amp.Types.CreateRuleGroupsNamespaceResponse) => void): Request<Amp.Types.CreateRuleGroupsNamespaceResponse, AWSError>;
|
39
|
+
/**
|
40
|
+
* Create a scraper.
|
41
|
+
*/
|
42
|
+
createScraper(params: Amp.Types.CreateScraperRequest, callback?: (err: AWSError, data: Amp.Types.CreateScraperResponse) => void): Request<Amp.Types.CreateScraperResponse, AWSError>;
|
43
|
+
/**
|
44
|
+
* Create a scraper.
|
45
|
+
*/
|
46
|
+
createScraper(callback?: (err: AWSError, data: Amp.Types.CreateScraperResponse) => void): Request<Amp.Types.CreateScraperResponse, AWSError>;
|
39
47
|
/**
|
40
48
|
* Creates a new AMP workspace.
|
41
49
|
*/
|
@@ -68,6 +76,14 @@ declare class Amp extends Service {
|
|
68
76
|
* Delete a rule groups namespace.
|
69
77
|
*/
|
70
78
|
deleteRuleGroupsNamespace(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
79
|
+
/**
|
80
|
+
* Deletes a scraper.
|
81
|
+
*/
|
82
|
+
deleteScraper(params: Amp.Types.DeleteScraperRequest, callback?: (err: AWSError, data: Amp.Types.DeleteScraperResponse) => void): Request<Amp.Types.DeleteScraperResponse, AWSError>;
|
83
|
+
/**
|
84
|
+
* Deletes a scraper.
|
85
|
+
*/
|
86
|
+
deleteScraper(callback?: (err: AWSError, data: Amp.Types.DeleteScraperResponse) => void): Request<Amp.Types.DeleteScraperResponse, AWSError>;
|
71
87
|
/**
|
72
88
|
* Deletes an AMP workspace.
|
73
89
|
*/
|
@@ -100,6 +116,14 @@ declare class Amp extends Service {
|
|
100
116
|
* Describe a rule groups namespace.
|
101
117
|
*/
|
102
118
|
describeRuleGroupsNamespace(callback?: (err: AWSError, data: Amp.Types.DescribeRuleGroupsNamespaceResponse) => void): Request<Amp.Types.DescribeRuleGroupsNamespaceResponse, AWSError>;
|
119
|
+
/**
|
120
|
+
* Describe an existing scraper.
|
121
|
+
*/
|
122
|
+
describeScraper(params: Amp.Types.DescribeScraperRequest, callback?: (err: AWSError, data: Amp.Types.DescribeScraperResponse) => void): Request<Amp.Types.DescribeScraperResponse, AWSError>;
|
123
|
+
/**
|
124
|
+
* Describe an existing scraper.
|
125
|
+
*/
|
126
|
+
describeScraper(callback?: (err: AWSError, data: Amp.Types.DescribeScraperResponse) => void): Request<Amp.Types.DescribeScraperResponse, AWSError>;
|
103
127
|
/**
|
104
128
|
* Describes an existing AMP workspace.
|
105
129
|
*/
|
@@ -108,6 +132,14 @@ declare class Amp extends Service {
|
|
108
132
|
* Describes an existing AMP workspace.
|
109
133
|
*/
|
110
134
|
describeWorkspace(callback?: (err: AWSError, data: Amp.Types.DescribeWorkspaceResponse) => void): Request<Amp.Types.DescribeWorkspaceResponse, AWSError>;
|
135
|
+
/**
|
136
|
+
* Gets a default configuration.
|
137
|
+
*/
|
138
|
+
getDefaultScraperConfiguration(params: Amp.Types.GetDefaultScraperConfigurationRequest, callback?: (err: AWSError, data: Amp.Types.GetDefaultScraperConfigurationResponse) => void): Request<Amp.Types.GetDefaultScraperConfigurationResponse, AWSError>;
|
139
|
+
/**
|
140
|
+
* Gets a default configuration.
|
141
|
+
*/
|
142
|
+
getDefaultScraperConfiguration(callback?: (err: AWSError, data: Amp.Types.GetDefaultScraperConfigurationResponse) => void): Request<Amp.Types.GetDefaultScraperConfigurationResponse, AWSError>;
|
111
143
|
/**
|
112
144
|
* Lists rule groups namespaces.
|
113
145
|
*/
|
@@ -116,6 +148,14 @@ declare class Amp extends Service {
|
|
116
148
|
* Lists rule groups namespaces.
|
117
149
|
*/
|
118
150
|
listRuleGroupsNamespaces(callback?: (err: AWSError, data: Amp.Types.ListRuleGroupsNamespacesResponse) => void): Request<Amp.Types.ListRuleGroupsNamespacesResponse, AWSError>;
|
151
|
+
/**
|
152
|
+
* Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
|
153
|
+
*/
|
154
|
+
listScrapers(params: Amp.Types.ListScrapersRequest, callback?: (err: AWSError, data: Amp.Types.ListScrapersResponse) => void): Request<Amp.Types.ListScrapersResponse, AWSError>;
|
155
|
+
/**
|
156
|
+
* Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
|
157
|
+
*/
|
158
|
+
listScrapers(callback?: (err: AWSError, data: Amp.Types.ListScrapersResponse) => void): Request<Amp.Types.ListScrapersResponse, AWSError>;
|
119
159
|
/**
|
120
160
|
* Lists the tags you have assigned to the resource.
|
121
161
|
*/
|
@@ -180,6 +220,22 @@ declare class Amp extends Service {
|
|
180
220
|
* Updates an AMP workspace alias.
|
181
221
|
*/
|
182
222
|
updateWorkspaceAlias(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
223
|
+
/**
|
224
|
+
* Waits for the scraperActive state by periodically calling the underlying Amp.describeScraperoperation every 2 seconds (at most 60 times). Wait until a scraper reaches ACTIVE status
|
225
|
+
*/
|
226
|
+
waitFor(state: "scraperActive", params: Amp.Types.DescribeScraperRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: Amp.Types.DescribeScraperResponse) => void): Request<Amp.Types.DescribeScraperResponse, AWSError>;
|
227
|
+
/**
|
228
|
+
* Waits for the scraperActive state by periodically calling the underlying Amp.describeScraperoperation every 2 seconds (at most 60 times). Wait until a scraper reaches ACTIVE status
|
229
|
+
*/
|
230
|
+
waitFor(state: "scraperActive", callback?: (err: AWSError, data: Amp.Types.DescribeScraperResponse) => void): Request<Amp.Types.DescribeScraperResponse, AWSError>;
|
231
|
+
/**
|
232
|
+
* Waits for the scraperDeleted state by periodically calling the underlying Amp.describeScraperoperation every 2 seconds (at most 60 times). Wait until a scraper reaches DELETED status
|
233
|
+
*/
|
234
|
+
waitFor(state: "scraperDeleted", params: Amp.Types.DescribeScraperRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: Amp.Types.DescribeScraperResponse) => void): Request<Amp.Types.DescribeScraperResponse, AWSError>;
|
235
|
+
/**
|
236
|
+
* Waits for the scraperDeleted state by periodically calling the underlying Amp.describeScraperoperation every 2 seconds (at most 60 times). Wait until a scraper reaches DELETED status
|
237
|
+
*/
|
238
|
+
waitFor(state: "scraperDeleted", callback?: (err: AWSError, data: Amp.Types.DescribeScraperResponse) => void): Request<Amp.Types.DescribeScraperResponse, AWSError>;
|
183
239
|
/**
|
184
240
|
* Waits for the workspaceActive state by periodically calling the underlying Amp.describeWorkspaceoperation every 2 seconds (at most 60 times). Wait until a workspace reaches ACTIVE status
|
185
241
|
*/
|
@@ -228,6 +284,14 @@ declare namespace Amp {
|
|
228
284
|
statusReason?: String;
|
229
285
|
}
|
230
286
|
export type AlertManagerDefinitionStatusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED"|string;
|
287
|
+
export interface AmpConfiguration {
|
288
|
+
/**
|
289
|
+
* The ARN of an AMP workspace.
|
290
|
+
*/
|
291
|
+
workspaceArn: WorkspaceArn;
|
292
|
+
}
|
293
|
+
export type _Blob = Buffer|Uint8Array|Blob|string;
|
294
|
+
export type ClusterArn = string;
|
231
295
|
export interface CreateAlertManagerDefinitionRequest {
|
232
296
|
/**
|
233
297
|
* The ID of the workspace in which to create the alert manager definition.
|
@@ -308,6 +372,50 @@ declare namespace Amp {
|
|
308
372
|
*/
|
309
373
|
tags?: TagMap;
|
310
374
|
}
|
375
|
+
export interface CreateScraperRequest {
|
376
|
+
/**
|
377
|
+
* An optional user-assigned alias for this scraper. This alias is for user reference and does not need to be unique.
|
378
|
+
*/
|
379
|
+
alias?: ScraperAlias;
|
380
|
+
/**
|
381
|
+
* The configuration used to create the scraper.
|
382
|
+
*/
|
383
|
+
scrapeConfiguration: ScrapeConfiguration;
|
384
|
+
/**
|
385
|
+
* The source that the scraper will be discovering and collecting metrics from.
|
386
|
+
*/
|
387
|
+
source: Source;
|
388
|
+
/**
|
389
|
+
* The destination that the scraper will be producing metrics to.
|
390
|
+
*/
|
391
|
+
destination: Destination;
|
392
|
+
/**
|
393
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
394
|
+
*/
|
395
|
+
clientToken?: IdempotencyToken;
|
396
|
+
/**
|
397
|
+
* Optional, user-provided tags for this scraper.
|
398
|
+
*/
|
399
|
+
tags?: TagMap;
|
400
|
+
}
|
401
|
+
export interface CreateScraperResponse {
|
402
|
+
/**
|
403
|
+
* The generated ID of the scraper that was just created.
|
404
|
+
*/
|
405
|
+
scraperId: ScraperId;
|
406
|
+
/**
|
407
|
+
* The ARN of the scraper that was just created.
|
408
|
+
*/
|
409
|
+
arn: ScraperArn;
|
410
|
+
/**
|
411
|
+
* The status of the scraper that was just created (usually CREATING).
|
412
|
+
*/
|
413
|
+
status: ScraperStatus;
|
414
|
+
/**
|
415
|
+
* The tags of this scraper.
|
416
|
+
*/
|
417
|
+
tags?: TagMap;
|
418
|
+
}
|
311
419
|
export interface CreateWorkspaceRequest {
|
312
420
|
/**
|
313
421
|
* An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
|
@@ -374,6 +482,26 @@ declare namespace Amp {
|
|
374
482
|
*/
|
375
483
|
clientToken?: IdempotencyToken;
|
376
484
|
}
|
485
|
+
export interface DeleteScraperRequest {
|
486
|
+
/**
|
487
|
+
* The ID of the scraper to delete.
|
488
|
+
*/
|
489
|
+
scraperId: ScraperId;
|
490
|
+
/**
|
491
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
492
|
+
*/
|
493
|
+
clientToken?: IdempotencyToken;
|
494
|
+
}
|
495
|
+
export interface DeleteScraperResponse {
|
496
|
+
/**
|
497
|
+
* The ID of the scraper that was deleted.
|
498
|
+
*/
|
499
|
+
scraperId: ScraperId;
|
500
|
+
/**
|
501
|
+
* The status of the scraper that is being deleted.
|
502
|
+
*/
|
503
|
+
status: ScraperStatus;
|
504
|
+
}
|
377
505
|
export interface DeleteWorkspaceRequest {
|
378
506
|
/**
|
379
507
|
* The ID of the workspace to delete.
|
@@ -424,6 +552,18 @@ declare namespace Amp {
|
|
424
552
|
*/
|
425
553
|
ruleGroupsNamespace: RuleGroupsNamespaceDescription;
|
426
554
|
}
|
555
|
+
export interface DescribeScraperRequest {
|
556
|
+
/**
|
557
|
+
* The IDs of the scraper to describe.
|
558
|
+
*/
|
559
|
+
scraperId: ScraperId;
|
560
|
+
}
|
561
|
+
export interface DescribeScraperResponse {
|
562
|
+
/**
|
563
|
+
* The properties of the selected scrapers.
|
564
|
+
*/
|
565
|
+
scraper: ScraperDescription;
|
566
|
+
}
|
427
567
|
export interface DescribeWorkspaceRequest {
|
428
568
|
/**
|
429
569
|
* The ID of the workspace to describe.
|
@@ -436,6 +576,38 @@ declare namespace Amp {
|
|
436
576
|
*/
|
437
577
|
workspace: WorkspaceDescription;
|
438
578
|
}
|
579
|
+
export interface Destination {
|
580
|
+
/**
|
581
|
+
* A representation of an AMP destination.
|
582
|
+
*/
|
583
|
+
ampConfiguration?: AmpConfiguration;
|
584
|
+
}
|
585
|
+
export interface EksConfiguration {
|
586
|
+
/**
|
587
|
+
* The ARN of an EKS cluster.
|
588
|
+
*/
|
589
|
+
clusterArn: ClusterArn;
|
590
|
+
/**
|
591
|
+
* A list of security group IDs specified for VPC configuration.
|
592
|
+
*/
|
593
|
+
securityGroupIds?: SecurityGroupIds;
|
594
|
+
/**
|
595
|
+
* A list of subnet IDs specified for VPC configuration.
|
596
|
+
*/
|
597
|
+
subnetIds: SubnetIds;
|
598
|
+
}
|
599
|
+
export type FilterKey = string;
|
600
|
+
export type FilterValue = string;
|
601
|
+
export type FilterValues = FilterValue[];
|
602
|
+
export interface GetDefaultScraperConfigurationRequest {
|
603
|
+
}
|
604
|
+
export interface GetDefaultScraperConfigurationResponse {
|
605
|
+
/**
|
606
|
+
* The default configuration.
|
607
|
+
*/
|
608
|
+
configuration: _Blob;
|
609
|
+
}
|
610
|
+
export type IamRoleArn = string;
|
439
611
|
export type IdempotencyToken = string;
|
440
612
|
export interface ListRuleGroupsNamespacesRequest {
|
441
613
|
/**
|
@@ -466,6 +638,31 @@ declare namespace Amp {
|
|
466
638
|
*/
|
467
639
|
nextToken?: PaginationToken;
|
468
640
|
}
|
641
|
+
export interface ListScrapersRequest {
|
642
|
+
/**
|
643
|
+
* A list of scraper filters.
|
644
|
+
*/
|
645
|
+
filters?: ScraperFilters;
|
646
|
+
/**
|
647
|
+
* Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListScrapers request.
|
648
|
+
*/
|
649
|
+
nextToken?: PaginationToken;
|
650
|
+
/**
|
651
|
+
* Maximum results to return in response (default=100, maximum=1000).
|
652
|
+
*/
|
653
|
+
maxResults?: ListScrapersRequestMaxResultsInteger;
|
654
|
+
}
|
655
|
+
export type ListScrapersRequestMaxResultsInteger = number;
|
656
|
+
export interface ListScrapersResponse {
|
657
|
+
/**
|
658
|
+
* The list of scrapers, filtered down if a set of filters was provided in the request.
|
659
|
+
*/
|
660
|
+
scrapers: ScraperSummaryList;
|
661
|
+
/**
|
662
|
+
* Pagination token to use when requesting the next page in this list.
|
663
|
+
*/
|
664
|
+
nextToken?: PaginationToken;
|
665
|
+
}
|
469
666
|
export interface ListTagsForResourceRequest {
|
470
667
|
/**
|
471
668
|
* The ARN of the resource.
|
@@ -662,7 +859,132 @@ declare namespace Amp {
|
|
662
859
|
tags?: TagMap;
|
663
860
|
}
|
664
861
|
export type RuleGroupsNamespaceSummaryList = RuleGroupsNamespaceSummary[];
|
862
|
+
export interface ScrapeConfiguration {
|
863
|
+
/**
|
864
|
+
* Binary data representing a Prometheus configuration file.
|
865
|
+
*/
|
866
|
+
configurationBlob?: _Blob;
|
867
|
+
}
|
868
|
+
export type ScraperAlias = string;
|
869
|
+
export type ScraperArn = string;
|
870
|
+
export interface ScraperDescription {
|
871
|
+
/**
|
872
|
+
* Alias of this scraper.
|
873
|
+
*/
|
874
|
+
alias?: ScraperAlias;
|
875
|
+
/**
|
876
|
+
* Unique string identifying this scraper.
|
877
|
+
*/
|
878
|
+
scraperId: ScraperId;
|
879
|
+
/**
|
880
|
+
* The Amazon Resource Name (ARN) of this scraper.
|
881
|
+
*/
|
882
|
+
arn: ScraperArn;
|
883
|
+
/**
|
884
|
+
* The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
|
885
|
+
*/
|
886
|
+
roleArn: IamRoleArn;
|
887
|
+
/**
|
888
|
+
* The status of this scraper.
|
889
|
+
*/
|
890
|
+
status: ScraperStatus;
|
891
|
+
/**
|
892
|
+
* The time when the scraper was created.
|
893
|
+
*/
|
894
|
+
createdAt: Timestamp;
|
895
|
+
/**
|
896
|
+
* The time when the scraper was last modified.
|
897
|
+
*/
|
898
|
+
lastModifiedAt: Timestamp;
|
899
|
+
/**
|
900
|
+
* The tags of this scraper.
|
901
|
+
*/
|
902
|
+
tags?: TagMap;
|
903
|
+
/**
|
904
|
+
* The reason for failure if any.
|
905
|
+
*/
|
906
|
+
statusReason?: StatusReason;
|
907
|
+
/**
|
908
|
+
* The configuration used to create the scraper.
|
909
|
+
*/
|
910
|
+
scrapeConfiguration: ScrapeConfiguration;
|
911
|
+
/**
|
912
|
+
* The source that the scraper is discovering and collecting metrics from.
|
913
|
+
*/
|
914
|
+
source: Source;
|
915
|
+
/**
|
916
|
+
* The destination that the scraper is producing metrics to.
|
917
|
+
*/
|
918
|
+
destination: Destination;
|
919
|
+
}
|
920
|
+
export type ScraperFilters = {[key: string]: FilterValues};
|
921
|
+
export type ScraperId = string;
|
922
|
+
export interface ScraperStatus {
|
923
|
+
/**
|
924
|
+
* Status code of this scraper.
|
925
|
+
*/
|
926
|
+
statusCode: ScraperStatusCode;
|
927
|
+
}
|
928
|
+
export type ScraperStatusCode = "CREATING"|"ACTIVE"|"DELETING"|"CREATION_FAILED"|"DELETION_FAILED"|string;
|
929
|
+
export interface ScraperSummary {
|
930
|
+
/**
|
931
|
+
* Alias of this scraper.
|
932
|
+
*/
|
933
|
+
alias?: ScraperAlias;
|
934
|
+
/**
|
935
|
+
* Unique string identifying this scraper.
|
936
|
+
*/
|
937
|
+
scraperId: ScraperId;
|
938
|
+
/**
|
939
|
+
* The Amazon Resource Name (ARN) of this scraper.
|
940
|
+
*/
|
941
|
+
arn: ScraperArn;
|
942
|
+
/**
|
943
|
+
* The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
|
944
|
+
*/
|
945
|
+
roleArn: IamRoleArn;
|
946
|
+
/**
|
947
|
+
* The status of this scraper.
|
948
|
+
*/
|
949
|
+
status: ScraperStatus;
|
950
|
+
/**
|
951
|
+
* The time when the scraper was created.
|
952
|
+
*/
|
953
|
+
createdAt: Timestamp;
|
954
|
+
/**
|
955
|
+
* The time when the scraper was last modified.
|
956
|
+
*/
|
957
|
+
lastModifiedAt: Timestamp;
|
958
|
+
/**
|
959
|
+
* The tags of this scraper.
|
960
|
+
*/
|
961
|
+
tags?: TagMap;
|
962
|
+
/**
|
963
|
+
* The reason for failure if any.
|
964
|
+
*/
|
965
|
+
statusReason?: StatusReason;
|
966
|
+
/**
|
967
|
+
* The source that the scraper is discovering and collecting metrics from.
|
968
|
+
*/
|
969
|
+
source: Source;
|
970
|
+
/**
|
971
|
+
* The destination that the scraper is producing metrics to.
|
972
|
+
*/
|
973
|
+
destination: Destination;
|
974
|
+
}
|
975
|
+
export type ScraperSummaryList = ScraperSummary[];
|
976
|
+
export type SecurityGroupId = string;
|
977
|
+
export type SecurityGroupIds = SecurityGroupId[];
|
978
|
+
export interface Source {
|
979
|
+
/**
|
980
|
+
* A representation of an EKS source.
|
981
|
+
*/
|
982
|
+
eksConfiguration?: EksConfiguration;
|
983
|
+
}
|
984
|
+
export type StatusReason = string;
|
665
985
|
export type String = string;
|
986
|
+
export type SubnetId = string;
|
987
|
+
export type SubnetIds = SubnetId[];
|
666
988
|
export type TagKey = string;
|
667
989
|
export type TagKeys = TagKey[];
|
668
990
|
export type TagMap = {[key: string]: TagValue};
|
@@ -235,6 +235,14 @@ declare class AppSync extends Service {
|
|
235
235
|
* Retrieves a DataSource object.
|
236
236
|
*/
|
237
237
|
getDataSource(callback?: (err: AWSError, data: AppSync.Types.GetDataSourceResponse) => void): Request<AppSync.Types.GetDataSourceResponse, AWSError>;
|
238
|
+
/**
|
239
|
+
* Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
|
240
|
+
*/
|
241
|
+
getDataSourceIntrospection(params: AppSync.Types.GetDataSourceIntrospectionRequest, callback?: (err: AWSError, data: AppSync.Types.GetDataSourceIntrospectionResponse) => void): Request<AppSync.Types.GetDataSourceIntrospectionResponse, AWSError>;
|
242
|
+
/**
|
243
|
+
* Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
|
244
|
+
*/
|
245
|
+
getDataSourceIntrospection(callback?: (err: AWSError, data: AppSync.Types.GetDataSourceIntrospectionResponse) => void): Request<AppSync.Types.GetDataSourceIntrospectionResponse, AWSError>;
|
238
246
|
/**
|
239
247
|
* Retrieves a custom DomainName object.
|
240
248
|
*/
|
@@ -387,6 +395,14 @@ declare class AppSync extends Service {
|
|
387
395
|
* Lists Type objects by the source API association ID.
|
388
396
|
*/
|
389
397
|
listTypesByAssociation(callback?: (err: AWSError, data: AppSync.Types.ListTypesByAssociationResponse) => void): Request<AppSync.Types.ListTypesByAssociationResponse, AWSError>;
|
398
|
+
/**
|
399
|
+
* Creates a new introspection. Returns the introspectionId of the new introspection after its creation.
|
400
|
+
*/
|
401
|
+
startDataSourceIntrospection(params: AppSync.Types.StartDataSourceIntrospectionRequest, callback?: (err: AWSError, data: AppSync.Types.StartDataSourceIntrospectionResponse) => void): Request<AppSync.Types.StartDataSourceIntrospectionResponse, AWSError>;
|
402
|
+
/**
|
403
|
+
* Creates a new introspection. Returns the introspectionId of the new introspection after its creation.
|
404
|
+
*/
|
405
|
+
startDataSourceIntrospection(callback?: (err: AWSError, data: AppSync.Types.StartDataSourceIntrospectionResponse) => void): Request<AppSync.Types.StartDataSourceIntrospectionResponse, AWSError>;
|
390
406
|
/**
|
391
407
|
* Adds a new schema to your GraphQL API. This operation is asynchronous. Use to determine when it has completed.
|
392
408
|
*/
|
@@ -1101,6 +1117,86 @@ declare namespace AppSync {
|
|
1101
1117
|
*/
|
1102
1118
|
eventBridgeConfig?: EventBridgeDataSourceConfig;
|
1103
1119
|
}
|
1120
|
+
export interface DataSourceIntrospectionModel {
|
1121
|
+
/**
|
1122
|
+
* The name of the model. For example, this could be the name of a single table in a database.
|
1123
|
+
*/
|
1124
|
+
name?: String;
|
1125
|
+
/**
|
1126
|
+
* The DataSourceIntrospectionModelField object data.
|
1127
|
+
*/
|
1128
|
+
fields?: DataSourceIntrospectionModelFields;
|
1129
|
+
/**
|
1130
|
+
* The primary key stored as a DataSourceIntrospectionModelIndex object.
|
1131
|
+
*/
|
1132
|
+
primaryKey?: DataSourceIntrospectionModelIndex;
|
1133
|
+
/**
|
1134
|
+
* The array of DataSourceIntrospectionModelIndex objects.
|
1135
|
+
*/
|
1136
|
+
indexes?: DataSourceIntrospectionModelIndexes;
|
1137
|
+
/**
|
1138
|
+
* Contains the output of the SDL that was generated from the introspected types. This is controlled by the includeModelsSDL parameter of the GetDataSourceIntrospection operation.
|
1139
|
+
*/
|
1140
|
+
sdl?: String;
|
1141
|
+
}
|
1142
|
+
export interface DataSourceIntrospectionModelField {
|
1143
|
+
/**
|
1144
|
+
* The name of the field that was retrieved from the introspected data.
|
1145
|
+
*/
|
1146
|
+
name?: String;
|
1147
|
+
/**
|
1148
|
+
* The DataSourceIntrospectionModelFieldType object data.
|
1149
|
+
*/
|
1150
|
+
type?: DataSourceIntrospectionModelFieldType;
|
1151
|
+
/**
|
1152
|
+
* The length value of the introspected field.
|
1153
|
+
*/
|
1154
|
+
length?: Long;
|
1155
|
+
}
|
1156
|
+
export interface DataSourceIntrospectionModelFieldType {
|
1157
|
+
/**
|
1158
|
+
* Specifies the classification of data. For example, this could be set to values like Scalar or NonNull to indicate a fundamental property of the field. Valid values include: Scalar: Indicates the value is a primitive type (scalar). NonNull: Indicates the field cannot be null. List: Indicates the field contains a list.
|
1159
|
+
*/
|
1160
|
+
kind?: String;
|
1161
|
+
/**
|
1162
|
+
* The name of the data type that represents the field. For example, String is a valid name value.
|
1163
|
+
*/
|
1164
|
+
name?: String;
|
1165
|
+
/**
|
1166
|
+
* The DataSourceIntrospectionModelFieldType object data. The type is only present if DataSourceIntrospectionModelFieldType.kind is set to NonNull or List. The type typically contains its own kind and name fields to represent the actual type data. For instance, type could contain a kind value of Scalar with a name value of String. The values Scalar and String will be collectively stored in the values field.
|
1167
|
+
*/
|
1168
|
+
type?: DataSourceIntrospectionModelFieldType;
|
1169
|
+
/**
|
1170
|
+
* The values of the type field. This field represents the AppSync data type equivalent of the introspected field.
|
1171
|
+
*/
|
1172
|
+
values?: DataSourceIntrospectionModelFieldTypeValues;
|
1173
|
+
}
|
1174
|
+
export type DataSourceIntrospectionModelFieldTypeValues = String[];
|
1175
|
+
export type DataSourceIntrospectionModelFields = DataSourceIntrospectionModelField[];
|
1176
|
+
export interface DataSourceIntrospectionModelIndex {
|
1177
|
+
/**
|
1178
|
+
* The name of the index.
|
1179
|
+
*/
|
1180
|
+
name?: String;
|
1181
|
+
/**
|
1182
|
+
* The fields of the index.
|
1183
|
+
*/
|
1184
|
+
fields?: DataSourceIntrospectionModelIndexFields;
|
1185
|
+
}
|
1186
|
+
export type DataSourceIntrospectionModelIndexFields = String[];
|
1187
|
+
export type DataSourceIntrospectionModelIndexes = DataSourceIntrospectionModelIndex[];
|
1188
|
+
export type DataSourceIntrospectionModels = DataSourceIntrospectionModel[];
|
1189
|
+
export interface DataSourceIntrospectionResult {
|
1190
|
+
/**
|
1191
|
+
* The array of DataSourceIntrospectionModel objects.
|
1192
|
+
*/
|
1193
|
+
models?: DataSourceIntrospectionModels;
|
1194
|
+
/**
|
1195
|
+
* Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken value from the previous response.
|
1196
|
+
*/
|
1197
|
+
nextToken?: PaginationToken;
|
1198
|
+
}
|
1199
|
+
export type DataSourceIntrospectionStatus = "PROCESSING"|"FAILED"|"SUCCESS"|string;
|
1104
1200
|
export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|"AMAZON_OPENSEARCH_SERVICE"|"AMAZON_EVENTBRIDGE"|string;
|
1105
1201
|
export type DataSources = DataSource[];
|
1106
1202
|
export type _Date = Date;
|
@@ -1463,6 +1559,42 @@ declare namespace AppSync {
|
|
1463
1559
|
*/
|
1464
1560
|
apiCache?: ApiCache;
|
1465
1561
|
}
|
1562
|
+
export interface GetDataSourceIntrospectionRequest {
|
1563
|
+
/**
|
1564
|
+
* The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
|
1565
|
+
*/
|
1566
|
+
introspectionId: String;
|
1567
|
+
/**
|
1568
|
+
* A boolean flag that determines whether SDL should be generated for introspected types or not. If set to true, each model will contain an sdl property that contains the SDL for that type. The SDL only contains the type data and no additional metadata or directives.
|
1569
|
+
*/
|
1570
|
+
includeModelsSDL?: Boolean;
|
1571
|
+
/**
|
1572
|
+
* Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken value from the previous response.
|
1573
|
+
*/
|
1574
|
+
nextToken?: PaginationToken;
|
1575
|
+
/**
|
1576
|
+
* The maximum number of introspected types that will be returned in a single response.
|
1577
|
+
*/
|
1578
|
+
maxResults?: MaxResults;
|
1579
|
+
}
|
1580
|
+
export interface GetDataSourceIntrospectionResponse {
|
1581
|
+
/**
|
1582
|
+
* The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
|
1583
|
+
*/
|
1584
|
+
introspectionId?: String;
|
1585
|
+
/**
|
1586
|
+
* The status of the introspection during retrieval. By default, when a new instrospection is being retrieved, the status will be set to PROCESSING. Once the operation has been completed, the status will change to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.
|
1587
|
+
*/
|
1588
|
+
introspectionStatus?: DataSourceIntrospectionStatus;
|
1589
|
+
/**
|
1590
|
+
* The error detail field. When a FAILED introspectionStatus is returned, the introspectionStatusDetail will also return the exact error that was generated during the operation.
|
1591
|
+
*/
|
1592
|
+
introspectionStatusDetail?: String;
|
1593
|
+
/**
|
1594
|
+
* The DataSourceIntrospectionResult object data.
|
1595
|
+
*/
|
1596
|
+
introspectionResult?: DataSourceIntrospectionResult;
|
1597
|
+
}
|
1466
1598
|
export interface GetDataSourceRequest {
|
1467
1599
|
/**
|
1468
1600
|
* The API ID.
|
@@ -2058,6 +2190,23 @@ declare namespace AppSync {
|
|
2058
2190
|
*/
|
2059
2191
|
functions?: FunctionsIds;
|
2060
2192
|
}
|
2193
|
+
export interface RdsDataApiConfig {
|
2194
|
+
/**
|
2195
|
+
* The resource ARN of the RDS cluster.
|
2196
|
+
*/
|
2197
|
+
resourceArn: RdsDataApiConfigResourceArn;
|
2198
|
+
/**
|
2199
|
+
* The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
|
2200
|
+
*/
|
2201
|
+
secretArn: RdsDataApiConfigSecretArn;
|
2202
|
+
/**
|
2203
|
+
* The name of the database in the cluster.
|
2204
|
+
*/
|
2205
|
+
databaseName: RdsDataApiConfigDatabaseName;
|
2206
|
+
}
|
2207
|
+
export type RdsDataApiConfigDatabaseName = string;
|
2208
|
+
export type RdsDataApiConfigResourceArn = string;
|
2209
|
+
export type RdsDataApiConfigSecretArn = string;
|
2061
2210
|
export interface RdsHttpEndpointConfig {
|
2062
2211
|
/**
|
2063
2212
|
* Amazon Web Services Region for Amazon RDS HTTP endpoint.
|
@@ -2232,6 +2381,26 @@ declare namespace AppSync {
|
|
2232
2381
|
description?: String;
|
2233
2382
|
}
|
2234
2383
|
export type SourceApiAssociationSummaryList = SourceApiAssociationSummary[];
|
2384
|
+
export interface StartDataSourceIntrospectionRequest {
|
2385
|
+
/**
|
2386
|
+
* The rdsDataApiConfig object data.
|
2387
|
+
*/
|
2388
|
+
rdsDataApiConfig?: RdsDataApiConfig;
|
2389
|
+
}
|
2390
|
+
export interface StartDataSourceIntrospectionResponse {
|
2391
|
+
/**
|
2392
|
+
* The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
|
2393
|
+
*/
|
2394
|
+
introspectionId?: String;
|
2395
|
+
/**
|
2396
|
+
* The status of the introspection during creation. By default, when a new instrospection has been created, the status will be set to PROCESSING. Once the operation has been completed, the status will change to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.
|
2397
|
+
*/
|
2398
|
+
introspectionStatus?: DataSourceIntrospectionStatus;
|
2399
|
+
/**
|
2400
|
+
* The error detail field. When a FAILED introspectionStatus is returned, the introspectionStatusDetail will also return the exact error that was generated during the operation.
|
2401
|
+
*/
|
2402
|
+
introspectionStatusDetail?: String;
|
2403
|
+
}
|
2235
2404
|
export interface StartSchemaCreationRequest {
|
2236
2405
|
/**
|
2237
2406
|
* The API ID.
|