@aws-sdk/client-eventbridge 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/EventBridge.js +0 -23
- package/dist-cjs/EventBridgeClient.js +0 -28
- package/dist-cjs/commands/ActivateEventSourceCommand.js +0 -25
- package/dist-cjs/commands/CancelReplayCommand.js +0 -24
- package/dist-cjs/commands/CreateApiDestinationCommand.js +0 -25
- package/dist-cjs/commands/CreateArchiveCommand.js +0 -28
- package/dist-cjs/commands/CreateConnectionCommand.js +0 -25
- package/dist-cjs/commands/CreateEventBusCommand.js +0 -26
- package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +0 -47
- package/dist-cjs/commands/DeactivateEventSourceCommand.js +0 -28
- package/dist-cjs/commands/DeauthorizeConnectionCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiDestinationCommand.js +0 -24
- package/dist-cjs/commands/DeleteArchiveCommand.js +0 -24
- package/dist-cjs/commands/DeleteConnectionCommand.js +0 -24
- package/dist-cjs/commands/DeleteEventBusCommand.js +0 -25
- package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +0 -28
- package/dist-cjs/commands/DeleteRuleCommand.js +0 -37
- package/dist-cjs/commands/DescribeApiDestinationCommand.js +0 -24
- package/dist-cjs/commands/DescribeArchiveCommand.js +0 -24
- package/dist-cjs/commands/DescribeConnectionCommand.js +0 -24
- package/dist-cjs/commands/DescribeEventBusCommand.js +0 -30
- package/dist-cjs/commands/DescribeEventSourceCommand.js +0 -25
- package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +0 -27
- package/dist-cjs/commands/DescribeReplayCommand.js +0 -32
- package/dist-cjs/commands/DescribeRuleCommand.js +0 -26
- package/dist-cjs/commands/DisableRuleCommand.js +0 -28
- package/dist-cjs/commands/EnableRuleCommand.js +0 -27
- package/dist-cjs/commands/ListApiDestinationsCommand.js +0 -24
- package/dist-cjs/commands/ListArchivesCommand.js +0 -25
- package/dist-cjs/commands/ListConnectionsCommand.js +0 -24
- package/dist-cjs/commands/ListEventBusesCommand.js +0 -25
- package/dist-cjs/commands/ListEventSourcesCommand.js +0 -25
- package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +0 -26
- package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +0 -25
- package/dist-cjs/commands/ListReplaysCommand.js +0 -25
- package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +0 -25
- package/dist-cjs/commands/ListRulesCommand.js +0 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListTargetsByRuleCommand.js +0 -24
- package/dist-cjs/commands/PutEventsCommand.js +0 -24
- package/dist-cjs/commands/PutPartnerEventsCommand.js +0 -25
- package/dist-cjs/commands/PutPermissionCommand.js +0 -43
- package/dist-cjs/commands/PutRuleCommand.js +0 -70
- package/dist-cjs/commands/PutTargetsCommand.js +0 -189
- package/dist-cjs/commands/RemovePermissionCommand.js +0 -27
- package/dist-cjs/commands/RemoveTargetsCommand.js +0 -32
- package/dist-cjs/commands/StartReplayCommand.js +0 -32
- package/dist-cjs/commands/TagResourceCommand.js +0 -34
- package/dist-cjs/commands/TestEventPatternCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiDestinationCommand.js +0 -24
- package/dist-cjs/commands/UpdateArchiveCommand.js +0 -24
- package/dist-cjs/commands/UpdateConnectionCommand.js +0 -24
- package/dist-cjs/commands/index.js +54 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +3 -53
- package/dist-cjs/models/models_0.js +0 -486
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +51 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +3 -53
- package/dist-types/commands/index.d.ts +51 -0
- package/dist-types/index.d.ts +3 -53
- package/dist-types/ts3.4/EventBridge.d.ts +52 -536
- package/dist-types/ts3.4/EventBridgeClient.d.ts +24 -109
- package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +2 -185
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/index.d.ts +3 -53
- package/dist-types/ts3.4/models/models_0.d.ts +723 -2619
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>This operation is used by SaaS partners to delete a partner event source. This operation
|
|
10
|
-
* is not used by Amazon Web Services customers.</p>
|
|
11
|
-
* <p>When you delete an event source, the status of the corresponding partner event bus in the
|
|
12
|
-
* Amazon Web Services customer account becomes DELETED.</p>
|
|
13
|
-
* <p></p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { EventBridgeClient, DeletePartnerEventSourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
18
|
-
* // const { EventBridgeClient, DeletePartnerEventSourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
19
|
-
* const client = new EventBridgeClient(config);
|
|
20
|
-
* const command = new DeletePartnerEventSourceCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DeletePartnerEventSourceCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DeletePartnerEventSourceCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DeletePartnerEventSourceCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the specified rule.</p>
|
|
10
|
-
* <p>Before you can delete the rule, you must remove all targets, using <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemoveTargets.html">RemoveTargets</a>.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>When you delete a rule, incoming events might continue to match to the deleted rule. Allow
|
|
13
|
-
* a short period of time for changes to take effect.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>If you call delete rule multiple times for the same rule, all calls will succeed. When you
|
|
16
|
-
* call delete rule for a non-existent custom eventbus, <code>ResourceNotFoundException</code> is
|
|
17
|
-
* returned.</p>
|
|
18
|
-
*
|
|
19
|
-
* <p>Managed rules are rules created and managed by another Amazon Web Services service on your behalf. These
|
|
20
|
-
* rules are created by those other Amazon Web Services services to support functionality in those services. You
|
|
21
|
-
* can delete these rules using the <code>Force</code> option, but you should do so only if you
|
|
22
|
-
* are sure the other service is not still using that rule.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { EventBridgeClient, DeleteRuleCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
27
|
-
* // const { EventBridgeClient, DeleteRuleCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
28
|
-
* const client = new EventBridgeClient(config);
|
|
29
|
-
* const command = new DeleteRuleCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link DeleteRuleCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link DeleteRuleCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
8
|
class DeleteRuleCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
9
|
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
10
|
super();
|
|
44
11
|
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
12
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
51
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves details about an API destination.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, DescribeApiDestinationCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, DescribeApiDestinationCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new DescribeApiDestinationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeApiDestinationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeApiDestinationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeApiDestinationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves details about an archive.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, DescribeArchiveCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, DescribeArchiveCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new DescribeArchiveCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeArchiveCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeArchiveCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeArchiveCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves details about a connection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, DescribeConnectionCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, DescribeConnectionCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new DescribeConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeConnectionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Displays details about an event bus in your account. This can include the external Amazon Web Services
|
|
10
|
-
* accounts that are permitted to write events to your default event bus, and the associated
|
|
11
|
-
* policy. For custom event buses and partner event buses, it displays the name, ARN, policy,
|
|
12
|
-
* state, and creation time.</p>
|
|
13
|
-
* <p> To enable your account to receive events from other accounts on its default event bus,
|
|
14
|
-
* use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html">PutPermission</a>.</p>
|
|
15
|
-
* <p>For more information about partner event buses, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html">CreateEventBus</a>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { EventBridgeClient, DescribeEventBusCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
20
|
-
* // const { EventBridgeClient, DescribeEventBusCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
21
|
-
* const client = new EventBridgeClient(config);
|
|
22
|
-
* const command = new DescribeEventBusCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DescribeEventBusCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DescribeEventBusCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class DescribeEventBusCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>This operation lists details about a partner event source that is shared with your
|
|
10
|
-
* account.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { EventBridgeClient, DescribeEventSourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
15
|
-
* // const { EventBridgeClient, DescribeEventSourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
16
|
-
* const client = new EventBridgeClient(config);
|
|
17
|
-
* const command = new DescribeEventSourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeEventSourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeEventSourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DescribeEventSourceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>An SaaS partner can use this operation to list details about a partner event source that
|
|
10
|
-
* they have created. Amazon Web Services customers do not use this operation. Instead, Amazon Web Services customers can use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventSource.html">DescribeEventSource</a>
|
|
11
|
-
* to see details about a partner event source that is
|
|
12
|
-
* shared with them.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EventBridgeClient, DescribePartnerEventSourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
17
|
-
* // const { EventBridgeClient, DescribePartnerEventSourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
18
|
-
* const client = new EventBridgeClient(config);
|
|
19
|
-
* const command = new DescribePartnerEventSourceCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribePartnerEventSourceCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribePartnerEventSourceCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DescribePartnerEventSourceCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves details about a replay. Use <code>DescribeReplay</code> to determine the
|
|
10
|
-
* progress of a running replay. A replay processes events to replay based on the time in the
|
|
11
|
-
* event, and replays them using 1 minute intervals. If you use <code>StartReplay</code> and
|
|
12
|
-
* specify an <code>EventStartTime</code> and an <code>EventEndTime</code> that covers a 20
|
|
13
|
-
* minute time range, the events are replayed from the first minute of that 20 minute range
|
|
14
|
-
* first. Then the events from the second minute are replayed. You can use
|
|
15
|
-
* <code>DescribeReplay</code> to determine the progress of a replay. The value returned for
|
|
16
|
-
* <code>EventLastReplayedTime</code> indicates the time within the specified time range
|
|
17
|
-
* associated with the last event replayed.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { EventBridgeClient, DescribeReplayCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
22
|
-
* // const { EventBridgeClient, DescribeReplayCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
23
|
-
* const client = new EventBridgeClient(config);
|
|
24
|
-
* const command = new DescribeReplayCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link DescribeReplayCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link DescribeReplayCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class DescribeReplayCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describes the specified rule.</p>
|
|
10
|
-
* <p>DescribeRule does not list the targets of a rule. To see the targets associated with a
|
|
11
|
-
* rule, use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_ListTargetsByRule.html">ListTargetsByRule</a>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { EventBridgeClient, DescribeRuleCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
16
|
-
* // const { EventBridgeClient, DescribeRuleCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
17
|
-
* const client = new EventBridgeClient(config);
|
|
18
|
-
* const command = new DescribeRuleCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeRuleCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeRuleCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DescribeRuleCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Disables the specified rule. A disabled rule won't match any events, and won't
|
|
10
|
-
* self-trigger if it has a schedule expression.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>When you disable a rule, incoming events might continue to match to the disabled rule.
|
|
13
|
-
* Allow a short period of time for changes to take effect.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { EventBridgeClient, DisableRuleCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
18
|
-
* // const { EventBridgeClient, DisableRuleCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
19
|
-
* const client = new EventBridgeClient(config);
|
|
20
|
-
* const command = new DisableRuleCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DisableRuleCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DisableRuleCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DisableRuleCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Enables the specified rule. If the rule does not exist, the operation fails.</p>
|
|
10
|
-
*
|
|
11
|
-
* <p>When you enable a rule, incoming events might not immediately start matching to a newly
|
|
12
|
-
* enabled rule. Allow a short period of time for changes to take effect.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EventBridgeClient, EnableRuleCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
17
|
-
* // const { EventBridgeClient, EnableRuleCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
18
|
-
* const client = new EventBridgeClient(config);
|
|
19
|
-
* const command = new EnableRuleCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link EnableRuleCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link EnableRuleCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class EnableRuleCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a list of API destination in the account in the current Region.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, ListApiDestinationsCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, ListApiDestinationsCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new ListApiDestinationsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListApiDestinationsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListApiDestinationsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListApiDestinationsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists your archives. You can either list all the archives or you can provide a prefix to
|
|
10
|
-
* match to the archive names. Filter parameters are exclusive.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { EventBridgeClient, ListArchivesCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
15
|
-
* // const { EventBridgeClient, ListArchivesCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
16
|
-
* const client = new EventBridgeClient(config);
|
|
17
|
-
* const command = new ListArchivesCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListArchivesCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListArchivesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class ListArchivesCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a list of connections from the account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, ListConnectionsCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, ListConnectionsCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new ListConnectionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListConnectionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListConnectionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListConnectionsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists all the event buses in your account, including the default event bus, custom event
|
|
10
|
-
* buses, and partner event buses.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { EventBridgeClient, ListEventBusesCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
15
|
-
* // const { EventBridgeClient, ListEventBusesCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
16
|
-
* const client = new EventBridgeClient(config);
|
|
17
|
-
* const command = new ListEventBusesCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListEventBusesCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListEventBusesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class ListEventBusesCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|