@aws-sdk/client-eventbridge 3.300.0 → 3.303.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.
Files changed (61) hide show
  1. package/dist-cjs/models/models_0.js +91 -107
  2. package/dist-es/models/models_0.js +91 -107
  3. package/dist-types/commands/ActivateEventSourceCommand.d.ts +1 -1
  4. package/dist-types/commands/CancelReplayCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateApiDestinationCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateArchiveCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateConnectionCommand.d.ts +13 -13
  8. package/dist-types/commands/CreateEndpointCommand.d.ts +8 -8
  9. package/dist-types/commands/CreateEventBusCommand.d.ts +3 -3
  10. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +1 -1
  11. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +1 -1
  12. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteArchiveCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteEventBusCommand.d.ts +1 -1
  18. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeArchiveCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeConnectionCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeEventBusCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeEventSourceCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReplayCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
  29. package/dist-types/commands/DisableRuleCommand.d.ts +1 -1
  30. package/dist-types/commands/EnableRuleCommand.d.ts +1 -1
  31. package/dist-types/commands/ListApiDestinationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListArchivesCommand.d.ts +1 -1
  33. package/dist-types/commands/ListConnectionsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListEventBusesCommand.d.ts +1 -1
  36. package/dist-types/commands/ListEventSourcesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +1 -1
  39. package/dist-types/commands/ListReplaysCommand.d.ts +1 -1
  40. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +1 -1
  41. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  43. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +1 -1
  44. package/dist-types/commands/PutEventsCommand.d.ts +4 -4
  45. package/dist-types/commands/PutPartnerEventsCommand.d.ts +4 -4
  46. package/dist-types/commands/PutPermissionCommand.d.ts +2 -2
  47. package/dist-types/commands/PutRuleCommand.d.ts +3 -3
  48. package/dist-types/commands/PutTargetsCommand.d.ts +36 -36
  49. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  50. package/dist-types/commands/RemoveTargetsCommand.d.ts +2 -2
  51. package/dist-types/commands/StartReplayCommand.d.ts +3 -3
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  53. package/dist-types/commands/TestEventPatternCommand.d.ts +1 -1
  54. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  55. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateConnectionCommand.d.ts +13 -13
  58. package/dist-types/commands/UpdateEndpointCommand.d.ts +8 -8
  59. package/dist-types/models/models_0.d.ts +171 -91
  60. package/dist-types/ts3.4/models/models_0.d.ts +117 -91
  61. package/package.json +35 -35
@@ -39,19 +39,23 @@ export declare class ResourceNotFoundException extends __BaseException {
39
39
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
40
40
  );
41
41
  }
