@aws-sdk/client-codestar-notifications 3.1077.0 → 3.1079.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 +21 -133
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateNotificationRuleCommand.js +2 -14
- package/dist-es/commands/DeleteNotificationRuleCommand.js +2 -14
- package/dist-es/commands/DeleteTargetCommand.js +2 -14
- package/dist-es/commands/DescribeNotificationRuleCommand.js +2 -14
- package/dist-es/commands/ListEventTypesCommand.js +2 -14
- package/dist-es/commands/ListNotificationRulesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTargetsCommand.js +2 -14
- package/dist-es/commands/SubscribeCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UnsubscribeCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateNotificationRuleCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateNotificationRuleCommand.d.ts +3 -8
- package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTargetCommand.d.ts +3 -8
- package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +3 -8
- package/dist-types/commands/ListEventTypesCommand.d.ts +3 -8
- package/dist-types/commands/ListNotificationRulesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTargetsCommand.d.ts +3 -8
- package/dist-types/commands/SubscribeCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UnsubscribeCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1078.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -780,160 +781,47 @@ class CodestarNotificationsClient extends Client {
|
|
|
780
781
|
}
|
|
781
782
|
}
|
|
782
783
|
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
})
|
|
789
|
-
.s("CodeStarNotifications_20191015", "CreateNotificationRule", {})
|
|
790
|
-
.n("CodestarNotificationsClient", "CreateNotificationRuleCommand")
|
|
791
|
-
.sc(CreateNotificationRule$)
|
|
792
|
-
.build() {
|
|
784
|
+
const command = makeBuilder(commonParams, "CodeStarNotifications_20191015", "CodestarNotificationsClient", getEndpointPlugin);
|
|
785
|
+
const _ep0 = {};
|
|
786
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
787
|
+
|
|
788
|
+
class CreateNotificationRuleCommand extends command(_ep0, _mw0, "CreateNotificationRule", CreateNotificationRule$) {
|
|
793
789
|
}
|
|
794
790
|
|
|
795
|
-
class DeleteNotificationRuleCommand extends
|
|
796
|
-
.classBuilder()
|
|
797
|
-
.ep(commonParams)
|
|
798
|
-
.m(function (Command, cs, config, o) {
|
|
799
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
800
|
-
})
|
|
801
|
-
.s("CodeStarNotifications_20191015", "DeleteNotificationRule", {})
|
|
802
|
-
.n("CodestarNotificationsClient", "DeleteNotificationRuleCommand")
|
|
803
|
-
.sc(DeleteNotificationRule$)
|
|
804
|
-
.build() {
|
|
791
|
+
class DeleteNotificationRuleCommand extends command(_ep0, _mw0, "DeleteNotificationRule", DeleteNotificationRule$) {
|
|
805
792
|
}
|
|
806
793
|
|
|
807
|
-
class DeleteTargetCommand extends
|
|
808
|
-
.classBuilder()
|
|
809
|
-
.ep(commonParams)
|
|
810
|
-
.m(function (Command, cs, config, o) {
|
|
811
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
812
|
-
})
|
|
813
|
-
.s("CodeStarNotifications_20191015", "DeleteTarget", {})
|
|
814
|
-
.n("CodestarNotificationsClient", "DeleteTargetCommand")
|
|
815
|
-
.sc(DeleteTarget$)
|
|
816
|
-
.build() {
|
|
794
|
+
class DeleteTargetCommand extends command(_ep0, _mw0, "DeleteTarget", DeleteTarget$) {
|
|
817
795
|
}
|
|
818
796
|
|
|
819
|
-
class DescribeNotificationRuleCommand extends
|
|
820
|
-
.classBuilder()
|
|
821
|
-
.ep(commonParams)
|
|
822
|
-
.m(function (Command, cs, config, o) {
|
|
823
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
824
|
-
})
|
|
825
|
-
.s("CodeStarNotifications_20191015", "DescribeNotificationRule", {})
|
|
826
|
-
.n("CodestarNotificationsClient", "DescribeNotificationRuleCommand")
|
|
827
|
-
.sc(DescribeNotificationRule$)
|
|
828
|
-
.build() {
|
|
797
|
+
class DescribeNotificationRuleCommand extends command(_ep0, _mw0, "DescribeNotificationRule", DescribeNotificationRule$) {
|
|
829
798
|
}
|
|
830
799
|
|
|
831
|
-
class ListEventTypesCommand extends
|
|
832
|
-
.classBuilder()
|
|
833
|
-
.ep(commonParams)
|
|
834
|
-
.m(function (Command, cs, config, o) {
|
|
835
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
836
|
-
})
|
|
837
|
-
.s("CodeStarNotifications_20191015", "ListEventTypes", {})
|
|
838
|
-
.n("CodestarNotificationsClient", "ListEventTypesCommand")
|
|
839
|
-
.sc(ListEventTypes$)
|
|
840
|
-
.build() {
|
|
800
|
+
class ListEventTypesCommand extends command(_ep0, _mw0, "ListEventTypes", ListEventTypes$) {
|
|
841
801
|
}
|
|
842
802
|
|
|
843
|
-
class ListNotificationRulesCommand extends
|
|
844
|
-
.classBuilder()
|
|
845
|
-
.ep(commonParams)
|
|
846
|
-
.m(function (Command, cs, config, o) {
|
|
847
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
848
|
-
})
|
|
849
|
-
.s("CodeStarNotifications_20191015", "ListNotificationRules", {})
|
|
850
|
-
.n("CodestarNotificationsClient", "ListNotificationRulesCommand")
|
|
851
|
-
.sc(ListNotificationRules$)
|
|
852
|
-
.build() {
|
|
803
|
+
class ListNotificationRulesCommand extends command(_ep0, _mw0, "ListNotificationRules", ListNotificationRules$) {
|
|
853
804
|
}
|
|
854
805
|
|
|
855
|
-
class ListTagsForResourceCommand extends
|
|
856
|
-
.classBuilder()
|
|
857
|
-
.ep(commonParams)
|
|
858
|
-
.m(function (Command, cs, config, o) {
|
|
859
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
860
|
-
})
|
|
861
|
-
.s("CodeStarNotifications_20191015", "ListTagsForResource", {})
|
|
862
|
-
.n("CodestarNotificationsClient", "ListTagsForResourceCommand")
|
|
863
|
-
.sc(ListTagsForResource$)
|
|
864
|
-
.build() {
|
|
806
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
865
807
|
}
|
|
866
808
|
|
|
867
|
-
class ListTargetsCommand extends
|
|
868
|
-
.classBuilder()
|
|
869
|
-
.ep(commonParams)
|
|
870
|
-
.m(function (Command, cs, config, o) {
|
|
871
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
872
|
-
})
|
|
873
|
-
.s("CodeStarNotifications_20191015", "ListTargets", {})
|
|
874
|
-
.n("CodestarNotificationsClient", "ListTargetsCommand")
|
|
875
|
-
.sc(ListTargets$)
|
|
876
|
-
.build() {
|
|
809
|
+
class ListTargetsCommand extends command(_ep0, _mw0, "ListTargets", ListTargets$) {
|
|
877
810
|
}
|
|
878
811
|
|
|
879
|
-
class SubscribeCommand extends
|
|
880
|
-
.classBuilder()
|
|
881
|
-
.ep(commonParams)
|
|
882
|
-
.m(function (Command, cs, config, o) {
|
|
883
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
884
|
-
})
|
|
885
|
-
.s("CodeStarNotifications_20191015", "Subscribe", {})
|
|
886
|
-
.n("CodestarNotificationsClient", "SubscribeCommand")
|
|
887
|
-
.sc(Subscribe$)
|
|
888
|
-
.build() {
|
|
812
|
+
class SubscribeCommand extends command(_ep0, _mw0, "Subscribe", Subscribe$) {
|
|
889
813
|
}
|
|
890
814
|
|
|
891
|
-
class TagResourceCommand extends
|
|
892
|
-
.classBuilder()
|
|
893
|
-
.ep(commonParams)
|
|
894
|
-
.m(function (Command, cs, config, o) {
|
|
895
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
896
|
-
})
|
|
897
|
-
.s("CodeStarNotifications_20191015", "TagResource", {})
|
|
898
|
-
.n("CodestarNotificationsClient", "TagResourceCommand")
|
|
899
|
-
.sc(TagResource$)
|
|
900
|
-
.build() {
|
|
815
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
901
816
|
}
|
|
902
817
|
|
|
903
|
-
class UnsubscribeCommand extends
|
|
904
|
-
.classBuilder()
|
|
905
|
-
.ep(commonParams)
|
|
906
|
-
.m(function (Command, cs, config, o) {
|
|
907
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
908
|
-
})
|
|
909
|
-
.s("CodeStarNotifications_20191015", "Unsubscribe", {})
|
|
910
|
-
.n("CodestarNotificationsClient", "UnsubscribeCommand")
|
|
911
|
-
.sc(Unsubscribe$)
|
|
912
|
-
.build() {
|
|
818
|
+
class UnsubscribeCommand extends command(_ep0, _mw0, "Unsubscribe", Unsubscribe$) {
|
|
913
819
|
}
|
|
914
820
|
|
|
915
|
-
class UntagResourceCommand extends
|
|
916
|
-
.classBuilder()
|
|
917
|
-
.ep(commonParams)
|
|
918
|
-
.m(function (Command, cs, config, o) {
|
|
919
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
920
|
-
})
|
|
921
|
-
.s("CodeStarNotifications_20191015", "UntagResource", {})
|
|
922
|
-
.n("CodestarNotificationsClient", "UntagResourceCommand")
|
|
923
|
-
.sc(UntagResource$)
|
|
924
|
-
.build() {
|
|
821
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
925
822
|
}
|
|
926
823
|
|
|
927
|
-
class UpdateNotificationRuleCommand extends
|
|
928
|
-
.classBuilder()
|
|
929
|
-
.ep(commonParams)
|
|
930
|
-
.m(function (Command, cs, config, o) {
|
|
931
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
932
|
-
})
|
|
933
|
-
.s("CodeStarNotifications_20191015", "UpdateNotificationRule", {})
|
|
934
|
-
.n("CodestarNotificationsClient", "UpdateNotificationRuleCommand")
|
|
935
|
-
.sc(UpdateNotificationRule$)
|
|
936
|
-
.build() {
|
|
824
|
+
class UpdateNotificationRuleCommand extends command(_ep0, _mw0, "UpdateNotificationRule", UpdateNotificationRule$) {
|
|
937
825
|
}
|
|
938
826
|
|
|
939
827
|
const paginateListEventTypes = createPaginator(CodestarNotificationsClient, ListEventTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "CodeStarNotifications_20191015", "CodestarNotificationsClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -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 { CreateNotificationRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateNotificationRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "CreateNotificationRule", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "CreateNotificationRuleCommand")
|
|
14
|
-
.sc(CreateNotificationRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateNotificationRuleCommand extends command(_ep0, _mw0, "CreateNotificationRule", CreateNotificationRule$) {
|
|
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 { DeleteNotificationRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteNotificationRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "DeleteNotificationRule", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "DeleteNotificationRuleCommand")
|
|
14
|
-
.sc(DeleteNotificationRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteNotificationRuleCommand extends command(_ep0, _mw0, "DeleteNotificationRule", DeleteNotificationRule$) {
|
|
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 { DeleteTarget$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteTargetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "DeleteTarget", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "DeleteTargetCommand")
|
|
14
|
-
.sc(DeleteTarget$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteTargetCommand extends command(_ep0, _mw0, "DeleteTarget", DeleteTarget$) {
|
|
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 { DescribeNotificationRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeNotificationRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "DescribeNotificationRule", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "DescribeNotificationRuleCommand")
|
|
14
|
-
.sc(DescribeNotificationRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeNotificationRuleCommand extends command(_ep0, _mw0, "DescribeNotificationRule", DescribeNotificationRule$) {
|
|
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 { ListEventTypes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListEventTypesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "ListEventTypes", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "ListEventTypesCommand")
|
|
14
|
-
.sc(ListEventTypes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListEventTypesCommand extends command(_ep0, _mw0, "ListEventTypes", ListEventTypes$) {
|
|
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 { ListNotificationRules$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListNotificationRulesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "ListNotificationRules", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "ListNotificationRulesCommand")
|
|
14
|
-
.sc(ListNotificationRules$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListNotificationRulesCommand extends command(_ep0, _mw0, "ListNotificationRules", ListNotificationRules$) {
|
|
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("CodeStarNotifications_20191015", "ListTagsForResource", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "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 { ListTargets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTargetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "ListTargets", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "ListTargetsCommand")
|
|
14
|
-
.sc(ListTargets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTargetsCommand extends command(_ep0, _mw0, "ListTargets", ListTargets$) {
|
|
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 { Subscribe$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SubscribeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "Subscribe", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "SubscribeCommand")
|
|
14
|
-
.sc(Subscribe$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SubscribeCommand extends command(_ep0, _mw0, "Subscribe", Subscribe$) {
|
|
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("CodeStarNotifications_20191015", "TagResource", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "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 { Unsubscribe$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UnsubscribeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "Unsubscribe", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "UnsubscribeCommand")
|
|
14
|
-
.sc(Unsubscribe$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UnsubscribeCommand extends command(_ep0, _mw0, "Unsubscribe", Unsubscribe$) {
|
|
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("CodeStarNotifications_20191015", "UntagResource", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "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 { UpdateNotificationRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateNotificationRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeStarNotifications_20191015", "UpdateNotificationRule", {})
|
|
13
|
-
.n("CodestarNotificationsClient", "UpdateNotificationRuleCommand")
|
|
14
|
-
.sc(UpdateNotificationRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateNotificationRuleCommand extends command(_ep0, _mw0, "UpdateNotificationRule", UpdateNotificationRule$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CodestarNotificationsClient";
|
|
2
2
|
export * from "./CodestarNotifications";
|
|
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 "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CodestarNotificationsClient";
|
|
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, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
4
2
|
import type { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateNotificationRuleCommandInput extends CreateNotificationRu
|
|
|
22
19
|
export interface CreateNotificationRuleCommandOutput extends CreateNotificationRuleResult, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateNotificationRuleCommand_base: {
|
|
25
|
-
new (input: CreateNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a notification rule for a resource. The rule specifies the events you want
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
4
2
|
import type { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRu
|
|
|
22
19
|
export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationRuleResult, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteNotificationRuleCommand_base: {
|
|
25
|
-
new (input: DeleteNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes a notification rule for a resource.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
4
2
|
import type { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteTargetCommandInput extends DeleteTargetRequest {
|
|
|
22
19
|
export interface DeleteTargetCommandOutput extends DeleteTargetResult, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteTargetCommand_base: {
|
|
25
|
-
new (input: DeleteTargetCommandInput): import("@smithy/core/client").CommandImpl<DeleteTargetCommandInput, DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteTargetCommandInput): import("@smithy/core/client").CommandImpl<DeleteTargetCommandInput, DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteTargetCommandInput): import("@smithy/core/client").CommandImpl<DeleteTargetCommandInput, DeleteTargetCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteTargetCommandInput): import("@smithy/core/client").CommandImpl<DeleteTargetCommandInput, DeleteTargetCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes a specified target for notifications.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
|
|
4
2
|
import type { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DescribeNotificationRuleCommandInput extends DescribeNotificati
|
|
|
22
19
|
export interface DescribeNotificationRuleCommandOutput extends DescribeNotificationRuleResult, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DescribeNotificationRuleCommand_base: {
|
|
25
|
-
new (input: DescribeNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DescribeNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DescribeNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, import("..").CodestarNotificationsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns information about a specified notification rule.</p>
|