@aws-sdk/client-eventbridge 3.51.0 → 3.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/dist-cjs/endpoints.js +3 -5
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/EventBridgeServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +148 -4
- package/dist-cjs/protocols/Aws_json1_1.js +458 -1571
- package/dist-es/endpoints.js +3 -5
- package/dist-es/index.js +1 -0
- package/dist-es/models/EventBridgeServiceException.js +12 -0
- package/dist-es/models/models_0.js +134 -1
- package/dist-es/protocols/Aws_json1_1.js +1030 -1754
- package/dist-types/EventBridge.d.ts +11 -1
- package/dist-types/EventBridgeClient.d.ts +2 -2
- package/dist-types/commands/PutTargetsCommand.d.ts +7 -1
- package/dist-types/commands/RemoveTargetsCommand.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/EventBridgeServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +87 -49
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/EventBridgeClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/EventBridgeServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -45
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -486,6 +486,9 @@ export declare class EventBridge extends EventBridgeClient {
|
|
|
486
486
|
* <p>Adds the specified targets to the specified rule, or updates the targets if they are
|
|
487
487
|
* already associated with the rule.</p>
|
|
488
488
|
* <p>Targets are the resources that are invoked when a rule is triggered.</p>
|
|
489
|
+
* <note>
|
|
490
|
+
* <p>Each rule can have up to five (5) targets associated with it at one time.</p>
|
|
491
|
+
* </note>
|
|
489
492
|
* <p>You can configure the following as targets for Events:</p>
|
|
490
493
|
*
|
|
491
494
|
* <ul>
|
|
@@ -517,6 +520,9 @@ export declare class EventBridge extends EventBridgeClient {
|
|
|
517
520
|
* <p>Amazon EC2 <code>CreateSnapshot</code> API call</p>
|
|
518
521
|
* </li>
|
|
519
522
|
* <li>
|
|
523
|
+
* <p>EC2 Image Builder</p>
|
|
524
|
+
* </li>
|
|
525
|
+
* <li>
|
|
520
526
|
* <p>Amazon EC2 <code>RebootInstances</code> API call</p>
|
|
521
527
|
* </li>
|
|
522
528
|
* <li>
|
|
@@ -552,7 +558,7 @@ export declare class EventBridge extends EventBridgeClient {
|
|
|
552
558
|
* <p>Amazon SNS topic</p>
|
|
553
559
|
* </li>
|
|
554
560
|
* <li>
|
|
555
|
-
* <p>Amazon SQS queues (includes FIFO queues</p>
|
|
561
|
+
* <p>Amazon SQS queues (includes FIFO queues)</p>
|
|
556
562
|
* </li>
|
|
557
563
|
* <li>
|
|
558
564
|
* <p>SSM Automation</p>
|
|
@@ -666,6 +672,10 @@ export declare class EventBridge extends EventBridgeClient {
|
|
|
666
672
|
* <p>Removes the specified targets from the specified rule. When the rule is triggered, those
|
|
667
673
|
* targets are no longer be invoked.</p>
|
|
668
674
|
*
|
|
675
|
+
* <note>
|
|
676
|
+
* <p>A successful execution of <code>RemoveTargets</code> doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed.</p>
|
|
677
|
+
* </note>
|
|
678
|
+
*
|
|
669
679
|
* <p>When you remove a target, when the associated rule triggers, removed targets might
|
|
670
680
|
* continue to be invoked. Allow a short period of time for changes to take effect.</p>
|
|
671
681
|
*
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand";
|
|
10
10
|
import { CancelReplayCommandInput, CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
|
|
11
11
|
import { CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput } from "./commands/CreateApiDestinationCommand";
|
|
@@ -79,7 +79,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
79
79
|
* A function that can calculate the length of a request body.
|
|
80
80
|
* @internal
|
|
81
81
|
*/
|
|
82
|
-
bodyLengthChecker?:
|
|
82
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
83
83
|
/**
|
|
84
84
|
* A function that converts a stream into an array of bytes.
|
|
85
85
|
* @internal
|
|
@@ -10,6 +10,9 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
|
|
|
10
10
|
* <p>Adds the specified targets to the specified rule, or updates the targets if they are
|
|
11
11
|
* already associated with the rule.</p>
|
|
12
12
|
* <p>Targets are the resources that are invoked when a rule is triggered.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>Each rule can have up to five (5) targets associated with it at one time.</p>
|
|
15
|
+
* </note>
|
|
13
16
|
* <p>You can configure the following as targets for Events:</p>
|
|
14
17
|
*
|
|
15
18
|
* <ul>
|
|
@@ -41,6 +44,9 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
|
|
|
41
44
|
* <p>Amazon EC2 <code>CreateSnapshot</code> API call</p>
|
|
42
45
|
* </li>
|
|
43
46
|
* <li>
|
|
47
|
+
* <p>EC2 Image Builder</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
44
50
|
* <p>Amazon EC2 <code>RebootInstances</code> API call</p>
|
|
45
51
|
* </li>
|
|
46
52
|
* <li>
|
|
@@ -76,7 +82,7 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
|
|
|
76
82
|
* <p>Amazon SNS topic</p>
|
|
77
83
|
* </li>
|
|
78
84
|
* <li>
|
|
79
|
-
* <p>Amazon SQS queues (includes FIFO queues</p>
|
|
85
|
+
* <p>Amazon SQS queues (includes FIFO queues)</p>
|
|
80
86
|
* </li>
|
|
81
87
|
* <li>
|
|
82
88
|
* <p>SSM Automation</p>
|
|
@@ -10,6 +10,10 @@ export interface RemoveTargetsCommandOutput extends RemoveTargetsResponse, __Met
|
|
|
10
10
|
* <p>Removes the specified targets from the specified rule. When the rule is triggered, those
|
|
11
11
|
* targets are no longer be invoked.</p>
|
|
12
12
|
*
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>A successful execution of <code>RemoveTargets</code> doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed.</p>
|
|
15
|
+
* </note>
|
|
16
|
+
*
|
|
13
17
|
* <p>When you remove a target, when the associated rule triggers, removed targets might
|
|
14
18
|
* continue to be invoked. Allow a short period of time for changes to take effect.</p>
|
|
15
19
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from EventBridge service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EventBridgeServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { EventBridgeServiceException as __BaseException } from "./EventBridgeServiceException";
|
|
2
3
|
export interface ActivateEventSourceRequest {
|
|
3
4
|
/**
|
|
4
5
|
* <p>The name of the partner event source to activate.</p>
|
|
@@ -14,42 +15,57 @@ export declare namespace ActivateEventSourceRequest {
|
|
|
14
15
|
/**
|
|
15
16
|
* <p>There is concurrent modification on a rule, target, archive, or replay.</p>
|
|
16
17
|
*/
|
|
17
|
-
export
|
|
18
|
-
name: "ConcurrentModificationException";
|
|
19
|
-
$fault: "client";
|
|
20
|
-
|
|
18
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
19
|
+
readonly name: "ConcurrentModificationException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
21
25
|
}
|
|
22
26
|
/**
|
|
23
27
|
* <p>This exception occurs due to unexpected causes.</p>
|
|
24
28
|
*/
|
|
25
|
-
export
|
|
26
|
-
name: "InternalException";
|
|
27
|
-
$fault: "server";
|
|
28
|
-
|
|
29
|
+
export declare class InternalException extends __BaseException {
|
|
30
|
+
readonly name: "InternalException";
|
|
31
|
+
readonly $fault: "server";
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
29
36
|
}
|
|
30
37
|
/**
|
|
31
38
|
* <p>The specified state is not a valid state for an event source.</p>
|
|
32
39
|
*/
|
|
33
|
-
export
|
|
34
|
-
name: "InvalidStateException";
|
|
35
|
-
$fault: "client";
|
|
36
|
-
|
|
40
|
+
export declare class InvalidStateException extends __BaseException {
|
|
41
|
+
readonly name: "InvalidStateException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
37
47
|
}
|
|
38
48
|
/**
|
|
39
49
|
* <p>The operation you are attempting is not available in this region.</p>
|
|
40
50
|
*/
|
|
41
|
-
export
|
|
42
|
-
name: "OperationDisabledException";
|
|
43
|
-
$fault: "client";
|
|
44
|
-
|
|
51
|
+
export declare class OperationDisabledException extends __BaseException {
|
|
52
|
+
readonly name: "OperationDisabledException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
constructor(opts: __ExceptionOptionType<OperationDisabledException, __BaseException>);
|
|
45
58
|
}
|
|
46
59
|
/**
|
|
47
60
|
* <p>An entity that you specified does not exist.</p>
|
|
48
61
|
*/
|
|
49
|
-
export
|
|
50
|
-
name: "ResourceNotFoundException";
|
|
51
|
-
$fault: "client";
|
|
52
|
-
|
|
62
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
readonly name: "ResourceNotFoundException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
53
69
|
}
|
|
54
70
|
export declare enum ApiDestinationState {
|
|
55
71
|
ACTIVE = "ACTIVE",
|
|
@@ -211,10 +227,13 @@ export declare namespace CancelReplayResponse {
|
|
|
211
227
|
* <p>An error occurred because a replay can be canceled only when the state is Running or
|
|
212
228
|
* Starting.</p>
|
|
213
229
|
*/
|
|
214
|
-
export
|
|
215
|
-
name: "IllegalStatusException";
|
|
216
|
-
$fault: "client";
|
|
217
|
-
|
|
230
|
+
export declare class IllegalStatusException extends __BaseException {
|
|
231
|
+
readonly name: "IllegalStatusException";
|
|
232
|
+
readonly $fault: "client";
|
|
233
|
+
/**
|
|
234
|
+
* @internal
|
|
235
|
+
*/
|
|
236
|
+
constructor(opts: __ExceptionOptionType<IllegalStatusException, __BaseException>);
|
|
218
237
|
}
|
|
219
238
|
export interface CreateApiDestinationRequest {
|
|
220
239
|
/**
|
|
@@ -277,18 +296,24 @@ export declare namespace CreateApiDestinationResponse {
|
|
|
277
296
|
* <p>The request failed because it attempted to create resource beyond the allowed service
|
|
278
297
|
* quota.</p>
|
|
279
298
|
*/
|
|
280
|
-
export
|
|
281
|
-
name: "LimitExceededException";
|
|
282
|
-
$fault: "client";
|
|
283
|
-
|
|
299
|
+
export declare class LimitExceededException extends __BaseException {
|
|
300
|
+
readonly name: "LimitExceededException";
|
|
301
|
+
readonly $fault: "client";
|
|
302
|
+
/**
|
|
303
|
+
* @internal
|
|
304
|
+
*/
|
|
305
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
284
306
|
}
|
|
285
307
|
/**
|
|
286
308
|
* <p>The resource you are trying to create already exists.</p>
|
|
287
309
|
*/
|
|
288
|
-
export
|
|
289
|
-
name: "ResourceAlreadyExistsException";
|
|
290
|
-
$fault: "client";
|
|
291
|
-
|
|
310
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
311
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
312
|
+
readonly $fault: "client";
|
|
313
|
+
/**
|
|
314
|
+
* @internal
|
|
315
|
+
*/
|
|
316
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
292
317
|
}
|
|
293
318
|
export interface CreateArchiveRequest {
|
|
294
319
|
/**
|
|
@@ -346,10 +371,13 @@ export declare namespace CreateArchiveResponse {
|
|
|
346
371
|
/**
|
|
347
372
|
* <p>The event pattern is not valid.</p>
|
|
348
373
|
*/
|
|
349
|
-
export
|
|
350
|
-
name: "InvalidEventPatternException";
|
|
351
|
-
$fault: "client";
|
|
352
|
-
|
|
374
|
+
export declare class InvalidEventPatternException extends __BaseException {
|
|
375
|
+
readonly name: "InvalidEventPatternException";
|
|
376
|
+
readonly $fault: "client";
|
|
377
|
+
/**
|
|
378
|
+
* @internal
|
|
379
|
+
*/
|
|
380
|
+
constructor(opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>);
|
|
353
381
|
}
|
|
354
382
|
export declare enum ConnectionAuthorizationType {
|
|
355
383
|
API_KEY = "API_KEY",
|
|
@@ -924,10 +952,13 @@ export declare namespace DeleteRuleRequest {
|
|
|
924
952
|
* using <code>DisableRule</code>, <code>EnableRule</code>, <code>PutTargets</code>,
|
|
925
953
|
* <code>PutRule</code>, <code>TagResource</code>, or <code>UntagResource</code>. </p>
|
|
926
954
|
*/
|
|
927
|
-
export
|
|
928
|
-
name: "ManagedRuleException";
|
|
929
|
-
$fault: "client";
|
|
930
|
-
|
|
955
|
+
export declare class ManagedRuleException extends __BaseException {
|
|
956
|
+
readonly name: "ManagedRuleException";
|
|
957
|
+
readonly $fault: "client";
|
|
958
|
+
/**
|
|
959
|
+
* @internal
|
|
960
|
+
*/
|
|
961
|
+
constructor(opts: __ExceptionOptionType<ManagedRuleException, __BaseException>);
|
|
931
962
|
}
|
|
932
963
|
export interface DescribeApiDestinationRequest {
|
|
933
964
|
/**
|
|
@@ -2514,7 +2545,7 @@ export interface EcsParameters {
|
|
|
2514
2545
|
/**
|
|
2515
2546
|
* <p>Specifies the launch type on which your task is running. The launch type that you specify
|
|
2516
2547
|
* here must match one of the launch type (compatibilities) of the target task. The
|
|
2517
|
-
* <code>FARGATE</code> value is supported only in the Regions where Fargate
|
|
2548
|
+
* <code>FARGATE</code> value is supported only in the Regions where Fargate with Amazon ECS
|
|
2518
2549
|
* is supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html">Fargate on Amazon ECS</a> in
|
|
2519
2550
|
* the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
2520
2551
|
*/
|
|
@@ -2911,7 +2942,7 @@ export declare namespace SqsParameters {
|
|
|
2911
2942
|
*/
|
|
2912
2943
|
export interface Target {
|
|
2913
2944
|
/**
|
|
2914
|
-
* <p>The ID of the target. We recommend using a memorable and unique string.</p>
|
|
2945
|
+
* <p>The ID of the target within the specified rule. Use this ID to reference the target when updating the rule. We recommend using a memorable and unique string.</p>
|
|
2915
2946
|
*/
|
|
2916
2947
|
Id: string | undefined;
|
|
2917
2948
|
/**
|
|
@@ -3062,7 +3093,7 @@ export interface PutEventsRequestEntry {
|
|
|
3062
3093
|
*/
|
|
3063
3094
|
EventBusName?: string;
|
|
3064
3095
|
/**
|
|
3065
|
-
* <p>An X-Ray
|
|
3096
|
+
* <p>An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains the
|
|
3066
3097
|
* trace-id associated with the event.</p>
|
|
3067
3098
|
* <p>To learn more about X-Ray trace headers, see <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader">Tracing header</a> in the X-Ray Developer Guide.</p>
|
|
3068
3099
|
*/
|
|
@@ -3089,7 +3120,8 @@ export declare namespace PutEventsRequest {
|
|
|
3089
3120
|
const filterSensitiveLog: (obj: PutEventsRequest) => any;
|
|
3090
3121
|
}
|
|
3091
3122
|
/**
|
|
3092
|
-
* <p>Represents an event that failed to be submitted
|
|
3123
|
+
* <p>Represents an event that failed to be submitted. For information about the errors that are common to all actions, see
|
|
3124
|
+
* <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">Common Errors</a>.</p>
|
|
3093
3125
|
*/
|
|
3094
3126
|
export interface PutEventsResultEntry {
|
|
3095
3127
|
/**
|
|
@@ -3218,10 +3250,13 @@ export declare namespace PutPartnerEventsResponse {
|
|
|
3218
3250
|
/**
|
|
3219
3251
|
* <p>The event bus policy is too long. For more information, see the limits.</p>
|
|
3220
3252
|
*/
|
|
3221
|
-
export
|
|
3222
|
-
name: "PolicyLengthExceededException";
|
|
3223
|
-
$fault: "client";
|
|
3224
|
-
|
|
3253
|
+
export declare class PolicyLengthExceededException extends __BaseException {
|
|
3254
|
+
readonly name: "PolicyLengthExceededException";
|
|
3255
|
+
readonly $fault: "client";
|
|
3256
|
+
/**
|
|
3257
|
+
* @internal
|
|
3258
|
+
*/
|
|
3259
|
+
constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
|
|
3225
3260
|
}
|
|
3226
3261
|
/**
|
|
3227
3262
|
* <p>A JSON string which you can use to limit the event bus permissions you are granting to
|
|
@@ -3282,6 +3317,9 @@ export interface PutPermissionRequest {
|
|
|
3282
3317
|
* <p>An identifier string for the external account that you are granting permissions to. If you
|
|
3283
3318
|
* later want to revoke the permission for this external account, specify this
|
|
3284
3319
|
* <code>StatementId</code> when you run <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html">RemovePermission</a>.</p>
|
|
3320
|
+
* <note>
|
|
3321
|
+
* <p>Each <code>StatementId</code> must be unique.</p>
|
|
3322
|
+
* </note>
|
|
3285
3323
|
*/
|
|
3286
3324
|
StatementId?: string;
|
|
3287
3325
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand";
|
|
10
10
|
import { CancelReplayCommandInput, CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
|
|
11
11
|
import { CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput } from "./commands/CreateApiDestinationCommand";
|
|
@@ -67,7 +67,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
67
67
|
|
|
68
68
|
urlParser?: __UrlParser;
|
|
69
69
|
|
|
70
|
-
bodyLengthChecker?:
|
|
70
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
71
71
|
|
|
72
72
|
streamCollector?: __StreamCollector;
|
|
73
73
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class EventBridgeServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { EventBridgeServiceException as __BaseException } from "./EventBridgeServiceException";
|
|
2
3
|
export interface ActivateEventSourceRequest {
|
|
3
4
|
|
|
4
5
|
Name: string | undefined;
|
|
@@ -8,34 +9,39 @@ export declare namespace ActivateEventSourceRequest {
|
|
|
8
9
|
const filterSensitiveLog: (obj: ActivateEventSourceRequest) => any;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
export
|
|
12
|
-
name: "ConcurrentModificationException";
|
|
13
|
-
$fault: "client";
|
|
14
|
-
|
|
12
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
13
|
+
readonly name: "ConcurrentModificationException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
|
|
16
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
15
17
|
}
|
|
16
18
|
|
|
17
|
-
export
|
|
18
|
-
name: "InternalException";
|
|
19
|
-
$fault: "server";
|
|
20
|
-
|
|
19
|
+
export declare class InternalException extends __BaseException {
|
|
20
|
+
readonly name: "InternalException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
|
|
23
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
21
24
|
}
|
|
22
25
|
|
|
23
|
-
export
|
|
24
|
-
name: "InvalidStateException";
|
|
25
|
-
$fault: "client";
|
|
26
|
-
|
|
26
|
+
export declare class InvalidStateException extends __BaseException {
|
|
27
|
+
readonly name: "InvalidStateException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
|
|
30
|
+
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
27
31
|
}
|
|
28
32
|
|
|
29
|
-
export
|
|
30
|
-
name: "OperationDisabledException";
|
|
31
|
-
$fault: "client";
|
|
32
|
-
|
|
33
|
+
export declare class OperationDisabledException extends __BaseException {
|
|
34
|
+
readonly name: "OperationDisabledException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
|
|
37
|
+
constructor(opts: __ExceptionOptionType<OperationDisabledException, __BaseException>);
|
|
33
38
|
}
|
|
34
39
|
|
|
35
|
-
export
|
|
36
|
-
name: "ResourceNotFoundException";
|
|
37
|
-
$fault: "client";
|
|
38
|
-
|
|
40
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
41
|
+
readonly name: "ResourceNotFoundException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
|
|
44
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
39
45
|
}
|
|
40
46
|
export declare enum ApiDestinationState {
|
|
41
47
|
ACTIVE = "ACTIVE",
|
|
@@ -139,10 +145,11 @@ export declare namespace CancelReplayResponse {
|
|
|
139
145
|
const filterSensitiveLog: (obj: CancelReplayResponse) => any;
|
|
140
146
|
}
|
|
141
147
|
|
|
142
|
-
export
|
|
143
|
-
name: "IllegalStatusException";
|
|
144
|
-
$fault: "client";
|
|
145
|
-
|
|
148
|
+
export declare class IllegalStatusException extends __BaseException {
|
|
149
|
+
readonly name: "IllegalStatusException";
|
|
150
|
+
readonly $fault: "client";
|
|
151
|
+
|
|
152
|
+
constructor(opts: __ExceptionOptionType<IllegalStatusException, __BaseException>);
|
|
146
153
|
}
|
|
147
154
|
export interface CreateApiDestinationRequest {
|
|
148
155
|
|
|
@@ -177,16 +184,18 @@ export declare namespace CreateApiDestinationResponse {
|
|
|
177
184
|
const filterSensitiveLog: (obj: CreateApiDestinationResponse) => any;
|
|
178
185
|
}
|
|
179
186
|
|
|
180
|
-
export
|
|
181
|
-
name: "LimitExceededException";
|
|
182
|
-
$fault: "client";
|
|
183
|
-
|
|
187
|
+
export declare class LimitExceededException extends __BaseException {
|
|
188
|
+
readonly name: "LimitExceededException";
|
|
189
|
+
readonly $fault: "client";
|
|
190
|
+
|
|
191
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
184
192
|
}
|
|
185
193
|
|
|
186
|
-
export
|
|
187
|
-
name: "ResourceAlreadyExistsException";
|
|
188
|
-
$fault: "client";
|
|
189
|
-
|
|
194
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
195
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
|
|
198
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
190
199
|
}
|
|
191
200
|
export interface CreateArchiveRequest {
|
|
192
201
|
|
|
@@ -219,10 +228,11 @@ export declare namespace CreateArchiveResponse {
|
|
|
219
228
|
const filterSensitiveLog: (obj: CreateArchiveResponse) => any;
|
|
220
229
|
}
|
|
221
230
|
|
|
222
|
-
export
|
|
223
|
-
name: "InvalidEventPatternException";
|
|
224
|
-
$fault: "client";
|
|
225
|
-
|
|
231
|
+
export declare class InvalidEventPatternException extends __BaseException {
|
|
232
|
+
readonly name: "InvalidEventPatternException";
|
|
233
|
+
readonly $fault: "client";
|
|
234
|
+
|
|
235
|
+
constructor(opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>);
|
|
226
236
|
}
|
|
227
237
|
export declare enum ConnectionAuthorizationType {
|
|
228
238
|
API_KEY = "API_KEY",
|
|
@@ -550,10 +560,11 @@ export declare namespace DeleteRuleRequest {
|
|
|
550
560
|
const filterSensitiveLog: (obj: DeleteRuleRequest) => any;
|
|
551
561
|
}
|
|
552
562
|
|
|
553
|
-
export
|
|
554
|
-
name: "ManagedRuleException";
|
|
555
|
-
$fault: "client";
|
|
556
|
-
|
|
563
|
+
export declare class ManagedRuleException extends __BaseException {
|
|
564
|
+
readonly name: "ManagedRuleException";
|
|
565
|
+
readonly $fault: "client";
|
|
566
|
+
|
|
567
|
+
constructor(opts: __ExceptionOptionType<ManagedRuleException, __BaseException>);
|
|
557
568
|
}
|
|
558
569
|
export interface DescribeApiDestinationRequest {
|
|
559
570
|
|
|
@@ -1712,10 +1723,11 @@ export declare namespace PutPartnerEventsResponse {
|
|
|
1712
1723
|
const filterSensitiveLog: (obj: PutPartnerEventsResponse) => any;
|
|
1713
1724
|
}
|
|
1714
1725
|
|
|
1715
|
-
export
|
|
1716
|
-
name: "PolicyLengthExceededException";
|
|
1717
|
-
$fault: "client";
|
|
1718
|
-
|
|
1726
|
+
export declare class PolicyLengthExceededException extends __BaseException {
|
|
1727
|
+
readonly name: "PolicyLengthExceededException";
|
|
1728
|
+
readonly $fault: "client";
|
|
1729
|
+
|
|
1730
|
+
constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
|
|
1719
1731
|
}
|
|
1720
1732
|
|
|
1721
1733
|
export interface Condition {
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|