@aws-sdk/client-mwaa 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/CreateCliTokenCommand.js +2 -14
  4. package/dist-es/commands/CreateEnvironmentCommand.js +2 -14
  5. package/dist-es/commands/CreateWebLoginTokenCommand.js +2 -14
  6. package/dist-es/commands/DeleteEnvironmentCommand.js +2 -14
  7. package/dist-es/commands/GetEnvironmentCommand.js +2 -14
  8. package/dist-es/commands/InvokeRestApiCommand.js +2 -14
  9. package/dist-es/commands/ListEnvironmentsCommand.js +2 -14
  10. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  11. package/dist-es/commands/PublishMetricsCommand.js +2 -14
  12. package/dist-es/commands/TagResourceCommand.js +2 -14
  13. package/dist-es/commands/UntagResourceCommand.js +2 -14
  14. package/dist-es/commands/UpdateEnvironmentCommand.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/CreateCliTokenCommand.d.ts +3 -8
  18. package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -8
  19. package/dist-types/commands/CreateWebLoginTokenCommand.d.ts +3 -8
  20. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -8
  21. package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -8
  22. package/dist-types/commands/InvokeRestApiCommand.d.ts +3 -8
  23. package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -8
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  25. package/dist-types/commands/PublishMetricsCommand.d.ts +3 -8
  26. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/UpdateEnvironmentCommand.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/CreateCliTokenCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/CreateWebLoginTokenCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/InvokeRestApiCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/PublishMetricsCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.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
 
@@ -804,148 +805,44 @@ class MWAAClient extends Client {
804
805
  }
805
806
  }
806
807
 
