@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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/Cloud9.js +0 -70
- package/dist-cjs/Cloud9Client.js +0 -75
- package/dist-cjs/commands/CreateEnvironmentEC2Command.js +0 -26
- package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js +0 -25
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
- package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js +0 -25
- package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js +0 -25
- package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js +0 -25
- package/dist-cjs/commands/DescribeEnvironmentsCommand.js +0 -25
- package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -29
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -25
- package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js +0 -26
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -19
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -115
- package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Cloud9.js +0 -1
- package/dist-es/Cloud9Client.js +0 -1
- package/dist-es/commands/CreateEnvironmentEC2Command.js +0 -1
- package/dist-es/commands/CreateEnvironmentMembershipCommand.js +0 -1
- package/dist-es/commands/DeleteEnvironmentCommand.js +0 -1
- package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +0 -1
- package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +0 -1
- package/dist-es/commands/DescribeEnvironmentStatusCommand.js +0 -1
- package/dist-es/commands/DescribeEnvironmentsCommand.js +0 -1
- package/dist-es/commands/ListEnvironmentsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateEnvironmentCommand.js +0 -1
- package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +0 -1
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -19
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListEnvironmentsPaginator.js +0 -1
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +4 -18
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/Cloud9.d.ts +14 -115
- package/dist-types/ts3.4/Cloud9Client.d.ts +24 -155
- package/dist-types/ts3.4/commands/CreateEnvironmentEC2Command.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEnvironmentMembershipCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteEnvironmentMembershipCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEnvironmentMembershipsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEnvironmentStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEnvironmentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEnvironmentMembershipCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/index.d.ts +4 -18
- package/dist-types/ts3.4/models/models_0.d.ts +118 -629
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Cloud9.js.map +0 -1
- 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/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.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/Cloud9.ts +0 -552
- package/src/Cloud9Client.ts +0 -365
- package/src/commands/CreateEnvironmentEC2Command.ts +0 -96
- package/src/commands/CreateEnvironmentMembershipCommand.ts +0 -98
- package/src/commands/DeleteEnvironmentCommand.ts +0 -96
- package/src/commands/DeleteEnvironmentMembershipCommand.ts +0 -98
- package/src/commands/DescribeEnvironmentMembershipsCommand.ts +0 -103
- package/src/commands/DescribeEnvironmentStatusCommand.ts +0 -98
- package/src/commands/DescribeEnvironmentsCommand.ts +0 -95
- package/src/commands/ListEnvironmentsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -99
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateEnvironmentCommand.ts +0 -95
- package/src/commands/UpdateEnvironmentMembershipCommand.ts +0 -99
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -19
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1187
- package/src/pagination/DescribeEnvironmentMembershipsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListEnvironmentsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -2189
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- 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";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|