cdk-lambda-subminute 2.0.301 → 2.0.302
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 +30 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +6 -0
- package/node_modules/aws-sdk/apis/cloud9-2017-09-23.examples.json +1 -0
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +90 -81
- package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +16 -0
- 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/ec2-2016-11-15.min.json +1853 -1396
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +100 -40
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +91 -78
- package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.min.json +172 -0
- package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +16 -4
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +379 -301
- package/node_modules/aws-sdk/apis/metadata.json +3 -3
- package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +66 -12
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +233 -217
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +250 -91
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +39 -38
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +126 -126
- package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.min.json +21 -13
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +228 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +94 -8
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +794 -0
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +269 -199
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +790 -27
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.paginators.json +18 -0
- package/node_modules/aws-sdk/clients/all.d.ts +1 -1
- package/node_modules/aws-sdk/clients/all.js +2 -2
- package/node_modules/aws-sdk/clients/appmesh.d.ts +2 -2
- package/node_modules/aws-sdk/clients/athena.d.ts +27 -19
- package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +14 -1
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +22 -2
- package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
- package/node_modules/aws-sdk/clients/connect.d.ts +2 -2
- package/node_modules/aws-sdk/clients/dlm.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ec2.d.ts +563 -22
- package/node_modules/aws-sdk/clients/ecr.d.ts +128 -7
- package/node_modules/aws-sdk/clients/emr.d.ts +80 -43
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +40 -37
- package/node_modules/aws-sdk/clients/internetmonitor.d.ts +157 -4
- package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +8 -8
- package/node_modules/aws-sdk/clients/medialive.d.ts +121 -47
- package/node_modules/aws-sdk/clients/osis.d.ts +55 -0
- package/node_modules/aws-sdk/clients/rds.d.ts +31 -4
- package/node_modules/aws-sdk/clients/redshift.d.ts +207 -0
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +5 -0
- package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ssoadmin.d.ts +18 -6
- package/node_modules/aws-sdk/clients/ssooidc.d.ts +99 -16
- package/node_modules/aws-sdk/clients/sts.d.ts +3 -3
- package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +918 -0
- package/node_modules/aws-sdk/clients/trustedadvisor.js +18 -0
- package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +67 -1
- package/node_modules/aws-sdk/clients/wisdom.d.ts +849 -25
- 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 +1420 -1420
- package/node_modules/aws-sdk/dist/aws-sdk.js +2651 -1909
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +101 -101
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
- package/node_modules/aws-sdk/apis/macie-2017-12-19.min.json +0 -222
- package/node_modules/aws-sdk/apis/macie-2017-12-19.paginators.json +0 -14
- package/node_modules/aws-sdk/clients/macie.d.ts +0 -284
- package/node_modules/aws-sdk/clients/macie.js +0 -18
- /package/node_modules/aws-sdk/apis/{macie-2017-12-19.examples.json → trustedadvisor-2022-09-15.examples.json} +0 -0
@@ -28,11 +28,11 @@ declare class EventBridge extends Service {
|
|
28
28
|
*/
|
29
29
|
cancelReplay(callback?: (err: AWSError, data: EventBridge.Types.CancelReplayResponse) => void): Request<EventBridge.Types.CancelReplayResponse, AWSError>;
|
30
30
|
/**
|
31
|
-
* Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.
|
31
|
+
* Creates an API destination, which is an HTTP invocation endpoint configured as a target for events. API destinations do not support private destinations, such as interface VPC endpoints. For more information, see API destinations in the EventBridge User Guide.
|
32
32
|
*/
|
33
33
|
createApiDestination(params: EventBridge.Types.CreateApiDestinationRequest, callback?: (err: AWSError, data: EventBridge.Types.CreateApiDestinationResponse) => void): Request<EventBridge.Types.CreateApiDestinationResponse, AWSError>;
|
34
34
|
/**
|
35
|
-
* Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.
|
35
|
+
* Creates an API destination, which is an HTTP invocation endpoint configured as a target for events. API destinations do not support private destinations, such as interface VPC endpoints. For more information, see API destinations in the EventBridge User Guide.
|
36
36
|
*/
|
37
37
|
createApiDestination(callback?: (err: AWSError, data: EventBridge.Types.CreateApiDestinationResponse) => void): Request<EventBridge.Types.CreateApiDestinationResponse, AWSError>;
|
38
38
|
/**
|
@@ -68,11 +68,11 @@ declare class EventBridge extends Service {
|
|
68
68
|
*/
|
69
69
|
createEventBus(callback?: (err: AWSError, data: EventBridge.Types.CreateEventBusResponse) => void): Request<EventBridge.Types.CreateEventBusResponse, AWSError>;
|
70
70
|
/**
|
71
|
-
* Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers. Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one partner event source for each Amazon Web Services account that wants to receive those event types. A partner event source creates events based on resources within the SaaS partner's service or application. An Amazon Web Services account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using Amazon Web Services Events rules and targets. Partner event source names follow this format: partner_name/event_namespace/event_name
|
71
|
+
* Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers. Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one partner event source for each Amazon Web Services account that wants to receive those event types. A partner event source creates events based on resources within the SaaS partner's service or application. An Amazon Web Services account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using Amazon Web Services Events rules and targets. Partner event source names follow this format: partner_name/event_namespace/event_name partner_name is determined during partner registration, and identifies the partner to Amazon Web Services customers. event_namespace is determined by the partner, and is a way for the partner to categorize their events. event_name is determined by the partner, and should uniquely identify an event-generating resource within the partner system. The event_name must be unique across all Amazon Web Services customers. This is because the event source is a shared resource between the partner and customer accounts, and each partner event source unique in the partner account. The combination of event_namespace and event_name should help Amazon Web Services customers decide whether to create an event bus to receive these events.
|
72
72
|
*/
|
73
73
|
createPartnerEventSource(params: EventBridge.Types.CreatePartnerEventSourceRequest, callback?: (err: AWSError, data: EventBridge.Types.CreatePartnerEventSourceResponse) => void): Request<EventBridge.Types.CreatePartnerEventSourceResponse, AWSError>;
|
74
74
|
/**
|
75
|
-
* Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers. Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one partner event source for each Amazon Web Services account that wants to receive those event types. A partner event source creates events based on resources within the SaaS partner's service or application. An Amazon Web Services account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using Amazon Web Services Events rules and targets. Partner event source names follow this format: partner_name/event_namespace/event_name
|
75
|
+
* Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers. Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one partner event source for each Amazon Web Services account that wants to receive those event types. A partner event source creates events based on resources within the SaaS partner's service or application. An Amazon Web Services account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using Amazon Web Services Events rules and targets. Partner event source names follow this format: partner_name/event_namespace/event_name partner_name is determined during partner registration, and identifies the partner to Amazon Web Services customers. event_namespace is determined by the partner, and is a way for the partner to categorize their events. event_name is determined by the partner, and should uniquely identify an event-generating resource within the partner system. The event_name must be unique across all Amazon Web Services customers. This is because the event source is a shared resource between the partner and customer accounts, and each partner event source unique in the partner account. The combination of event_namespace and event_name should help Amazon Web Services customers decide whether to create an event bus to receive these events.
|
76
76
|
*/
|
77
77
|
createPartnerEventSource(callback?: (err: AWSError, data: EventBridge.Types.CreatePartnerEventSourceResponse) => void): Request<EventBridge.Types.CreatePartnerEventSourceResponse, AWSError>;
|
78
78
|
/**
|
@@ -172,11 +172,11 @@ declare class EventBridge extends Service {
|
|
172
172
|
*/
|
173
173
|
describeConnection(callback?: (err: AWSError, data: EventBridge.Types.DescribeConnectionResponse) => void): Request<EventBridge.Types.DescribeConnectionResponse, AWSError>;
|
174
174
|
/**
|
175
|
-
* Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide
|
175
|
+
* Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
|
176
176
|
*/
|
177
177
|
describeEndpoint(params: EventBridge.Types.DescribeEndpointRequest, callback?: (err: AWSError, data: EventBridge.Types.DescribeEndpointResponse) => void): Request<EventBridge.Types.DescribeEndpointResponse, AWSError>;
|
178
178
|
/**
|
179
|
-
* Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide
|
179
|
+
* Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
|
180
180
|
*/
|
181
181
|
describeEndpoint(callback?: (err: AWSError, data: EventBridge.Types.DescribeEndpointResponse) => void): Request<EventBridge.Types.DescribeEndpointResponse, AWSError>;
|
182
182
|
/**
|
@@ -260,11 +260,11 @@ declare class EventBridge extends Service {
|
|
260
260
|
*/
|
261
261
|
listConnections(callback?: (err: AWSError, data: EventBridge.Types.ListConnectionsResponse) => void): Request<EventBridge.Types.ListConnectionsResponse, AWSError>;
|
262
262
|
/**
|
263
|
-
* List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide
|
263
|
+
* List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
|
264
264
|
*/
|
265
265
|
listEndpoints(params: EventBridge.Types.ListEndpointsRequest, callback?: (err: AWSError, data: EventBridge.Types.ListEndpointsResponse) => void): Request<EventBridge.Types.ListEndpointsResponse, AWSError>;
|
266
266
|
/**
|
267
|
-
* List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide
|
267
|
+
* List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
|
268
268
|
*/
|
269
269
|
listEndpoints(callback?: (err: AWSError, data: EventBridge.Types.ListEndpointsResponse) => void): Request<EventBridge.Types.ListEndpointsResponse, AWSError>;
|
270
270
|
/**
|
@@ -308,19 +308,19 @@ declare class EventBridge extends Service {
|
|
308
308
|
*/
|
309
309
|
listReplays(callback?: (err: AWSError, data: EventBridge.Types.ListReplaysResponse) => void): Request<EventBridge.Types.ListReplaysResponse, AWSError>;
|
310
310
|
/**
|
311
|
-
* Lists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account.
|
311
|
+
* Lists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account. The maximum number of results per page for requests is 100.
|
312
312
|
*/
|
313
313
|
listRuleNamesByTarget(params: EventBridge.Types.ListRuleNamesByTargetRequest, callback?: (err: AWSError, data: EventBridge.Types.ListRuleNamesByTargetResponse) => void): Request<EventBridge.Types.ListRuleNamesByTargetResponse, AWSError>;
|
314
314
|
/**
|
315
|
-
* Lists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account.
|
315
|
+
* Lists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account. The maximum number of results per page for requests is 100.
|
316
316
|
*/
|
317
317
|
listRuleNamesByTarget(callback?: (err: AWSError, data: EventBridge.Types.ListRuleNamesByTargetResponse) => void): Request<EventBridge.Types.ListRuleNamesByTargetResponse, AWSError>;
|
318
318
|
/**
|
319
|
-
* Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names. ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.
|
319
|
+
* Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names. The maximum number of results per page for requests is 100. ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.
|
320
320
|
*/
|
321
321
|
listRules(params: EventBridge.Types.ListRulesRequest, callback?: (err: AWSError, data: EventBridge.Types.ListRulesResponse) => void): Request<EventBridge.Types.ListRulesResponse, AWSError>;
|
322
322
|
/**
|
323
|
-
* Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names. ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.
|
323
|
+
* Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names. The maximum number of results per page for requests is 100. ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.
|
324
324
|
*/
|
325
325
|
listRules(callback?: (err: AWSError, data: EventBridge.Types.ListRulesResponse) => void): Request<EventBridge.Types.ListRulesResponse, AWSError>;
|
326
326
|
/**
|
@@ -332,27 +332,27 @@ declare class EventBridge extends Service {
|
|
332
332
|
*/
|
333
333
|
listTagsForResource(callback?: (err: AWSError, data: EventBridge.Types.ListTagsForResourceResponse) => void): Request<EventBridge.Types.ListTagsForResourceResponse, AWSError>;
|
334
334
|
/**
|
335
|
-
* Lists the targets assigned to the specified rule.
|
335
|
+
* Lists the targets assigned to the specified rule. The maximum number of results per page for requests is 100.
|
336
336
|
*/
|
337
337
|
listTargetsByRule(params: EventBridge.Types.ListTargetsByRuleRequest, callback?: (err: AWSError, data: EventBridge.Types.ListTargetsByRuleResponse) => void): Request<EventBridge.Types.ListTargetsByRuleResponse, AWSError>;
|
338
338
|
/**
|
339
|
-
* Lists the targets assigned to the specified rule.
|
339
|
+
* Lists the targets assigned to the specified rule. The maximum number of results per page for requests is 100.
|
340
340
|
*/
|
341
341
|
listTargetsByRule(callback?: (err: AWSError, data: EventBridge.Types.ListTargetsByRuleResponse) => void): Request<EventBridge.Types.ListTargetsByRuleResponse, AWSError>;
|
342
342
|
/**
|
343
|
-
* Sends custom events to Amazon EventBridge so that they can be matched to rules. PutEvents will only process nested JSON up to 1100 levels deep.
|
343
|
+
* Sends custom events to Amazon EventBridge so that they can be matched to rules. The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including the event and any necessary characters and keys of the JSON representation of the event. To learn more, see Calculating PutEvents event entry size in the Amazon EventBridge User Guide PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807. PutEvents will only process nested JSON up to 1100 levels deep.
|
344
344
|
*/
|
345
345
|
putEvents(params: EventBridge.Types.PutEventsRequest, callback?: (err: AWSError, data: EventBridge.Types.PutEventsResponse) => void): Request<EventBridge.Types.PutEventsResponse, AWSError>;
|
346
346
|
/**
|
347
|
-
* Sends custom events to Amazon EventBridge so that they can be matched to rules. PutEvents will only process nested JSON up to 1100 levels deep.
|
347
|
+
* Sends custom events to Amazon EventBridge so that they can be matched to rules. The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including the event and any necessary characters and keys of the JSON representation of the event. To learn more, see Calculating PutEvents event entry size in the Amazon EventBridge User Guide PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807. PutEvents will only process nested JSON up to 1100 levels deep.
|
348
348
|
*/
|
349
349
|
putEvents(callback?: (err: AWSError, data: EventBridge.Types.PutEventsResponse) => void): Request<EventBridge.Types.PutEventsResponse, AWSError>;
|
350
350
|
/**
|
351
|
-
* This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation.
|
351
|
+
* This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation. For information on calculating event batch size, see Calculating EventBridge PutEvents event entry size in the EventBridge User Guide.
|
352
352
|
*/
|
353
353
|
putPartnerEvents(params: EventBridge.Types.PutPartnerEventsRequest, callback?: (err: AWSError, data: EventBridge.Types.PutPartnerEventsResponse) => void): Request<EventBridge.Types.PutPartnerEventsResponse, AWSError>;
|
354
354
|
/**
|
355
|
-
* This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation.
|
355
|
+
* This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation. For information on calculating event batch size, see Calculating EventBridge PutEvents event entry size in the EventBridge User Guide.
|
356
356
|
*/
|
357
357
|
putPartnerEvents(callback?: (err: AWSError, data: EventBridge.Types.PutPartnerEventsResponse) => void): Request<EventBridge.Types.PutPartnerEventsResponse, AWSError>;
|
358
358
|
/**
|
@@ -372,11 +372,11 @@ declare class EventBridge extends Service {
|
|
372
372
|
*/
|
373
373
|
putRule(callback?: (err: AWSError, data: EventBridge.Types.PutRuleResponse) => void): Request<EventBridge.Types.PutRuleResponse, AWSError>;
|
374
374
|
/**
|
375
|
-
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. Each rule can have up to five (5) targets associated with it at one time.
|
375
|
+
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. The maximum number of entries per request is 10. Each rule can have up to five (5) targets associated with it at one time. For a list of services you can configure as targets for events, see EventBridge targets in the Amazon EventBridge User Guide. Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are: Amazon EBS CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions: For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. If you have an IAM role on a cross-account event bus target, a PutTargets call without a role on the same target (same Id and Arn) will not remove the role. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
|
376
376
|
*/
|
377
377
|
putTargets(params: EventBridge.Types.PutTargetsRequest, callback?: (err: AWSError, data: EventBridge.Types.PutTargetsResponse) => void): Request<EventBridge.Types.PutTargetsResponse, AWSError>;
|
378
378
|
/**
|
379
|
-
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. Each rule can have up to five (5) targets associated with it at one time.
|
379
|
+
* Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. The maximum number of entries per request is 10. Each rule can have up to five (5) targets associated with it at one time. For a list of services you can configure as targets for events, see EventBridge targets in the Amazon EventBridge User Guide. Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are: Amazon EBS CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions: For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. If you have an IAM role on a cross-account event bus target, a PutTargets call without a role on the same target (same Id and Arn) will not remove the role. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
|
380
380
|
*/
|
381
381
|
putTargets(callback?: (err: AWSError, data: EventBridge.Types.PutTargetsResponse) => void): Request<EventBridge.Types.PutTargetsResponse, AWSError>;
|
382
382
|
/**
|
@@ -388,11 +388,11 @@ declare class EventBridge extends Service {
|
|
388
388
|
*/
|
389
389
|
removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
390
390
|
/**
|
391
|
-
* Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. A successful execution of RemoveTargets doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
|
391
|
+
* Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. A successful execution of RemoveTargets doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. The maximum number of entries per request is 10.
|
392
392
|
*/
|
393
393
|
removeTargets(params: EventBridge.Types.RemoveTargetsRequest, callback?: (err: AWSError, data: EventBridge.Types.RemoveTargetsResponse) => void): Request<EventBridge.Types.RemoveTargetsResponse, AWSError>;
|
394
394
|
/**
|
395
|
-
* Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. A successful execution of RemoveTargets doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.
|
395
|
+
* Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. A successful execution of RemoveTargets doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. The maximum number of entries per request is 10.
|
396
396
|
*/
|
397
397
|
removeTargets(callback?: (err: AWSError, data: EventBridge.Types.RemoveTargetsResponse) => void): Request<EventBridge.Types.RemoveTargetsResponse, AWSError>;
|
398
398
|
/**
|
@@ -452,11 +452,11 @@ declare class EventBridge extends Service {
|
|
452
452
|
*/
|
453
453
|
updateConnection(callback?: (err: AWSError, data: EventBridge.Types.UpdateConnectionResponse) => void): Request<EventBridge.Types.UpdateConnectionResponse, AWSError>;
|
454
454
|
/**
|
455
|
-
* Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide
|
455
|
+
* Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
|
456
456
|
*/
|
457
457
|
updateEndpoint(params: EventBridge.Types.UpdateEndpointRequest, callback?: (err: AWSError, data: EventBridge.Types.UpdateEndpointResponse) => void): Request<EventBridge.Types.UpdateEndpointResponse, AWSError>;
|
458
458
|
/**
|
459
|
-
* Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide
|
459
|
+
* Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
|
460
460
|
*/
|
461
461
|
updateEndpoint(callback?: (err: AWSError, data: EventBridge.Types.UpdateEndpointResponse) => void): Request<EventBridge.Types.UpdateEndpointResponse, AWSError>;
|
462
462
|
}
|
@@ -2297,7 +2297,7 @@ declare namespace EventBridge {
|
|
2297
2297
|
*/
|
2298
2298
|
Time?: EventTime;
|
2299
2299
|
/**
|
2300
|
-
* The source of the event.
|
2300
|
+
* The source of the event. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.
|
2301
2301
|
*/
|
2302
2302
|
Source?: String;
|
2303
2303
|
/**
|
@@ -2305,15 +2305,15 @@ declare namespace EventBridge {
|
|
2305
2305
|
*/
|
2306
2306
|
Resources?: EventResourceList;
|
2307
2307
|
/**
|
2308
|
-
* Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
2308
|
+
* Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.
|
2309
2309
|
*/
|
2310
2310
|
DetailType?: String;
|
2311
2311
|
/**
|
2312
|
-
* A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested
|
2312
|
+
* A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested sub-objects. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.
|
2313
2313
|
*/
|
2314
2314
|
Detail?: String;
|
2315
2315
|
/**
|
2316
|
-
* The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used. If you're using a global endpoint with a custom bus, you
|
2316
|
+
* The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used. If you're using a global endpoint with a custom bus, you can enter either the name or Amazon Resource Name (ARN) of the event bus in either the primary or secondary Region here. EventBridge then determines the corresponding event bus in the other Region based on the endpoint referenced by the EndpointId. Specifying the event bus ARN is preferred.
|
2317
2317
|
*/
|
2318
2318
|
EventBusName?: NonPartnerEventBusNameOrArn;
|
2319
2319
|
/**
|
@@ -2338,7 +2338,7 @@ declare namespace EventBridge {
|
|
2338
2338
|
*/
|
2339
2339
|
EventId?: EventId;
|
2340
2340
|
/**
|
2341
|
-
* The error code that indicates why the event submission failed.
|
2341
|
+
* The error code that indicates why the event submission failed. Retryable errors include: InternalFailure The request processing has failed because of an unknown error, exception or failure. ThrottlingException The request was denied due to request throttling. Non-retryable errors include: AccessDeniedException You do not have sufficient access to perform this action. InvalidAccountIdException The account ID provided is not valid. InvalidArgument A specified parameter is not valid. MalformedDetail The JSON provided is not valid. RedactionFailure Redacting the CloudTrail event failed. NotAuthorizedForSourceException You do not have permissions to publish events with this source onto this event bus. NotAuthorizedForDetailTypeException You do not have permissions to publish events with this detail type onto this event bus.
|
2342
2342
|
*/
|
2343
2343
|
ErrorCode?: ErrorCode;
|
2344
2344
|
/**
|
@@ -2359,7 +2359,7 @@ declare namespace EventBridge {
|
|
2359
2359
|
*/
|
2360
2360
|
Time?: EventTime;
|
2361
2361
|
/**
|
2362
|
-
* The event source that is generating the entry.
|
2362
|
+
* The event source that is generating the entry. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.
|
2363
2363
|
*/
|
2364
2364
|
Source?: EventSourceName;
|
2365
2365
|
/**
|
@@ -2367,11 +2367,11 @@ declare namespace EventBridge {
|
|
2367
2367
|
*/
|
2368
2368
|
Resources?: EventResourceList;
|
2369
2369
|
/**
|
2370
|
-
* A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
2370
|
+
* A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.
|
2371
2371
|
*/
|
2372
2372
|
DetailType?: String;
|
2373
2373
|
/**
|
2374
|
-
* A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested
|
2374
|
+
* A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.
|
2375
2375
|
*/
|
2376
2376
|
Detail?: String;
|
2377
2377
|
}
|
@@ -2382,7 +2382,7 @@ declare namespace EventBridge {
|
|
2382
2382
|
*/
|
2383
2383
|
FailedEntryCount?: Integer;
|
2384
2384
|
/**
|
2385
|
-
* The
|
2385
|
+
* The results for each event entry the partner submitted in this request. If the event was successfully submitted, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry. For each record, the index of the response element is the same as the index in the request array.
|
2386
2386
|
*/
|
2387
2387
|
Entries?: PutPartnerEventsResultEntryList;
|
2388
2388
|
}
|
@@ -2441,7 +2441,7 @@ declare namespace EventBridge {
|
|
2441
2441
|
*/
|
2442
2442
|
EventPattern?: EventPattern;
|
2443
2443
|
/**
|
2444
|
-
*
|
2444
|
+
* The state of the rule. Valid values include: DISABLED: The rule is disabled. EventBridge does not match any events against the rule. ENABLED: The rule is enabled. EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail. ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail. Management events provide visibility into management operations that are performed on resources in your Amazon Web Services account. These are also known as control plane operations. For more information, see Logging management events in the CloudTrail User Guide, and Filtering management events from Amazon Web Services services in the Amazon EventBridge User Guide. This value is only valid for rules on the default event bus or custom event buses. It does not apply to partner event buses.
|
2445
2445
|
*/
|
2446
2446
|
State?: RuleState;
|
2447
2447
|
/**
|
@@ -2520,7 +2520,7 @@ declare namespace EventBridge {
|
|
2520
2520
|
*/
|
2521
2521
|
Database: Database;
|
2522
2522
|
/**
|
2523
|
-
* The database user name. Required when authenticating using temporary credentials.
|
2523
|
+
* The database user name. Required when authenticating using temporary credentials.
|
2524
2524
|
*/
|
2525
2525
|
DbUser?: DbUser;
|
2526
2526
|
/**
|
@@ -2535,6 +2535,9 @@ declare namespace EventBridge {
|
|
2535
2535
|
* Indicates whether to send an event back to EventBridge after the SQL statement runs.
|
2536
2536
|
*/
|
2537
2537
|
WithEvent?: Boolean;
|
2538
|
+
/**
|
2539
|
+
* One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.
|
2540
|
+
*/
|
2538
2541
|
Sqls?: Sqls;
|
2539
2542
|
}
|
2540
2543
|
export type RedshiftSecretManagerArn = string;
|
@@ -2692,7 +2695,7 @@ declare namespace EventBridge {
|
|
2692
2695
|
*/
|
2693
2696
|
EventPattern?: EventPattern;
|
2694
2697
|
/**
|
2695
|
-
* The state of the rule.
|
2698
|
+
* The state of the rule. Valid values include: DISABLED: The rule is disabled. EventBridge does not match any events against the rule. ENABLED: The rule is enabled. EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail. ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail. Management events provide visibility into management operations that are performed on resources in your Amazon Web Services account. These are also known as control plane operations. For more information, see Logging management events in the CloudTrail User Guide, and Filtering management events from Amazon Web Services services in the Amazon EventBridge User Guide. This value is only valid for rules on the default event bus or custom event buses. It does not apply to partner event buses.
|
2696
2699
|
*/
|
2697
2700
|
State?: RuleState;
|
2698
2701
|
/**
|
@@ -2721,7 +2724,7 @@ declare namespace EventBridge {
|
|
2721
2724
|
export type RuleName = string;
|
2722
2725
|
export type RuleNameList = RuleName[];
|
2723
2726
|
export type RuleResponseList = Rule[];
|
2724
|
-
export type RuleState = "ENABLED"|"DISABLED"|string;
|
2727
|
+
export type RuleState = "ENABLED"|"DISABLED"|"ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS"|string;
|
2725
2728
|
export interface RunCommandParameters {
|
2726
2729
|
/**
|
2727
2730
|
* Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
|
@@ -43,6 +43,22 @@ declare class InternetMonitor extends Service {
|
|
43
43
|
* Gets information about a monitor in Amazon CloudWatch Internet Monitor based on a monitor name. The information returned includes the Amazon Resource Name (ARN), create time, modified time, resources included in the monitor, and status information.
|
44
44
|
*/
|
45
45
|
getMonitor(callback?: (err: AWSError, data: InternetMonitor.Types.GetMonitorOutput) => void): Request<InternetMonitor.Types.GetMonitorOutput, AWSError>;
|
46
|
+
/**
|
47
|
+
* Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that you want to return results for by providing a QueryId and a monitor name. For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
|
48
|
+
*/
|
49
|
+
getQueryResults(params: InternetMonitor.Types.GetQueryResultsInput, callback?: (err: AWSError, data: InternetMonitor.Types.GetQueryResultsOutput) => void): Request<InternetMonitor.Types.GetQueryResultsOutput, AWSError>;
|
50
|
+
/**
|
51
|
+
* Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that you want to return results for by providing a QueryId and a monitor name. For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
|
52
|
+
*/
|
53
|
+
getQueryResults(callback?: (err: AWSError, data: InternetMonitor.Types.GetQueryResultsOutput) => void): Request<InternetMonitor.Types.GetQueryResultsOutput, AWSError>;
|
54
|
+
/**
|
55
|
+
* Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified query ID and monitor. When you run a query, check the status to make sure that the query has SUCCEEDED before you review the results. QUEUED: The query is scheduled to run. RUNNING: The query is in progress but not complete. SUCCEEDED: The query completed sucessfully. FAILED: The query failed due to an error. CANCELED: The query was canceled.
|
56
|
+
*/
|
57
|
+
getQueryStatus(params: InternetMonitor.Types.GetQueryStatusInput, callback?: (err: AWSError, data: InternetMonitor.Types.GetQueryStatusOutput) => void): Request<InternetMonitor.Types.GetQueryStatusOutput, AWSError>;
|
58
|
+
/**
|
59
|
+
* Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified query ID and monitor. When you run a query, check the status to make sure that the query has SUCCEEDED before you review the results. QUEUED: The query is scheduled to run. RUNNING: The query is in progress but not complete. SUCCEEDED: The query completed sucessfully. FAILED: The query failed due to an error. CANCELED: The query was canceled.
|
60
|
+
*/
|
61
|
+
getQueryStatus(callback?: (err: AWSError, data: InternetMonitor.Types.GetQueryStatusOutput) => void): Request<InternetMonitor.Types.GetQueryStatusOutput, AWSError>;
|
46
62
|
/**
|
47
63
|
* Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. Returns information for health events including the event start and end time and the status. Health events that have start times during the time frame that is requested are not included in the list of health events.
|
48
64
|
*/
|
@@ -67,6 +83,22 @@ declare class InternetMonitor extends Service {
|
|
67
83
|
* Lists the tags for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor.
|
68
84
|
*/
|
69
85
|
listTagsForResource(callback?: (err: AWSError, data: InternetMonitor.Types.ListTagsForResourceOutput) => void): Request<InternetMonitor.Types.ListTagsForResourceOutput, AWSError>;
|
86
|
+
/**
|
87
|
+
* Start a query to return data for a specific query type for the Amazon CloudWatch Internet Monitor query interface. Specify a time period for the data that you want returned by using StartTime and EndTime. You filter the query results to return by providing parameters that you specify with FilterParameters. For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
|
88
|
+
*/
|
89
|
+
startQuery(params: InternetMonitor.Types.StartQueryInput, callback?: (err: AWSError, data: InternetMonitor.Types.StartQueryOutput) => void): Request<InternetMonitor.Types.StartQueryOutput, AWSError>;
|
90
|
+
/**
|
91
|
+
* Start a query to return data for a specific query type for the Amazon CloudWatch Internet Monitor query interface. Specify a time period for the data that you want returned by using StartTime and EndTime. You filter the query results to return by providing parameters that you specify with FilterParameters. For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
|
92
|
+
*/
|
93
|
+
startQuery(callback?: (err: AWSError, data: InternetMonitor.Types.StartQueryOutput) => void): Request<InternetMonitor.Types.StartQueryOutput, AWSError>;
|
94
|
+
/**
|
95
|
+
* Stop a query that is progress for a specific monitor.
|
96
|
+
*/
|
97
|
+
stopQuery(params: InternetMonitor.Types.StopQueryInput, callback?: (err: AWSError, data: InternetMonitor.Types.StopQueryOutput) => void): Request<InternetMonitor.Types.StopQueryOutput, AWSError>;
|
98
|
+
/**
|
99
|
+
* Stop a query that is progress for a specific monitor.
|
100
|
+
*/
|
101
|
+
stopQuery(callback?: (err: AWSError, data: InternetMonitor.Types.StopQueryOutput) => void): Request<InternetMonitor.Types.StopQueryOutput, AWSError>;
|
70
102
|
/**
|
71
103
|
* Adds a tag to a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. You can add a maximum of 50 tags in Internet Monitor. A minimum of one tag is required for this call. It returns an error if you use the TagResource request with 0 tags.
|
72
104
|
*/
|
@@ -161,13 +193,29 @@ declare namespace InternetMonitor {
|
|
161
193
|
export interface DeleteMonitorOutput {
|
162
194
|
}
|
163
195
|
export type Double = number;
|
196
|
+
export type FilterList = String[];
|
197
|
+
export interface FilterParameter {
|
198
|
+
/**
|
199
|
+
* A data field that you want to filter, to further scope your application's Internet Monitor data in a repository that you created by running a query. A field might be city, for example. The field must be one of the fields that was returned by the specific query that you used to create the repository.
|
200
|
+
*/
|
201
|
+
Field?: String;
|
202
|
+
/**
|
203
|
+
* The operator to use with the filter field and a value, such as not_equals.
|
204
|
+
*/
|
205
|
+
Operator?: Operator;
|
206
|
+
/**
|
207
|
+
* One or more values to be used, together with the specified operator, to filter data for a query. For example, you could specify an array of values such as ["Seattle", "Redmond"]. Values in the array are separated by commas.
|
208
|
+
*/
|
209
|
+
Values?: FilterList;
|
210
|
+
}
|
211
|
+
export type FilterParameters = FilterParameter[];
|
164
212
|
export interface GetHealthEventInput {
|
165
213
|
/**
|
166
214
|
* The name of the monitor.
|
167
215
|
*/
|
168
216
|
MonitorName: ResourceName;
|
169
217
|
/**
|
170
|
-
* The internally
|
218
|
+
* The internally-generated identifier of a health event. Because EventID contains the forward slash (“/”) character, you must URL-encode the EventID field in the request URL.
|
171
219
|
*/
|
172
220
|
EventId: HealthEventName;
|
173
221
|
}
|
@@ -177,7 +225,7 @@ declare namespace InternetMonitor {
|
|
177
225
|
*/
|
178
226
|
EventArn: Arn;
|
179
227
|
/**
|
180
|
-
* The internally
|
228
|
+
* The internally-generated identifier of a health event.
|
181
229
|
*/
|
182
230
|
EventId: HealthEventName;
|
183
231
|
/**
|
@@ -277,13 +325,61 @@ declare namespace InternetMonitor {
|
|
277
325
|
*/
|
278
326
|
HealthEventsConfig?: HealthEventsConfig;
|
279
327
|
}
|
328
|
+
export interface GetQueryResultsInput {
|
329
|
+
/**
|
330
|
+
* The name of the monitor to return data for.
|
331
|
+
*/
|
332
|
+
MonitorName: ResourceName;
|
333
|
+
/**
|
334
|
+
* The ID of the query that you want to return data results for. A QueryId is an internally-generated identifier for a specific query.
|
335
|
+
*/
|
336
|
+
QueryId: String;
|
337
|
+
/**
|
338
|
+
* The token for the next set of results. You receive this token from a previous call.
|
339
|
+
*/
|
340
|
+
NextToken?: String;
|
341
|
+
/**
|
342
|
+
* The number of query results that you want to return with this call.
|
343
|
+
*/
|
344
|
+
MaxResults?: QueryMaxResults;
|
345
|
+
}
|
346
|
+
export interface GetQueryResultsOutput {
|
347
|
+
/**
|
348
|
+
* The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float.
|
349
|
+
*/
|
350
|
+
Fields: QueryFields;
|
351
|
+
/**
|
352
|
+
* The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define.
|
353
|
+
*/
|
354
|
+
Data: QueryData;
|
355
|
+
/**
|
356
|
+
* The token for the next set of results. You receive this token from a previous call.
|
357
|
+
*/
|
358
|
+
NextToken?: String;
|
359
|
+
}
|
360
|
+
export interface GetQueryStatusInput {
|
361
|
+
/**
|
362
|
+
* The name of the monitor.
|
363
|
+
*/
|
364
|
+
MonitorName: ResourceName;
|
365
|
+
/**
|
366
|
+
* The ID of the query that you want to return the status for. A QueryId is an internally-generated dentifier for a specific query.
|
367
|
+
*/
|
368
|
+
QueryId: String;
|
369
|
+
}
|
370
|
+
export interface GetQueryStatusOutput {
|
371
|
+
/**
|
372
|
+
* The current status for a query.
|
373
|
+
*/
|
374
|
+
Status: QueryStatus;
|
375
|
+
}
|
280
376
|
export interface HealthEvent {
|
281
377
|
/**
|
282
378
|
* The Amazon Resource Name (ARN) of the event.
|
283
379
|
*/
|
284
380
|
EventArn: Arn;
|
285
381
|
/**
|
286
|
-
* The internally
|
382
|
+
* The internally-generated identifier of a specific network traffic impairment health event.
|
287
383
|
*/
|
288
384
|
EventId: HealthEventName;
|
289
385
|
/**
|
@@ -502,7 +598,7 @@ declare namespace InternetMonitor {
|
|
502
598
|
*/
|
503
599
|
HealthScoreThreshold?: Percentage;
|
504
600
|
/**
|
505
|
-
* The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
|
601
|
+
* The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score. If you don't set a minimum traffic impact threshold, the default value is 0.01%.
|
506
602
|
*/
|
507
603
|
MinTrafficImpact?: Percentage;
|
508
604
|
}
|
@@ -558,6 +654,7 @@ declare namespace InternetMonitor {
|
|
558
654
|
NetworkEventType: TriangulationEventType;
|
559
655
|
}
|
560
656
|
export type NetworkList = Network[];
|
657
|
+
export type Operator = "EQUALS"|"NOT_EQUALS"|string;
|
561
658
|
export type Percentage = number;
|
562
659
|
export interface PerformanceMeasurement {
|
563
660
|
/**
|
@@ -577,6 +674,22 @@ declare namespace InternetMonitor {
|
|
577
674
|
*/
|
578
675
|
RoundTripTime?: RoundTripTime;
|
579
676
|
}
|
677
|
+
export type QueryData = QueryRow[];
|
678
|
+
export interface QueryField {
|
679
|
+
/**
|
680
|
+
* The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as availability_score.
|
681
|
+
*/
|
682
|
+
Name?: String;
|
683
|
+
/**
|
684
|
+
* The data type for a query field, which must correspond to the field you're defining for QueryField. For example, if the query field name is availability_score, the data type is float.
|
685
|
+
*/
|
686
|
+
Type?: String;
|
687
|
+
}
|
688
|
+
export type QueryFields = QueryField[];
|
689
|
+
export type QueryMaxResults = number;
|
690
|
+
export type QueryRow = String[];
|
691
|
+
export type QueryStatus = "QUEUED"|"RUNNING"|"SUCCEEDED"|"FAILED"|"CANCELED"|string;
|
692
|
+
export type QueryType = "MEASUREMENTS"|"TOP_LOCATIONS"|"TOP_LOCATION_DETAILS"|string;
|
580
693
|
export type ResourceName = string;
|
581
694
|
export interface RoundTripTime {
|
582
695
|
/**
|
@@ -608,6 +721,46 @@ declare namespace InternetMonitor {
|
|
608
721
|
}
|
609
722
|
export type S3ConfigBucketNameString = string;
|
610
723
|
export type SetOfARNs = Arn[];
|
724
|
+
export interface StartQueryInput {
|
725
|
+
/**
|
726
|
+
* The name of the monitor to query.
|
727
|
+
*/
|
728
|
+
MonitorName: ResourceName;
|
729
|
+
/**
|
730
|
+
* The timestamp that is the beginning of the period that you want to retrieve data for with your query.
|
731
|
+
*/
|
732
|
+
StartTime: SyntheticTimestamp_date_time;
|
733
|
+
/**
|
734
|
+
* The timestamp that is the end of the period that you want to retrieve data for with your query.
|
735
|
+
*/
|
736
|
+
EndTime: SyntheticTimestamp_date_time;
|
737
|
+
/**
|
738
|
+
* The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface: MEASUREMENTS: TBD definition TOP_LOCATIONS: TBD definition TOP_LOCATION_DETAILS: TBD definition For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
|
739
|
+
*/
|
740
|
+
QueryType: QueryType;
|
741
|
+
/**
|
742
|
+
* The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a string the defines how you want a query to be filtered. The filter parameters that you can specify depend on the query type, since each query type returns a different set of Internet Monitor data. For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
|
743
|
+
*/
|
744
|
+
FilterParameters?: FilterParameters;
|
745
|
+
}
|
746
|
+
export interface StartQueryOutput {
|
747
|
+
/**
|
748
|
+
* The internally-generated identifier of a specific query.
|
749
|
+
*/
|
750
|
+
QueryId: String;
|
751
|
+
}
|
752
|
+
export interface StopQueryInput {
|
753
|
+
/**
|
754
|
+
* The name of the monitor.
|
755
|
+
*/
|
756
|
+
MonitorName: ResourceName;
|
757
|
+
/**
|
758
|
+
* The ID of the query that you want to stop. A QueryId is an internally-generated identifier for a specific query.
|
759
|
+
*/
|
760
|
+
QueryId: String;
|
761
|
+
}
|
762
|
+
export interface StopQueryOutput {
|
763
|
+
}
|
611
764
|
export type String = string;
|
612
765
|
export type SyntheticTimestamp_date_time = Date;
|
613
766
|
export type TagKey = string;
|