@aws-sdk/client-eventbridge 3.428.0 → 3.430.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.
@@ -118,7 +118,7 @@ export interface ApiDestination {
118
118
  * @public
119
119
  * <p>The state of the API destination.</p>
120
120
  */
121
- ApiDestinationState?: ApiDestinationState | string;
121
+ ApiDestinationState?: ApiDestinationState;
122
122
  /**
123
123
  * @public
124
124
  * <p>The ARN of the connection specified for the API destination.</p>
@@ -133,7 +133,7 @@ export interface ApiDestination {
133
133
  * @public
134
134
  * <p>The method to use to connect to the HTTP endpoint.</p>
135
135
  */
136
- HttpMethod?: ApiDestinationHttpMethod | string;
136
+ HttpMethod?: ApiDestinationHttpMethod;
137
137
  /**
138
138
  * @public
139
139
  * <p>The maximum number of invocations per second to send to the HTTP endpoint.</p>
@@ -186,7 +186,7 @@ export interface Archive {
186
186
  * @public
187
187
  * <p>The current state of the archive.</p>
188
188
  */
189
- State?: ArchiveState | string;
189
+ State?: ArchiveState;
190
190
  /**
191
191
  * @public
192
192
  * <p>A description for the reason that the archive is in the current state.</p>
@@ -264,7 +264,7 @@ export interface CancelReplayResponse {
264
264
  * @public
265
265
  * <p>The current state of the replay.</p>
266
266
  */
267
- State?: ReplayState | string;
267
+ State?: ReplayState;
268
268
  /**
269
269
  * @public
270
270
  * <p>The reason that the replay is in the current state.</p>
@@ -313,7 +313,7 @@ export interface CreateApiDestinationRequest {
313
313
  * @public
314
314
  * <p>The method to use for the request to the HTTP invocation endpoint.</p>
315
315
  */
316
- HttpMethod: ApiDestinationHttpMethod | string | undefined;
316
+ HttpMethod: ApiDestinationHttpMethod | undefined;
317
317
  /**
318
318
  * @public
319
319
  * <p>The maximum number of requests per second to send to the HTTP invocation endpoint.</p>
@@ -333,7 +333,7 @@ export interface CreateApiDestinationResponse {
333
333
  * @public
334
334
  * <p>The state of the API destination that was created by the request.</p>
335
335
  */
336
- ApiDestinationState?: ApiDestinationState | string;
336
+ ApiDestinationState?: ApiDestinationState;
337
337
  /**
338
338
  * @public
339
339
  * <p>A time stamp indicating the time that the API destination was created.</p>
@@ -414,7 +414,7 @@ export interface CreateArchiveResponse {
414
414
  * @public
415
415
  * <p>The state of the archive that was created.</p>
416
416
  */
417
- State?: ArchiveState | string;
417
+ State?: ArchiveState;
418
418
  /**
419
419
  * @public
420
420
  * <p>The reason that the archive is in the state.</p>
@@ -622,7 +622,7 @@ export interface CreateConnectionOAuthRequestParameters {
622
622
  * @public
623
623
  * <p>The method to use for the authorization request.</p>
624
624
  */
625
- HttpMethod: ConnectionOAuthHttpMethod | string | undefined;
625
+ HttpMethod: ConnectionOAuthHttpMethod | undefined;
626
626
  /**
627
627
  * @public
628
628
  * <p>A <code>ConnectionHttpParameters</code> object that contains details about the additional
@@ -683,7 +683,7 @@ export interface CreateConnectionRequest {
683
683
  * <p>OAUTH tokens are refreshed when a 401 or 407 response is returned.</p>
684
684
  * </note>
685
685
  */
686
- AuthorizationType: ConnectionAuthorizationType | string | undefined;
686
+ AuthorizationType: ConnectionAuthorizationType | undefined;
687
687
  /**
688
688
  * @public
689
689
  * <p>A <code>CreateConnectionAuthRequestParameters</code> object that contains the
@@ -721,7 +721,7 @@ export interface CreateConnectionResponse {
721
721
  * @public
722
722
  * <p>The state of the connection that was created by the request.</p>
723
723
  */
724
- ConnectionState?: ConnectionState | string;
724
+ ConnectionState?: ConnectionState;
725
725
  /**
726
726
  * @public
727
727
  * <p>A time stamp for the time that the connection was created.</p>
@@ -765,7 +765,7 @@ export interface ReplicationConfig {
765
765
  * @public
766
766
  * <p>The state of event replication.</p>
767
767
  */
768
- State?: ReplicationState | string;
768
+ State?: ReplicationState;
769
769
  }
770
770
  /**
771
771
  * @public
@@ -910,7 +910,7 @@ export interface CreateEndpointResponse {
910
910
  * @public
911
911
  * <p>The state of the endpoint that was created by this request.</p>
912
912
  */
913
- State?: EndpointState | string;
913
+ State?: EndpointState;
914
914
  }
915
915
  /**
916
916
  * @public
@@ -1029,7 +1029,7 @@ export interface DeauthorizeConnectionResponse {
1029
1029
  * @public
1030
1030
  * <p>The state of the connection.</p>
1031
1031
  */
