@aws-sdk/client-cloud9 3.35.0 → 3.38.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 (171) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Cloud9.js +0 -70
  3. package/dist-cjs/Cloud9Client.js +0 -75
  4. package/dist-cjs/commands/CreateEnvironmentEC2Command.js +0 -26
  5. package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js +0 -25
  6. package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
  7. package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js +0 -25
  8. package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js +0 -25
  9. package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js +0 -25
  10. package/dist-cjs/commands/DescribeEnvironmentsCommand.js +0 -25
  11. package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -25
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  13. package/dist-cjs/commands/TagResourceCommand.js +0 -29
  14. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  15. package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -25
  16. package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js +0 -26
  17. package/dist-cjs/commands/index.js +16 -0
  18. package/dist-cjs/endpoints.js +1 -2
  19. package/dist-cjs/index.js +4 -19
  20. package/dist-cjs/models/index.js +0 -1
  21. package/dist-cjs/models/models_0.js +0 -115
  22. package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -11
  23. package/dist-cjs/pagination/Interfaces.js +0 -1
  24. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -11
  25. package/dist-cjs/pagination/index.js +6 -0
  26. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  27. package/dist-cjs/runtimeConfig.browser.js +1 -6
  28. package/dist-cjs/runtimeConfig.js +2 -7
  29. package/dist-cjs/runtimeConfig.native.js +0 -4
  30. package/dist-cjs/runtimeConfig.shared.js +0 -4
  31. package/dist-es/Cloud9.js +0 -1
  32. package/dist-es/Cloud9Client.js +0 -1
  33. package/dist-es/commands/CreateEnvironmentEC2Command.js +0 -1
  34. package/dist-es/commands/CreateEnvironmentMembershipCommand.js +0 -1
  35. package/dist-es/commands/DeleteEnvironmentCommand.js +0 -1
  36. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +0 -1
  37. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +0 -1
  38. package/dist-es/commands/DescribeEnvironmentStatusCommand.js +0 -1
  39. package/dist-es/commands/DescribeEnvironmentsCommand.js +0 -1
  40. package/dist-es/commands/ListEnvironmentsCommand.js +0 -1
  41. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  42. package/dist-es/commands/TagResourceCommand.js +0 -1
  43. package/dist-es/commands/UntagResourceCommand.js +0 -1
  44. package/dist-es/commands/UpdateEnvironmentCommand.js +0 -1
  45. package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +0 -1
  46. package/dist-es/commands/index.js +13 -0
  47. package/dist-es/endpoints.js +1 -2
  48. package/dist-es/index.js +4 -19
  49. package/dist-es/models/index.js +0 -1
  50. package/dist-es/models/models_0.js +0 -1
  51. package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -1
  52. package/dist-es/pagination/Interfaces.js +0 -1
  53. package/dist-es/pagination/ListEnvironmentsPaginator.js +0 -1
  54. package/dist-es/pagination/index.js +3 -0
  55. package/dist-es/protocols/Aws_json1_1.js +0 -1
  56. package/dist-es/runtimeConfig.browser.js +1 -2
  57. package/dist-es/runtimeConfig.js +2 -3
  58. package/dist-es/runtimeConfig.native.js +0 -1
  59. package/dist-es/runtimeConfig.shared.js +0 -1
  60. package/dist-types/commands/index.d.ts +13 -0
  61. package/dist-types/index.d.ts +4 -18
  62. package/dist-types/pagination/index.d.ts +3 -0
  63. package/dist-types/ts3.4/Cloud9.d.ts +14 -115
  64. package/dist-types/ts3.4/Cloud9Client.d.ts +24 -155
  65. package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +2 -21
  66. package/dist-types/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +2 -20
  67. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -21
  68. package/dist-types/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +2 -20
  69. package/dist-types/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +2 -20
  71. package/dist-types/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
  75. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +2 -21
  78. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  79. package/dist-types/ts3.4/index.d.ts +4 -18
  80. package/dist-types/ts3.4/models/models_0.d.ts +118 -629
  81. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  86. package/package.json +33 -30
  87. package/dist-cjs/Cloud9.js.map +0 -1
  88. package/dist-cjs/Cloud9Client.js.map +0 -1
  89. package/dist-cjs/commands/CreateEnvironmentEC2Command.js.map +0 -1
  90. package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
  91. package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
  92. package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
  93. package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
  94. package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
  95. package/dist-cjs/commands/DescribeEnvironmentsCommand.js.map +0 -1
  96. package/dist-cjs/commands/ListEnvironmentsCommand.js.map +0 -1
  97. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  98. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  99. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  100. package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
  101. package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
  102. package/dist-cjs/endpoints.js.map +0 -1
  103. package/dist-cjs/index.js.map +0 -1
  104. package/dist-cjs/models/index.js.map +0 -1
  105. package/dist-cjs/models/models_0.js.map +0 -1
  106. package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
  107. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  108. package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
  109. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  110. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  111. package/dist-cjs/runtimeConfig.js.map +0 -1
  112. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  113. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  114. package/dist-es/Cloud9.js.map +0 -1
  115. package/dist-es/Cloud9Client.js.map +0 -1
  116. package/dist-es/commands/CreateEnvironmentEC2Command.js.map +0 -1
  117. package/dist-es/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
  118. package/dist-es/commands/DeleteEnvironmentCommand.js.map +0 -1
  119. package/dist-es/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
  120. package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
  121. package/dist-es/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
  122. package/dist-es/commands/DescribeEnvironmentsCommand.js.map +0 -1
  123. package/dist-es/commands/ListEnvironmentsCommand.js.map +0 -1
  124. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  125. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  126. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  127. package/dist-es/commands/UpdateEnvironmentCommand.js.map +0 -1
  128. package/dist-es/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
  129. package/dist-es/endpoints.js.map +0 -1
  130. package/dist-es/index.js.map +0 -1
  131. package/dist-es/models/index.js.map +0 -1
  132. package/dist-es/models/models_0.js.map +0 -1
  133. package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
  134. package/dist-es/pagination/Interfaces.js.map +0 -1
  135. package/dist-es/pagination/ListEnvironmentsPaginator.js.map +0 -1
  136. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  137. package/dist-es/runtimeConfig.browser.js.map +0 -1
  138. package/dist-es/runtimeConfig.js.map +0 -1
  139. package/dist-es/runtimeConfig.native.js.map +0 -1
  140. package/dist-es/runtimeConfig.shared.js.map +0 -1
  141. package/jest.config.js +0 -4
  142. package/src/Cloud9.ts +0 -552
  143. package/src/Cloud9Client.ts +0 -365
  144. package/src/commands/CreateEnvironmentEC2Command.ts +0 -96
  145. package/src/commands/CreateEnvironmentMembershipCommand.ts +0 -98
  146. package/src/commands/DeleteEnvironmentCommand.ts +0 -96
  147. package/src/commands/DeleteEnvironmentMembershipCommand.ts +0 -98
  148. package/src/commands/DescribeEnvironmentMembershipsCommand.ts +0 -103
  149. package/src/commands/DescribeEnvironmentStatusCommand.ts +0 -98
  150. package/src/commands/DescribeEnvironmentsCommand.ts +0 -95
  151. package/src/commands/ListEnvironmentsCommand.ts +0 -95
  152. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  153. package/src/commands/TagResourceCommand.ts +0 -99
  154. package/src/commands/UntagResourceCommand.ts +0 -95
  155. package/src/commands/UpdateEnvironmentCommand.ts +0 -95
  156. package/src/commands/UpdateEnvironmentMembershipCommand.ts +0 -99
  157. package/src/endpoints.ts +0 -57
  158. package/src/index.ts +0 -19
  159. package/src/models/index.ts +0 -1
  160. package/src/models/models_0.ts +0 -1187
  161. package/src/pagination/DescribeEnvironmentMembershipsPaginator.ts +0 -59
  162. package/src/pagination/Interfaces.ts +0 -8
  163. package/src/pagination/ListEnvironmentsPaginator.ts +0 -59
  164. package/src/protocols/Aws_json1_1.ts +0 -2189
  165. package/src/runtimeConfig.browser.ts +0 -41
  166. package/src/runtimeConfig.native.ts +0 -17
  167. package/src/runtimeConfig.shared.ts +0 -17
  168. package/src/runtimeConfig.ts +0 -46
  169. package/tsconfig.es.json +0 -10
  170. package/tsconfig.json +0 -33
  171. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
