@aws-sdk/client-cloudwatch-events 3.428.0 → 3.429.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
@@ -680,7 +680,7 @@ export interface CreateConnectionRequest {
680
680
  * @public
681
681
  * <p>The type of authorization to use for the connection.</p>
682
682
  */
683
- AuthorizationType: ConnectionAuthorizationType | string | undefined;
683
+ AuthorizationType: ConnectionAuthorizationType | undefined;
684
684
  /**
685
685
  * @public
686
686
  * <p>A <code>CreateConnectionAuthRequestParameters</code> object that contains the
@@ -718,7 +718,7 @@ export interface CreateConnectionResponse {
718
718
  * @public
719
719
  * <p>The state of the connection that was created by the request.</p>
720
720
  */
721
- ConnectionState?: ConnectionState | string;
721
+ ConnectionState?: ConnectionState;
722
722
  /**
723
723
  * @public
724
724
  * <p>A time stamp for the time that the connection was created.</p>
@@ -848,7 +848,7 @@ export interface DeauthorizeConnectionResponse {
848
848
  * @public
849
849
  * <p>The state of the connection.</p>
850
850
  */
851
- ConnectionState?: ConnectionState | string;
851
+ ConnectionState?: ConnectionState;
852
852
  /**
853
853
  * @public
854
854
  * <p>A time stamp for the time that the connection was created.</p>
@@ -918,7 +918,7 @@ export interface DeleteConnectionResponse {
918
918
  * @public
919
919
  * <p>The state of the connection before it was deleted.</p>
920
920
  */
921
- ConnectionState?: ConnectionState | string;
921
+ ConnectionState?: ConnectionState;
922
922
  /**
923
923
  * @public
924
924
  * <p>A time stamp for the time that the connection was created.</p>
@@ -1037,7 +1037,7 @@ export interface DescribeApiDestinationResponse {
1037
1037
  * @public
1038
1038
  * <p>The state of the API destination retrieved.</p>
1039
1039
  */
1040
- ApiDestinationState?: ApiDestinationState | string;
1040
+ ApiDestinationState?: ApiDestinationState;
1041
1041
  /**
1042
1042
  * @public
1043
1043
  * <p>The ARN of the connection specified for the API destination retrieved.</p>
@@ -1052,7 +1052,7 @@ export interface DescribeApiDestinationResponse {
1052
1052
  * @public
1053
1053
  * <p>The method to use to connect to the HTTP endpoint.</p>
1054
1054
  */
1055
- HttpMethod?: ApiDestinationHttpMethod | string;
1055
+ HttpMethod?: ApiDestinationHttpMethod;
1056
1056
  /**
1057
1057
  * @public
1058
1058
  * <p>The maximum number of invocations per second to specified for the API destination. Note
@@ -1117,7 +1117,7 @@ export interface DescribeArchiveResponse {
1117
1117
  * @public
1118
1118
  * <p>The state of the archive.</p>
1119
1119
  */
1120
- State?: ArchiveState | string;
1120
+ State?: ArchiveState;
1121
1121
  /**
1122
1122
  * @public
1123
1123
  * <p>The reason that the archive is in the state.</p>
@@ -1211,7 +1211,7 @@ export interface ConnectionOAuthResponseParameters {
1211
1211
  * @public
1212
1212
  * <p>The method used to connect to the HTTP endpoint.</p>
1213
1213
  */
1214
- HttpMethod?: ConnectionOAuthHttpMethod | string;
1214
+ HttpMethod?: ConnectionOAuthHttpMethod;
1215
1215
  /**
1216
1216
  * @public
1217
1217
  * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
@@ -1268,7 +1268,7 @@ export interface DescribeConnectionResponse {
1268
1268
  * @public
1269
1269
  * <p>The state of the connection retrieved.</p>
1270
1270
  */
1271
- ConnectionState?: ConnectionState | string;
1271
+ ConnectionState?: ConnectionState;
1272
1272
  /**
1273
1273
  * @public
1274
1274
  * <p>The reason that the connection is in the current connection state.</p>
@@ -1278,7 +1278,7 @@ export interface DescribeConnectionResponse {
1278
1278
  * @public
1279
1279
  * <p>The type of authorization specified for the connection.</p>
1280
1280
  */
1281
- AuthorizationType?: ConnectionAuthorizationType | string;
1281
+ AuthorizationType?: ConnectionAuthorizationType;
1282
1282
  /**
1283
1283
  * @public
1284
1284
  * <p>The ARN of the secret created from the authorization parameters specified for the
@@ -1398,7 +1398,7 @@ export interface DescribeEventSourceResponse {
1398
1398
  * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
1399
1399
  * created a matching event bus, but the event source has since been deleted.</p>
1400
1400
  */
1401
- State?: EventSourceState | string;
1401
+ State?: EventSourceState;
1402
1402
  }