1032
- ConnectionState?: ConnectionState | string;
1032
+ ConnectionState?: ConnectionState;
1033
1033
  /**
1034
1034
  * @public
1035
1035
  * <p>A time stamp for the time that the connection was created.</p>
@@ -1099,7 +1099,7 @@ export interface DeleteConnectionResponse {
1099
1099
  * @public
1100
1100
  * <p>The state of the connection before it was deleted.</p>
1101
1101
  */
1102
- ConnectionState?: ConnectionState | string;
1102
+ ConnectionState?: ConnectionState;
1103
1103
  /**
1104
1104
  * @public
1105
1105
  * <p>A time stamp for the time that the connection was created.</p>
@@ -1233,7 +1233,7 @@ export interface DescribeApiDestinationResponse {
1233
1233
  * @public
1234
1234
  * <p>The state of the API destination retrieved.</p>
1235
1235
  */
1236
- ApiDestinationState?: ApiDestinationState | string;
1236
+ ApiDestinationState?: ApiDestinationState;
1237
1237
  /**
1238
1238
  * @public
1239
1239
  * <p>The ARN of the connection specified for the API destination retrieved.</p>
@@ -1248,7 +1248,7 @@ export interface DescribeApiDestinationResponse {
1248
1248
  * @public
1249
1249
  * <p>The method to use to connect to the HTTP endpoint.</p>
1250
1250
  */
1251
- HttpMethod?: ApiDestinationHttpMethod | string;
1251
+ HttpMethod?: ApiDestinationHttpMethod;
1252
1252
  /**
1253
1253
  * @public
1254
1254
  * <p>The maximum number of invocations per second to specified for the API destination. Note
@@ -1313,7 +1313,7 @@ export interface DescribeArchiveResponse {
1313
1313
  * @public
1314
1314
  * <p>The state of the archive.</p>
1315
1315
  */
1316
- State?: ArchiveState | string;
1316
+ State?: ArchiveState;
1317
1317
  /**
1318
1318
  * @public
1319
1319
  * <p>The reason that the archive is in the state.</p>
@@ -1407,7 +1407,7 @@ export interface ConnectionOAuthResponseParameters {
1407
1407
  * @public
1408
1408
  * <p>The method used to connect to the HTTP endpoint.</p>
1409
1409
  */
1410
- HttpMethod?: ConnectionOAuthHttpMethod | string;
1410
+ HttpMethod?: ConnectionOAuthHttpMethod;
1411
1411
  /**
1412
1412
  * @public
1413
1413
  * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
@@ -1464,7 +1464,7 @@ export interface DescribeConnectionResponse {
1464
1464
  * @public
1465
1465
  * <p>The state of the connection retrieved.</p>
1466
1466
  */
1467
- ConnectionState?: ConnectionState | string;
1467
+ ConnectionState?: ConnectionState;
1468
1468
  /**
1469
1469
  * @public
1470
1470
  * <p>The reason that the connection is in the current connection state.</p>
@@ -1474,7 +1474,7 @@ export interface DescribeConnectionResponse {
1474
1474
  * @public
1475
1475
  * <p>The type of authorization specified for the connection.</p>
1476
1476
  */
1477
- AuthorizationType?: ConnectionAuthorizationType | string;
1477
+ AuthorizationType?: ConnectionAuthorizationType;
1478
1478
  /**
1479
1479
  * @public
1480
1480
  * <p>The ARN of the secret created from the authorization parameters specified for the
@@ -1570,7 +1570,7 @@ export interface DescribeEndpointResponse {
1570
1570
  * @public
1571
1571
  * <p>The current state of the endpoint you asked for information about.</p>
1572
1572
  */
1573
- State?: EndpointState | string;
1573
+ State?: EndpointState;
1574
1574
  /**
1575
1575
  * @public
1576
1576
  * <p>The reason the endpoint you asked for information about is in its current state.</p>
@@ -1679,7 +1679,7 @@ export interface DescribeEventSourceResponse {
1679
1679
  * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
1680
1680
  * created a matching event bus, but the event source has since been deleted.</p>
1681
1681
  */
1682
- State?: EventSourceState | string;
1682
+ State?: EventSourceState;
1683
1683
  }
1684
1684
  /**
1685
1685
  * @public
@@ -1756,7 +1756,7 @@ export interface DescribeReplayResponse {
1756
1756
  * @public
1757
1757
  * <p>The current state of the replay.</p>
1758
1758
  */
1759
- State?: ReplayState | string;
1759
+ State?: ReplayState;
1760
1760
  /**
1761
1761
  * @public
1762
1762
  * <p>The reason that the replay is in the current state.</p>
@@ -1855,7 +1855,7 @@ export interface DescribeRuleResponse {
1855
1855
  * @public
1856
1856
  * <p>Specifies whether the rule is enabled or disabled.</p>
1857
1857
  */
1858
- State?: RuleState | string;
1858
+ State?: RuleState;
1859
1859
  /**
1860
1860
  * @public
1861
1861
  * <p>The description of the rule.</p>
@@ -1980,7 +1980,7 @@ export interface ListArchivesRequest {
1980
1980
  * @public
1981
1981
  * <p>The state of the archive.</p>
1982
1982
  */
1983
- State?: ArchiveState | string;
1983
+ State?: ArchiveState;
1984
1984
  /**
1985
1985
  * @public
1986
1986
  * <p>The token returned by a previous call to retrieve the next set of results.</p>
@@ -2021,7 +2021,7 @@ export interface ListConnectionsRequest {
2021
2021
  * @public
2022
2022
  * <p>The state of the connection.</p>
2023
2023
  */