807
- class CreateCliTokenCommand extends Command
808
- .classBuilder()
809
- .ep(commonParams)
810
- .m(function (Command, cs, config, o) {
811
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
812
- })
813
- .s("AmazonMWAA", "CreateCliToken", {})
814
- .n("MWAAClient", "CreateCliTokenCommand")
815
- .sc(CreateCliToken$)
816
- .build() {
808
+ const command = makeBuilder(commonParams, "AmazonMWAA", "MWAAClient", getEndpointPlugin);
809
+ const _ep0 = {};
810
+ const _mw0 = (Command, cs, config, o) => [];
811
+
812
+ class CreateCliTokenCommand extends command(_ep0, _mw0, "CreateCliToken", CreateCliToken$) {
817
813
  }
818
814
 
819
- class CreateEnvironmentCommand extends Command
820
- .classBuilder()
821
- .ep(commonParams)
822
- .m(function (Command, cs, config, o) {
823
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
824
- })
825
- .s("AmazonMWAA", "CreateEnvironment", {})
826
- .n("MWAAClient", "CreateEnvironmentCommand")
827
- .sc(CreateEnvironment$)
828
- .build() {
815
+ class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
829
816
  }
830
817
 
831
- class CreateWebLoginTokenCommand extends Command
832
- .classBuilder()
833
- .ep(commonParams)
834
- .m(function (Command, cs, config, o) {
835
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
836
- })
837
- .s("AmazonMWAA", "CreateWebLoginToken", {})
838
- .n("MWAAClient", "CreateWebLoginTokenCommand")
839
- .sc(CreateWebLoginToken$)
840
- .build() {
818
+ class CreateWebLoginTokenCommand extends command(_ep0, _mw0, "CreateWebLoginToken", CreateWebLoginToken$) {
841
819
  }
842
820
 
843
- class DeleteEnvironmentCommand extends Command
844
- .classBuilder()
845
- .ep(commonParams)
846
- .m(function (Command, cs, config, o) {
847
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
848
- })
849
- .s("AmazonMWAA", "DeleteEnvironment", {})
850
- .n("MWAAClient", "DeleteEnvironmentCommand")
851
- .sc(DeleteEnvironment$)
852
- .build() {
821
+ class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
853
822
  }
854
823
 
855
- class GetEnvironmentCommand extends Command
856
- .classBuilder()
857
- .ep(commonParams)
858
- .m(function (Command, cs, config, o) {
859
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
860
- })
861
- .s("AmazonMWAA", "GetEnvironment", {})
862
- .n("MWAAClient", "GetEnvironmentCommand")
863
- .sc(GetEnvironment$)
864
- .build() {
824
+ class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
865
825
  }
866
826
 
867
- class InvokeRestApiCommand extends Command
868
- .classBuilder()
869
- .ep(commonParams)
870
- .m(function (Command, cs, config, o) {
871
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
872
- })
873
- .s("AmazonMWAA", "InvokeRestApi", {})
874
- .n("MWAAClient", "InvokeRestApiCommand")
875
- .sc(InvokeRestApi$)
876
- .build() {
827
+ class InvokeRestApiCommand extends command(_ep0, _mw0, "InvokeRestApi", InvokeRestApi$) {
877
828
  }
878
829
 
879
- class ListEnvironmentsCommand extends Command
880
- .classBuilder()
881
- .ep(commonParams)
882
- .m(function (Command, cs, config, o) {
883
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
884
- })
885
- .s("AmazonMWAA", "ListEnvironments", {})
886
- .n("MWAAClient", "ListEnvironmentsCommand")
887
- .sc(ListEnvironments$)
888
- .build() {
830
+ class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
889
831
  }
890
832
 
891
- class ListTagsForResourceCommand extends Command
892
- .classBuilder()
893
- .ep(commonParams)
894
- .m(function (Command, cs, config, o) {
895
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
896
- })
897
- .s("AmazonMWAA", "ListTagsForResource", {})
898
- .n("MWAAClient", "ListTagsForResourceCommand")
899
- .sc(ListTagsForResource$)
900
- .build() {
833
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
901
834
  }
902
835
 
903
- class PublishMetricsCommand extends Command
904
- .classBuilder()
905
- .ep(commonParams)
906
- .m(function (Command, cs, config, o) {
907
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
908
- })
909
- .s("AmazonMWAA", "PublishMetrics", {})
910
- .n("MWAAClient", "PublishMetricsCommand")
911
- .sc(PublishMetrics$)
912
- .build() {
836
+ class PublishMetricsCommand extends command(_ep0, _mw0, "PublishMetrics", PublishMetrics$) {
913
837
  }
914
838
 
915
- class TagResourceCommand extends Command
916
- .classBuilder()
917
- .ep(commonParams)
918
- .m(function (Command, cs, config, o) {
919
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
920
- })
921
- .s("AmazonMWAA", "TagResource", {})
922
- .n("MWAAClient", "TagResourceCommand")
923
- .sc(TagResource$)
924
- .build() {
839
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
925
840
  }
926
841
 
927
- class UntagResourceCommand extends Command
928
- .classBuilder()
929
- .ep(commonParams)
930
- .m(function (Command, cs, config, o) {
931
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
932
- })
933
- .s("AmazonMWAA", "UntagResource", {})
934
- .n("MWAAClient", "UntagResourceCommand")
935
- .sc(UntagResource$)
936
- .build() {
842
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
937
843
  }
938
844
 
939
- class UpdateEnvironmentCommand extends Command
940
- .classBuilder()
941
- .ep(commonParams)
942
- .m(function (Command, cs, config, o) {
943
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
944
- })
945
- .s("AmazonMWAA", "UpdateEnvironment", {})
946
- .n("MWAAClient", "UpdateEnvironmentCommand")
947
- .sc(UpdateEnvironment$)
948
- .build() {
845
+ class UpdateEnvironmentCommand extends command(_ep0, _mw0, "UpdateEnvironment", UpdateEnvironment$) {
949
846
  }
950
847
 
951
848
  const paginateListEnvironments = createPaginator(MWAAClient, ListEnvironmentsCommand, "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, "AmazonMWAA", "MWAAClient", 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 { CreateCliToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCliTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "CreateCliToken", {})
13
- .n("MWAAClient", "CreateCliTokenCommand")
14
- .sc(CreateCliToken$)
15
- .build() {
3
+ export class CreateCliTokenCommand extends command(_ep0, _mw0, "CreateCliToken", CreateCliToken$) {
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 { CreateEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "CreateEnvironment", {})
13
- .n("MWAAClient", "CreateEnvironmentCommand")
14
- .sc(CreateEnvironment$)
15
- .build() {
3
+ export class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
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 { CreateWebLoginToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWebLoginTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "CreateWebLoginToken", {})
13
- .n("MWAAClient", "CreateWebLoginTokenCommand")
14
- .sc(CreateWebLoginToken$)
15
- .build() {
3
+ export class CreateWebLoginTokenCommand extends command(_ep0, _mw0, "CreateWebLoginToken", CreateWebLoginToken$) {
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 { DeleteEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "DeleteEnvironment", {})
13
- .n("MWAAClient", "DeleteEnvironmentCommand")
14
- .sc(DeleteEnvironment$)
15
- .build() {
3
+ export class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
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 { GetEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "GetEnvironment", {})
13
- .n("MWAAClient", "GetEnvironmentCommand")
14
- .sc(GetEnvironment$)
15
- .build() {
3
+ export class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
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 { InvokeRestApi$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InvokeRestApiCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "InvokeRestApi", {})
13
- .n("MWAAClient", "InvokeRestApiCommand")
14
- .sc(InvokeRestApi$)
15
- .build() {
3
+ export class InvokeRestApiCommand extends command(_ep0, _mw0, "InvokeRestApi", InvokeRestApi$) {
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 { ListEnvironments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEnvironmentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "ListEnvironments", {})
13
- .n("MWAAClient", "ListEnvironmentsCommand")
14
- .sc(ListEnvironments$)
15
- .build() {
3
+ export class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
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("AmazonMWAA", "ListTagsForResource", {})
13
- .n("MWAAClient", "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 { PublishMetrics$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PublishMetricsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "PublishMetrics", {})
13
- .n("MWAAClient", "PublishMetricsCommand")
14
- .sc(PublishMetrics$)
15
- .build() {
3
+ export class PublishMetricsCommand extends command(_ep0, _mw0, "PublishMetrics", PublishMetrics$) {
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("AmazonMWAA", "TagResource", {})
13
- .n("MWAAClient", "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("AmazonMWAA", "UntagResource", {})
13
- .n("MWAAClient", "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 { UpdateEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonMWAA", "UpdateEnvironment", {})
13
- .n("MWAAClient", "UpdateEnvironmentCommand")
14
- .sc(UpdateEnvironment$)
15
- .build() {
3
+ export class UpdateEnvironmentCommand extends command(_ep0, _mw0, "UpdateEnvironment", UpdateEnvironment$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MWAAClient";
2
2
  export * from "./MWAA";
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 { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./MWAAClient";
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, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, MWAAClientResolvedConfig, 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 { CreateCliTokenRequest, CreateCliTokenResponse } from "../models/models_0";
4
- import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
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 CreateCliTokenCommandInput extends CreateCliTokenRequest {
22
19
  export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateCliTokenCommand_base: {
25
- new (input: CreateCliTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateCliTokenCommandInput, CreateCliTokenCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateCliTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateCliTokenCommandInput, CreateCliTokenCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateCliTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateCliTokenCommandInput, CreateCliTokenCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateCliTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateCliTokenCommandInput, CreateCliTokenCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a CLI token for the Airflow CLI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-cli.html">Creating an Apache Airflow CLI token</a>.</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 { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0";
4
- import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
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 CreateEnvironmentCommandInput extends CreateEnvironmentInput {
22
19
  export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateEnvironmentCommand_base: {
25
- new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an Amazon Managed Workflows for Apache Airflow (Amazon MWAA) environment.</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 { CreateWebLoginTokenRequest, CreateWebLoginTokenResponse } from "../models/models_0";
4
- import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
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 CreateWebLoginTokenCommandInput extends CreateWebLoginTokenRequ
22
19
  export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateWebLoginTokenCommand_base: {
25
- new (input: CreateWebLoginTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateWebLoginTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateWebLoginTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateWebLoginTokenCommandInput): import("@smithy/core/client").CommandImpl<CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a web login token for the Airflow Web UI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-web.html">Creating an Apache Airflow web login token</a>.</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 { DeleteEnvironmentInput, DeleteEnvironmentOutput } from "../models/models_0";
4
- import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
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 DeleteEnvironmentCommandInput extends DeleteEnvironmentInput {
22
19
  export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteEnvironmentCommand_base: {
25
- new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes an Amazon Managed Workflows for Apache Airflow (Amazon MWAA) environment.</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 { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_0";
4
- import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
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 GetEnvironmentCommandInput extends GetEnvironmentInput {
22
19
  export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetEnvironmentCommand_base: {
25
- new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</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 { InvokeRestApiRequest, InvokeRestApiResponse } from "../models/models_0";
4
- import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
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 InvokeRestApiCommandInput extends InvokeRestApiRequest {
22
19
  export interface InvokeRestApiCommandOutput extends InvokeRestApiResponse, __MetadataBearer {
23
20
  }
24
21
  declare const InvokeRestApiCommand_base: {
25
- new (input: InvokeRestApiCommandInput): import("@smithy/core/client").CommandImpl<InvokeRestApiCommandInput, InvokeRestApiCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: InvokeRestApiCommandInput): import("@smithy/core/client").CommandImpl<InvokeRestApiCommandInput, InvokeRestApiCommandOutput, MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: InvokeRestApiCommandInput): import("@smithy/core/client").CommandImpl<InvokeRestApiCommandInput, InvokeRestApiCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: InvokeRestApiCommandInput): import("@smithy/core/client").CommandImpl<InvokeRestApiCommandInput, InvokeRestApiCommandOutput, import("..").MWAAClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Invokes the Apache Airflow REST API on the webserver with the specified inputs. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-mwaa-apache-airflow-rest-api.html">Using the Apache Airflow REST API</a> </p>