@aws-sdk/client-cloud9 3.1077.0 → 3.1078.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist-cjs/index.js +21 -133
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateEnvironmentEC2Command.js +2 -14
  4. package/dist-es/commands/CreateEnvironmentMembershipCommand.js +2 -14
  5. package/dist-es/commands/DeleteEnvironmentCommand.js +2 -14
  6. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +2 -14
  7. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +2 -14
  8. package/dist-es/commands/DescribeEnvironmentStatusCommand.js +2 -14
  9. package/dist-es/commands/DescribeEnvironmentsCommand.js +2 -14
  10. package/dist-es/commands/ListEnvironmentsCommand.js +2 -14
  11. package/dist-es/commands/ListTagsForResourceCommand.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/commands/UpdateEnvironmentMembershipCommand.js +2 -14
  16. package/dist-es/index.js +1 -0
  17. package/dist-types/commandBuilder.d.ts +18 -0
  18. package/dist-types/commands/CreateEnvironmentEC2Command.d.ts +3 -8
  19. package/dist-types/commands/CreateEnvironmentMembershipCommand.d.ts +3 -8
  20. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -8
  21. package/dist-types/commands/DeleteEnvironmentMembershipCommand.d.ts +3 -8
  22. package/dist-types/commands/DescribeEnvironmentMembershipsCommand.d.ts +3 -8
  23. package/dist-types/commands/DescribeEnvironmentStatusCommand.d.ts +3 -8
  24. package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +3 -8
  25. package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -8
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  29. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +3 -8
  30. package/dist-types/commands/UpdateEnvironmentMembershipCommand.d.ts +3 -8
  31. package/dist-types/index.d.ts +1 -0
  32. package/dist-types/models/models_0.d.ts +0 -18
  33. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  34. package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/index.d.ts +1 -0
  48. 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -778,160 +779,47 @@ class Cloud9Client extends Client {
778
779
  }
779
780
  }
780
781
 