2024
- ConnectionState?: ConnectionState | string;
2024
+ ConnectionState?: ConnectionState;
2025
2025
  /**
2026
2026
  * @public
2027
2027
  * <p>The token returned by a previous call to retrieve the next set of results.</p>
@@ -2052,7 +2052,7 @@ export interface Connection {
2052
2052
  * @public
2053
2053
  * <p>The state of the connection.</p>
2054
2054
  */
2055
- ConnectionState?: ConnectionState | string;
2055
+ ConnectionState?: ConnectionState;
2056
2056
  /**
2057
2057
  * @public
2058
2058
  * <p>The reason that the connection is in the connection state.</p>
@@ -2065,7 +2065,7 @@ export interface Connection {
2065
2065
  * <p>OAUTH tokens are refreshed when a 401 or 407 response is returned.</p>
2066
2066
  * </note>
2067
2067
  */
2068
- AuthorizationType?: ConnectionAuthorizationType | string;
2068
+ AuthorizationType?: ConnectionAuthorizationType;
2069
2069
  /**
2070
2070
  * @public
2071
2071
  * <p>A time stamp for the time that the connection was created.</p>
@@ -2179,7 +2179,7 @@ export interface Endpoint {
2179
2179
  * @public
2180
2180
  * <p>The current state of the endpoint.</p>
2181
2181
  */
2182
- State?: EndpointState | string;
2182
+ State?: EndpointState;
2183
2183
  /**
2184
2184
  * @public
2185
2185
  * <p>The reason the endpoint is in its current state.</p>
@@ -2340,7 +2340,7 @@ export interface EventSource {
2340
2340
  * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
2341
2341
  * created a matching event bus, but the event source has since been deleted.</p>
2342
2342
  */
2343
- State?: EventSourceState | string;
2343
+ State?: EventSourceState;
2344
2344
  }
2345
2345
  /**
2346
2346
  * @public
@@ -2408,7 +2408,7 @@ export interface PartnerEventSourceAccount {
2408
2408
  * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
2409
2409
  * created a matching event bus, but the event source has since been deleted.</p>
2410
2410
  */
2411
- State?: EventSourceState | string;
2411
+ State?: EventSourceState;
2412
2412
  }
2413
2413
  /**
2414
2414
  * @public
@@ -2496,7 +2496,7 @@ export interface ListReplaysRequest {
2496
2496
  * @public
2497
2497
  * <p>The state of the replay.</p>
2498
2498
  */
2499
- State?: ReplayState | string;
2499
+ State?: ReplayState;
2500
2500
  /**
2501
2501
  * @public
2502
2502
  * <p>The ARN of the archive from which the events are replayed.</p>
@@ -2532,7 +2532,7 @@ export interface Replay {
2532
2532
  * @public
2533
2533
  * <p>The current state of the replay.</p>
2534
2534
  */
2535
- State?: ReplayState | string;
2535
+ State?: ReplayState;
2536
2536
  /**
2537
2537
  * @public
2538
2538
  * <p>A description of why the replay is in the current state.</p>
@@ -2674,7 +2674,7 @@ export interface Rule {
2674
2674
  * @public
2675
2675
  * <p>The state of the rule.</p>
2676
2676
  */
2677
- State?: RuleState | string;
2677
+ State?: RuleState;
2678
2678
  /**
2679
2679
  * @public
2680
2680
  * <p>The description of the rule.</p>
@@ -2904,7 +2904,7 @@ export interface AwsVpcConfiguration {
2904
2904
  * can specify <code>ENABLED</code> only when <code>LaunchType</code> in
2905
2905
  * <code>EcsParameters</code> is set to <code>FARGATE</code>.</p>
2906
2906
  */
2907
- AssignPublicIp?: AssignPublicIp | string;
2907
+ AssignPublicIp?: AssignPublicIp;
2908
2908
  }
2909
2909
  /**
2910
2910
  * @public
@@ -2943,7 +2943,7 @@ export interface PlacementConstraint {
2943
2943
  * group is running on a different container instance. Use memberOf to restrict the selection to
2944
2944
  * a group of valid candidates. </p>
2945
2945
  */
2946
- type?: PlacementConstraintType | string;
2946
+ type?: PlacementConstraintType;
2947
2947
  /**
2948
2948
  * @public
2949
2949
  * <p>A cluster query language expression to apply to the constraint. You cannot specify an
@@ -2980,7 +2980,7 @@ export interface PlacementStrategy {
2980
2980
  * field parameter. For example, if you binpack on memory, a task is placed on the instance with
2981
2981
  * the least amount of remaining memory (but still enough to run the task). </p>
2982
2982
  */
2983
- type?: PlacementStrategyType | string;
2983
+ type?: PlacementStrategyType;
2984
2984
  /**
2985
2985
  * @public
2986
2986
  * <p>The field to apply the placement strategy against. For the spread placement strategy,
@@ -3026,7 +3026,7 @@ export interface EcsParameters {
3026
3026
  * 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
3027
3027
  * the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3028
3028
  */