1403
1403
  /**
1404
1404
  * @public
@@ -1475,7 +1475,7 @@ export interface DescribeReplayResponse {
1475
1475
  * @public
1476
1476
  * <p>The current state of the replay.</p>
1477
1477
  */
1478
- State?: ReplayState | string;
1478
+ State?: ReplayState;
1479
1479
  /**
1480
1480
  * @public
1481
1481
  * <p>The reason that the replay is in the current state.</p>
@@ -1574,7 +1574,7 @@ export interface DescribeRuleResponse {
1574
1574
  * @public
1575
1575
  * <p>Specifies whether the rule is enabled or disabled.</p>
1576
1576
  */
1577
- State?: RuleState | string;
1577
+ State?: RuleState;
1578
1578
  /**
1579
1579
  * @public
1580
1580
  * <p>The description of the rule.</p>
@@ -1699,7 +1699,7 @@ export interface ListArchivesRequest {
1699
1699
  * @public
1700
1700
  * <p>The state of the archive.</p>
1701
1701
  */
1702
- State?: ArchiveState | string;
1702
+ State?: ArchiveState;
1703
1703
  /**
1704
1704
  * @public
1705
1705
  * <p>The token returned by a previous call to retrieve the next set of results.</p>
@@ -1740,7 +1740,7 @@ export interface ListConnectionsRequest {
1740
1740
  * @public
1741
1741
  * <p>The state of the connection.</p>
1742
1742
  */
1743
- ConnectionState?: ConnectionState | string;
1743
+ ConnectionState?: ConnectionState;
1744
1744
  /**
1745
1745
  * @public
1746
1746
  * <p>The token returned by a previous call to retrieve the next set of results.</p>
@@ -1771,7 +1771,7 @@ export interface Connection {
1771
1771
  * @public
1772
1772
  * <p>The state of the connection.</p>
1773
1773
  */
1774
- ConnectionState?: ConnectionState | string;
1774
+ ConnectionState?: ConnectionState;
1775
1775
  /**
1776
1776
  * @public
1777
1777
  * <p>The reason that the connection is in the connection state.</p>
@@ -1781,7 +1781,7 @@ export interface Connection {
1781
1781
  * @public
1782
1782
  * <p>The authorization type specified for the connection.</p>
1783
1783
  */
1784
- AuthorizationType?: ConnectionAuthorizationType | string;
1784
+ AuthorizationType?: ConnectionAuthorizationType;
1785
1785
  /**
1786
1786
  * @public
1787
1787
  * <p>A time stamp for the time that the connection was created.</p>
@@ -1940,7 +1940,7 @@ export interface EventSource {
1940
1940
  * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
1941
1941
  * created a matching event bus, but the event source has since been deleted.</p>
1942
1942
  */
1943
- State?: EventSourceState | string;
1943
+ State?: EventSourceState;
1944
1944
  }
1945
1945
  /**
1946
1946
  * @public
@@ -2008,7 +2008,7 @@ export interface PartnerEventSourceAccount {
2008
2008
  * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
2009
2009
  * created a matching event bus, but the event source has since been deleted.</p>
2010
2010
  */
2011
- State?: EventSourceState | string;
2011
+ State?: EventSourceState;
2012
2012
  }
