@aws-sdk/client-cloudwatch-events 3.952.0 → 3.954.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 +686 -444
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/ActivateEventSourceCommand.js +2 -2
- package/dist-es/commands/CancelReplayCommand.js +2 -2
- package/dist-es/commands/CreateApiDestinationCommand.js +2 -2
- package/dist-es/commands/CreateArchiveCommand.js +2 -2
- package/dist-es/commands/CreateConnectionCommand.js +2 -2
- package/dist-es/commands/CreateEventBusCommand.js +2 -2
- package/dist-es/commands/CreatePartnerEventSourceCommand.js +2 -2
- package/dist-es/commands/DeactivateEventSourceCommand.js +2 -2
- package/dist-es/commands/DeauthorizeConnectionCommand.js +2 -2
- package/dist-es/commands/DeleteApiDestinationCommand.js +2 -2
- package/dist-es/commands/DeleteArchiveCommand.js +2 -2
- package/dist-es/commands/DeleteConnectionCommand.js +2 -2
- package/dist-es/commands/DeleteEventBusCommand.js +2 -2
- package/dist-es/commands/DeletePartnerEventSourceCommand.js +2 -2
- package/dist-es/commands/DeleteRuleCommand.js +2 -2
- package/dist-es/commands/DescribeApiDestinationCommand.js +2 -2
- package/dist-es/commands/DescribeArchiveCommand.js +2 -2
- package/dist-es/commands/DescribeConnectionCommand.js +2 -2
- package/dist-es/commands/DescribeEventBusCommand.js +2 -2
- package/dist-es/commands/DescribeEventSourceCommand.js +2 -2
- package/dist-es/commands/DescribePartnerEventSourceCommand.js +2 -2
- package/dist-es/commands/DescribeReplayCommand.js +2 -2
- package/dist-es/commands/DescribeRuleCommand.js +2 -2
- package/dist-es/commands/DisableRuleCommand.js +2 -2
- package/dist-es/commands/EnableRuleCommand.js +2 -2
- package/dist-es/commands/ListApiDestinationsCommand.js +2 -2
- package/dist-es/commands/ListArchivesCommand.js +2 -2
- package/dist-es/commands/ListConnectionsCommand.js +2 -2
- package/dist-es/commands/ListEventBusesCommand.js +2 -2
- package/dist-es/commands/ListEventSourcesCommand.js +2 -2
- package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +2 -2
- package/dist-es/commands/ListPartnerEventSourcesCommand.js +2 -2
- package/dist-es/commands/ListReplaysCommand.js +2 -2
- package/dist-es/commands/ListRuleNamesByTargetCommand.js +2 -2
- package/dist-es/commands/ListRulesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTargetsByRuleCommand.js +2 -2
- package/dist-es/commands/PutEventsCommand.js +2 -2
- package/dist-es/commands/PutPartnerEventsCommand.js +2 -2
- package/dist-es/commands/PutPermissionCommand.js +2 -2
- package/dist-es/commands/PutRuleCommand.js +2 -2
- package/dist-es/commands/PutTargetsCommand.js +2 -2
- package/dist-es/commands/RemovePermissionCommand.js +2 -2
- package/dist-es/commands/RemoveTargetsCommand.js +2 -2
- package/dist-es/commands/StartReplayCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestEventPatternCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApiDestinationCommand.js +2 -2
- package/dist-es/commands/UpdateArchiveCommand.js +2 -2
- package/dist-es/commands/UpdateConnectionCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +404 -376
- package/dist-types/CloudWatchEventsClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +215 -256
- package/dist-types/ts3.4/CloudWatchEventsClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +214 -257
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "ListTagsForResource", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTargetsByRule } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTargetsByRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTargetsByRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTargetsByRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "ListTargetsByRule", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "ListTargetsByRuleCommand")
|
|
14
|
-
.sc(ListTargetsByRule)
|
|
14
|
+
.sc(ListTargetsByRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutEvents } from "../schemas/schemas_0";
|
|
4
|
+
import { PutEvents$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutEventsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutEventsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "PutEvents", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "PutEventsCommand")
|
|
14
|
-
.sc(PutEvents)
|
|
14
|
+
.sc(PutEvents$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutPartnerEvents } from "../schemas/schemas_0";
|
|
4
|
+
import { PutPartnerEvents$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutPartnerEventsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutPartnerEventsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "PutPartnerEvents", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "PutPartnerEventsCommand")
|
|
14
|
-
.sc(PutPartnerEvents)
|
|
14
|
+
.sc(PutPartnerEvents$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutPermission } from "../schemas/schemas_0";
|
|
4
|
+
import { PutPermission$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutPermissionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutPermissionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "PutPermission", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "PutPermissionCommand")
|
|
14
|
-
.sc(PutPermission)
|
|
14
|
+
.sc(PutPermission$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutRule } from "../schemas/schemas_0";
|
|
4
|
+
import { PutRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "PutRule", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "PutRuleCommand")
|
|
14
|
-
.sc(PutRule)
|
|
14
|
+
.sc(PutRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutTargets } from "../schemas/schemas_0";
|
|
4
|
+
import { PutTargets$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutTargetsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutTargetsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "PutTargets", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "PutTargetsCommand")
|
|
14
|
-
.sc(PutTargets)
|
|
14
|
+
.sc(PutTargets$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RemovePermission } from "../schemas/schemas_0";
|
|
4
|
+
import { RemovePermission$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RemovePermissionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RemovePermissionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "RemovePermission", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "RemovePermissionCommand")
|
|
14
|
-
.sc(RemovePermission)
|
|
14
|
+
.sc(RemovePermission$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RemoveTargets } from "../schemas/schemas_0";
|
|
4
|
+
import { RemoveTargets$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RemoveTargetsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RemoveTargetsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "RemoveTargets", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "RemoveTargetsCommand")
|
|
14
|
-
.sc(RemoveTargets)
|
|
14
|
+
.sc(RemoveTargets$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartReplay } from "../schemas/schemas_0";
|
|
4
|
+
import { StartReplay$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartReplayCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartReplayCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "StartReplay", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "StartReplayCommand")
|
|
14
|
-
.sc(StartReplay)
|
|
14
|
+
.sc(StartReplay$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "TagResource", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TestEventPattern } from "../schemas/schemas_0";
|
|
4
|
+
import { TestEventPattern$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TestEventPatternCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TestEventPatternCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "TestEventPattern", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "TestEventPatternCommand")
|
|
14
|
-
.sc(TestEventPattern)
|
|
14
|
+
.sc(TestEventPattern$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "UntagResource", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateApiDestination } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateApiDestination$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateApiDestinationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateApiDestinationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "UpdateApiDestination", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "UpdateApiDestinationCommand")
|
|
14
|
-
.sc(UpdateApiDestination)
|
|
14
|
+
.sc(UpdateApiDestination$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateArchive } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateArchive$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateArchiveCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateArchiveCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "UpdateArchive", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "UpdateArchiveCommand")
|
|
14
|
-
.sc(UpdateArchive)
|
|
14
|
+
.sc(UpdateArchive$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateConnection } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateConnection$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateConnectionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateConnectionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSEvents", "UpdateConnection", {})
|
|
13
13
|
.n("CloudWatchEventsClient", "UpdateConnectionCommand")
|
|
14
|
-
.sc(UpdateConnection)
|
|
14
|
+
.sc(UpdateConnection$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CloudWatchEventsClient";
|
|
2
2
|
export * from "./CloudWatchEvents";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException";
|
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudwatchevents",
|
|
29
|
+
xmlNamespace: "http://events.amazonaws.com/doc/2015-10-07",
|
|
30
|
+
version: "2015-10-07",
|
|
31
|
+
serviceTarget: "AWSEvents",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "CloudWatch Events",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|