@aws-sdk/client-eventbridge 3.699.0 → 3.703.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/dist-cjs/index.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
24
25
  ActivateEventSourceCommand: () => ActivateEventSourceCommand,
25
26
  ApiDestinationHttpMethod: () => ApiDestinationHttpMethod,
26
27
  ApiDestinationState: () => ApiDestinationState,
@@ -120,6 +121,7 @@ __export(src_exports, {
120
121
  TagResourceCommand: () => TagResourceCommand,
121
122
  TargetFilterSensitiveLog: () => TargetFilterSensitiveLog,
122
123
  TestEventPatternCommand: () => TestEventPatternCommand,
124
+ ThrottlingException: () => ThrottlingException,
123
125
  UntagResourceCommand: () => UntagResourceCommand,
124
126
  UpdateApiDestinationCommand: () => UpdateApiDestinationCommand,
125
127
  UpdateArchiveCommand: () => UpdateArchiveCommand,
@@ -303,6 +305,23 @@ var EventBridgeServiceException = _EventBridgeServiceException;
303
305
 
304
306
  // src/models/models_0.ts
305
307
 
308
+ var _AccessDeniedException = class _AccessDeniedException extends EventBridgeServiceException {
309
+ /**
310
+ * @internal
311
+ */
312
+ constructor(opts) {
313
+ super({
314
+ name: "AccessDeniedException",
315
+ $fault: "client",
316
+ ...opts
317
+ });
318
+ this.name = "AccessDeniedException";
319
+ this.$fault = "client";
320
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
321
+ }
322
+ };
323
+ __name(_AccessDeniedException, "AccessDeniedException");
324
+ var AccessDeniedException = _AccessDeniedException;
306
325
  var _ConcurrentModificationException = class _ConcurrentModificationException extends EventBridgeServiceException {
307
326
  /**
308
327
  * @internal
@@ -500,14 +519,33 @@ var ConnectionOAuthHttpMethod = {
500
519
  PUT: "PUT"
501
520
  };
502
521
  var ConnectionState = {
522
+ ACTIVE: "ACTIVE",
503
523
  AUTHORIZED: "AUTHORIZED",
504
524
  AUTHORIZING: "AUTHORIZING",
505
525
  CREATING: "CREATING",
506
526
  DEAUTHORIZED: "DEAUTHORIZED",
507
527
  DEAUTHORIZING: "DEAUTHORIZING",
508
528
  DELETING: "DELETING",
529
+ FAILED_CONNECTIVITY: "FAILED_CONNECTIVITY",
509
530
  UPDATING: "UPDATING"
510
531
  };
532
+ var _ThrottlingException = class _ThrottlingException extends EventBridgeServiceException {
533
+ /**
534
+ * @internal
535
+ */
536
+ constructor(opts) {
537
+ super({
538
+ name: "ThrottlingException",
539
+ $fault: "client",
540
+ ...opts
541
+ });
542
+ this.name = "ThrottlingException";
543
+ this.$fault = "client";
544
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
545
+ }
546
+ };
547
+ __name(_ThrottlingException, "ThrottlingException");
548
+ var ThrottlingException = _ThrottlingException;
511
549
  var ReplicationState = {
512
550
  DISABLED: "DISABLED",
513
551
  ENABLED: "ENABLED"
@@ -1827,6 +1865,12 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1827
1865
  case "InvalidEventPatternException":
1828
1866
  case "com.amazonaws.eventbridge#InvalidEventPatternException":
1829
1867
  throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
1868
+ case "AccessDeniedException":
1869
+ case "com.amazonaws.eventbridge#AccessDeniedException":
1870
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1871
+ case "ThrottlingException":
1872
+ case "com.amazonaws.eventbridge#ThrottlingException":
1873
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1830
1874
  case "ManagedRuleException":
1831
1875
  case "com.amazonaws.eventbridge#ManagedRuleException":
1832
1876
  throw await de_ManagedRuleExceptionRes(parsedOutput, context);
@@ -1842,6 +1886,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1842
1886
  });
1843
1887
  }
1844
1888
  }, "de_CommandError");
1889
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1890
+ const body = parsedOutput.body;
1891
+ const deserialized = (0, import_smithy_client._json)(body);
1892
+ const exception = new AccessDeniedException({
1893
+ $metadata: deserializeMetadata(parsedOutput),
1894
+ ...deserialized
1895
+ });
1896
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1897
+ }, "de_AccessDeniedExceptionRes");
1845
1898
  var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1846