2013
2013
  /**
2014
2014
  * @public
@@ -2096,7 +2096,7 @@ export interface ListReplaysRequest {
2096
2096
  * @public
2097
2097
  * <p>The state of the replay.</p>
2098
2098
  */
2099
- State?: ReplayState | string;
2099
+ State?: ReplayState;
2100
2100
  /**
2101
2101
  * @public
2102
2102
  * <p>The ARN of the archive from which the events are replayed.</p>
@@ -2132,7 +2132,7 @@ export interface Replay {
2132
2132
  * @public
2133
2133
  * <p>The current state of the replay.</p>
2134
2134
  */
2135
- State?: ReplayState | string;
2135
+ State?: ReplayState;
2136
2136
  /**
2137
2137
  * @public
2138
2138
  * <p>A description of why the replay is in the current state.</p>
@@ -2274,7 +2274,7 @@ export interface Rule {
2274
2274
  * @public
2275
2275
  * <p>The state of the rule.</p>
2276
2276
  */
2277
- State?: RuleState | string;
2277
+ State?: RuleState;
2278
2278
  /**
2279
2279
  * @public
2280
2280
  * <p>The description of the rule.</p>
@@ -2504,7 +2504,7 @@ export interface AwsVpcConfiguration {
2504
2504
  * can specify <code>ENABLED</code> only when <code>LaunchType</code> in
2505
2505
  * <code>EcsParameters</code> is set to <code>FARGATE</code>.</p>
2506
2506
  */
2507
- AssignPublicIp?: AssignPublicIp | string;
2507
+ AssignPublicIp?: AssignPublicIp;
2508
2508
  }
2509
2509
  /**
2510
2510
  * @public
@@ -2543,7 +2543,7 @@ export interface PlacementConstraint {
2543
2543
  * group is running on a different container instance. Use memberOf to restrict the selection to
2544
2544
  * a group of valid candidates. </p>
2545
2545
  */
2546
- type?: PlacementConstraintType | string;
2546
+ type?: PlacementConstraintType;
2547
2547
  /**
2548
2548
  * @public
2549
2549
  * <p>A cluster query language expression to apply to the constraint. You cannot specify an
@@ -2580,7 +2580,7 @@ export interface PlacementStrategy {
2580
2580
  * field parameter. For example, if you binpack on memory, a task is placed on the instance with
2581
2581
  * the least amount of remaining memory (but still enough to run the task). </p>
2582
2582
  */
2583
- type?: PlacementStrategyType | string;
2583
+ type?: PlacementStrategyType;
2584
2584
  /**
2585
2585
  * @public
2586
2586
  * <p>The field to apply the placement strategy against. For the spread placement strategy,
@@ -2626,7 +2626,7 @@ export interface EcsParameters {
2626
2626
  * 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
2627
2627
  * the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2628
2628
  */
2629
- LaunchType?: LaunchType | string;
2629
+ LaunchType?: LaunchType;
2630
2630
  /**
2631
2631
  * @public
2632
2632
  * <p>Use this structure if the Amazon ECS task uses the <code>awsvpc</code> network mode. This
@@ -2694,7 +2694,7 @@ export interface EcsParameters {
2694
2694
  * is specified, the tags are not propagated. Tags can only be propagated to the task during task
2695
2695
  * creation. To add tags to a task after task creation, use the TagResource API action. </p>
2696
2696
  */
2697
- PropagateTags?: PropagateTags | string;
2697
+ PropagateTags?: PropagateTags;
2698
2698
  /**
2699
2699
  * @public
2700
2700
  * <p>The reference ID to use for the task.</p>
@@ -3415,7 +3415,7 @@ export interface PutRuleRequest {
3415
3415
  * @public
3416
3416
  * <p>Indicates whether the rule is enabled or disabled.</p>
3417
3417
  */
