@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,98 +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 { DeleteEnvironmentMembershipRequest, DeleteEnvironmentMembershipResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteEnvironmentMembershipCommand,
18
- serializeAws_json1_1DeleteEnvironmentMembershipCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteEnvironmentMembershipCommandInput extends DeleteEnvironmentMembershipRequest {}
22
- export interface DeleteEnvironmentMembershipCommandOutput extends DeleteEnvironmentMembershipResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an environment member 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, DeleteEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, DeleteEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new DeleteEnvironmentMembershipCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteEnvironmentMembershipCommandInput} for command's `input` shape.
37
- * @see {@link DeleteEnvironmentMembershipCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteEnvironmentMembershipCommand extends $Command<
42
- DeleteEnvironmentMembershipCommandInput,
43
- DeleteEnvironmentMembershipCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteEnvironmentMembershipCommandInput) {
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<DeleteEnvironmentMembershipCommandInput, DeleteEnvironmentMembershipCommandOutput> {
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 = "DeleteEnvironmentMembershipCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteEnvironmentMembershipRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteEnvironmentMembershipResult.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: DeleteEnvironmentMembershipCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DeleteEnvironmentMembershipCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<DeleteEnvironmentMembershipCommandOutput> {
93
- return deserializeAws_json1_1DeleteEnvironmentMembershipCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,103 +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 { DescribeEnvironmentMembershipsRequest, DescribeEnvironmentMembershipsResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeEnvironmentMembershipsCommand,
18
- serializeAws_json1_1DescribeEnvironmentMembershipsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeEnvironmentMembershipsCommandInput extends DescribeEnvironmentMembershipsRequest {}
22
- export interface DescribeEnvironmentMembershipsCommandOutput
23
- extends DescribeEnvironmentMembershipsResult,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Gets information about environment members for an Cloud9 development environment.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { Cloud9Client, DescribeEnvironmentMembershipsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
32
- * // const { Cloud9Client, DescribeEnvironmentMembershipsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
33
- * const client = new Cloud9Client(config);
34
- * const command = new DescribeEnvironmentMembershipsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeEnvironmentMembershipsCommandInput} for command's `input` shape.
39
- * @see {@link DescribeEnvironmentMembershipsCommandOutput} for command's `response` shape.
40
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeEnvironmentMembershipsCommand extends $Command<
44
- DescribeEnvironmentMembershipsCommandInput,
45
- DescribeEnvironmentMembershipsCommandOutput,
46
- Cloud9ClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeEnvironmentMembershipsCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: Cloud9ClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeEnvironmentMembershipsCommandInput, DescribeEnvironmentMembershipsCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "Cloud9Client";
71
- const commandName = "DescribeEnvironmentMembershipsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeEnvironmentMembershipsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeEnvironmentMembershipsResult.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(
88
- input: DescribeEnvironmentMembershipsCommandInput,
89
- context: __SerdeContext
90
- ): Promise<__HttpRequest> {
91
- return serializeAws_json1_1DescribeEnvironmentMembershipsCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<DescribeEnvironmentMembershipsCommandOutput> {
98
- return deserializeAws_json1_1DescribeEnvironmentMembershipsCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,98 +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 { DescribeEnvironmentStatusRequest, DescribeEnvironmentStatusResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeEnvironmentStatusCommand,
18
- serializeAws_json1_1DescribeEnvironmentStatusCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeEnvironmentStatusCommandInput extends DescribeEnvironmentStatusRequest {}
22
- export interface DescribeEnvironmentStatusCommandOutput extends DescribeEnvironmentStatusResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets status information for 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, DescribeEnvironmentStatusCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, DescribeEnvironmentStatusCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new DescribeEnvironmentStatusCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeEnvironmentStatusCommandInput} for command's `input` shape.
37
- * @see {@link DescribeEnvironmentStatusCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeEnvironmentStatusCommand extends $Command<
42
- DescribeEnvironmentStatusCommandInput,
43
- DescribeEnvironmentStatusCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeEnvironmentStatusCommandInput) {
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<DescribeEnvironmentStatusCommandInput, DescribeEnvironmentStatusCommandOutput> {
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 = "DescribeEnvironmentStatusCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeEnvironmentStatusRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeEnvironmentStatusResult.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: DescribeEnvironmentStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeEnvironmentStatusCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<DescribeEnvironmentStatusCommandOutput> {
93
- return deserializeAws_json1_1DescribeEnvironmentStatusCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -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 { DescribeEnvironmentsRequest, DescribeEnvironmentsResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeEnvironmentsCommand,
18
- serializeAws_json1_1DescribeEnvironmentsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeEnvironmentsCommandInput extends DescribeEnvironmentsRequest {}
22
- export interface DescribeEnvironmentsCommandOutput extends DescribeEnvironmentsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets information about Cloud9 development environments.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { Cloud9Client, DescribeEnvironmentsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, DescribeEnvironmentsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new DescribeEnvironmentsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeEnvironmentsCommandInput} for command's `input` shape.
37
- * @see {@link DescribeEnvironmentsCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeEnvironmentsCommand extends $Command<
42
- DescribeEnvironmentsCommandInput,
43
- DescribeEnvironmentsCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeEnvironmentsCommandInput) {
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<DescribeEnvironmentsCommandInput, DescribeEnvironmentsCommandOutput> {
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 = "DescribeEnvironmentsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeEnvironmentsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeEnvironmentsResult.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: DescribeEnvironmentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeEnvironmentsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEnvironmentsCommandOutput> {
90
- return deserializeAws_json1_1DescribeEnvironmentsCommand(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 { ListEnvironmentsRequest, ListEnvironmentsResult } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListEnvironmentsCommand,
18
- serializeAws_json1_1ListEnvironmentsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListEnvironmentsCommandInput extends ListEnvironmentsRequest {}
22
- export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets a list of Cloud9 development environment identifiers.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { Cloud9Client, ListEnvironmentsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, ListEnvironmentsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new ListEnvironmentsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListEnvironmentsCommandInput} for command's `input` shape.
37
- * @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListEnvironmentsCommand extends $Command<
42
- ListEnvironmentsCommandInput,
43
- ListEnvironmentsCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListEnvironmentsCommandInput) {
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<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput> {
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 = "ListEnvironmentsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListEnvironmentsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListEnvironmentsResult.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: ListEnvironmentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1ListEnvironmentsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListEnvironmentsCommandOutput> {
90
- return deserializeAws_json1_1ListEnvironmentsCommand(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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListTagsForResourceCommand,
18
- serializeAws_json1_1ListTagsForResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
22
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets a list of the tags associated with 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, ListTagsForResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
30
- * // const { Cloud9Client, ListTagsForResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
31
- * const client = new Cloud9Client(config);
32
- * const command = new ListTagsForResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
37
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
38
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListTagsForResourceCommand extends $Command<
42
- ListTagsForResourceCommandInput,
43
- ListTagsForResourceCommandOutput,
44
- Cloud9ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListTagsForResourceCommandInput) {
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
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 = "ListTagsForResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1ListTagsForResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
90
- return deserializeAws_json1_1ListTagsForResourceCommand(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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1TagResourceCommand,
18
- serializeAws_json1_1TagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Adds tags to an Cloud9 development environment.</p>
26
- * <important>
27
- * <p>Tags that you add to an Cloud9 environment by using this method will NOT be
28
- * automatically propagated to underlying resources.</p>
29
- * </important>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { Cloud9Client, TagResourceCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
34
- * // const { Cloud9Client, TagResourceCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
35
- * const client = new Cloud9Client(config);
36
- * const command = new TagResourceCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link TagResourceCommandInput} for command's `input` shape.
41
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
42
- * @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class TagResourceCommand extends $Command<
46
- TagResourceCommandInput,
47
- TagResourceCommandOutput,
48
- Cloud9ClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: TagResourceCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: Cloud9ClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "Cloud9Client";
73
- const commandName = "TagResourceCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1TagResourceCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
94
- return deserializeAws_json1_1TagResourceCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }