@aws-sdk/client-eventbridge 3.48.0 → 3.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-eventbridge
20
+
21
+
22
+
23
+
24
+
25
+ # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-eventbridge
28
+
29
+
30
+
31
+
32
+
33
+ # [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/client-eventbridge
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
42
 
8
43
  **Note:** Version bump only for package @aws-sdk/client-eventbridge
@@ -486,6 +486,9 @@ export declare class EventBridge extends EventBridgeClient {
486
486
  * <p>Adds the specified targets to the specified rule, or updates the targets if they are
487
487
  * already associated with the rule.</p>
488
488
  * <p>Targets are the resources that are invoked when a rule is triggered.</p>
489
+ * <note>
490
+ * <p>Each rule can have up to five (5) targets associated with it at one time.</p>
491
+ * </note>
489
492
  * <p>You can configure the following as targets for Events:</p>
490
493
  *
491
494
  * <ul>
@@ -517,6 +520,9 @@ export declare class EventBridge extends EventBridgeClient {
517
520
  * <p>Amazon EC2 <code>CreateSnapshot</code> API call</p>
518
521
  * </li>
519
522
  * <li>
523
+ * <p>EC2 Image Builder</p>
524
+ * </li>
525
+ * <li>
520
526
  * <p>Amazon EC2 <code>RebootInstances</code> API call</p>
521
527
  * </li>
522
528
  * <li>
@@ -552,7 +558,7 @@ export declare class EventBridge extends EventBridgeClient {
552
558
  * <p>Amazon SNS topic</p>
553
559
  * </li>
554
560
  * <li>
555
- * <p>Amazon SQS queues (includes FIFO queues</p>
561
+ * <p>Amazon SQS queues (includes FIFO queues)</p>
556
562
  * </li>
557
563
  * <li>
558
564
  * <p>SSM Automation</p>
@@ -666,6 +672,10 @@ export declare class EventBridge extends EventBridgeClient {
666
672
  * <p>Removes the specified targets from the specified rule. When the rule is triggered, those
667
673
  * targets are no longer be invoked.</p>
668
674
  *
675
+ * <note>
676
+ * <p>A successful execution of <code>RemoveTargets</code> doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed.</p>
677
+ * </note>
678
+ *
669
679
  * <p>When you remove a target, when the associated rule triggers, removed targets might
670
680
  * continue to be invoked. Allow a short period of time for changes to take effect.</p>
671
681
  *
@@ -10,6 +10,9 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
10
10
  * <p>Adds the specified targets to the specified rule, or updates the targets if they are
11
11
  * already associated with the rule.</p>
12
12
  * <p>Targets are the resources that are invoked when a rule is triggered.</p>
13
+ * <note>
14
+ * <p>Each rule can have up to five (5) targets associated with it at one time.</p>
15
+ * </note>
13
16
  * <p>You can configure the following as targets for Events:</p>
14
17
  *
15
18
  * <ul>
@@ -41,6 +44,9 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
41
44
  * <p>Amazon EC2 <code>CreateSnapshot</code> API call</p>
42
45
  * </li>
43
46
  * <li>
47
+ * <p>EC2 Image Builder</p>
48
+ * </li>
49
+ * <li>
44
50
  * <p>Amazon EC2 <code>RebootInstances</code> API call</p>
45
51
  * </li>
46
52
  * <li>
@@ -76,7 +82,7 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
76
82
  * <p>Amazon SNS topic</p>
77
83
  * </li>
78
84
  * <li>
79
- * <p>Amazon SQS queues (includes FIFO queues</p>
85
+ * <p>Amazon SQS queues (includes FIFO queues)</p>
80
86
  * </li>
81
87
  * <li>
82
88
  * <p>SSM Automation</p>
@@ -10,6 +10,10 @@ export interface RemoveTargetsCommandOutput extends RemoveTargetsResponse, __Met
10
10
  * <p>Removes the specified targets from the specified rule. When the rule is triggered, those
11
11
  * targets are no longer be invoked.</p>
12
12
  *
13
+ * <note>
14
+ * <p>A successful execution of <code>RemoveTargets</code> doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed.</p>
15
+ * </note>
16
+ *
13
17
  * <p>When you remove a target, when the associated rule triggers, removed targets might
14
18
  * continue to be invoked. Allow a short period of time for changes to take effect.</p>
15
19
  *
@@ -2514,7 +2514,7 @@ export interface EcsParameters {
2514
2514
  /**
2515
2515
  * <p>Specifies the launch type on which your task is running. The launch type that you specify
2516
2516
  * here must match one of the launch type (compatibilities) of the target task. The
2517
- * <code>FARGATE</code> value is supported only in the Regions where Fargate witt Amazon ECS
2517
+ * <code>FARGATE</code> value is supported only in the Regions where Fargate with Amazon ECS
2518
2518
  * is supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html">Fargate on Amazon ECS</a> in
2519
2519
  * the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2520
2520
  */
@@ -2911,7 +2911,7 @@ export declare namespace SqsParameters {
2911
2911
  */
2912
2912
  export interface Target {
2913
2913
  /**
2914
- * <p>The ID of the target. We recommend using a memorable and unique string.</p>
2914
+ * <p>The ID of the target within the specified rule. Use this ID to reference the target when updating the rule. We recommend using a memorable and unique string.</p>
2915
2915
  */
2916
2916
  Id: string | undefined;
2917
2917
  /**
@@ -3062,7 +3062,7 @@ export interface PutEventsRequestEntry {
3062
3062
  */
3063
3063
  EventBusName?: string;
3064
3064
  /**
3065
- * <p>An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the
3065
+ * <p>An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains the
3066
3066
  * trace-id associated with the event.</p>
3067
3067
  * <p>To learn more about X-Ray trace headers, see <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader">Tracing header</a> in the X-Ray Developer Guide.</p>
3068
3068
  */
@@ -3089,7 +3089,8 @@ export declare namespace PutEventsRequest {
3089
3089
  const filterSensitiveLog: (obj: PutEventsRequest) => any;
3090
3090
  }
3091
3091
  /**
3092
- * <p>Represents an event that failed to be submitted.</p>
3092
+ * <p>Represents an event that failed to be submitted. For information about the errors that are common to all actions, see
3093
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">Common Errors</a>.</p>
3093
3094
  */
3094
3095
  export interface PutEventsResultEntry {
3095
3096
  /**
@@ -3282,6 +3283,9 @@ export interface PutPermissionRequest {
3282
3283
  * <p>An identifier string for the external account that you are granting permissions to. If you
3283
3284
  * later want to revoke the permission for this external account, specify this
3284
3285
  * <code>StatementId</code> when you run <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html">RemovePermission</a>.</p>
3286
+ * <note>
3287
+ * <p>Each <code>StatementId</code> must be unique.</p>
3288
+ * </note>
3285
3289
  */
3286
3290
  StatementId?: string;
3287
3291
  /**
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.48.0",
4
+ "version": "3.52.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.48.0",
22
- "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.48.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.2",
25
- "@aws-sdk/hash-node": "3.47.2",
26
- "@aws-sdk/invalid-dependency": "3.47.2",
27
- "@aws-sdk/middleware-content-length": "3.47.2",
28
- "@aws-sdk/middleware-host-header": "3.47.2",
29
- "@aws-sdk/middleware-logger": "3.47.2",
30
- "@aws-sdk/middleware-retry": "3.47.2",
31
- "@aws-sdk/middleware-serde": "3.47.2",
32
- "@aws-sdk/middleware-signing": "3.47.2",
33
- "@aws-sdk/middleware-stack": "3.47.2",
34
- "@aws-sdk/middleware-user-agent": "3.47.2",
35
- "@aws-sdk/node-config-provider": "3.47.2",
36
- "@aws-sdk/node-http-handler": "3.47.2",
37
- "@aws-sdk/protocol-http": "3.47.2",
38
- "@aws-sdk/smithy-client": "3.47.2",
39
- "@aws-sdk/types": "3.47.1",
40
- "@aws-sdk/url-parser": "3.47.2",
41
- "@aws-sdk/util-base64-browser": "3.47.1",
42
- "@aws-sdk/util-base64-node": "3.47.2",
43
- "@aws-sdk/util-body-length-browser": "3.47.1",
44
- "@aws-sdk/util-body-length-node": "3.47.1",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
- "@aws-sdk/util-user-agent-browser": "3.47.2",
48
- "@aws-sdk/util-user-agent-node": "3.47.2",
49
- "@aws-sdk/util-utf8-browser": "3.47.1",
50
- "@aws-sdk/util-utf8-node": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"