3418
- State?: RuleState | string;
3418
+ State?: RuleState;
3419
3419
  /**
3420
3420
  * @public
3421
3421
  * <p>A description of the rule.</p>
@@ -3652,7 +3652,7 @@ export interface StartReplayResponse {
3652
3652
  * @public
3653
3653
  * <p>The state of the replay.</p>
3654
3654
  */
3655
- State?: ReplayState | string;
3655
+ State?: ReplayState;
3656
3656
  /**
3657
3657
  * @public
3658
3658
  * <p>The reason that the replay is in the state.</p>
@@ -3797,7 +3797,7 @@ export interface UpdateApiDestinationRequest {
3797
3797
  * @public
3798
3798
  * <p>The method to use for the API destination.</p>
3799
3799
  */
3800
- HttpMethod?: ApiDestinationHttpMethod | string;
3800
+ HttpMethod?: ApiDestinationHttpMethod;
3801
3801
  /**
3802
3802
  * @public
3803
3803
  * <p>The maximum number of invocations per second to send to the API destination.</p>
@@ -3817,7 +3817,7 @@ export interface UpdateApiDestinationResponse {
3817
3817
  * @public
3818
3818
  * <p>The state of the API destination that was updated.</p>
3819
3819
  */
3820
- ApiDestinationState?: ApiDestinationState | string;
3820
+ ApiDestinationState?: ApiDestinationState;
3821
3821
  /**
3822
3822
  * @public
3823
3823
  * <p>A time stamp for the time that the API destination was created.</p>
@@ -3867,7 +3867,7 @@ export interface UpdateArchiveResponse {
3867
3867
  * @public
3868
3868
  * <p>The state of the archive.</p>
3869
3869
  */
3870
- State?: ArchiveState | string;
3870
+ State?: ArchiveState;
3871
3871
  /**
3872
3872
  * @public
3873
3873
  * <p>The reason that the archive is in the current state.</p>
@@ -3949,7 +3949,7 @@ export interface UpdateConnectionOAuthRequestParameters {
3949
3949
  * @public
3950
3950
  * <p>The method used to connect to the HTTP endpoint.</p>
3951
3951
  */
3952
- HttpMethod?: ConnectionOAuthHttpMethod | string;
3952
+ HttpMethod?: ConnectionOAuthHttpMethod;
3953
3953
  /**
3954
3954
  * @public
3955
3955
  * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
@@ -4004,7 +4004,7 @@ export interface UpdateConnectionRequest {
4004
4004
  * @public
4005
4005
  * <p>The type of authorization to use for the connection.</p>
4006
4006
  */
4007
- AuthorizationType?: ConnectionAuthorizationType | string;
4007
+ AuthorizationType?: ConnectionAuthorizationType;
4008
4008
  /**
4009
4009
  * @public
4010
4010
  * <p>The authorization parameters to use for the connection.</p>
@@ -4024,7 +4024,7 @@ export interface UpdateConnectionResponse {
4024
4024
  * @public
4025
4025
  * <p>The state of the connection that was updated.</p>
4026
4026
  */
