@aws-sdk/client-networkmonitor 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.
Files changed (44) hide show
  1. package/dist-cjs/index.js +20 -123
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateMonitorCommand.js +2 -14
  4. package/dist-es/commands/CreateProbeCommand.js +2 -14
  5. package/dist-es/commands/DeleteMonitorCommand.js +2 -14
  6. package/dist-es/commands/DeleteProbeCommand.js +2 -14
  7. package/dist-es/commands/GetMonitorCommand.js +2 -14
  8. package/dist-es/commands/GetProbeCommand.js +2 -14
  9. package/dist-es/commands/ListMonitorsCommand.js +2 -14
  10. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  11. package/dist-es/commands/TagResourceCommand.js +2 -14
  12. package/dist-es/commands/UntagResourceCommand.js +2 -14
  13. package/dist-es/commands/UpdateMonitorCommand.js +2 -14
  14. package/dist-es/commands/UpdateProbeCommand.js +2 -14
  15. package/dist-es/index.js +1 -0
  16. package/dist-types/commandBuilder.d.ts +18 -0
  17. package/dist-types/commands/CreateMonitorCommand.d.ts +3 -8
  18. package/dist-types/commands/CreateProbeCommand.d.ts +3 -8
  19. package/dist-types/commands/DeleteMonitorCommand.d.ts +3 -8
  20. package/dist-types/commands/DeleteProbeCommand.d.ts +3 -8
  21. package/dist-types/commands/GetMonitorCommand.d.ts +3 -8
  22. package/dist-types/commands/GetProbeCommand.d.ts +3 -8
  23. package/dist-types/commands/ListMonitorsCommand.d.ts +3 -8
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  25. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  26. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/UpdateMonitorCommand.d.ts +3 -8
  28. package/dist-types/commands/UpdateProbeCommand.d.ts +3 -8
  29. package/dist-types/index.d.ts +1 -0
  30. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  31. package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/CreateProbeCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/DeleteProbeCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/GetProbeCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/UpdateProbeCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. 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, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
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.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -692,148 +693,44 @@ class NetworkMonitorClient extends Client {
692
693
  }
693
694
  }
694
695
 