15
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UntagResourceCommand,
18
- serializeAws_json1_1UntagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes tags from an Cloud9 development environment.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { Cloud9Client, UntagResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, UntagResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new UntagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
37
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UntagResourceCommand extends $Command<
42
- UntagResourceCommandInput,
43
- UntagResourceCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UntagResourceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: Cloud9ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "Cloud9Client";
69
- const commandName = "UntagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UntagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
90
- return deserializeAws_json1_1UntagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
15
- import { UpdateEnvironmentRequest, UpdateEnvironmentResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateEnvironmentCommand,
18
- serializeAws_json1_1UpdateEnvironmentCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateEnvironmentCommandInput extends UpdateEnvironmentRequest {}
22
- export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Changes the settings of an existing Cloud9 development environment.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { Cloud9Client, UpdateEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, UpdateEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new UpdateEnvironmentCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateEnvironmentCommandInput} for command's `input` shape.
37
- * @see {@link UpdateEnvironmentCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateEnvironmentCommand extends $Command<
42
- UpdateEnvironmentCommandInput,
43
- UpdateEnvironmentCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateEnvironmentCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: Cloud9ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "Cloud9Client";
69
- const commandName = "UpdateEnvironmentCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateEnvironmentRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateEnvironmentResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateEnvironmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UpdateEnvironmentCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateEnvironmentCommandOutput> {
90
- return deserializeAws_json1_1UpdateEnvironmentCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
15
- import { UpdateEnvironmentMembershipRequest, UpdateEnvironmentMembershipResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateEnvironmentMembershipCommand,
18
- serializeAws_json1_1UpdateEnvironmentMembershipCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateEnvironmentMembershipCommandInput extends UpdateEnvironmentMembershipRequest {}
22
- export interface UpdateEnvironmentMembershipCommandOutput extends UpdateEnvironmentMembershipResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Changes the settings of an existing environment member for an Cloud9 development
26
- * environment.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { Cloud9Client, UpdateEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
31
- * // const { Cloud9Client, UpdateEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
32
- * const client = new Cloud9Client(config);
33
- * const command = new UpdateEnvironmentMembershipCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UpdateEnvironmentMembershipCommandInput} for command's `input` shape.
38
- * @see {@link UpdateEnvironmentMembershipCommandOutput} for command's `response` shape.
39
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UpdateEnvironmentMembershipCommand extends $Command<
43
- UpdateEnvironmentMembershipCommandInput,
44
- UpdateEnvironmentMembershipCommandOutput,
45
- Cloud9ClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UpdateEnvironmentMembershipCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: Cloud9ClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<UpdateEnvironmentMembershipCommandInput, UpdateEnvironmentMembershipCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "Cloud9Client";
70
- const commandName = "UpdateEnvironmentMembershipCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UpdateEnvironmentMembershipRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: UpdateEnvironmentMembershipResult.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: UpdateEnvironmentMembershipCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1UpdateEnvironmentMembershipCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<UpdateEnvironmentMembershipCommandOutput> {
94
- return deserializeAws_json1_1UpdateEnvironmentMembershipCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
package/src/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "cloud9.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "cloud9.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "cloud9.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "cloud9.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "cloud9.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "cloud9",
55
- regionHash,
56
- partitionHash,
57
- });
package/src/index.ts DELETED
@@ -1,19 +0,0 @@
1
- export * from "./Cloud9Client";
2
- export * from "./Cloud9";
3
- export * from "./commands/CreateEnvironmentEC2Command";
4
- export * from "./commands/CreateEnvironmentMembershipCommand";
5
- export * from "./commands/DeleteEnvironmentCommand";
6
- export * from "./commands/DeleteEnvironmentMembershipCommand";
7
- export * from "./commands/DescribeEnvironmentMembershipsCommand";
8
- export * from "./pagination/DescribeEnvironmentMembershipsPaginator";
9
- export * from "./commands/DescribeEnvironmentsCommand";
10
- export * from "./commands/DescribeEnvironmentStatusCommand";
11
- export * from "./commands/ListEnvironmentsCommand";
12
- export * from "./pagination/ListEnvironmentsPaginator";
13
- export * from "./commands/ListTagsForResourceCommand";
14
- export * from "./commands/TagResourceCommand";
15
- export * from "./commands/UntagResourceCommand";
16
- export * from "./commands/UpdateEnvironmentCommand";
17
- export * from "./commands/UpdateEnvironmentMembershipCommand";
18
- export * from "./pagination/Interfaces";
19
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";