@aws-sdk/client-eventbridge 3.1076.0 → 3.1078.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 +182 -689
- package/dist-es/commandBuilder.js +9 -0
- package/dist-es/commands/ActivateEventSourceCommand.js +2 -14
- package/dist-es/commands/CancelReplayCommand.js +2 -14
- package/dist-es/commands/CreateApiDestinationCommand.js +2 -14
- package/dist-es/commands/CreateArchiveCommand.js +2 -14
- package/dist-es/commands/CreateConnectionCommand.js +2 -14
- package/dist-es/commands/CreateEndpointCommand.js +2 -14
- package/dist-es/commands/CreateEventBusCommand.js +2 -14
- package/dist-es/commands/CreatePartnerEventSourceCommand.js +2 -14
- package/dist-es/commands/DeactivateEventSourceCommand.js +2 -14
- package/dist-es/commands/DeauthorizeConnectionCommand.js +2 -14
- package/dist-es/commands/DeleteApiDestinationCommand.js +2 -14
- package/dist-es/commands/DeleteArchiveCommand.js +2 -14
- package/dist-es/commands/DeleteConnectionCommand.js +2 -14
- package/dist-es/commands/DeleteEndpointCommand.js +2 -14
- package/dist-es/commands/DeleteEventBusCommand.js +2 -14
- package/dist-es/commands/DeletePartnerEventSourceCommand.js +2 -14
- package/dist-es/commands/DeleteRuleCommand.js +2 -14
- package/dist-es/commands/DescribeApiDestinationCommand.js +2 -14
- package/dist-es/commands/DescribeArchiveCommand.js +2 -14
- package/dist-es/commands/DescribeConnectionCommand.js +2 -14
- package/dist-es/commands/DescribeEndpointCommand.js +2 -14
- package/dist-es/commands/DescribeEventBusCommand.js +2 -14
- package/dist-es/commands/DescribeEventSourceCommand.js +2 -14
- package/dist-es/commands/DescribePartnerEventSourceCommand.js +2 -14
- package/dist-es/commands/DescribeReplayCommand.js +2 -14
- package/dist-es/commands/DescribeRuleCommand.js +2 -14
- package/dist-es/commands/DisableRuleCommand.js +2 -14
- package/dist-es/commands/EnableRuleCommand.js +2 -14
- package/dist-es/commands/ListApiDestinationsCommand.js +2 -14
- package/dist-es/commands/ListArchivesCommand.js +2 -14
- package/dist-es/commands/ListConnectionsCommand.js +2 -14
- package/dist-es/commands/ListEndpointsCommand.js +2 -14
- package/dist-es/commands/ListEventBusesCommand.js +2 -14
- package/dist-es/commands/ListEventSourcesCommand.js +2 -14
- package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +2 -14
- package/dist-es/commands/ListPartnerEventSourcesCommand.js +2 -14
- package/dist-es/commands/ListReplaysCommand.js +2 -14
- package/dist-es/commands/ListRuleNamesByTargetCommand.js +2 -14
- package/dist-es/commands/ListRulesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTargetsByRuleCommand.js +2 -14
- package/dist-es/commands/PutEventsCommand.js +2 -17
- package/dist-es/commands/PutPartnerEventsCommand.js +2 -14
- package/dist-es/commands/PutPermissionCommand.js +2 -14
- package/dist-es/commands/PutRuleCommand.js +2 -14
- package/dist-es/commands/PutTargetsCommand.js +2 -14
- package/dist-es/commands/RemovePermissionCommand.js +2 -14
- package/dist-es/commands/RemoveTargetsCommand.js +2 -14
- package/dist-es/commands/StartReplayCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/TestEventPatternCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateApiDestinationCommand.js +2 -14
- package/dist-es/commands/UpdateArchiveCommand.js +2 -14
- package/dist-es/commands/UpdateConnectionCommand.js +2 -14
- package/dist-es/commands/UpdateEndpointCommand.js +2 -14
- package/dist-es/commands/UpdateEventBusCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/ActivateEventSourceCommand.d.ts +3 -8
- package/dist-types/commands/CancelReplayCommand.d.ts +3 -8
- package/dist-types/commands/CreateApiDestinationCommand.d.ts +3 -8
- package/dist-types/commands/CreateArchiveCommand.d.ts +3 -8
- package/dist-types/commands/CreateConnectionCommand.d.ts +3 -8
- package/dist-types/commands/CreateEndpointCommand.d.ts +3 -8
- package/dist-types/commands/CreateEventBusCommand.d.ts +3 -8
- package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +3 -8
- package/dist-types/commands/DeactivateEventSourceCommand.d.ts +3 -8
- package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteApiDestinationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteArchiveCommand.d.ts +3 -8
- package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteEventBusCommand.d.ts +3 -8
- package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRuleCommand.d.ts +3 -8
- package/dist-types/commands/DescribeApiDestinationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeArchiveCommand.d.ts +3 -8
- package/dist-types/commands/DescribeConnectionCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventBusCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +3 -8
- package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +3 -8
- package/dist-types/commands/DescribeReplayCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRuleCommand.d.ts +3 -8
- package/dist-types/commands/DisableRuleCommand.d.ts +3 -8
- package/dist-types/commands/EnableRuleCommand.d.ts +3 -8
- package/dist-types/commands/ListApiDestinationsCommand.d.ts +3 -8
- package/dist-types/commands/ListArchivesCommand.d.ts +3 -8
- package/dist-types/commands/ListConnectionsCommand.d.ts +3 -8
- package/dist-types/commands/ListEndpointsCommand.d.ts +3 -8
- package/dist-types/commands/ListEventBusesCommand.d.ts +3 -8
- package/dist-types/commands/ListEventSourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +3 -8
- package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListReplaysCommand.d.ts +3 -8
- package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +3 -8
- package/dist-types/commands/ListRulesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTargetsByRuleCommand.d.ts +3 -8
- package/dist-types/commands/PutEventsCommand.d.ts +3 -8
- package/dist-types/commands/PutPartnerEventsCommand.d.ts +3 -8
- package/dist-types/commands/PutPermissionCommand.d.ts +3 -8
- package/dist-types/commands/PutRuleCommand.d.ts +3 -8
- package/dist-types/commands/PutTargetsCommand.d.ts +3 -8
- package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
- package/dist-types/commands/RemoveTargetsCommand.d.ts +3 -8
- package/dist-types/commands/StartReplayCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/TestEventPatternCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateApiDestinationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateArchiveCommand.d.ts +3 -8
- package/dist-types/commands/UpdateConnectionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateEndpointCommand.d.ts +3 -8
- package/dist-types/commands/UpdateEventBusCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +47 -0
- package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +10 -12
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListEndpoints$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListEndpointsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListEndpoints", {})
|
|
13
|
-
.n("EventBridgeClient", "ListEndpointsCommand")
|
|
14
|
-
.sc(ListEndpoints$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListEndpointsCommand extends command(_ep0, _mw0, "ListEndpoints", ListEndpoints$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListEventBuses$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListEventBusesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListEventBuses", {})
|
|
13
|
-
.n("EventBridgeClient", "ListEventBusesCommand")
|
|
14
|
-
.sc(ListEventBuses$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListEventBusesCommand extends command(_ep0, _mw0, "ListEventBuses", ListEventBuses$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListEventSources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListEventSourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListEventSources", {})
|
|
13
|
-
.n("EventBridgeClient", "ListEventSourcesCommand")
|
|
14
|
-
.sc(ListEventSources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListEventSourcesCommand extends command(_ep0, _mw0, "ListEventSources", ListEventSources$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPartnerEventSourceAccounts$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPartnerEventSourceAccountsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListPartnerEventSourceAccounts", {})
|
|
13
|
-
.n("EventBridgeClient", "ListPartnerEventSourceAccountsCommand")
|
|
14
|
-
.sc(ListPartnerEventSourceAccounts$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPartnerEventSourceAccountsCommand extends command(_ep0, _mw0, "ListPartnerEventSourceAccounts", ListPartnerEventSourceAccounts$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPartnerEventSources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPartnerEventSourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListPartnerEventSources", {})
|
|
13
|
-
.n("EventBridgeClient", "ListPartnerEventSourcesCommand")
|
|
14
|
-
.sc(ListPartnerEventSources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPartnerEventSourcesCommand extends command(_ep0, _mw0, "ListPartnerEventSources", ListPartnerEventSources$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListReplays$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListReplaysCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListReplays", {})
|
|
13
|
-
.n("EventBridgeClient", "ListReplaysCommand")
|
|
14
|
-
.sc(ListReplays$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListReplaysCommand extends command(_ep0, _mw0, "ListReplays", ListReplays$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListRuleNamesByTarget$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRuleNamesByTargetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListRuleNamesByTarget", {})
|
|
13
|
-
.n("EventBridgeClient", "ListRuleNamesByTargetCommand")
|
|
14
|
-
.sc(ListRuleNamesByTarget$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRuleNamesByTargetCommand extends command(_ep0, _mw0, "ListRuleNamesByTarget", ListRuleNamesByTarget$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListRules$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRulesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListRules", {})
|
|
13
|
-
.n("EventBridgeClient", "ListRulesCommand")
|
|
14
|
-
.sc(ListRules$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRulesCommand extends command(_ep0, _mw0, "ListRules", ListRules$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListTagsForResource", {})
|
|
13
|
-
.n("EventBridgeClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTargetsByRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTargetsByRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "ListTargetsByRule", {})
|
|
13
|
-
.n("EventBridgeClient", "ListTargetsByRuleCommand")
|
|
14
|
-
.sc(ListTargetsByRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTargetsByRuleCommand extends command(_ep0, _mw0, "ListTargetsByRule", ListTargetsByRule$) {
|
|
16
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
EndpointId: { type: "contextParams", name: "EndpointId" },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("AWSEvents", "PutEvents", {})
|
|
16
|
-
.n("EventBridgeClient", "PutEventsCommand")
|
|
17
|
-
.sc(PutEvents$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class PutEventsCommand extends command(_ep1, _mw0, "PutEvents", PutEvents$) {
|
|
19
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutPartnerEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutPartnerEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "PutPartnerEvents", {})
|
|
13
|
-
.n("EventBridgeClient", "PutPartnerEventsCommand")
|
|
14
|
-
.sc(PutPartnerEvents$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutPartnerEventsCommand extends command(_ep0, _mw0, "PutPartnerEvents", PutPartnerEvents$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutPermission$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutPermissionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "PutPermission", {})
|
|
13
|
-
.n("EventBridgeClient", "PutPermissionCommand")
|
|
14
|
-
.sc(PutPermission$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutPermissionCommand extends command(_ep0, _mw0, "PutPermission", PutPermission$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "PutRule", {})
|
|
13
|
-
.n("EventBridgeClient", "PutRuleCommand")
|
|
14
|
-
.sc(PutRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutRuleCommand extends command(_ep0, _mw0, "PutRule", PutRule$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutTargets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutTargetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "PutTargets", {})
|
|
13
|
-
.n("EventBridgeClient", "PutTargetsCommand")
|
|
14
|
-
.sc(PutTargets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutTargetsCommand extends command(_ep0, _mw0, "PutTargets", PutTargets$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemovePermission$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemovePermissionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "RemovePermission", {})
|
|
13
|
-
.n("EventBridgeClient", "RemovePermissionCommand")
|
|
14
|
-
.sc(RemovePermission$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemovePermissionCommand extends command(_ep0, _mw0, "RemovePermission", RemovePermission$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveTargets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveTargetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "RemoveTargets", {})
|
|
13
|
-
.n("EventBridgeClient", "RemoveTargetsCommand")
|
|
14
|
-
.sc(RemoveTargets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveTargetsCommand extends command(_ep0, _mw0, "RemoveTargets", RemoveTargets$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartReplay$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartReplayCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "StartReplay", {})
|
|
13
|
-
.n("EventBridgeClient", "StartReplayCommand")
|
|
14
|
-
.sc(StartReplay$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartReplayCommand extends command(_ep0, _mw0, "StartReplay", StartReplay$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "TagResource", {})
|
|
13
|
-
.n("EventBridgeClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TestEventPattern$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TestEventPatternCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "TestEventPattern", {})
|
|
13
|
-
.n("EventBridgeClient", "TestEventPatternCommand")
|
|
14
|
-
.sc(TestEventPattern$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TestEventPatternCommand extends command(_ep0, _mw0, "TestEventPattern", TestEventPattern$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "UntagResource", {})
|
|
13
|
-
.n("EventBridgeClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateApiDestination$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateApiDestinationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "UpdateApiDestination", {})
|
|
13
|
-
.n("EventBridgeClient", "UpdateApiDestinationCommand")
|
|
14
|
-
.sc(UpdateApiDestination$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateApiDestinationCommand extends command(_ep0, _mw0, "UpdateApiDestination", UpdateApiDestination$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateArchive$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateArchiveCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "UpdateArchive", {})
|
|
13
|
-
.n("EventBridgeClient", "UpdateArchiveCommand")
|
|
14
|
-
.sc(UpdateArchive$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateArchiveCommand extends command(_ep0, _mw0, "UpdateArchive", UpdateArchive$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateConnection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateConnectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "UpdateConnection", {})
|
|
13
|
-
.n("EventBridgeClient", "UpdateConnectionCommand")
|
|
14
|
-
.sc(UpdateConnection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateConnectionCommand extends command(_ep0, _mw0, "UpdateConnection", UpdateConnection$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "UpdateEndpoint", {})
|
|
13
|
-
.n("EventBridgeClient", "UpdateEndpointCommand")
|
|
14
|
-
.sc(UpdateEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateEndpointCommand extends command(_ep0, _mw0, "UpdateEndpoint", UpdateEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateEventBus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateEventBusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSEvents", "UpdateEventBus", {})
|
|
13
|
-
.n("EventBridgeClient", "UpdateEventBusCommand")
|
|
14
|
-
.sc(UpdateEventBus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateEventBusCommand extends command(_ep0, _mw0, "UpdateEventBus", UpdateEventBus$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./EventBridgeClient";
|
|
2
2
|
export * from "./EventBridge";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./models/enums";
|
|
6
7
|
export * from "./models/errors";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadNodeConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
40
39
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
40
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
4
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
4
5
|
import { NoOpLogger } from "@smithy/core/client";
|
|
5
6
|
import { parseUrl } from "@smithy/core/protocols";
|
|
6
7
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -38,6 +39,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
38
39
|
serviceTarget: "AWSEvents",
|
|
39
40
|
},
|
|
40
41
|
serviceId: config?.serviceId ?? "EventBridge",
|
|
42
|
+
sha256: config?.sha256 ?? Sha256,
|
|
41
43
|
signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
|
|
42
44
|
urlParser: config?.urlParser ?? parseUrl,
|
|
43
45
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./EventBridgeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _ep1: EndpointParameterInstructions;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|