781
- class CreateEnvironmentEC2Command extends Command
782
- .classBuilder()
783
- .ep(commonParams)
784
- .m(function (Command, cs, config, o) {
785
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
786
- })
787
- .s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {})
788
- .n("Cloud9Client", "CreateEnvironmentEC2Command")
789
- .sc(CreateEnvironmentEC2$)
790
- .build() {
782
+ const command = makeBuilder(commonParams, "AWSCloud9WorkspaceManagementService", "Cloud9Client", getEndpointPlugin);
783
+ const _ep0 = {};
784
+ const _mw0 = (Command, cs, config, o) => [];
785
+
786
+ class CreateEnvironmentEC2Command extends command(_ep0, _mw0, "CreateEnvironmentEC2", CreateEnvironmentEC2$) {
791
787
  }
792
788
 
793
- class CreateEnvironmentMembershipCommand extends Command
794
- .classBuilder()
795
- .ep(commonParams)
796
- .m(function (Command, cs, config, o) {
797
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
798
- })
799
- .s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {})
800
- .n("Cloud9Client", "CreateEnvironmentMembershipCommand")
801
- .sc(CreateEnvironmentMembership$)
802
- .build() {
789
+ class CreateEnvironmentMembershipCommand extends command(_ep0, _mw0, "CreateEnvironmentMembership", CreateEnvironmentMembership$) {
803
790
  }
804
791
 
805
- class DeleteEnvironmentCommand extends Command
806
- .classBuilder()
807
- .ep(commonParams)
808
- .m(function (Command, cs, config, o) {
809
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
810
- })
811
- .s("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {})
812
- .n("Cloud9Client", "DeleteEnvironmentCommand")
813
- .sc(DeleteEnvironment$)
814
- .build() {
792
+ class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
815
793
  }
816
794
 
817
- class DeleteEnvironmentMembershipCommand extends Command
818
- .classBuilder()
819
- .ep(commonParams)
820
- .m(function (Command, cs, config, o) {
821
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
822
- })
823
- .s("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {})
824
- .n("Cloud9Client", "DeleteEnvironmentMembershipCommand")
825
- .sc(DeleteEnvironmentMembership$)
826
- .build() {
795
+ class DeleteEnvironmentMembershipCommand extends command(_ep0, _mw0, "DeleteEnvironmentMembership", DeleteEnvironmentMembership$) {
827
796
  }
828
797
 
829
- class DescribeEnvironmentMembershipsCommand extends Command
830
- .classBuilder()
831
- .ep(commonParams)
832
- .m(function (Command, cs, config, o) {
833
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
834
- })
835
- .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {})
836
- .n("Cloud9Client", "DescribeEnvironmentMembershipsCommand")
837
- .sc(DescribeEnvironmentMemberships$)
838
- .build() {
798
+ class DescribeEnvironmentMembershipsCommand extends command(_ep0, _mw0, "DescribeEnvironmentMemberships", DescribeEnvironmentMemberships$) {
839
799
  }
840
800
 
841
- class DescribeEnvironmentsCommand extends Command
842
- .classBuilder()
843
- .ep(commonParams)
844
- .m(function (Command, cs, config, o) {
845
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
846
- })
847
- .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {})
848
- .n("Cloud9Client", "DescribeEnvironmentsCommand")
849
- .sc(DescribeEnvironments$)
850
- .build() {
801
+ class DescribeEnvironmentsCommand extends command(_ep0, _mw0, "DescribeEnvironments", DescribeEnvironments$) {
851
802
  }
852
803
 
853
- class DescribeEnvironmentStatusCommand extends Command
854
- .classBuilder()
855
- .ep(commonParams)
856
- .m(function (Command, cs, config, o) {
857
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
858
- })
859
- .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {})
860
- .n("Cloud9Client", "DescribeEnvironmentStatusCommand")
861
- .sc(DescribeEnvironmentStatus$)
862
- .build() {
804
+ class DescribeEnvironmentStatusCommand extends command(_ep0, _mw0, "DescribeEnvironmentStatus", DescribeEnvironmentStatus$) {
863
805
  }
864
806
 
865
- class ListEnvironmentsCommand extends Command
866
- .classBuilder()
867
- .ep(commonParams)
868
- .m(function (Command, cs, config, o) {
869
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
870
- })
871
- .s("AWSCloud9WorkspaceManagementService", "ListEnvironments", {})
872
- .n("Cloud9Client", "ListEnvironmentsCommand")
873
- .sc(ListEnvironments$)
874
- .build() {
807
+ class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
875
808
  }
876
809
 
877
- class ListTagsForResourceCommand extends Command
878
- .classBuilder()
879
- .ep(commonParams)
880
- .m(function (Command, cs, config, o) {
881
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
882
- })
883
- .s("AWSCloud9WorkspaceManagementService", "ListTagsForResource", {})
884
- .n("Cloud9Client", "ListTagsForResourceCommand")
885
- .sc(ListTagsForResource$)
886
- .build() {
810
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
887
811
  }
888
812
 
889
- class TagResourceCommand extends Command
890
- .classBuilder()
891
- .ep(commonParams)
892
- .m(function (Command, cs, config, o) {
893
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
894
- })
895
- .s("AWSCloud9WorkspaceManagementService", "TagResource", {})
896
- .n("Cloud9Client", "TagResourceCommand")
897
- .sc(TagResource$)
898
- .build() {
813
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
899
814
  }
900
815
 
901
- class UntagResourceCommand extends Command
902
- .classBuilder()
903
- .ep(commonParams)
904
- .m(function (Command, cs, config, o) {
905
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
906
- })
907
- .s("AWSCloud9WorkspaceManagementService", "UntagResource", {})
908
- .n("Cloud9Client", "UntagResourceCommand")
909
- .sc(UntagResource$)
910
- .build() {
816
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
911
817
  }
912
818
 
913
- class UpdateEnvironmentCommand extends Command
914
- .classBuilder()
915
- .ep(commonParams)
916
- .m(function (Command, cs, config, o) {
917
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
918
- })
919
- .s("AWSCloud9WorkspaceManagementService", "UpdateEnvironment", {})
920
- .n("Cloud9Client", "UpdateEnvironmentCommand")
921
- .sc(UpdateEnvironment$)
922
- .build() {
819
+ class UpdateEnvironmentCommand extends command(_ep0, _mw0, "UpdateEnvironment", UpdateEnvironment$) {
923
820
  }
924
821
 
925
- class UpdateEnvironmentMembershipCommand extends Command
926
- .classBuilder()
927
- .ep(commonParams)
928
- .m(function (Command, cs, config, o) {
929
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
930
- })
931
- .s("AWSCloud9WorkspaceManagementService", "UpdateEnvironmentMembership", {})
932
- .n("Cloud9Client", "UpdateEnvironmentMembershipCommand")
933
- .sc(UpdateEnvironmentMembership$)
934
- .build() {
822
+ class UpdateEnvironmentMembershipCommand extends command(_ep0, _mw0, "UpdateEnvironmentMembership", UpdateEnvironmentMembership$) {
935
823
  }
936
824
 
937
825
  const paginateDescribeEnvironmentMemberships = createPaginator(Cloud9Client, DescribeEnvironmentMembershipsCommand, "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, "AWSCloud9WorkspaceManagementService", "Cloud9Client", 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 { CreateEnvironmentEC2$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentEC2Command extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {})
13
- .n("Cloud9Client", "CreateEnvironmentEC2Command")
14
- .sc(CreateEnvironmentEC2$)
15
- .build() {
3
+ export class CreateEnvironmentEC2Command extends command(_ep0, _mw0, "CreateEnvironmentEC2", CreateEnvironmentEC2$) {
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 { CreateEnvironmentMembership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentMembershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {})
13
- .n("Cloud9Client", "CreateEnvironmentMembershipCommand")
14
- .sc(CreateEnvironmentMembership$)
15
- .build() {
3
+ export class CreateEnvironmentMembershipCommand extends command(_ep0, _mw0, "CreateEnvironmentMembership", CreateEnvironmentMembership$) {
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("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {})
13
- .n("Cloud9Client", "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 { DeleteEnvironmentMembership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEnvironmentMembershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {})
13
- .n("Cloud9Client", "DeleteEnvironmentMembershipCommand")
14
- .sc(DeleteEnvironmentMembership$)
15
- .build() {
3
+ export class DeleteEnvironmentMembershipCommand extends command(_ep0, _mw0, "DeleteEnvironmentMembership", DeleteEnvironmentMembership$) {
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 { DescribeEnvironmentMemberships$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEnvironmentMembershipsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {})
13
- .n("Cloud9Client", "DescribeEnvironmentMembershipsCommand")
14
- .sc(DescribeEnvironmentMemberships$)
15
- .build() {
3
+ export class DescribeEnvironmentMembershipsCommand extends command(_ep0, _mw0, "DescribeEnvironmentMemberships", DescribeEnvironmentMemberships$) {
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 { DescribeEnvironmentStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEnvironmentStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {})
13
- .n("Cloud9Client", "DescribeEnvironmentStatusCommand")
14
- .sc(DescribeEnvironmentStatus$)
15
- .build() {
3
+ export class DescribeEnvironmentStatusCommand extends command(_ep0, _mw0, "DescribeEnvironmentStatus", DescribeEnvironmentStatus$) {
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 { DescribeEnvironments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEnvironmentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {})
13
- .n("Cloud9Client", "DescribeEnvironmentsCommand")
14
- .sc(DescribeEnvironments$)
15
- .build() {
3
+ export class DescribeEnvironmentsCommand extends command(_ep0, _mw0, "DescribeEnvironments", DescribeEnvironments$) {
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("AWSCloud9WorkspaceManagementService", "ListEnvironments", {})
13
- .n("Cloud9Client", "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("AWSCloud9WorkspaceManagementService", "ListTagsForResource", {})
13
- .n("Cloud9Client", "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("AWSCloud9WorkspaceManagementService", "TagResource", {})
13
- .n("Cloud9Client", "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("AWSCloud9WorkspaceManagementService", "UntagResource", {})
13
- .n("Cloud9Client", "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("AWSCloud9WorkspaceManagementService", "UpdateEnvironment", {})
13
- .n("Cloud9Client", "UpdateEnvironmentCommand")
14
- .sc(UpdateEnvironment$)
15
- .build() {
3
+ export class UpdateEnvironmentCommand extends command(_ep0, _mw0, "UpdateEnvironment", UpdateEnvironment$) {
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 { UpdateEnvironmentMembership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEnvironmentMembershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCloud9WorkspaceManagementService", "UpdateEnvironmentMembership", {})
13
- .n("Cloud9Client", "UpdateEnvironmentMembershipCommand")
14
- .sc(UpdateEnvironmentMembership$)
15
- .build() {
3
+ export class UpdateEnvironmentMembershipCommand extends command(_ep0, _mw0, "UpdateEnvironmentMembership", UpdateEnvironmentMembership$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./Cloud9Client";
2
2
  export * from "./Cloud9";
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 { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./Cloud9Client";
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, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, Cloud9ClientResolvedConfig, 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 { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
4
2
  import type { CreateEnvironmentEC2Request, CreateEnvironmentEC2Result } 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 CreateEnvironmentEC2CommandInput extends CreateEnvironmentEC2Re
22
19
  export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2Result, __MetadataBearer {
23
20
  }
24
21
  declare const CreateEnvironmentEC2Command_base: {
25
- new (input: CreateEnvironmentEC2CommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateEnvironmentEC2CommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateEnvironmentEC2CommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateEnvironmentEC2CommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and
@@ -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 { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
4
2
  import type { CreateEnvironmentMembershipRequest, CreateEnvironmentMembershipResult } 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 CreateEnvironmentMembershipCommandInput extends CreateEnvironme
22
19
  export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironmentMembershipResult, __MetadataBearer {
23
20
  }
24
21
  declare const CreateEnvironmentMembershipCommand_base: {
25
- new (input: CreateEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds an environment member to an Cloud9 development 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
- import type { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
4
2
  import type { DeleteEnvironmentRequest, DeleteEnvironmentResult } 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 DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest
22
19
  export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteEnvironmentCommand_base: {
25
- new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the
@@ -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 { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
4
2
  import type { DeleteEnvironmentMembershipRequest, DeleteEnvironmentMembershipResult } 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 DeleteEnvironmentMembershipCommandInput extends DeleteEnvironme
22
19
  export interface DeleteEnvironmentMembershipCommandOutput extends DeleteEnvironmentMembershipResult, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteEnvironmentMembershipCommand_base: {
25
- new (input: DeleteEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentMembershipCommandInput, DeleteEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentMembershipCommandInput, DeleteEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentMembershipCommandInput, DeleteEnvironmentMembershipCommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEnvironmentMembershipCommandInput): import("@smithy/core/client").CommandImpl<DeleteEnvironmentMembershipCommandInput, DeleteEnvironmentMembershipCommandOutput, import("..").Cloud9ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes an environment member from a development environment.</p>