@aws-sdk/client-cloudwatch-events 3.934.0 → 3.935.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.
@@ -1,61 +1,22 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CloudWatchEventsServiceException as __BaseException } from "./CloudWatchEventsServiceException";
1
+ import {
2
+ ApiDestinationHttpMethod,
3
+ ApiDestinationState,
4
+ ArchiveState,
5
+ AssignPublicIp,
6
+ ConnectionAuthorizationType,
7
+ ConnectionOAuthHttpMethod,
8
+ ConnectionState,
9
+ EventSourceState,
10
+ LaunchType,
11
+ PlacementConstraintType,
12
+ PlacementStrategyType,
13
+ PropagateTags,
14
+ ReplayState,
15
+ RuleState,
16
+ } from "./enums";
3
17
  export interface ActivateEventSourceRequest {
4
18
  Name: string | undefined;
5
19
  }
6
- export declare class ConcurrentModificationException extends __BaseException {
7
- readonly name: "ConcurrentModificationException";
8
- readonly $fault: "client";
9
- constructor(
10
- opts: __ExceptionOptionType<
11
- ConcurrentModificationException,
12
- __BaseException
13
- >
14
- );
15
- }
16
- export declare class InternalException extends __BaseException {
17
- readonly name: "InternalException";
18
- readonly $fault: "server";
19
- constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
20
- }
21
- export declare class InvalidStateException extends __BaseException {
22
- readonly name: "InvalidStateException";
23
- readonly $fault: "client";
24
- constructor(
25
- opts: __ExceptionOptionType<InvalidStateException, __BaseException>
26
- );
27
- }
28
- export declare class OperationDisabledException extends __BaseException {
29
- readonly name: "OperationDisabledException";
30
- readonly $fault: "client";
31
- constructor(
32
- opts: __ExceptionOptionType<OperationDisabledException, __BaseException>
33
- );
34
- }
35
- export declare class ResourceNotFoundException extends __BaseException {
36
- readonly name: "ResourceNotFoundException";
37
- readonly $fault: "client";
38
- constructor(
39
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
40
- );
41
- }
42
- export declare const ApiDestinationState: {
43
- readonly ACTIVE: "ACTIVE";
44
- readonly INACTIVE: "INACTIVE";
45
- };
46
- export type ApiDestinationState =
47
- (typeof ApiDestinationState)[keyof typeof ApiDestinationState];
48
- export declare const ApiDestinationHttpMethod: {
49
- readonly DELETE: "DELETE";
50
- readonly GET: "GET";
51
- readonly HEAD: "HEAD";
52
- readonly OPTIONS: "OPTIONS";
53
- readonly PATCH: "PATCH";
54
- readonly POST: "POST";
55
- readonly PUT: "PUT";
56
- };
57
- export type ApiDestinationHttpMethod =
58
- (typeof ApiDestinationHttpMethod)[keyof typeof ApiDestinationHttpMethod];
59
20
  export interface ApiDestination {
60
21
  ApiDestinationArn?: string | undefined;
61
22
  Name?: string | undefined;
@@ -67,15 +28,6 @@ export interface ApiDestination {
67
28
  CreationTime?: Date | undefined;
68
29
  LastModifiedTime?: Date | undefined;
69
30
  }
70
- export declare const ArchiveState: {
71
- readonly CREATE_FAILED: "CREATE_FAILED";
72
- readonly CREATING: "CREATING";
73
- readonly DISABLED: "DISABLED";
74
- readonly ENABLED: "ENABLED";
75
- readonly UPDATE_FAILED: "UPDATE_FAILED";
76
- readonly UPDATING: "UPDATING";
77
- };
78
- export type ArchiveState = (typeof ArchiveState)[keyof typeof ArchiveState];
79
31
  export interface Archive {
80
32
  ArchiveName?: string | undefined;
81
33
  EventSourceArn?: string | undefined;
@@ -86,36 +38,14 @@ export interface Archive {
86
38
  EventCount?: number | undefined;
87
39
  CreationTime?: Date | undefined;
88
40
  }
89
- export declare const AssignPublicIp: {
90
- readonly DISABLED: "DISABLED";
91
- readonly ENABLED: "ENABLED";
92
- };
93
- export type AssignPublicIp =
94
- (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
95
41
  export interface CancelReplayRequest {
96
42
  ReplayName: string | undefined;
97
43
  }
98
- export declare const ReplayState: {
99
- readonly CANCELLED: "CANCELLED";
100
- readonly CANCELLING: "CANCELLING";
101
- readonly COMPLETED: "COMPLETED";
102
- readonly FAILED: "FAILED";
103
- readonly RUNNING: "RUNNING";
104
- readonly STARTING: "STARTING";
105
- };
106
- export type ReplayState = (typeof ReplayState)[keyof typeof ReplayState];
107
44
  export interface CancelReplayResponse {
108
45
  ReplayArn?: string | undefined;
109
46
  State?: ReplayState | undefined;
110
47
  StateReason?: string | undefined;
111
48
  }
112
- export declare class IllegalStatusException extends __BaseException {
113
- readonly name: "IllegalStatusException";
114
- readonly $fault: "client";
115
- constructor(
116
- opts: __ExceptionOptionType<IllegalStatusException, __BaseException>
117
- );
118
- }
119
49
  export interface CreateApiDestinationRequest {
120
50
  Name: string | undefined;
121
51
  Description?: string | undefined;
@@ -130,20 +60,6 @@ export interface CreateApiDestinationResponse {
130
60
  CreationTime?: Date | undefined;
131
61
  LastModifiedTime?: Date | undefined;
132
62
  }
133
- export declare class LimitExceededException extends __BaseException {
134
- readonly name: "LimitExceededException";
135
- readonly $fault: "client";
136
- constructor(
137
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
138
- );
139
- }
140
- export declare class ResourceAlreadyExistsException extends __BaseException {
141
- readonly name: "ResourceAlreadyExistsException";
142
- readonly $fault: "client";
143
- constructor(
144
- opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
145
- );
146
- }
147
63
  export interface CreateArchiveRequest {
148
64
  ArchiveName: string | undefined;
149
65
  EventSourceArn: string | undefined;
@@ -157,20 +73,6 @@ export interface CreateArchiveResponse {
157
73
  StateReason?: string | undefined;
158
74
  CreationTime?: Date | undefined;
159
75
  }
160
- export declare class InvalidEventPatternException extends __BaseException {
161
- readonly name: "InvalidEventPatternException";
162
- readonly $fault: "client";
163
- constructor(
164
- opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>
165
- );
166
- }
167
- export declare const ConnectionAuthorizationType: {
168
- readonly API_KEY: "API_KEY";
169
- readonly BASIC: "BASIC";
170
- readonly OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS";
171
- };
172
- export type ConnectionAuthorizationType =
173
- (typeof ConnectionAuthorizationType)[keyof typeof ConnectionAuthorizationType];
174
76
  export interface CreateConnectionApiKeyAuthRequestParameters {
175
77
  ApiKeyName: string | undefined;
176
78
  ApiKeyValue: string | undefined;
@@ -203,13 +105,6 @@ export interface CreateConnectionOAuthClientRequestParameters {
203
105
  ClientID: string | undefined;
204
106
  ClientSecret: string | undefined;
205
107
  }
206
- export declare const ConnectionOAuthHttpMethod: {
207
- readonly GET: "GET";
208
- readonly POST: "POST";
209
- readonly PUT: "PUT";
210
- };
211
- export type ConnectionOAuthHttpMethod =
212
- (typeof ConnectionOAuthHttpMethod)[keyof typeof ConnectionOAuthHttpMethod];
213
108
  export interface CreateConnectionOAuthRequestParameters {
214
109
  ClientParameters: CreateConnectionOAuthClientRequestParameters | undefined;
215
110
  AuthorizationEndpoint: string | undefined;
@@ -230,17 +125,6 @@ export interface CreateConnectionRequest {
230
125
  AuthorizationType: ConnectionAuthorizationType | undefined;
231
126
  AuthParameters: CreateConnectionAuthRequestParameters | undefined;
232
127
  }
233
- export declare const ConnectionState: {
234
- readonly AUTHORIZED: "AUTHORIZED";
235
- readonly AUTHORIZING: "AUTHORIZING";
236
- readonly CREATING: "CREATING";
237
- readonly DEAUTHORIZED: "DEAUTHORIZED";
238
- readonly DEAUTHORIZING: "DEAUTHORIZING";
239
- readonly DELETING: "DELETING";
240
- readonly UPDATING: "UPDATING";
241
- };
242
- export type ConnectionState =
243
- (typeof ConnectionState)[keyof typeof ConnectionState];
244
128
  export interface CreateConnectionResponse {
245
129
  ConnectionArn?: string | undefined;
246
130
  ConnectionState?: ConnectionState | undefined;
@@ -309,13 +193,6 @@ export interface DeleteRuleRequest {
309
193
  EventBusName?: string | undefined;
310
194
  Force?: boolean | undefined;
311
195
  }
312
- export declare class ManagedRuleException extends __BaseException {
313
- readonly name: "ManagedRuleException";
314
- readonly $fault: "client";
315
- constructor(
316
- opts: __ExceptionOptionType<ManagedRuleException, __BaseException>
317
- );
318
- }
319
196
  export interface DescribeApiDestinationRequest {
320
197
  Name: string | undefined;
321
198
  }
@@ -395,13 +272,6 @@ export interface DescribeEventBusResponse {
395
272
  export interface DescribeEventSourceRequest {
396
273
  Name: string | undefined;
397
274
  }
398
- export declare const EventSourceState: {
399
- readonly ACTIVE: "ACTIVE";
400
- readonly DELETED: "DELETED";
401
- readonly PENDING: "PENDING";
402
- };
403
- export type EventSourceState =
404
- (typeof EventSourceState)[keyof typeof EventSourceState];
405
275
  export interface DescribeEventSourceResponse {
406
276
  Arn?: string | undefined;
407
277
  CreatedBy?: string | undefined;
@@ -442,11 +312,6 @@ export interface DescribeRuleRequest {
442
312
  Name: string | undefined;
443
313
  EventBusName?: string | undefined;
444
314
  }
445
- export declare const RuleState: {
446
- readonly DISABLED: "DISABLED";
447
- readonly ENABLED: "ENABLED";
448
- };
449
- export type RuleState = (typeof RuleState)[keyof typeof RuleState];
450
315
  export interface DescribeRuleResponse {
451
316
  Name?: string | undefined;
452
317
  Arn?: string | undefined;
@@ -652,12 +517,6 @@ export interface CapacityProviderStrategyItem {
652
517
  weight?: number | undefined;
653
518
  base?: number | undefined;
654
519
  }
655
- export declare const LaunchType: {
656
- readonly EC2: "EC2";
657
- readonly EXTERNAL: "EXTERNAL";
658
- readonly FARGATE: "FARGATE";
659
- };
660
- export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
661
520
  export interface AwsVpcConfiguration {
662
521
  Subnets: string[] | undefined;
663
522
  SecurityGroups?: string[] | undefined;
@@ -666,31 +525,14 @@ export interface AwsVpcConfiguration {
666
525
  export interface NetworkConfiguration {
667
526
  awsvpcConfiguration?: AwsVpcConfiguration | undefined;
668
527
  }
669
- export declare const PlacementConstraintType: {
670
- readonly DISTINCT_INSTANCE: "distinctInstance";
671
- readonly MEMBER_OF: "memberOf";
672
- };
673
- export type PlacementConstraintType =
674
- (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
675
528
  export interface PlacementConstraint {
676
529
  type?: PlacementConstraintType | undefined;
677
530
  expression?: string | undefined;
678
531
  }
679
- export declare const PlacementStrategyType: {
680
- readonly BINPACK: "binpack";
681
- readonly RANDOM: "random";
682
- readonly SPREAD: "spread";
683
- };
684
- export type PlacementStrategyType =
685
- (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
686
532
  export interface PlacementStrategy {
687
533
  type?: PlacementStrategyType | undefined;
688
534
  field?: string | undefined;
689
535
  }
690
- export declare const PropagateTags: {
691
- readonly TASK_DEFINITION: "TASK_DEFINITION";
692
- };
693
- export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
694
536
  export interface EcsParameters {
695
537
  TaskDefinitionArn: string | undefined;
696
538
  TaskCount?: number | undefined;
@@ -810,13 +652,6 @@ export interface PutPartnerEventsResponse {
810
652
  FailedEntryCount?: number | undefined;
811
653
  Entries?: PutPartnerEventsResultEntry[] | undefined;
812
654
  }
813
- export declare class PolicyLengthExceededException extends __BaseException {
814
- readonly name: "PolicyLengthExceededException";
815
- readonly $fault: "client";
816
- constructor(
817
- opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>
818
- );
819
- }
820
655
  export interface Condition {
821
656
  Type: string | undefined;
822
657
  Key: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-events",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Events Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-events",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";