42
- export declare enum ApiDestinationState {
43
- ACTIVE = "ACTIVE",
44
- INACTIVE = "INACTIVE",
45
- }
46
- export declare enum ApiDestinationHttpMethod {
47
- DELETE = "DELETE",
48
- GET = "GET",
49
- HEAD = "HEAD",
50
- OPTIONS = "OPTIONS",
51
- PATCH = "PATCH",
52
- POST = "POST",
53
- PUT = "PUT",
54
- }
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];
55
59
  export interface ApiDestination {
56
60
  ApiDestinationArn?: string;
57
61
  Name?: string;
@@ -63,14 +67,15 @@ export interface ApiDestination {
63
67
  CreationTime?: Date;
64
68
  LastModifiedTime?: Date;
65
69
  }
66
- export declare enum ArchiveState {
67
- CREATE_FAILED = "CREATE_FAILED",
68
- CREATING = "CREATING",
69
- DISABLED = "DISABLED",
70
- ENABLED = "ENABLED",
71
- UPDATE_FAILED = "UPDATE_FAILED",
72
- UPDATING = "UPDATING",
73
- }
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];
74
79
  export interface Archive {
75
80
  ArchiveName?: string;
76
81
  EventSourceArn?: string;
@@ -81,21 +86,24 @@ export interface Archive {
81
86
  EventCount?: number;
82
87
  CreationTime?: Date;
83
88
  }
84
- export declare enum AssignPublicIp {
85
- DISABLED = "DISABLED",
86
- ENABLED = "ENABLED",
87
- }
89
+ export declare const AssignPublicIp: {
90
+ readonly DISABLED: "DISABLED";
91
+ readonly ENABLED: "ENABLED";
92
+ };
93
+ export type AssignPublicIp =
94
+ (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
88
95
  export interface CancelReplayRequest {
89
96
  ReplayName: string | undefined;
90
97
  }
91
- export declare enum ReplayState {
92
- CANCELLED = "CANCELLED",
93
- CANCELLING = "CANCELLING",
94
- COMPLETED = "COMPLETED",
95
- FAILED = "FAILED",
96
- RUNNING = "RUNNING",
97
- STARTING = "STARTING",
98
- }
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];
99
107
  export interface CancelReplayResponse {
100
108
  ReplayArn?: string;
101
109
  State?: ReplayState | string;
@@ -156,11 +164,13 @@ export declare class InvalidEventPatternException extends __BaseException {
156
164
  opts: __ExceptionOptionType<InvalidEventPatternException, __BaseException>
157
165
  );
158
166
  }
159
- export declare enum ConnectionAuthorizationType {
160
- API_KEY = "API_KEY",
161
- BASIC = "BASIC",
162
- OAUTH_CLIENT_CREDENTIALS = "OAUTH_CLIENT_CREDENTIALS",
163
- }
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];
164
174
  export interface CreateConnectionApiKeyAuthRequestParameters {
165
175
  ApiKeyName: string | undefined;
166
176
  ApiKeyValue: string | undefined;
@@ -193,11 +203,13 @@ export interface CreateConnectionOAuthClientRequestParameters {
193
203
  ClientID: string | undefined;
194
204
  ClientSecret: string | undefined;
195
205
  }
196
- export declare enum ConnectionOAuthHttpMethod {
197
- GET = "GET",
198
- POST = "POST",
199
- PUT = "PUT",
200
- }
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];
201
213
  export interface CreateConnectionOAuthRequestParameters {
202
214
  ClientParameters: CreateConnectionOAuthClientRequestParameters | undefined;
203
215
  AuthorizationEndpoint: string | undefined;
@@ -216,15 +228,17 @@ export interface CreateConnectionRequest {
216
228
  AuthorizationType: ConnectionAuthorizationType | string | undefined;
217
229
  AuthParameters: CreateConnectionAuthRequestParameters | undefined;
218
230
  }
219
- export declare enum ConnectionState {
220
- AUTHORIZED = "AUTHORIZED",
221
- AUTHORIZING = "AUTHORIZING",
222
- CREATING = "CREATING",
223
- DEAUTHORIZED = "DEAUTHORIZED",
224
- DEAUTHORIZING = "DEAUTHORIZING",
225
- DELETING = "DELETING",
226
- UPDATING = "UPDATING",
227
- }
231
+ export declare const ConnectionState: {
232
+ readonly AUTHORIZED: "AUTHORIZED";
233
+ readonly AUTHORIZING: "AUTHORIZING";
234
+ readonly CREATING: "CREATING";
235
+ readonly DEAUTHORIZED: "DEAUTHORIZED";
236
+ readonly DEAUTHORIZING: "DEAUTHORIZING";
237
+ readonly DELETING: "DELETING";
238
+ readonly UPDATING: "UPDATING";
239
+ };
240
+ export type ConnectionState =
241
+ (typeof ConnectionState)[keyof typeof ConnectionState];
228
242
  export interface CreateConnectionResponse {
229
243
  ConnectionArn?: string;
230
244
  ConnectionState?: ConnectionState | string;
@@ -234,10 +248,12 @@ export interface CreateConnectionResponse {
234
248
  export interface EndpointEventBus {
235
249
  EventBusArn: string | undefined;
236
250
  }
237
- export declare enum ReplicationState {
238
- DISABLED = "DISABLED",
239
- ENABLED = "ENABLED",
240
- }
251
+ export declare const ReplicationState: {
252
+ readonly DISABLED: "DISABLED";
253
+ readonly ENABLED: "ENABLED";
254
+ };
255
+ export type ReplicationState =
256
+ (typeof ReplicationState)[keyof typeof ReplicationState];
241
257
  export interface ReplicationConfig {
242
258
  State?: ReplicationState | string;
243
259
  }
@@ -262,15 +278,16 @@ export interface CreateEndpointRequest {
262
278
  EventBuses: EndpointEventBus[] | undefined;
263
279
  RoleArn?: string;
264
280
  }
265
- export declare enum EndpointState {
266
- ACTIVE = "ACTIVE",
267
- CREATE_FAILED = "CREATE_FAILED",
268
- CREATING = "CREATING",
269
- DELETE_FAILED = "DELETE_FAILED",
270
- DELETING = "DELETING",
271
- UPDATE_FAILED = "UPDATE_FAILED",
272
- UPDATING = "UPDATING",
273
- }
281
+ export declare const EndpointState: {
282
+ readonly ACTIVE: "ACTIVE";
283
+ readonly CREATE_FAILED: "CREATE_FAILED";
284
+ readonly CREATING: "CREATING";
285
+ readonly DELETE_FAILED: "DELETE_FAILED";
286
+ readonly DELETING: "DELETING";
287
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
288
+ readonly UPDATING: "UPDATING";
289
+ };
290
+ export type EndpointState = (typeof EndpointState)[keyof typeof EndpointState];
274
291
  export interface CreateEndpointResponse {
275
292
  Name?: string;
276
293
  Arn?: string;
@@ -451,11 +468,13 @@ export interface DescribeEventBusResponse {
451
468
  export interface DescribeEventSourceRequest {
452
469
  Name: string | undefined;
453
470
  }
454
- export declare enum EventSourceState {
455
- ACTIVE = "ACTIVE",
456
- DELETED = "DELETED",
457
- PENDING = "PENDING",
458
- }
471
+ export declare const EventSourceState: {
472
+ readonly ACTIVE: "ACTIVE";
473
+ readonly DELETED: "DELETED";
474
+ readonly PENDING: "PENDING";
475
+ };
476
+ export type EventSourceState =
477
+ (typeof EventSourceState)[keyof typeof EventSourceState];
459
478
  export interface DescribeEventSourceResponse {
460
479
  Arn?: string;
461
480
  CreatedBy?: string;
@@ -496,10 +515,11 @@ export interface DescribeRuleRequest {
496
515
  Name: string | undefined;
497
516
  EventBusName?: string;
498
517
  }
499
- export declare enum RuleState {
500
- DISABLED = "DISABLED",
501
- ENABLED = "ENABLED",
502
- }
518
+ export declare const RuleState: {
519
+ readonly DISABLED: "DISABLED";
520
+ readonly ENABLED: "ENABLED";
521
+ };
522
+ export type RuleState = (typeof RuleState)[keyof typeof RuleState];
503
523
  export interface DescribeRuleResponse {
504
524
  Name?: string;
505
525
  Arn?: string;
@@ -730,11 +750,12 @@ export interface CapacityProviderStrategyItem {
730
750
  weight?: number;
731
751
  base?: number;
732
752
  }
733
- export declare enum LaunchType {
734
- EC2 = "EC2",
735
- EXTERNAL = "EXTERNAL",
736
- FARGATE = "FARGATE",
737
- }
753
+ export declare const LaunchType: {
754
+ readonly EC2: "EC2";
755
+ readonly EXTERNAL: "EXTERNAL";
756
+ readonly FARGATE: "FARGATE";
757
+ };
758
+ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
738
759
  export interface AwsVpcConfiguration {
739
760
  Subnets: string[] | undefined;
740
761
  SecurityGroups?: string[];
@@ -743,26 +764,31 @@ export interface AwsVpcConfiguration {
743
764
  export interface NetworkConfiguration {
744
765
  awsvpcConfiguration?: AwsVpcConfiguration;
745
766
  }
746
- export declare enum PlacementConstraintType {
747
- DISTINCT_INSTANCE = "distinctInstance",
748
- MEMBER_OF = "memberOf",
749
- }
767
+ export declare const PlacementConstraintType: {
768
+ readonly DISTINCT_INSTANCE: "distinctInstance";
769
+ readonly MEMBER_OF: "memberOf";
770
+ };
771
+ export type PlacementConstraintType =
772
+ (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
750
773
  export interface PlacementConstraint {
751
774
  type?: PlacementConstraintType | string;
752
775
  expression?: string;
753
776
  }
754
- export declare enum PlacementStrategyType {
755
- BINPACK = "binpack",
756
- RANDOM = "random",
757
- SPREAD = "spread",
758
- }
777
+ export declare const PlacementStrategyType: {
778
+ readonly BINPACK: "binpack";
779
+ readonly RANDOM: "random";
780
+ readonly SPREAD: "spread";
781
+ };
782
+ export type PlacementStrategyType =
783
+ (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
759
784
  export interface PlacementStrategy {
760
785
  type?: PlacementStrategyType | string;
761
786
  field?: string;
762
787
  }
763
- export declare enum PropagateTags {
764
- TASK_DEFINITION = "TASK_DEFINITION",
765
- }
788
+ export declare const PropagateTags: {
789
+ readonly TASK_DEFINITION: "TASK_DEFINITION";
790
+ };
791
+ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
766
792
  export interface EcsParameters {
767
793
  TaskDefinitionArn: string | undefined;
768
794
  TaskCount?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eventbridge",
3
3
  "description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,43 +23,43 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
- "@aws-sdk/client-sts": "3.300.0",
27
- "@aws-sdk/config-resolver": "3.300.0",
28
- "@aws-sdk/credential-provider-node": "3.300.0",
29
- "@aws-sdk/fetch-http-handler": "3.296.0",
30
- "@aws-sdk/hash-node": "3.296.0",
31
- "@aws-sdk/invalid-dependency": "3.296.0",
32
- "@aws-sdk/middleware-content-length": "3.296.0",
33
- "@aws-sdk/middleware-endpoint": "3.299.0",
34
- "@aws-sdk/middleware-host-header": "3.296.0",
35
- "@aws-sdk/middleware-logger": "3.296.0",
36
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
37
- "@aws-sdk/middleware-retry": "3.300.0",
38
- "@aws-sdk/middleware-serde": "3.296.0",
39
- "@aws-sdk/middleware-signing": "3.299.0",
40
- "@aws-sdk/middleware-stack": "3.296.0",
41
- "@aws-sdk/middleware-user-agent": "3.299.0",
42
- "@aws-sdk/node-config-provider": "3.300.0",
43
- "@aws-sdk/node-http-handler": "3.296.0",
44
- "@aws-sdk/protocol-http": "3.296.0",
45
- "@aws-sdk/signature-v4-multi-region": "3.299.0",
46
- "@aws-sdk/smithy-client": "3.296.0",
47
- "@aws-sdk/types": "3.296.0",
48
- "@aws-sdk/url-parser": "3.296.0",
49
- "@aws-sdk/util-base64": "3.295.0",
50
- "@aws-sdk/util-body-length-browser": "3.295.0",
51
- "@aws-sdk/util-body-length-node": "3.295.0",
52
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
53
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
54
- "@aws-sdk/util-endpoints": "3.296.0",
55
- "@aws-sdk/util-retry": "3.296.0",
56
- "@aws-sdk/util-user-agent-browser": "3.299.0",
57
- "@aws-sdk/util-user-agent-node": "3.300.0",
58
- "@aws-sdk/util-utf8": "3.295.0",
26
+ "@aws-sdk/client-sts": "3.303.0",
27
+ "@aws-sdk/config-resolver": "3.303.0",
28
+ "@aws-sdk/credential-provider-node": "3.303.0",
29
+ "@aws-sdk/fetch-http-handler": "3.303.0",
30
+ "@aws-sdk/hash-node": "3.303.0",
31
+ "@aws-sdk/invalid-dependency": "3.303.0",
32
+ "@aws-sdk/middleware-content-length": "3.303.0",
33
+ "@aws-sdk/middleware-endpoint": "3.303.0",
34
+ "@aws-sdk/middleware-host-header": "3.303.0",
35
+ "@aws-sdk/middleware-logger": "3.303.0",
36
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
37
+ "@aws-sdk/middleware-retry": "3.303.0",
38
+ "@aws-sdk/middleware-serde": "3.303.0",
39
+ "@aws-sdk/middleware-signing": "3.303.0",
40
+ "@aws-sdk/middleware-stack": "3.303.0",
41
+ "@aws-sdk/middleware-user-agent": "3.303.0",
42
+ "@aws-sdk/node-config-provider": "3.303.0",
43
+ "@aws-sdk/node-http-handler": "3.303.0",
44
+ "@aws-sdk/protocol-http": "3.303.0",
45
+ "@aws-sdk/signature-v4-multi-region": "3.303.0",
46
+ "@aws-sdk/smithy-client": "3.303.0",
47
+ "@aws-sdk/types": "3.303.0",
48
+ "@aws-sdk/url-parser": "3.303.0",
49
+ "@aws-sdk/util-base64": "3.303.0",
50
+ "@aws-sdk/util-body-length-browser": "3.303.0",
51
+ "@aws-sdk/util-body-length-node": "3.303.0",
52
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
53
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
54
+ "@aws-sdk/util-endpoints": "3.303.0",
55
+ "@aws-sdk/util-retry": "3.303.0",
56
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
57
+ "@aws-sdk/util-user-agent-node": "3.303.0",
58
+ "@aws-sdk/util-utf8": "3.303.0",
59
59
  "tslib": "^2.5.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
62
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
63
63
  "@tsconfig/node14": "1.0.3",
64
64
  "@types/node": "^14.14.31",
65
65
  "concurrently": "7.0.0",