@aws-sdk/client-cloud9 3.34.0 → 3.37.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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/Cloud9.js +1 -71
- package/dist-cjs/Cloud9Client.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateEnvironmentEC2Command.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateEnvironmentMembershipCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteEnvironmentCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteEnvironmentMembershipCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeEnvironmentMembershipsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeEnvironmentStatusCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeEnvironmentsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListEnvironmentsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateEnvironmentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateEnvironmentMembershipCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -115
- package/{dist/cjs → dist-cjs}/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListEnvironmentsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Cloud9.js +1 -2
- package/{dist/es → dist-es}/Cloud9Client.js +1 -2
- package/{dist/es → dist-es}/commands/CreateEnvironmentEC2Command.js +2 -3
- package/{dist/es → dist-es}/commands/CreateEnvironmentMembershipCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteEnvironmentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteEnvironmentMembershipCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeEnvironmentMembershipsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeEnvironmentStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeEnvironmentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEnvironmentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateEnvironmentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateEnvironmentMembershipCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListEnvironmentsPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/Cloud9.d.ts +2 -2
- package/{dist/types → dist-types}/Cloud9Client.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CreateEnvironmentEC2Command.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateEnvironmentMembershipCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteEnvironmentMembershipCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeEnvironmentMembershipsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeEnvironmentStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeEnvironmentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEnvironmentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateEnvironmentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateEnvironmentMembershipCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeEnvironmentMembershipsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Cloud9.d.ts +16 -117
- package/dist-types/ts3.4/Cloud9Client.d.ts +80 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListEnvironmentsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateEnvironmentCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +467 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeEnvironmentMembershipsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/Cloud9.ts +0 -551
- package/Cloud9Client.ts +0 -364
- package/commands/CreateEnvironmentEC2Command.ts +0 -95
- package/commands/CreateEnvironmentMembershipCommand.ts +0 -97
- package/commands/DeleteEnvironmentCommand.ts +0 -95
- package/commands/DeleteEnvironmentMembershipCommand.ts +0 -97
- package/commands/DescribeEnvironmentMembershipsCommand.ts +0 -102
- package/commands/DescribeEnvironmentStatusCommand.ts +0 -97
- package/commands/DescribeEnvironmentsCommand.ts +0 -94
- package/commands/ListEnvironmentsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -98
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateEnvironmentCommand.ts +0 -94
- package/commands/UpdateEnvironmentMembershipCommand.ts +0 -98
- package/dist/cjs/Cloud9.js.map +0 -1
- package/dist/cjs/Cloud9Client.js +0 -110
- package/dist/cjs/Cloud9Client.js.map +0 -1
- package/dist/cjs/commands/CreateEnvironmentEC2Command.js.map +0 -1
- package/dist/cjs/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEnvironmentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Cloud9.js.map +0 -1
- package/dist/es/Cloud9Client.js.map +0 -1
- package/dist/es/commands/CreateEnvironmentEC2Command.js.map +0 -1
- package/dist/es/commands/CreateEnvironmentMembershipCommand.js.map +0 -1
- package/dist/es/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/DeleteEnvironmentMembershipCommand.js.map +0 -1
- package/dist/es/commands/DescribeEnvironmentMembershipsCommand.js.map +0 -1
- package/dist/es/commands/DescribeEnvironmentStatusCommand.js.map +0 -1
- package/dist/es/commands/DescribeEnvironmentsCommand.js.map +0 -1
- package/dist/es/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/UpdateEnvironmentMembershipCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -20
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/Cloud9Client.d.ts +0 -211
- package/dist/types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -978
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1187
- package/pagination/DescribeEnvironmentMembershipsPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListEnvironmentsPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -2188
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/Cloud9Client.ts
DELETED
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CreateEnvironmentEC2CommandInput,
|
|
3
|
-
CreateEnvironmentEC2CommandOutput,
|
|
4
|
-
} from "./commands/CreateEnvironmentEC2Command";
|
|
5
|
-
import {
|
|
6
|
-
CreateEnvironmentMembershipCommandInput,
|
|
7
|
-
CreateEnvironmentMembershipCommandOutput,
|
|
8
|
-
} from "./commands/CreateEnvironmentMembershipCommand";
|
|
9
|
-
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
10
|
-
import {
|
|
11
|
-
DeleteEnvironmentMembershipCommandInput,
|
|
12
|
-
DeleteEnvironmentMembershipCommandOutput,
|
|
13
|
-
} from "./commands/DeleteEnvironmentMembershipCommand";
|
|
14
|
-
import {
|
|
15
|
-
DescribeEnvironmentMembershipsCommandInput,
|
|
16
|
-
DescribeEnvironmentMembershipsCommandOutput,
|
|
17
|
-
} from "./commands/DescribeEnvironmentMembershipsCommand";
|
|
18
|
-
import {
|
|
19
|
-
DescribeEnvironmentStatusCommandInput,
|
|
20
|
-
DescribeEnvironmentStatusCommandOutput,
|
|
21
|
-
} from "./commands/DescribeEnvironmentStatusCommand";
|
|
22
|
-
import {
|
|
23
|
-
DescribeEnvironmentsCommandInput,
|
|
24
|
-
DescribeEnvironmentsCommandOutput,
|
|
25
|
-
} from "./commands/DescribeEnvironmentsCommand";
|
|
26
|
-
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
27
|
-
import {
|
|
28
|
-
ListTagsForResourceCommandInput,
|
|
29
|
-
ListTagsForResourceCommandOutput,
|
|
30
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
31
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
32
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
|
-
import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
|
|
34
|
-
import {
|
|
35
|
-
UpdateEnvironmentMembershipCommandInput,
|
|
36
|
-
UpdateEnvironmentMembershipCommandOutput,
|
|
37
|
-
} from "./commands/UpdateEnvironmentMembershipCommand";
|
|
38
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
39
|
-
import {
|
|
40
|
-
EndpointsInputConfig,
|
|
41
|
-
EndpointsResolvedConfig,
|
|
42
|
-
RegionInputConfig,
|
|
43
|
-
RegionResolvedConfig,
|
|
44
|
-
resolveEndpointsConfig,
|
|
45
|
-
resolveRegionConfig,
|
|
46
|
-
} from "@aws-sdk/config-resolver";
|
|
47
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
48
|
-
import {
|
|
49
|
-
HostHeaderInputConfig,
|
|
50
|
-
HostHeaderResolvedConfig,
|
|
51
|
-
getHostHeaderPlugin,
|
|
52
|
-
resolveHostHeaderConfig,
|
|
53
|
-
} from "@aws-sdk/middleware-host-header";
|
|
54
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
55
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
56
|
-
import {
|
|
57
|
-
AwsAuthInputConfig,
|
|
58
|
-
AwsAuthResolvedConfig,
|
|
59
|
-
getAwsAuthPlugin,
|
|
60
|
-
resolveAwsAuthConfig,
|
|
61
|
-
} from "@aws-sdk/middleware-signing";
|
|
62
|
-
import {
|
|
63
|
-
UserAgentInputConfig,
|
|
64
|
-
UserAgentResolvedConfig,
|
|
65
|
-
getUserAgentPlugin,
|
|
66
|
-
resolveUserAgentConfig,
|
|
67
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
68
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
69
|
-
import {
|
|
70
|
-
Client as __Client,
|
|
71
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
72
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
73
|
-
} from "@aws-sdk/smithy-client";
|
|
74
|
-
import {
|
|
75
|
-
Provider,
|
|
76
|
-
RegionInfoProvider,
|
|
77
|
-
Credentials as __Credentials,
|
|
78
|
-
Decoder as __Decoder,
|
|
79
|
-
Encoder as __Encoder,
|
|
80
|
-
Hash as __Hash,
|
|
81
|
-
HashConstructor as __HashConstructor,
|
|
82
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
83
|
-
Logger as __Logger,
|
|
84
|
-
Provider as __Provider,
|
|
85
|
-
StreamCollector as __StreamCollector,
|
|
86
|
-
UrlParser as __UrlParser,
|
|
87
|
-
UserAgent as __UserAgent,
|
|
88
|
-
} from "@aws-sdk/types";
|
|
89
|
-
|
|
90
|
-
export type ServiceInputTypes =
|
|
91
|
-
| CreateEnvironmentEC2CommandInput
|
|
92
|
-
| CreateEnvironmentMembershipCommandInput
|
|
93
|
-
| DeleteEnvironmentCommandInput
|
|
94
|
-
| DeleteEnvironmentMembershipCommandInput
|
|
95
|
-
| DescribeEnvironmentMembershipsCommandInput
|
|
96
|
-
| DescribeEnvironmentStatusCommandInput
|
|
97
|
-
| DescribeEnvironmentsCommandInput
|
|
98
|
-
| ListEnvironmentsCommandInput
|
|
99
|
-
| ListTagsForResourceCommandInput
|
|
100
|
-
| TagResourceCommandInput
|
|
101
|
-
| UntagResourceCommandInput
|
|
102
|
-
| UpdateEnvironmentCommandInput
|
|
103
|
-
| UpdateEnvironmentMembershipCommandInput;
|
|
104
|
-
|
|
105
|
-
export type ServiceOutputTypes =
|
|
106
|
-
| CreateEnvironmentEC2CommandOutput
|
|
107
|
-
| CreateEnvironmentMembershipCommandOutput
|
|
108
|
-
| DeleteEnvironmentCommandOutput
|
|
109
|
-
| DeleteEnvironmentMembershipCommandOutput
|
|
110
|
-
| DescribeEnvironmentMembershipsCommandOutput
|
|
111
|
-
| DescribeEnvironmentStatusCommandOutput
|
|
112
|
-
| DescribeEnvironmentsCommandOutput
|
|
113
|
-
| ListEnvironmentsCommandOutput
|
|
114
|
-
| ListTagsForResourceCommandOutput
|
|
115
|
-
| TagResourceCommandOutput
|
|
116
|
-
| UntagResourceCommandOutput
|
|
117
|
-
| UpdateEnvironmentCommandOutput
|
|
118
|
-
| UpdateEnvironmentMembershipCommandOutput;
|
|
119
|
-
|
|
120
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
121
|
-
/**
|
|
122
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
123
|
-
*/
|
|
124
|
-
requestHandler?: __HttpHandler;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
128
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
sha256?: __HashConstructor;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
urlParser?: __UrlParser;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* A function that can calculate the length of a request body.
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* A function that converts a stream into an array of bytes.
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
streamCollector?: __StreamCollector;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
base64Decoder?: __Decoder;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
|
-
base64Encoder?: __Encoder;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
|
-
utf8Decoder?: __Decoder;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
|
-
utf8Encoder?: __Encoder;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* The runtime environment.
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
179
|
-
runtime?: string;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
183
|
-
* trait of an operation.
|
|
184
|
-
*/
|
|
185
|
-
disableHostPrefix?: boolean;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
189
|
-
*/
|
|
190
|
-
maxAttempts?: number | __Provider<number>;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Specifies which retry algorithm to use.
|
|
194
|
-
*/
|
|
195
|
-
retryMode?: string | __Provider<string>;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* Optional logger for logging debug/info/warn/error.
|
|
199
|
-
*/
|
|
200
|
-
logger?: __Logger;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Unique service identifier.
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
serviceId?: string;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* The AWS region to which this client will send requests
|
|
210
|
-
*/
|
|
211
|
-
region?: string | __Provider<string>;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Default credentials provider; Not available in browser runtime.
|
|
215
|
-
* @internal
|
|
216
|
-
*/
|
|
217
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
type Cloud9ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
233
|
-
ClientDefaults &
|
|
234
|
-
RegionInputConfig &
|
|
235
|
-
EndpointsInputConfig &
|
|
236
|
-
RetryInputConfig &
|
|
237
|
-
HostHeaderInputConfig &
|
|
238
|
-
AwsAuthInputConfig &
|
|
239
|
-
UserAgentInputConfig;
|
|
240
|
-
/**
|
|
241
|
-
* The configuration interface of Cloud9Client class constructor that set the region, credentials and other options.
|
|
242
|
-
*/
|
|
243
|
-
export interface Cloud9ClientConfig extends Cloud9ClientConfigType {}
|
|
244
|
-
|
|
245
|
-
type Cloud9ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
246
|
-
Required<ClientDefaults> &
|
|
247
|
-
RegionResolvedConfig &
|
|
248
|
-
EndpointsResolvedConfig &
|
|
249
|
-
RetryResolvedConfig &
|
|
250
|
-
HostHeaderResolvedConfig &
|
|
251
|
-
AwsAuthResolvedConfig &
|
|
252
|
-
UserAgentResolvedConfig;
|
|
253
|
-
/**
|
|
254
|
-
* The resolved configuration interface of Cloud9Client class. This is resolved and normalized from the {@link Cloud9ClientConfig | constructor configuration interface}.
|
|
255
|
-
*/
|
|
256
|
-
export interface Cloud9ClientResolvedConfig extends Cloud9ClientResolvedConfigType {}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* <fullname>Cloud9</fullname>
|
|
260
|
-
* <p>Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and
|
|
261
|
-
* release software in the cloud.</p>
|
|
262
|
-
* <p>For more information about Cloud9, see the <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide">Cloud9 User Guide</a>.</p>
|
|
263
|
-
* <p>Cloud9 supports these operations:</p>
|
|
264
|
-
* <ul>
|
|
265
|
-
* <li>
|
|
266
|
-
* <p>
|
|
267
|
-
* <code>CreateEnvironmentEC2</code>: Creates an Cloud9 development environment, launches
|
|
268
|
-
* an Amazon EC2 instance, and then connects from the instance to the environment.</p>
|
|
269
|
-
* </li>
|
|
270
|
-
* <li>
|
|
271
|
-
* <p>
|
|
272
|
-
* <code>CreateEnvironmentMembership</code>: Adds an environment member to an
|
|
273
|
-
* environment.</p>
|
|
274
|
-
* </li>
|
|
275
|
-
* <li>
|
|
276
|
-
* <p>
|
|
277
|
-
* <code>DeleteEnvironment</code>: Deletes an environment. If an Amazon EC2 instance is
|
|
278
|
-
* connected to the environment, also terminates the instance.</p>
|
|
279
|
-
* </li>
|
|
280
|
-
* <li>
|
|
281
|
-
* <p>
|
|
282
|
-
* <code>DeleteEnvironmentMembership</code>: Deletes an environment member from an
|
|
283
|
-
* environment.</p>
|
|
284
|
-
* </li>
|
|
285
|
-
* <li>
|
|
286
|
-
* <p>
|
|
287
|
-
* <code>DescribeEnvironmentMemberships</code>: Gets information about environment
|
|
288
|
-
* members for an environment.</p>
|
|
289
|
-
* </li>
|
|
290
|
-
* <li>
|
|
291
|
-
* <p>
|
|
292
|
-
* <code>DescribeEnvironments</code>: Gets information about environments.</p>
|
|
293
|
-
* </li>
|
|
294
|
-
* <li>
|
|
295
|
-
* <p>
|
|
296
|
-
* <code>DescribeEnvironmentStatus</code>: Gets status information for an
|
|
297
|
-
* environment.</p>
|
|
298
|
-
* </li>
|
|
299
|
-
* <li>
|
|
300
|
-
* <p>
|
|
301
|
-
* <code>ListEnvironments</code>: Gets a list of environment identifiers.</p>
|
|
302
|
-
* </li>
|
|
303
|
-
* <li>
|
|
304
|
-
* <p>
|
|
305
|
-
* <code>ListTagsForResource</code>: Gets the tags for an environment.</p>
|
|
306
|
-
* </li>
|
|
307
|
-
* <li>
|
|
308
|
-
* <p>
|
|
309
|
-
* <code>TagResource</code>: Adds tags to an environment.</p>
|
|
310
|
-
* </li>
|
|
311
|
-
* <li>
|
|
312
|
-
* <p>
|
|
313
|
-
* <code>UntagResource</code>: Removes tags from an environment.</p>
|
|
314
|
-
* </li>
|
|
315
|
-
* <li>
|
|
316
|
-
* <p>
|
|
317
|
-
* <code>UpdateEnvironment</code>: Changes the settings of an existing
|
|
318
|
-
* environment.</p>
|
|
319
|
-
* </li>
|
|
320
|
-
* <li>
|
|
321
|
-
* <p>
|
|
322
|
-
* <code>UpdateEnvironmentMembership</code>: Changes the settings of an existing
|
|
323
|
-
* environment member for an environment.</p>
|
|
324
|
-
* </li>
|
|
325
|
-
* </ul>
|
|
326
|
-
*/
|
|
327
|
-
export class Cloud9Client extends __Client<
|
|
328
|
-
__HttpHandlerOptions,
|
|
329
|
-
ServiceInputTypes,
|
|
330
|
-
ServiceOutputTypes,
|
|
331
|
-
Cloud9ClientResolvedConfig
|
|
332
|
-
> {
|
|
333
|
-
/**
|
|
334
|
-
* The resolved configuration of Cloud9Client class. This is resolved and normalized from the {@link Cloud9ClientConfig | constructor configuration interface}.
|
|
335
|
-
*/
|
|
336
|
-
readonly config: Cloud9ClientResolvedConfig;
|
|
337
|
-
|
|
338
|
-
constructor(configuration: Cloud9ClientConfig) {
|
|
339
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
340
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
341
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
342
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
343
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
344
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
345
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
346
|
-
super(_config_6);
|
|
347
|
-
this.config = _config_6;
|
|
348
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
349
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
350
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
351
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
352
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
353
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
358
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
359
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
360
|
-
*/
|
|
361
|
-
destroy(): void {
|
|
362
|
-
super.destroy();
|
|
363
|
-
}
|
|
364
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
|
|
2
|
-
import { CreateEnvironmentEC2Request, CreateEnvironmentEC2Result } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateEnvironmentEC2Command,
|
|
5
|
-
serializeAws_json1_1CreateEnvironmentEC2Command,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateEnvironmentEC2CommandInput extends CreateEnvironmentEC2Request {}
|
|
21
|
-
export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2Result, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and
|
|
25
|
-
* then connects from the instance to the 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, CreateEnvironmentEC2Command } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
30
|
-
* // const { Cloud9Client, CreateEnvironmentEC2Command } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
31
|
-
* const client = new Cloud9Client(config);
|
|
32
|
-
* const command = new CreateEnvironmentEC2Command(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateEnvironmentEC2CommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateEnvironmentEC2CommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateEnvironmentEC2Command extends $Command<
|
|
42
|
-
CreateEnvironmentEC2CommandInput,
|
|
43
|
-
CreateEnvironmentEC2CommandOutput,
|
|
44
|
-
Cloud9ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateEnvironmentEC2CommandInput) {
|
|
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<CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput> {
|
|
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 = "CreateEnvironmentEC2Command";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateEnvironmentEC2Request.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateEnvironmentEC2Result.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: CreateEnvironmentEC2CommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1CreateEnvironmentEC2Command(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateEnvironmentEC2CommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1CreateEnvironmentEC2Command(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
|
|
2
|
-
import { CreateEnvironmentMembershipRequest, CreateEnvironmentMembershipResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateEnvironmentMembershipCommand,
|
|
5
|
-
serializeAws_json1_1CreateEnvironmentMembershipCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateEnvironmentMembershipCommandInput extends CreateEnvironmentMembershipRequest {}
|
|
21
|
-
export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironmentMembershipResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds an environment member to an Cloud9 development environment.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { Cloud9Client, CreateEnvironmentMembershipCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
29
|
-
* // const { Cloud9Client, CreateEnvironmentMembershipCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
30
|
-
* const client = new Cloud9Client(config);
|
|
31
|
-
* const command = new CreateEnvironmentMembershipCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateEnvironmentMembershipCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateEnvironmentMembershipCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateEnvironmentMembershipCommand extends $Command<
|
|
41
|
-
CreateEnvironmentMembershipCommandInput,
|
|
42
|
-
CreateEnvironmentMembershipCommandOutput,
|
|
43
|
-
Cloud9ClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateEnvironmentMembershipCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: Cloud9ClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "Cloud9Client";
|
|
68
|
-
const commandName = "CreateEnvironmentMembershipCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateEnvironmentMembershipRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateEnvironmentMembershipResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateEnvironmentMembershipCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1CreateEnvironmentMembershipCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<CreateEnvironmentMembershipCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1CreateEnvironmentMembershipCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Cloud9ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Cloud9Client";
|
|
2
|
-
import { DeleteEnvironmentRequest, DeleteEnvironmentResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteEnvironmentCommand,
|
|
5
|
-
serializeAws_json1_1DeleteEnvironmentCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest {}
|
|
21
|
-
export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the
|
|
25
|
-
* environment, also terminates the instance.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { Cloud9Client, DeleteEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import
|
|
30
|
-
* // const { Cloud9Client, DeleteEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import
|
|
31
|
-
* const client = new Cloud9Client(config);
|
|
32
|
-
* const command = new DeleteEnvironmentCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteEnvironmentCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link Cloud9ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteEnvironmentCommand extends $Command<
|
|
42
|
-
DeleteEnvironmentCommandInput,
|
|
43
|
-
DeleteEnvironmentCommandOutput,
|
|
44
|
-
Cloud9ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteEnvironmentCommandInput) {
|
|
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<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput> {
|
|
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 = "DeleteEnvironmentCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteEnvironmentRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteEnvironmentResult.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: DeleteEnvironmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeleteEnvironmentCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteEnvironmentCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DeleteEnvironmentCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|