695
- class CreateMonitorCommand extends Command
696
- .classBuilder()
697
- .ep(commonParams)
698
- .m(function (Command, cs, config, o) {
699
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
700
- })
701
- .s("NetworkMonitor", "CreateMonitor", {})
702
- .n("NetworkMonitorClient", "CreateMonitorCommand")
703
- .sc(CreateMonitor$)
704
- .build() {
696
+ const command = makeBuilder(commonParams, "NetworkMonitor", "NetworkMonitorClient", getEndpointPlugin);
697
+ const _ep0 = {};
698
+ const _mw0 = (Command, cs, config, o) => [];
699
+
700
+ class CreateMonitorCommand extends command(_ep0, _mw0, "CreateMonitor", CreateMonitor$) {
705
701
  }
706
702
 
707
- class CreateProbeCommand extends Command
708
- .classBuilder()
709
- .ep(commonParams)
710
- .m(function (Command, cs, config, o) {
711
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
712
- })
713
- .s("NetworkMonitor", "CreateProbe", {})
714
- .n("NetworkMonitorClient", "CreateProbeCommand")
715
- .sc(CreateProbe$)
716
- .build() {
703
+ class CreateProbeCommand extends command(_ep0, _mw0, "CreateProbe", CreateProbe$) {
717
704
  }
718
705
 
719
- class DeleteMonitorCommand extends Command
720
- .classBuilder()
721
- .ep(commonParams)
722
- .m(function (Command, cs, config, o) {
723
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
724
- })
725
- .s("NetworkMonitor", "DeleteMonitor", {})
726
- .n("NetworkMonitorClient", "DeleteMonitorCommand")
727
- .sc(DeleteMonitor$)
728
- .build() {
706
+ class DeleteMonitorCommand extends command(_ep0, _mw0, "DeleteMonitor", DeleteMonitor$) {
729
707
  }
730
708
 
731
- class DeleteProbeCommand extends Command
732
- .classBuilder()
733
- .ep(commonParams)
734
- .m(function (Command, cs, config, o) {
735
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
736
- })
737
- .s("NetworkMonitor", "DeleteProbe", {})
738
- .n("NetworkMonitorClient", "DeleteProbeCommand")
739
- .sc(DeleteProbe$)
740
- .build() {
709
+ class DeleteProbeCommand extends command(_ep0, _mw0, "DeleteProbe", DeleteProbe$) {
741
710
  }
742
711
 
743
- class GetMonitorCommand extends Command
744
- .classBuilder()
745
- .ep(commonParams)
746
- .m(function (Command, cs, config, o) {
747
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
748
- })
749
- .s("NetworkMonitor", "GetMonitor", {})
750
- .n("NetworkMonitorClient", "GetMonitorCommand")
751
- .sc(GetMonitor$)
752
- .build() {
712
+ class GetMonitorCommand extends command(_ep0, _mw0, "GetMonitor", GetMonitor$) {
753
713
  }
754
714
 
755
- class GetProbeCommand extends Command
756
- .classBuilder()
757
- .ep(commonParams)
758
- .m(function (Command, cs, config, o) {
759
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
760
- })
761
- .s("NetworkMonitor", "GetProbe", {})
762
- .n("NetworkMonitorClient", "GetProbeCommand")
763
- .sc(GetProbe$)
764
- .build() {
715
+ class GetProbeCommand extends command(_ep0, _mw0, "GetProbe", GetProbe$) {
765
716
  }
766
717
 
767
- class ListMonitorsCommand extends Command
768
- .classBuilder()
769
- .ep(commonParams)
770
- .m(function (Command, cs, config, o) {
771
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
772
- })
773
- .s("NetworkMonitor", "ListMonitors", {})
774
- .n("NetworkMonitorClient", "ListMonitorsCommand")
775
- .sc(ListMonitors$)
776
- .build() {
718
+ class ListMonitorsCommand extends command(_ep0, _mw0, "ListMonitors", ListMonitors$) {
777
719
  }
778
720
 
779
- class ListTagsForResourceCommand extends Command
780
- .classBuilder()
781
- .ep(commonParams)
782
- .m(function (Command, cs, config, o) {
783
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
784
- })
785
- .s("NetworkMonitor", "ListTagsForResource", {})
786
- .n("NetworkMonitorClient", "ListTagsForResourceCommand")
787
- .sc(ListTagsForResource$)
788
- .build() {
721
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
789
722
  }
790
723
 
791
- class TagResourceCommand extends Command
792
- .classBuilder()
793
- .ep(commonParams)
794
- .m(function (Command, cs, config, o) {
795
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
796
- })
797
- .s("NetworkMonitor", "TagResource", {})
798
- .n("NetworkMonitorClient", "TagResourceCommand")
799
- .sc(TagResource$)
800
- .build() {
724
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
801
725
  }
802
726
 
803
- class UntagResourceCommand extends Command
804
- .classBuilder()
805
- .ep(commonParams)
806
- .m(function (Command, cs, config, o) {
807
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
808
- })
809
- .s("NetworkMonitor", "UntagResource", {})
810
- .n("NetworkMonitorClient", "UntagResourceCommand")
811
- .sc(UntagResource$)
812
- .build() {
727
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
813
728
  }
814
729
 
815
- class UpdateMonitorCommand extends Command
816
- .classBuilder()
817
- .ep(commonParams)
818
- .m(function (Command, cs, config, o) {
819
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
820
- })
821
- .s("NetworkMonitor", "UpdateMonitor", {})
822
- .n("NetworkMonitorClient", "UpdateMonitorCommand")
823
- .sc(UpdateMonitor$)
824
- .build() {
730
+ class UpdateMonitorCommand extends command(_ep0, _mw0, "UpdateMonitor", UpdateMonitor$) {
825
731
  }
826
732
 
827
- class UpdateProbeCommand extends Command
828
- .classBuilder()
829
- .ep(commonParams)
830
- .m(function (Command, cs, config, o) {
831
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
832
- })
833
- .s("NetworkMonitor", "UpdateProbe", {})
834
- .n("NetworkMonitorClient", "UpdateProbeCommand")
835
- .sc(UpdateProbe$)
836
- .build() {
733
+ class UpdateProbeCommand extends command(_ep0, _mw0, "UpdateProbe", UpdateProbe$) {
837
734
  }
838
735
 
839
736
  const paginateListMonitors = createPaginator(NetworkMonitorClient, ListMonitorsCommand, "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, "NetworkMonitor", "NetworkMonitorClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateMonitor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMonitorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "CreateMonitor", {})
13
- .n("NetworkMonitorClient", "CreateMonitorCommand")
14
- .sc(CreateMonitor$)
15
- .build() {
3
+ export class CreateMonitorCommand extends command(_ep0, _mw0, "CreateMonitor", CreateMonitor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateProbe$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProbeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "CreateProbe", {})
13
- .n("NetworkMonitorClient", "CreateProbeCommand")
14
- .sc(CreateProbe$)
15
- .build() {
3
+ export class CreateProbeCommand extends command(_ep0, _mw0, "CreateProbe", CreateProbe$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteMonitor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMonitorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "DeleteMonitor", {})
13
- .n("NetworkMonitorClient", "DeleteMonitorCommand")
14
- .sc(DeleteMonitor$)
15
- .build() {
3
+ export class DeleteMonitorCommand extends command(_ep0, _mw0, "DeleteMonitor", DeleteMonitor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteProbe$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteProbeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "DeleteProbe", {})
13
- .n("NetworkMonitorClient", "DeleteProbeCommand")
14
- .sc(DeleteProbe$)
15
- .build() {
3
+ export class DeleteProbeCommand extends command(_ep0, _mw0, "DeleteProbe", DeleteProbe$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetMonitor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMonitorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "GetMonitor", {})
13
- .n("NetworkMonitorClient", "GetMonitorCommand")
14
- .sc(GetMonitor$)
15
- .build() {
3
+ export class GetMonitorCommand extends command(_ep0, _mw0, "GetMonitor", GetMonitor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetProbe$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetProbeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "GetProbe", {})
13
- .n("NetworkMonitorClient", "GetProbeCommand")
14
- .sc(GetProbe$)
15
- .build() {
3
+ export class GetProbeCommand extends command(_ep0, _mw0, "GetProbe", GetProbe$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMonitors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMonitorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "ListMonitors", {})
13
- .n("NetworkMonitorClient", "ListMonitorsCommand")
14
- .sc(ListMonitors$)
15
- .build() {
3
+ export class ListMonitorsCommand extends command(_ep0, _mw0, "ListMonitors", ListMonitors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
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 { $Command };
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("NetworkMonitor", "ListTagsForResource", {})
13
- .n("NetworkMonitorClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
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 { $Command };
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("NetworkMonitor", "TagResource", {})
13
- .n("NetworkMonitorClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
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 { $Command };
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("NetworkMonitor", "UntagResource", {})
13
- .n("NetworkMonitorClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateMonitor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateMonitorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "UpdateMonitor", {})
13
- .n("NetworkMonitorClient", "UpdateMonitorCommand")
14
- .sc(UpdateMonitor$)
15
- .build() {
3
+ export class UpdateMonitorCommand extends command(_ep0, _mw0, "UpdateMonitor", UpdateMonitor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateProbe$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProbeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("NetworkMonitor", "UpdateProbe", {})
13
- .n("NetworkMonitorClient", "UpdateProbeCommand")
14
- .sc(UpdateProbe$)
15
- .build() {
3
+ export class UpdateProbeCommand extends command(_ep0, _mw0, "UpdateProbe", UpdateProbe$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./NetworkMonitorClient";
2
2
  export * from "./NetworkMonitor";
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 { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./NetworkMonitorClient";
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, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, NetworkMonitorClientResolvedConfig, 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
2
  import type { CreateMonitorInput, CreateMonitorOutput } from "../models/models_0";
4
- import type { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
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 CreateMonitorCommandInput extends CreateMonitorInput {
22
19
  export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateMonitorCommand_base: {
25
- new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a monitor between a source subnet and destination IP address. Within a monitor you'll create one or more probes that monitor network traffic between your source Amazon Web Services VPC subnets and your destination IP addresses. Each probe then aggregates and sends metrics to Amazon CloudWatch.</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
2
  import type { CreateProbeInput, CreateProbeOutput } from "../models/models_0";
4
- import type { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
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 CreateProbeCommandInput extends CreateProbeInput {
22
19
  export interface CreateProbeCommandOutput extends CreateProbeOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateProbeCommand_base: {
25
- new (input: CreateProbeCommandInput): import("@smithy/core/client").CommandImpl<CreateProbeCommandInput, CreateProbeCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateProbeCommandInput): import("@smithy/core/client").CommandImpl<CreateProbeCommandInput, CreateProbeCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateProbeCommandInput): import("@smithy/core/client").CommandImpl<CreateProbeCommandInput, CreateProbeCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateProbeCommandInput): import("@smithy/core/client").CommandImpl<CreateProbeCommandInput, CreateProbeCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Create a probe within a monitor. Once you create a probe, and it begins monitoring your
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { DeleteMonitorInput, DeleteMonitorOutput } from "../models/models_0";
4
- import type { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
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 DeleteMonitorCommandInput extends DeleteMonitorInput {
22
19
  export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteMonitorCommand_base: {
25
- new (input: DeleteMonitorCommandInput): import("@smithy/core/client").CommandImpl<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteMonitorCommandInput): import("@smithy/core/client").CommandImpl<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteMonitorCommandInput): import("@smithy/core/client").CommandImpl<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteMonitorCommandInput): import("@smithy/core/client").CommandImpl<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a specified monitor.</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
2
  import type { DeleteProbeInput, DeleteProbeOutput } from "../models/models_0";
4
- import type { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
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 DeleteProbeCommandInput extends DeleteProbeInput {
22
19
  export interface DeleteProbeCommandOutput extends DeleteProbeOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteProbeCommand_base: {
25
- new (input: DeleteProbeCommandInput): import("@smithy/core/client").CommandImpl<DeleteProbeCommandInput, DeleteProbeCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteProbeCommandInput): import("@smithy/core/client").CommandImpl<DeleteProbeCommandInput, DeleteProbeCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteProbeCommandInput): import("@smithy/core/client").CommandImpl<DeleteProbeCommandInput, DeleteProbeCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteProbeCommandInput): import("@smithy/core/client").CommandImpl<DeleteProbeCommandInput, DeleteProbeCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified probe. Once a probe is deleted you'll no longer incur any billing
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetMonitorInput, GetMonitorOutput } from "../models/models_0";
4
- import type { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
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 GetMonitorCommandInput extends GetMonitorInput {
22
19
  export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetMonitorCommand_base: {
25
- new (input: GetMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetMonitorCommandInput, GetMonitorCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetMonitorCommandInput, GetMonitorCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetMonitorCommandInput, GetMonitorCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetMonitorCommandInput, GetMonitorCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns details about a specific monitor. </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
2
  import type { GetProbeInput, GetProbeOutput } from "../models/models_0";
4
- import type { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
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 GetProbeCommandInput extends GetProbeInput {
22
19
  export interface GetProbeCommandOutput extends GetProbeOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetProbeCommand_base: {
25
- new (input: GetProbeCommandInput): import("@smithy/core/client").CommandImpl<GetProbeCommandInput, GetProbeCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetProbeCommandInput): import("@smithy/core/client").CommandImpl<GetProbeCommandInput, GetProbeCommandOutput, NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetProbeCommandInput): import("@smithy/core/client").CommandImpl<GetProbeCommandInput, GetProbeCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetProbeCommandInput): import("@smithy/core/client").CommandImpl<GetProbeCommandInput, GetProbeCommandOutput, import("..").NetworkMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the details about a probe. This action requires both the