3029
- LaunchType?: LaunchType | string;
3029
+ LaunchType?: LaunchType;
3030
3030
  /**
3031
3031
  * @public
3032
3032
  * <p>Use this structure if the Amazon ECS task uses the <code>awsvpc</code> network mode. This
@@ -3094,7 +3094,7 @@ export interface EcsParameters {
3094
3094
  * is specified, the tags are not propagated. Tags can only be propagated to the task during task
3095
3095
  * creation. To add tags to a task after task creation, use the TagResource API action. </p>
3096
3096
  */
3097
- PropagateTags?: PropagateTags | string;
3097
+ PropagateTags?: PropagateTags;
3098
3098
  /**
3099
3099
  * @public
3100
3100
  * <p>The reference ID to use for the task.</p>
@@ -3839,7 +3839,7 @@ export interface PutRuleRequest {
3839
3839
  * @public
3840
3840
  * <p>Indicates whether the rule is enabled or disabled.</p>
3841
3841
  */
3842
- State?: RuleState | string;
3842
+ State?: RuleState;
3843
3843
  /**
3844
3844
  * @public
3845
3845
  * <p>A description of the rule.</p>
@@ -4076,7 +4076,7 @@ export interface StartReplayResponse {
4076
4076
  * @public
4077
4077
  * <p>The state of the replay.</p>
4078
4078
  */
4079
- State?: ReplayState | string;
4079
+ State?: ReplayState;
4080
4080
  /**
4081
4081
  * @public
4082
4082
  * <p>The reason that the replay is in the state.</p>
@@ -4221,7 +4221,7 @@ export interface UpdateApiDestinationRequest {
4221
4221
  * @public
4222
4222
  * <p>The method to use for the API destination.</p>
4223
4223
  */
4224
- HttpMethod?: ApiDestinationHttpMethod | string;
4224
+ HttpMethod?: ApiDestinationHttpMethod;
4225
4225
  /**
4226
4226
  * @public
4227
4227
  * <p>The maximum number of invocations per second to send to the API destination.</p>
@@ -4241,7 +4241,7 @@ export interface UpdateApiDestinationResponse {
4241
4241
  * @public
4242
4242
  * <p>The state of the API destination that was updated.</p>
4243
4243
  */
4244
- ApiDestinationState?: ApiDestinationState | string;
4244
+ ApiDestinationState?: ApiDestinationState;
4245
4245
  /**
4246
4246
  * @public
4247
4247
  * <p>A time stamp for the time that the API destination was created.</p>
@@ -4291,7 +4291,7 @@ export interface UpdateArchiveResponse {
4291
4291
  * @public
4292
4292
  * <p>The state of the archive.</p>
4293
4293
  */
4294
- State?: ArchiveState | string;
4294
+ State?: ArchiveState;
4295
4295
  /**
4296
4296
  * @public
4297
4297
  * <p>The reason that the archive is in the current state.</p>
@@ -4373,7 +4373,7 @@ export interface UpdateConnectionOAuthRequestParameters {
4373
4373
  * @public
4374
4374
  * <p>The method used to connect to the HTTP endpoint.</p>
4375
4375
  */
4376
- HttpMethod?: ConnectionOAuthHttpMethod | string;
4376
+ HttpMethod?: ConnectionOAuthHttpMethod;
4377
4377
  /**
4378
4378
  * @public
4379
4379
  * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
@@ -4428,7 +4428,7 @@ export interface UpdateConnectionRequest {
4428
4428
  * @public
4429
4429
  * <p>The type of authorization to use for the connection.</p>
4430
4430
  */
4431
- AuthorizationType?: ConnectionAuthorizationType | string;
4431
+ AuthorizationType?: ConnectionAuthorizationType;
4432
4432
  /**
4433
4433
  * @public
4434
4434
  * <p>The authorization parameters to use for the connection.</p>
@@ -4448,7 +4448,7 @@ export interface UpdateConnectionResponse {
4448
4448
  * @public
4449
4449
  * <p>The state of the connection that was updated.</p>
4450
4450
  */
4451
- ConnectionState?: ConnectionState | string;
4451
+ ConnectionState?: ConnectionState;
4452
4452
  /**
4453
4453
  * @public
4454
4454
  * <p>A time stamp for the time that the connection was created.</p>
@@ -4548,7 +4548,7 @@ export interface UpdateEndpointResponse {
4548
4548
  * @public
4549
4549
  * <p>The state of the endpoint you updated in this request.</p>
4550
4550
  */
4551
- State?: EndpointState | string;
4551
+ State?: EndpointState;
4552
4552
  }