4027
- ConnectionState?: ConnectionState | string;
4027
+ ConnectionState?: ConnectionState;
4028
4028
  /**
4029
4029
  * @public
4030
4030
  * <p>A time stamp for the time that the connection was created.</p>
@@ -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
  }
@@ -272,7 +272,7 @@ export interface DeauthorizeConnectionRequest {
272
272
  }
273
273
  export interface DeauthorizeConnectionResponse {
274
274
  ConnectionArn?: string;
275
- ConnectionState?: ConnectionState | string;
275
+ ConnectionState?: ConnectionState;
276
276
  CreationTime?: Date;
277
277
  LastModifiedTime?: Date;
278
278
  LastAuthorizedTime?: Date;
@@ -290,7 +290,7 @@ export interface DeleteConnectionRequest {
290
290
  }
291
291
  export interface DeleteConnectionResponse {
292
292
  ConnectionArn?: string;
293
- ConnectionState?: ConnectionState | string;
293
+ ConnectionState?: ConnectionState;
294
294
  CreationTime?: Date;
295
295
  LastModifiedTime?: Date;
296
296
  LastAuthorizedTime?: Date;
@@ -321,10 +321,10 @@ export interface DescribeApiDestinationResponse {
321
321
  ApiDestinationArn?: string;
322
322
  Name?: string;
323
323
  Description?: string;
324
- ApiDestinationState?: ApiDestinationState | string;
324
+ ApiDestinationState?: ApiDestinationState;
325
325
  ConnectionArn?: string;
326
326
  InvocationEndpoint?: string;
327
- HttpMethod?: ApiDestinationHttpMethod | string;
327
+ HttpMethod?: ApiDestinationHttpMethod;
328
328
  InvocationRateLimitPerSecond?: number;
329
329
  CreationTime?: Date;
330
330
  LastModifiedTime?: Date;
@@ -338,7 +338,7 @@ export interface DescribeArchiveResponse {
338
338
  EventSourceArn?: string;
339
339
  Description?: string;
340
340
  EventPattern?: string;
341
- State?: ArchiveState | string;
341
+ State?: ArchiveState;
342
342
  StateReason?: string;
343
343
  RetentionDays?: number;
344
344
  SizeBytes?: number;
@@ -360,7 +360,7 @@ export interface ConnectionOAuthClientResponseParameters {
360
360
  export interface ConnectionOAuthResponseParameters {
361
361
  ClientParameters?: ConnectionOAuthClientResponseParameters;
362
362
  AuthorizationEndpoint?: string;
363
- HttpMethod?: ConnectionOAuthHttpMethod | string;
363
+ HttpMethod?: ConnectionOAuthHttpMethod;
364
364
  OAuthHttpParameters?: ConnectionHttpParameters;
365
365
  }
366
366
  export interface ConnectionAuthResponseParameters {
@@ -373,9 +373,9 @@ export interface DescribeConnectionResponse {
373
373
  ConnectionArn?: string;
374
374
  Name?: string;
375
375
  Description?: string;
376
- ConnectionState?: ConnectionState | string;
376
+ ConnectionState?: ConnectionState;
377
377
  StateReason?: string;
378
- AuthorizationType?: ConnectionAuthorizationType | string;
378
+ AuthorizationType?: ConnectionAuthorizationType;
379
379
  SecretArn?: string;
380
380
  AuthParameters?: ConnectionAuthResponseParameters;
381
381
  CreationTime?: Date;
@@ -406,7 +406,7 @@ export interface DescribeEventSourceResponse {
406
406
  CreationTime?: Date;
407
407
  ExpirationTime?: Date;
408
408
  Name?: string;
409
- State?: EventSourceState | string;
409
+ State?: EventSourceState;
410
410
  }
411
411
  export interface DescribePartnerEventSourceRequest {
412
412
  Name: string | undefined;
@@ -426,7 +426,7 @@ export interface DescribeReplayResponse {
426
426
  ReplayName?: string;
427
427
  ReplayArn?: string;
428
428
  Description?: string;
429
- State?: ReplayState | string;
429
+ State?: ReplayState;
430
430
  StateReason?: string;
431
431
  EventSourceArn?: string;
432
432
  Destination?: ReplayDestination;
@@ -450,7 +450,7 @@ export interface DescribeRuleResponse {
450
450
  Arn?: string;
451
451
  EventPattern?: string;
452
452
  ScheduleExpression?: string;
453
- State?: RuleState | string;
453
+ State?: RuleState;
454
454
  Description?: string;
455
455
  RoleArn?: string;
456
456
  ManagedBy?: string;
@@ -478,7 +478,7 @@ export interface ListApiDestinationsResponse {
478
478
  export interface ListArchivesRequest {
479
479
  NamePrefix?: string;
480
480
  EventSourceArn?: string;
481
- State?: ArchiveState | string;
481
+ State?: ArchiveState;
482
482
  NextToken?: string;
483
483
  Limit?: number;
484
484
  }
@@ -488,16 +488,16 @@ export interface ListArchivesResponse {
488
488
  }
489
489
  export interface ListConnectionsRequest {
490
490
  NamePrefix?: string;
491
- ConnectionState?: ConnectionState | string;
491
+ ConnectionState?: ConnectionState;
492
492
  NextToken?: string;
493
493
  Limit?: number;
494
494
  }
495
495
  export interface Connection {
496
496
  ConnectionArn?: string;
497
497
  Name?: string;
498
- ConnectionState?: ConnectionState | string;
498
+ ConnectionState?: ConnectionState;
499
499
  StateReason?: string;
500
- AuthorizationType?: ConnectionAuthorizationType | string;
500
+ AuthorizationType?: ConnectionAuthorizationType;
501
501
  CreationTime?: Date;
502
502
  LastModifiedTime?: Date;
503
503
  LastAuthorizedTime?: Date;
@@ -531,7 +531,7 @@ export interface EventSource {
531
531
  CreationTime?: Date;
532
532
  ExpirationTime?: Date;
533
533
  Name?: string;
534
- State?: EventSourceState | string;
534
+ State?: EventSourceState;
535
535
  }
536
536
  export interface ListEventSourcesResponse {
537
537
  EventSources?: EventSource[];
@@ -546,7 +546,7 @@ export interface PartnerEventSourceAccount {
546
546
  Account?: string;
547
547
  CreationTime?: Date;
548
548
  ExpirationTime?: Date;
549
- State?: EventSourceState | string;
549
+ State?: EventSourceState;
550
550
  }
551
551
  export interface ListPartnerEventSourceAccountsResponse {
552
552
  PartnerEventSourceAccounts?: PartnerEventSourceAccount[];
@@ -567,7 +567,7 @@ export interface ListPartnerEventSourcesResponse {
567
567
  }
568
568
  export interface ListReplaysRequest {
569
569
  NamePrefix?: string;
570
- State?: ReplayState | string;
570
+ State?: ReplayState;
571
571
  EventSourceArn?: string;
572
572
  NextToken?: string;
573
573
  Limit?: number;
@@ -575,7 +575,7 @@ export interface ListReplaysRequest {
575
575
  export interface Replay {
576
576
  ReplayName?: string;
577
577
  EventSourceArn?: string;
578
- State?: ReplayState | string;
578
+ State?: ReplayState;
579
579
  StateReason?: string;
580
580
  EventStartTime?: Date;
581
581
  EventEndTime?: Date;
@@ -607,7 +607,7 @@ export interface Rule {
607
607
  Name?: string;
608
608
  Arn?: string;
609
609
  EventPattern?: string;
610
- State?: RuleState | string;
610
+ State?: RuleState;
611
611
  Description?: string;
612
612
  ScheduleExpression?: string;
613
613
  RoleArn?: string;
@@ -659,7 +659,7 @@ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
659
659
  export interface AwsVpcConfiguration {
660
660
  Subnets: string[] | undefined;
661
661
  SecurityGroups?: string[];
662
- AssignPublicIp?: AssignPublicIp | string;
662
+ AssignPublicIp?: AssignPublicIp;
663
663
  }
664
664
  export interface NetworkConfiguration {
665
665
  awsvpcConfiguration?: AwsVpcConfiguration;
@@ -671,7 +671,7 @@ export declare const PlacementConstraintType: {
671
671
  export type PlacementConstraintType =
672
672
  (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
673
673
  export interface PlacementConstraint {
674
- type?: PlacementConstraintType | string;
674
+ type?: PlacementConstraintType;
675
675
  expression?: string;
676
676
  }
677
677
  export declare const PlacementStrategyType: {
@@ -682,7 +682,7 @@ export declare const PlacementStrategyType: {
682
682
  export type PlacementStrategyType =
683
683
  (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
684
684
  export interface PlacementStrategy {
685
- type?: PlacementStrategyType | string;
685
+ type?: PlacementStrategyType;
686
686
  field?: string;
687
687
  }
688
688
  export declare const PropagateTags: {
@@ -692,7 +692,7 @@ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
692
692
  export interface EcsParameters {
693
693
  TaskDefinitionArn: string | undefined;
694
694
  TaskCount?: number;
695
- LaunchType?: LaunchType | string;
695
+ LaunchType?: LaunchType;
696
696
  NetworkConfiguration?: NetworkConfiguration;
697
697
  PlatformVersion?: string;
698
698
  Group?: string;
@@ -701,7 +701,7 @@ export interface EcsParameters {
701
701
  EnableExecuteCommand?: boolean;
702
702
  PlacementConstraints?: PlacementConstraint[];
703
703
  PlacementStrategy?: PlacementStrategy[];
704
- PropagateTags?: PropagateTags | string;
704
+ PropagateTags?: PropagateTags;
705
705
  ReferenceId?: string;
706
706
  Tags?: Tag[];
707
707
  }
@@ -832,7 +832,7 @@ export interface PutRuleRequest {
832
832
  Name: string | undefined;
833
833
  ScheduleExpression?: string;
834
834
  EventPattern?: string;
835
- State?: RuleState | string;
835
+ State?: RuleState;
836
836
  Description?: string;
837
837
  RoleArn?: string;
838
838
  Tags?: Tag[];
@@ -885,7 +885,7 @@ export interface StartReplayRequest {
885
885
  }
886
886
  export interface StartReplayResponse {
887
887
  ReplayArn?: string;
888
- State?: ReplayState | string;
888
+ State?: ReplayState;
889
889
  StateReason?: string;
890
890
  ReplayStartTime?: Date;
891
891
  }
@@ -911,12 +911,12 @@ export interface UpdateApiDestinationRequest {
911
911
  Description?: string;
912
912
  ConnectionArn?: string;
913
913
  InvocationEndpoint?: string;
914
- HttpMethod?: ApiDestinationHttpMethod | string;
914
+ HttpMethod?: ApiDestinationHttpMethod;
915
915
  InvocationRateLimitPerSecond?: number;
916
916
  }
917
917
  export interface UpdateApiDestinationResponse {
918
918
  ApiDestinationArn?: string;
919
- ApiDestinationState?: ApiDestinationState | string;
919
+ ApiDestinationState?: ApiDestinationState;
920
920
  CreationTime?: Date;
921
921
  LastModifiedTime?: Date;
922
922
  }
@@ -928,7 +928,7 @@ export interface UpdateArchiveRequest {
928
928
  }
929
929
  export interface UpdateArchiveResponse {
930
930
  ArchiveArn?: string;
931
- State?: ArchiveState | string;
931
+ State?: ArchiveState;
932
932
  StateReason?: string;
933
933
  CreationTime?: Date;
934
934
  }
@@ -947,7 +947,7 @@ export interface UpdateConnectionOAuthClientRequestParameters {
947
947
  export interface UpdateConnectionOAuthRequestParameters {
948
948
  ClientParameters?: UpdateConnectionOAuthClientRequestParameters;
949
949
  AuthorizationEndpoint?: string;
950
- HttpMethod?: ConnectionOAuthHttpMethod | string;
950
+ HttpMethod?: ConnectionOAuthHttpMethod;
951
951
  OAuthHttpParameters?: ConnectionHttpParameters;
952
952
  }
953
953
  export interface UpdateConnectionAuthRequestParameters {
@@ -959,12 +959,12 @@ export interface UpdateConnectionAuthRequestParameters {
959
959
  export interface UpdateConnectionRequest {
960
960
  Name: string | undefined;
961
961
  Description?: string;
962
- AuthorizationType?: ConnectionAuthorizationType | string;
962
+ AuthorizationType?: ConnectionAuthorizationType;
963
963
  AuthParameters?: UpdateConnectionAuthRequestParameters;
964
964
  }
965
965
  export interface UpdateConnectionResponse {
966
966
  ConnectionArn?: string;
967
- ConnectionState?: ConnectionState | string;
967
+ ConnectionState?: ConnectionState;
968
968
  CreationTime?: Date;
969
969
  LastModifiedTime?: Date;
970
970
  LastAuthorizedTime?: Date;
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.428.0",
4
+ "version": "3.429.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",