1899
  const body = parsedOutput.body;
1847
1900
  const deserialized = (0, import_smithy_client._json)(body);
@@ -1941,6 +1994,15 @@ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput
1941
1994
  });
1942
1995
  return (0, import_smithy_client.decorateServiceException)(exception, body);
1943
1996
  }, "de_ResourceNotFoundExceptionRes");
1997
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1998
+ const body = parsedOutput.body;
1999
+ const deserialized = (0, import_smithy_client._json)(body);
2000
+ const exception = new ThrottlingException({
2001
+ $metadata: deserializeMetadata(parsedOutput),
2002
+ ...deserialized
2003
+ });
2004
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2005
+ }, "de_ThrottlingExceptionRes");
1944
2006
  var se_PutEventsRequest = /* @__PURE__ */ __name((input, context) => {
1945
2007
  return (0, import_smithy_client.take)(input, {
1946
2008
  EndpointId: [],
@@ -2126,6 +2188,7 @@ var de_DescribeConnectionResponse = /* @__PURE__ */ __name((output, context) =>
2126
2188
  ConnectionState: import_smithy_client.expectString,
2127
2189
  CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2128
2190
  Description: import_smithy_client.expectString,
2191
+ InvocationConnectivityParameters: import_smithy_client._json,
2129
2192
  LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2130
2193
  LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2131
2194
  Name: import_smithy_client.expectString,
@@ -3318,6 +3381,7 @@ var EventBridge = _EventBridge;
3318
3381
  UpdateConnectionCommand,
3319
3382
  UpdateEndpointCommand,
3320
3383
  UpdateEventBusCommand,
3384
+ AccessDeniedException,
3321
3385
  ConcurrentModificationException,
3322
3386
  InternalException,
3323
3387
  InvalidStateException,
@@ -3335,6 +3399,7 @@ var EventBridge = _EventBridge;
3335
3399
  ConnectionAuthorizationType,
3336
3400
  ConnectionOAuthHttpMethod,
3337
3401
  ConnectionState,
3402
+ ThrottlingException,
3338
3403
  ReplicationState,
3339
3404
  EndpointState,
3340
3405
  ManagedRuleException,
@@ -1,5 +1,17 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { EventBridgeServiceException as __BaseException } from "./EventBridgeServiceException";
3
+ export class AccessDeniedException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "AccessDeniedException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "AccessDeniedException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ }
14
+ }
3
15
  export class ConcurrentModificationException extends __BaseException {
4
16
  constructor(opts) {
5
17
  super({
@@ -152,14 +164,28 @@ export const ConnectionOAuthHttpMethod = {
152
164
  PUT: "PUT",
153
165
  };
154
166
  export const ConnectionState = {
167
+ ACTIVE: "ACTIVE",
155
168
  AUTHORIZED: "AUTHORIZED",
156
169
  AUTHORIZING: "AUTHORIZING",
157
170
  CREATING: "CREATING",
158
171
  DEAUTHORIZED: "DEAUTHORIZED",
159
172
  DEAUTHORIZING: "DEAUTHORIZING",
160
173
  DELETING: "DELETING",
174
+ FAILED_CONNECTIVITY: "FAILED_CONNECTIVITY",
161
175
  UPDATING: "UPDATING",
162
176
  };
177
+ export class ThrottlingException extends __BaseException {
178
+ constructor(opts) {
179
+ super({
180
+ name: "ThrottlingException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ this.name = "ThrottlingException";
185
+ this.$fault = "client";
186
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
187
+ }
188
+ }
163
189
  export const ReplicationState = {
164
190
  DISABLED: "DISABLED",
165
191
  ENABLED: "ENABLED",
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { EventBridgeServiceException as __BaseException } from "../models/EventBridgeServiceException";
5
- import { ConcurrentModificationException, IllegalStatusException, InternalException, InvalidEventPatternException, InvalidStateException, LimitExceededException, ManagedRuleException, OperationDisabledException, PolicyLengthExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, } from "../models/models_0";
5
+ import { AccessDeniedException, ConcurrentModificationException, IllegalStatusException, InternalException, InvalidEventPatternException, InvalidStateException, LimitExceededException, ManagedRuleException, OperationDisabledException, PolicyLengthExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
6
6
  export const se_ActivateEventSourceCommand = async (input, context) => {
7
7
  const headers = sharedHeaders("ActivateEventSource");
8
8
  let body;
@@ -1093,6 +1093,12 @@ const de_CommandError = async (output, context) => {
1093
1093
  case "InvalidEventPatternException":
1094
1094
  case "com.amazonaws.eventbridge#InvalidEventPatternException":
1095
1095
  throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
1096
+ case "AccessDeniedException":
1097
+ case "com.amazonaws.eventbridge#AccessDeniedException":
1098
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1099
+ case "ThrottlingException":
1100
+ case "com.amazonaws.eventbridge#ThrottlingException":
1101
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1096
1102
  case "ManagedRuleException":
1097
1103
  case "com.amazonaws.eventbridge#ManagedRuleException":
1098
1104
  throw await de_ManagedRuleExceptionRes(parsedOutput, context);
@@ -1108,6 +1114,15 @@ const de_CommandError = async (output, context) => {
1108
1114
  });
1109
1115
  }
1110
1116
  };
1117
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1118
+ const body = parsedOutput.body;
1119
+ const deserialized = _json(body);
1120
+ const exception = new AccessDeniedException({
1121
+ $metadata: deserializeMetadata(parsedOutput),
1122
+ ...deserialized,
1123
+ });
1124
+ return __decorateServiceException(exception, body);
1125
+ };
1111
1126
  const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
1112
1127
  const body = parsedOutput.body;
1113
1128
  const deserialized = _json(body);
@@ -1207,6 +1222,15 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1207
1222
  });
1208
1223
  return __decorateServiceException(exception, body);
1209
1224
  };
1225
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1226
+ const body = parsedOutput.body;
1227
+ const deserialized = _json(body);
1228
+ const exception = new ThrottlingException({
1229
+ $metadata: deserializeMetadata(parsedOutput),
1230
+ ...deserialized,
1231
+ });
1232
+ return __decorateServiceException(exception, body);
1233
+ };
1210
1234
  const se_PutEventsRequest = (input, context) => {
1211
1235
  return take(input, {
1212
1236
  EndpointId: [],
@@ -1402,6 +1426,7 @@ const de_DescribeConnectionResponse = (output, context) => {
1402
1426
  ConnectionState: __expectString,
1403
1427
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1404
1428
  Description: __expectString,
1429
+ InvocationConnectivityParameters: _json,
1405
1430
  LastAuthorizedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1406
1431
  LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1407
1432
  Name: __expectString,
@@ -29,6 +29,7 @@ declare const CreateConnectionCommand_base: {
29
29
  /**
30
30
  * <p>Creates a connection. A connection defines the authorization type and credentials to use
31
31
  * for authorization with an API destination HTTP endpoint.</p>
32
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-target-connection.html">Connections for endpoint targets</a> in the <i>Amazon EventBridge User Guide</i>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -102,13 +103,23 @@ declare const CreateConnectionCommand_base: {
102
103
  * },
103
104
  * ],
104
105
  * },
106
+ * ConnectivityParameters: { // ConnectivityResourceParameters
107
+ * ResourceParameters: { // ConnectivityResourceConfigurationArn
108
+ * ResourceConfigurationArn: "STRING_VALUE", // required
109
+ * },
110
+ * },
111
+ * },
112
+ * InvocationConnectivityParameters: {
113
+ * ResourceParameters: {
114
+ * ResourceConfigurationArn: "STRING_VALUE", // required
115
+ * },
105
116
  * },
106
117
  * };
107
118
  * const command = new CreateConnectionCommand(input);
108
119
  * const response = await client.send(command);
109
120
  * // { // CreateConnectionResponse
110
121
  * // ConnectionArn: "STRING_VALUE",
111
- * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
122
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING" || "ACTIVE" || "FAILED_CONNECTIVITY",
112
123
  * // CreationTime: new Date("TIMESTAMP"),
113
124
  * // LastModifiedTime: new Date("TIMESTAMP"),
114
125
  * // };
@@ -121,6 +132,9 @@ declare const CreateConnectionCommand_base: {
121
132
  * @see {@link CreateConnectionCommandOutput} for command's `response` shape.
122
133
  * @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape.
123
134
  *
135
+ * @throws {@link AccessDeniedException} (client fault)
136
+ * <p>You do not have the necessary permissons for this action.</p>
137
+ *
124
138
  * @throws {@link InternalException} (server fault)
125
139
  * <p>This exception occurs due to unexpected causes.</p>
126
140
  *
@@ -131,6 +145,12 @@ declare const CreateConnectionCommand_base: {
131
145
  * @throws {@link ResourceAlreadyExistsException} (client fault)
132
146
  * <p>The resource you are trying to create already exists.</p>
133
147
  *
148
+ * @throws {@link ResourceNotFoundException} (client fault)
149
+ * <p>An entity that you specified does not exist.</p>
150
+ *
151
+ * @throws {@link ThrottlingException} (client fault)
152
+ * <p>This request cannot be completed due to throttling issues.</p>
153
+ *
134
154
  * @throws {@link EventBridgeServiceException}
135
155
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
136
156
  *
@@ -42,7 +42,7 @@ declare const DeauthorizeConnectionCommand_base: {
42
42
  * const response = await client.send(command);
43
43
  * // { // DeauthorizeConnectionResponse
44
44
  * // ConnectionArn: "STRING_VALUE",
45
- * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
45
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING" || "ACTIVE" || "FAILED_CONNECTIVITY",
46
46
  * // CreationTime: new Date("TIMESTAMP"),
47
47
  * // LastModifiedTime: new Date("TIMESTAMP"),
48
48
  * // LastAuthorizedTime: new Date("TIMESTAMP"),
@@ -41,7 +41,7 @@ declare const DeleteConnectionCommand_base: {
41
41
  * const response = await client.send(command);
42
42
  * // { // DeleteConnectionResponse
43
43
  * // ConnectionArn: "STRING_VALUE",
44
- * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
44
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING" || "ACTIVE" || "FAILED_CONNECTIVITY",
45
45
  * // CreationTime: new Date("TIMESTAMP"),
46
46
  * // LastModifiedTime: new Date("TIMESTAMP"),
47
47
  * // LastAuthorizedTime: new Date("TIMESTAMP"),
@@ -43,7 +43,13 @@ declare const DescribeConnectionCommand_base: {
43
43
  * // ConnectionArn: "STRING_VALUE",
44
44
  * // Name: "STRING_VALUE",
45
45
  * // Description: "STRING_VALUE",
46
- * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
46
+ * // InvocationConnectivityParameters: { // DescribeConnectionConnectivityParameters
47
+ * // ResourceParameters: { // DescribeConnectionResourceParameters
48
+ * // ResourceConfigurationArn: "STRING_VALUE", // required
49
+ * // ResourceAssociationArn: "STRING_VALUE", // required
50
+ * // },
51
+ * // },
52
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING" || "ACTIVE" || "FAILED_CONNECTIVITY",
47
53
  * // StateReason: "STRING_VALUE",
48
54
  * // AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY",
49
55
  * // SecretArn: "STRING_VALUE",
@@ -107,6 +113,12 @@ declare const DescribeConnectionCommand_base: {
107
113
  * // },
108
114
  * // ],
109
115
  * // },
116
+ * // ConnectivityParameters: {
117
+ * // ResourceParameters: {
118
+ * // ResourceConfigurationArn: "STRING_VALUE", // required
119
+ * // ResourceAssociationArn: "STRING_VALUE", // required
120
+ * // },
121
+ * // },
110
122
  * // },
111
123
  * // CreationTime: new Date("TIMESTAMP"),
112
124
  * // LastModifiedTime: new Date("TIMESTAMP"),
@@ -36,7 +36,7 @@ declare const ListConnectionsCommand_base: {
36
36
  * const client = new EventBridgeClient(config);
37
37
  * const input = { // ListConnectionsRequest
38
38
  * NamePrefix: "STRING_VALUE",
39
- * ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
39
+ * ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING" || "ACTIVE" || "FAILED_CONNECTIVITY",
40
40
  * NextToken: "STRING_VALUE",
41
41
  * Limit: Number("int"),
42
42
  * };
@@ -47,7 +47,7 @@ declare const ListConnectionsCommand_base: {
47
47
  * // { // Connection
48
48
  * // ConnectionArn: "STRING_VALUE",
49
49
  * // Name: "STRING_VALUE",
50
- * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
50
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING" || "ACTIVE" || "FAILED_CONNECTIVITY",
51
51
  * // StateReason: "STRING_VALUE",
52
52
  * // AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY",
53
53
  * // CreationTime: new Date("TIMESTAMP"),
@@ -39,7 +39,7 @@ declare const PutEventsCommand_base: {
39
39
  * constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of
40
40
  * 9,223,372,036,854,775,807.</p>
41
41
  * <note>
42
- * <p>PutEvents will only process nested JSON up to 1100 levels deep.</p>
42
+ * <p>PutEvents will only process nested JSON up to 1000 levels deep.</p>
43
43
  * </note>
44
44
  * @example
45
45
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,10 +27,9 @@ declare const PutPermissionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Running <code>PutPermission</code> permits the specified Amazon Web Services account or
31
- * Amazon Web Services organization to put events to the specified <i>event
32
- * bus</i>. Amazon EventBridge (CloudWatch Events) rules in your account are
33
- * triggered by these events arriving to an event bus in your account. </p>
30
+ * <p>Running <code>PutPermission</code> permits the specified Amazon Web Services account or Amazon Web Services organization
31
+ * to put events to the specified <i>event bus</i>. Amazon EventBridge rules in your account are triggered by these events arriving to an event bus in your
32
+ * account. </p>
34
33
  * <p>For another account to send events to your account, that external account must have an
35
34
  * EventBridge rule with your account's event bus as a target.</p>
36
35
  * <p>To enable multiple Amazon Web Services accounts to put events to your event bus, run
@@ -66,6 +66,9 @@ declare const PutRuleCommand_base: {
66
66
  * budgeting, which alerts you when charges exceed your specified limit. For more information,
67
67
  * see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/budgets-managing-costs.html">Managing Your Costs with
68
68
  * Budgets</a>.</p>
69
+ * <p>To create a rule that filters for management events from Amazon Web Services services, see
70
+ * <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event-cloudtrail.html#eb-service-event-cloudtrail-management">Receiving read-only management events from Amazon Web Services services</a> in the
71
+ * <i>EventBridge User Guide</i>.</p>
69
72
  * @example
70
73
  * Use a bare-bones client and the command you need to make an API call.
71
74
  * ```javascript
@@ -27,8 +27,7 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Removes one or more tags from the specified EventBridge resource. In Amazon EventBridge
31
- * (CloudWatch Events), rules and event buses can be tagged.</p>
30
+ * <p>Removes one or more tags from the specified EventBridge resource. In Amazon EventBridge, rules and event buses can be tagged.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -101,13 +101,23 @@ declare const UpdateConnectionCommand_base: {
101
101
  * },
102
102
  * ],
103
103
  * },
104
+ * ConnectivityParameters: { // ConnectivityResourceParameters
105
+ * ResourceParameters: { // ConnectivityResourceConfigurationArn
106
+ * ResourceConfigurationArn: "STRING_VALUE", // required
107
+ * },
108
+ * },
109
+ * },
110
+ * InvocationConnectivityParameters: {
111
+ * ResourceParameters: {
112
+ * ResourceConfigurationArn: "STRING_VALUE", // required
113
+ * },
104
114
  * },
105
115
  * };
106
116
  * const command = new UpdateConnectionCommand(input);
107
117
  * const response = await client.send(command);
108
118
  * // { // UpdateConnectionResponse
109
119
  * // ConnectionArn: "STRING_VALUE",
110
- * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
120
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING" || "ACTIVE" || "FAILED_CONNECTIVITY",
111
121
  * // CreationTime: new Date("TIMESTAMP"),
112
122
  * // LastModifiedTime: new Date("TIMESTAMP"),
113
123
  * // LastAuthorizedTime: new Date("TIMESTAMP"),
@@ -121,6 +131,9 @@ declare const UpdateConnectionCommand_base: {
121
131
  * @see {@link UpdateConnectionCommandOutput} for command's `response` shape.
122
132
  * @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape.
123
133
  *
134
+ * @throws {@link AccessDeniedException} (client fault)
135
+ * <p>You do not have the necessary permissons for this action.</p>
136
+ *
124
137
  * @throws {@link ConcurrentModificationException} (client fault)
125
138
  * <p>There is concurrent modification on a rule, target, archive, or replay.</p>
126
139
  *
@@ -134,6 +147,9 @@ declare const UpdateConnectionCommand_base: {
134
147
  * @throws {@link ResourceNotFoundException} (client fault)
135
148
  * <p>An entity that you specified does not exist.</p>
136
149
  *
150
+ * @throws {@link ThrottlingException} (client fault)
151
+ * <p>This request cannot be completed due to throttling issues.</p>
152
+ *
137
153
  * @throws {@link EventBridgeServiceException}
138
154
  * <p>Base exception class for all service exceptions from EventBridge service.</p>
139
155
  *