4553
4553
  /**
4554
4554
  * @internal
@@ -59,10 +59,10 @@ export type ApiDestinationHttpMethod =
59
59
  export interface ApiDestination {
60
60
  ApiDestinationArn?: string;
61
61
  Name?: string;
62
- ApiDestinationState?: ApiDestinationState | string;
62
+ ApiDestinationState?: ApiDestinationState;
63
63
  ConnectionArn?: string;
64
64
  InvocationEndpoint?: string;
65
- HttpMethod?: ApiDestinationHttpMethod | string;
65
+ HttpMethod?: ApiDestinationHttpMethod;
66
66
  InvocationRateLimitPerSecond?: number;
67
67
  CreationTime?: Date;
68
68
  LastModifiedTime?: Date;
@@ -79,7 +79,7 @@ export type ArchiveState = (typeof ArchiveState)[keyof typeof ArchiveState];
79
79
  export interface Archive {
80
80
  ArchiveName?: string;
81
81
  EventSourceArn?: string;
82
- State?: ArchiveState | string;
82
+ State?: ArchiveState;
83
83
  StateReason?: string;
84
84
  RetentionDays?: number;
85
85
  SizeBytes?: number;
@@ -106,7 +106,7 @@ export declare const ReplayState: {
106
106
  export type ReplayState = (typeof ReplayState)[keyof typeof ReplayState];
107
107
  export interface CancelReplayResponse {
108
108
  ReplayArn?: string;
109
- State?: ReplayState | string;
109
+ State?: ReplayState;
110
110
  StateReason?: string;
111
111
  }
112
112
  export declare class IllegalStatusException extends __BaseException {
@@ -121,12 +121,12 @@ export interface CreateApiDestinationRequest {
121
121
  Description?: string;
122
122
  ConnectionArn: string | undefined;
123
123
  InvocationEndpoint: string | undefined;
124
- HttpMethod: ApiDestinationHttpMethod | string | undefined;
124
+ HttpMethod: ApiDestinationHttpMethod | undefined;
125
125
  InvocationRateLimitPerSecond?: number;
126
126
  }
127
127
  export interface CreateApiDestinationResponse {
128
128
  ApiDestinationArn?: string;
129
- ApiDestinationState?: ApiDestinationState | string;
129
+ ApiDestinationState?: ApiDestinationState;
130
130
  CreationTime?: Date;
131
131
  LastModifiedTime?: Date;
132
132
  }
@@ -153,7 +153,7 @@ export interface CreateArchiveRequest {
153
153
  }
154
154
  export interface CreateArchiveResponse {
155
155
  ArchiveArn?: string;
156
- State?: ArchiveState | string;
156
+ State?: ArchiveState;
157
157
  StateReason?: string;
158
158
  CreationTime?: Date;
159
159
  }
@@ -213,7 +213,7 @@ export type ConnectionOAuthHttpMethod =
213
213
  export interface CreateConnectionOAuthRequestParameters {
214
214
  ClientParameters: CreateConnectionOAuthClientRequestParameters | undefined;
215
215
  AuthorizationEndpoint: string | undefined;
216
- HttpMethod: ConnectionOAuthHttpMethod | string | undefined;
216
+ HttpMethod: ConnectionOAuthHttpMethod | undefined;
217
217
  OAuthHttpParameters?: ConnectionHttpParameters;
218
218
  }
219
219
  export interface CreateConnectionAuthRequestParameters {
@@ -225,7 +225,7 @@ export interface CreateConnectionAuthRequestParameters {
225
225
  export interface CreateConnectionRequest {
226
226
  Name: string | undefined;
227
227
  Description?: string;
228
- AuthorizationType: ConnectionAuthorizationType | string | undefined;
228
+ AuthorizationType: ConnectionAuthorizationType | undefined;
229
229
  AuthParameters: CreateConnectionAuthRequestParameters | undefined;
230
230
  }
231
231
  export declare const ConnectionState: {
@@ -241,7 +241,7 @@ export type ConnectionState =
241
241
  (typeof ConnectionState)[keyof typeof ConnectionState];
242
242
  export interface CreateConnectionResponse {
243
243
  ConnectionArn?: string;
244
- ConnectionState?: ConnectionState | string;
244
+ ConnectionState?: ConnectionState;
245
245
  CreationTime?: Date;
246
246
  LastModifiedTime?: Date;
247
247
  }
@@ -255,7 +255,7 @@ export declare const ReplicationState: {
255
255
  export type ReplicationState =
256
256
  (typeof ReplicationState)[keyof typeof ReplicationState];
257
257
  export interface ReplicationConfig {
258
- State?: ReplicationState | string;
258
+ State?: ReplicationState;
259
259
  }
260
260
  export interface Primary {
261
261
  HealthCheck: string | undefined;
@@ -295,7 +295,7 @@ export interface CreateEndpointResponse {
295
295
  ReplicationConfig?: ReplicationConfig;
296
296
  EventBuses?: EndpointEventBus[];
297
297
  RoleArn?: string;
298
- State?: EndpointState | string;
298
+ State?: EndpointState;
299
299
  }
300
300
  export interface Tag {
301
301
  Key: string | undefined;
@@ -324,7 +324,7 @@ export interface DeauthorizeConnectionRequest {
324
324
  }
325
325
  export interface DeauthorizeConnectionResponse {
326
326
  ConnectionArn?: string;
327
- ConnectionState?: ConnectionState | string;
327
+ ConnectionState?: ConnectionState;
328
328
  CreationTime?: Date;
329
329
  LastModifiedTime?: Date;
330
330
  LastAuthorizedTime?: Date;
@@ -342,7 +342,7 @@ export interface DeleteConnectionRequest {
342
342
  }
343
343
  export interface DeleteConnectionResponse {
344
344
  ConnectionArn?: string;
345
- ConnectionState?: ConnectionState | string;
345
+ ConnectionState?: ConnectionState;
346
346
  CreationTime?: Date;
347
347
  LastModifiedTime?: Date;
348
348
  LastAuthorizedTime?: Date;
@@ -377,10 +377,10 @@ export interface DescribeApiDestinationResponse {
377
377
  ApiDestinationArn?: string;
378
378
  Name?: string;
379
379
  Description?: string;
380
- ApiDestinationState?: ApiDestinationState | string;
380
+ ApiDestinationState?: ApiDestinationState;
381
381
  ConnectionArn?: string;
382
382
  InvocationEndpoint?: string;
383
- HttpMethod?: ApiDestinationHttpMethod | string;
383
+ HttpMethod?: ApiDestinationHttpMethod;
384
384
  InvocationRateLimitPerSecond?: number;
385
385
  CreationTime?: Date;
386
386
  LastModifiedTime?: Date;
@@ -394,7 +394,7 @@ export interface DescribeArchiveResponse {
394
394
  EventSourceArn?: string;
395
395
  Description?: string;
396
396
  EventPattern?: string;
397
- State?: ArchiveState | string;
397
+ State?: ArchiveState;
398
398
  StateReason?: string;
399
399
  RetentionDays?: number;
400
400
  SizeBytes?: number;
@@ -416,7 +416,7 @@ export interface ConnectionOAuthClientResponseParameters {
416
416
  export interface ConnectionOAuthResponseParameters {
417
417
  ClientParameters?: ConnectionOAuthClientResponseParameters;
418
418
  AuthorizationEndpoint?: string;
419
- HttpMethod?: ConnectionOAuthHttpMethod | string;
419
+ HttpMethod?: ConnectionOAuthHttpMethod;
420
420
  OAuthHttpParameters?: ConnectionHttpParameters;
421
421
  }
422
422
  export interface ConnectionAuthResponseParameters {
@@ -429,9 +429,9 @@ export interface DescribeConnectionResponse {
429
429
  ConnectionArn?: string;
430
430
  Name?: string;
431
431
  Description?: string;
432
- ConnectionState?: ConnectionState | string;
432
+ ConnectionState?: ConnectionState;
433
433
  StateReason?: string;
434
- AuthorizationType?: ConnectionAuthorizationType | string;
434
+ AuthorizationType?: ConnectionAuthorizationType;
435
435
  SecretArn?: string;
436
436
  AuthParameters?: ConnectionAuthResponseParameters;
437
437
  CreationTime?: Date;
@@ -452,7 +452,7 @@ export interface DescribeEndpointResponse {
452
452
  RoleArn?: string;
453
453
  EndpointId?: string;
454
454
  EndpointUrl?: string;
455
- State?: EndpointState | string;
455
+ State?: EndpointState;
456
456
  StateReason?: string;
457
457
  CreationTime?: Date;
458
458
  LastModifiedTime?: Date;
@@ -481,7 +481,7 @@ export interface DescribeEventSourceResponse {
481
481
  CreationTime?: Date;
482
482
  ExpirationTime?: Date;
483
483
  Name?: string;
484
- State?: EventSourceState | string;
484
+ State?: EventSourceState;
485
485
  }
486
486
  export interface DescribePartnerEventSourceRequest {
487
487
  Name: string | undefined;
@@ -501,7 +501,7 @@ export interface DescribeReplayResponse {
501
501
  ReplayName?: string;
502
502
  ReplayArn?: string;
503
503
  Description?: string;
504
- State?: ReplayState | string;
504
+ State?: ReplayState;
505
505
  StateReason?: string;
506
506
  EventSourceArn?: string;
507
507
  Destination?: ReplayDestination;
@@ -525,7 +525,7 @@ export interface DescribeRuleResponse {
525
525
  Arn?: string;
526
526
  EventPattern?: string;
527
527
  ScheduleExpression?: string;
528
- State?: RuleState | string;
528
+ State?: RuleState;
529
529
  Description?: string;
530
530
  RoleArn?: string;
531
531
  ManagedBy?: string;
@@ -553,7 +553,7 @@ export interface ListApiDestinationsResponse {
553
553
  export interface ListArchivesRequest {
554
554
  NamePrefix?: string;
555
555
  EventSourceArn?: string;
556
- State?: ArchiveState | string;
556
+ State?: ArchiveState;
557
557
  NextToken?: string;
558
558
  Limit?: number;
559
559
  }
@@ -563,16 +563,16 @@ export interface ListArchivesResponse {
563
563
  }
564
564
  export interface ListConnectionsRequest {
565
565
  NamePrefix?: string;
566
- ConnectionState?: ConnectionState | string;
566
+ ConnectionState?: ConnectionState;
567
567
  NextToken?: string;
568
568
  Limit?: number;
569
569
  }
570
570
  export interface Connection {
571
571
  ConnectionArn?: string;
572
572
  Name?: string;
573
- ConnectionState?: ConnectionState | string;
573
+ ConnectionState?: ConnectionState;
574
574
  StateReason?: string;
575
- AuthorizationType?: ConnectionAuthorizationType | string;
575
+ AuthorizationType?: ConnectionAuthorizationType;
576
576
  CreationTime?: Date;
577
577
  LastModifiedTime?: Date;
578
578
  LastAuthorizedTime?: Date;
@@ -597,7 +597,7 @@ export interface Endpoint {
597
597
  RoleArn?: string;
598
598
  EndpointId?: string;
599
599
  EndpointUrl?: string;
600
- State?: EndpointState | string;
600
+ State?: EndpointState;
601
601
  StateReason?: string;
602
602
  CreationTime?: Date;
603
603
  LastModifiedTime?: Date;
@@ -631,7 +631,7 @@ export interface EventSource {
631
631
  CreationTime?: Date;
632
632
  ExpirationTime?: Date;
633
633
  Name?: string;
634
- State?: EventSourceState | string;
634
+ State?: EventSourceState;
635
635
  }
636
636
  export interface ListEventSourcesResponse {
637
637
  EventSources?: EventSource[];
@@ -646,7 +646,7 @@ export interface PartnerEventSourceAccount {
646
646
  Account?: string;
647
647
  CreationTime?: Date;
648
648
  ExpirationTime?: Date;
649
- State?: EventSourceState | string;
649
+ State?: EventSourceState;
650
650
  }
651
651
  export interface ListPartnerEventSourceAccountsResponse {
652
652
  PartnerEventSourceAccounts?: PartnerEventSourceAccount[];
@@ -667,7 +667,7 @@ export interface ListPartnerEventSourcesResponse {
667
667
  }
668
668
  export interface ListReplaysRequest {
669
669
  NamePrefix?: string;
670
- State?: ReplayState | string;
670
+ State?: ReplayState;
671
671
  EventSourceArn?: string;
672
672
  NextToken?: string;
673
673
  Limit?: number;
@@ -675,7 +675,7 @@ export interface ListReplaysRequest {
675
675
  export interface Replay {
676
676
  ReplayName?: string;
677
677
  EventSourceArn?: string;
678
- State?: ReplayState | string;
678
+ State?: ReplayState;
679
679
  StateReason?: string;
680
680
  EventStartTime?: Date;
681
681
  EventEndTime?: Date;
@@ -707,7 +707,7 @@ export interface Rule {
707
707
  Name?: string;
708
708
  Arn?: string;
709
709
  EventPattern?: string;
710
- State?: RuleState | string;
710
+ State?: RuleState;
711
711
  Description?: string;
712
712
  ScheduleExpression?: string;
713
713
  RoleArn?: string;
@@ -759,7 +759,7 @@ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
759
759
  export interface AwsVpcConfiguration {
760
760
  Subnets: string[] | undefined;
761
761
  SecurityGroups?: string[];
762
- AssignPublicIp?: AssignPublicIp | string;
762
+ AssignPublicIp?: AssignPublicIp;
763
763
  }
764
764
  export interface NetworkConfiguration {
765
765
  awsvpcConfiguration?: AwsVpcConfiguration;
@@ -771,7 +771,7 @@ export declare const PlacementConstraintType: {
771
771
  export type PlacementConstraintType =
772
772
  (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
773
773
  export interface PlacementConstraint {
774
- type?: PlacementConstraintType | string;
774
+ type?: PlacementConstraintType;
775
775
  expression?: string;
776
776
  }
777
777
  export declare const PlacementStrategyType: {
@@ -782,7 +782,7 @@ export declare const PlacementStrategyType: {
782
782
  export type PlacementStrategyType =
783
783
  (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
784
784
  export interface PlacementStrategy {
785
- type?: PlacementStrategyType | string;
785
+ type?: PlacementStrategyType;
786
786
  field?: string;
787
787
  }
788
788
  export declare const PropagateTags: {
@@ -792,7 +792,7 @@ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
792
792
  export interface EcsParameters {
793
793
  TaskDefinitionArn: string | undefined;
794
794
  TaskCount?: number;
795
- LaunchType?: LaunchType | string;
795
+ LaunchType?: LaunchType;
796
796
  NetworkConfiguration?: NetworkConfiguration;
797
797
  PlatformVersion?: string;
798
798
  Group?: string;
@@ -801,7 +801,7 @@ export interface EcsParameters {
801
801
  EnableExecuteCommand?: boolean;
802
802
  PlacementConstraints?: PlacementConstraint[];
803
803
  PlacementStrategy?: PlacementStrategy[];
804
- PropagateTags?: PropagateTags | string;
804
+ PropagateTags?: PropagateTags;
805
805
  ReferenceId?: string;
806
806
  Tags?: Tag[];
807
807
  }
@@ -934,7 +934,7 @@ export interface PutRuleRequest {
934
934
  Name: string | undefined;
935
935
  ScheduleExpression?: string;
936
936
  EventPattern?: string;
937
- State?: RuleState | string;
937
+ State?: RuleState;
938
938
  Description?: string;
939
939
  RoleArn?: string;
940
940
  Tags?: Tag[];
@@ -987,7 +987,7 @@ export interface StartReplayRequest {
987
987
  }
988
988
  export interface StartReplayResponse {
989
989
  ReplayArn?: string;
990
- State?: ReplayState | string;
990
+ State?: ReplayState;
991
991
  StateReason?: string;
992
992
  ReplayStartTime?: Date;
993
993
  }
@@ -1013,12 +1013,12 @@ export interface UpdateApiDestinationRequest {
1013
1013
  Description?: string;
1014
1014
  ConnectionArn?: string;
1015
1015
  InvocationEndpoint?: string;
1016
- HttpMethod?: ApiDestinationHttpMethod | string;
1016
+ HttpMethod?: ApiDestinationHttpMethod;
1017
1017
  InvocationRateLimitPerSecond?: number;
1018
1018
  }
1019
1019
  export interface UpdateApiDestinationResponse {
1020
1020
  ApiDestinationArn?: string;
1021
- ApiDestinationState?: ApiDestinationState | string;
1021
+ ApiDestinationState?: ApiDestinationState;
1022
1022
  CreationTime?: Date;
1023
1023
  LastModifiedTime?: Date;
1024
1024
  }
@@ -1030,7 +1030,7 @@ export interface UpdateArchiveRequest {
1030
1030
  }
1031
1031
  export interface UpdateArchiveResponse {
1032
1032
  ArchiveArn?: string;
1033
- State?: ArchiveState | string;
1033
+ State?: ArchiveState;
1034
1034
  StateReason?: string;
1035
1035
  CreationTime?: Date;
1036
1036
  }
@@ -1049,7 +1049,7 @@ export interface UpdateConnectionOAuthClientRequestParameters {
1049
1049
  export interface UpdateConnectionOAuthRequestParameters {
1050
1050
  ClientParameters?: UpdateConnectionOAuthClientRequestParameters;
1051
1051
  AuthorizationEndpoint?: string;
1052
- HttpMethod?: ConnectionOAuthHttpMethod | string;
1052
+ HttpMethod?: ConnectionOAuthHttpMethod;
1053
1053
  OAuthHttpParameters?: ConnectionHttpParameters;
1054
1054
  }
1055
1055
  export interface UpdateConnectionAuthRequestParameters {
@@ -1061,12 +1061,12 @@ export interface UpdateConnectionAuthRequestParameters {
1061
1061
  export interface UpdateConnectionRequest {
1062
1062
  Name: string | undefined;
1063
1063
  Description?: string;
1064
- AuthorizationType?: ConnectionAuthorizationType | string;
1064
+ AuthorizationType?: ConnectionAuthorizationType;
1065
1065
  AuthParameters?: UpdateConnectionAuthRequestParameters;
1066
1066
  }
1067
1067
  export interface UpdateConnectionResponse {
1068
1068
  ConnectionArn?: string;
1069
- ConnectionState?: ConnectionState | string;
1069
+ ConnectionState?: ConnectionState;
1070
1070
  CreationTime?: Date;
1071
1071
  LastModifiedTime?: Date;
1072
1072
  LastAuthorizedTime?: Date;
@@ -1088,7 +1088,7 @@ export interface UpdateEndpointResponse {
1088
1088
  RoleArn?: string;
1089
1089
  EndpointId?: string;
1090
1090
  EndpointUrl?: string;
1091
- State?: EndpointState | string;
1091
+ State?: EndpointState;
1092
1092
  }
1093
1093
  export declare const CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog: (
1094
1094
  obj: CreateConnectionApiKeyAuthRequestParameters
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.428.0",
4
+ "version": "3.430.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,29 +23,29 @@
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.428.0",
27
- "@aws-sdk/credential-provider-node": "3.428.0",
28
- "@aws-sdk/middleware-host-header": "3.428.0",
26
+ "@aws-sdk/client-sts": "3.430.0",
27
+ "@aws-sdk/credential-provider-node": "3.430.0",
28
+ "@aws-sdk/middleware-host-header": "3.429.0",
29
29
  "@aws-sdk/middleware-logger": "3.428.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
31
31
  "@aws-sdk/middleware-signing": "3.428.0",
32
32
  "@aws-sdk/middleware-user-agent": "3.428.0",
33
- "@aws-sdk/region-config-resolver": "3.428.0",
33
+ "@aws-sdk/region-config-resolver": "3.430.0",
34
34
  "@aws-sdk/signature-v4-multi-region": "3.428.0",
35
35
  "@aws-sdk/types": "3.428.0",
36
36
  "@aws-sdk/util-endpoints": "3.428.0",
37
37
  "@aws-sdk/util-user-agent-browser": "3.428.0",
38
- "@aws-sdk/util-user-agent-node": "3.428.0",
39
- "@smithy/config-resolver": "^2.0.14",
38
+ "@aws-sdk/util-user-agent-node": "3.430.0",
39
+ "@smithy/config-resolver": "^2.0.15",
40
40
  "@smithy/fetch-http-handler": "^2.2.3",
41
41
  "@smithy/hash-node": "^2.0.11",
42
42
  "@smithy/invalid-dependency": "^2.0.11",
43
43
  "@smithy/middleware-content-length": "^2.0.13",
44
- "@smithy/middleware-endpoint": "^2.1.0",
45
- "@smithy/middleware-retry": "^2.0.16",
44
+ "@smithy/middleware-endpoint": "^2.1.2",
45
+ "@smithy/middleware-retry": "^2.0.17",
46
46
  "@smithy/middleware-serde": "^2.0.11",
47
47
  "@smithy/middleware-stack": "^2.0.5",
48
- "@smithy/node-config-provider": "^2.1.1",
48
+ "@smithy/node-config-provider": "^2.1.2",
49
49
  "@smithy/node-http-handler": "^2.1.7",
50
50
  "@smithy/protocol-http": "^3.0.7",
51
51
  "@smithy/smithy-client": "^2.1.11",
@@ -55,7 +55,7 @@
55
55
  "@smithy/util-body-length-browser": "^2.0.0",
56
56
  "@smithy/util-body-length-node": "^2.1.0",
57
57
  "@smithy/util-defaults-mode-browser": "^2.0.15",
58
- "@smithy/util-defaults-mode-node": "^2.0.19",
58
+ "@smithy/util-defaults-mode-node": "^2.0.20",
59
59
  "@smithy/util-retry": "^2.0.4",
60
60
  "@smithy/util-utf8": "^2.0.0",
61
61
  "tslib": "^2.5.0"