@aws-sdk/client-cloud9 3.775.0 → 3.782.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/dist-types/commands/CreateEnvironmentEC2Command.d.ts +11 -11
- package/dist-types/commands/CreateEnvironmentMembershipCommand.d.ts +11 -11
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +7 -4
- package/dist-types/commands/DeleteEnvironmentMembershipCommand.d.ts +8 -5
- package/dist-types/commands/DescribeEnvironmentMembershipsCommand.d.ts +44 -46
- package/dist-types/commands/DescribeEnvironmentStatusCommand.d.ts +6 -6
- package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +21 -21
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +5 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +9 -6
- package/dist-types/commands/UpdateEnvironmentMembershipCommand.d.ts +11 -11
- package/package.json +5 -5
|
@@ -97,29 +97,29 @@ declare const CreateEnvironmentEC2Command_base: {
|
|
|
97
97
|
* @throws {@link Cloud9ServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
99
99
|
*
|
|
100
|
-
*
|
|
100
|
+
*
|
|
101
101
|
* @example CreateEnvironmentEC2
|
|
102
102
|
* ```javascript
|
|
103
103
|
* //
|
|
104
104
|
* const input = {
|
|
105
|
-
*
|
|
106
|
-
* "
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
105
|
+
* automaticStopTimeMinutes: 60,
|
|
106
|
+
* description: "This is my demonstration environment.",
|
|
107
|
+
* imageId: "amazonlinux-2023-x86_64",
|
|
108
|
+
* instanceType: "t2.micro",
|
|
109
|
+
* name: "my-demo-environment",
|
|
110
|
+
* ownerArn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
|
111
|
+
* subnetId: "subnet-6300cd1b"
|
|
112
112
|
* };
|
|
113
113
|
* const command = new CreateEnvironmentEC2Command(input);
|
|
114
114
|
* const response = await client.send(command);
|
|
115
|
-
* /* response
|
|
115
|
+
* /* response is
|
|
116
116
|
* {
|
|
117
|
-
*
|
|
117
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
|
|
118
118
|
* }
|
|
119
119
|
* *\/
|
|
120
|
-
* // example id: createenvironmentec2-1516821730547
|
|
121
120
|
* ```
|
|
122
121
|
*
|
|
122
|
+
* @public
|
|
123
123
|
*/
|
|
124
124
|
export declare class CreateEnvironmentEC2Command extends CreateEnvironmentEC2Command_base {
|
|
125
125
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,30 +89,30 @@ declare const CreateEnvironmentMembershipCommand_base: {
|
|
|
89
89
|
* @throws {@link Cloud9ServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
91
91
|
*
|
|
92
|
-
*
|
|
92
|
+
*
|
|
93
93
|
* @example CreateEnvironmentMembership
|
|
94
94
|
* ```javascript
|
|
95
95
|
* //
|
|
96
96
|
* const input = {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
97
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
98
|
+
* permissions: "read-write",
|
|
99
|
+
* userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
|
100
100
|
* };
|
|
101
101
|
* const command = new CreateEnvironmentMembershipCommand(input);
|
|
102
102
|
* const response = await client.send(command);
|
|
103
|
-
* /* response
|
|
103
|
+
* /* response is
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
105
|
+
* membership: {
|
|
106
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
107
|
+
* permissions: "read-write",
|
|
108
|
+
* userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
|
109
|
+
* userId: "AIDAJ3BA6O2FMJWCWXHEX"
|
|
110
110
|
* }
|
|
111
111
|
* }
|
|
112
112
|
* *\/
|
|
113
|
-
* // example id: createenvironmentmembership-1516822583452
|
|
114
113
|
* ```
|
|
115
114
|
*
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
export declare class CreateEnvironmentMembershipCommand extends CreateEnvironmentMembershipCommand_base {
|
|
118
118
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -80,18 +80,21 @@ declare const DeleteEnvironmentCommand_base: {
|
|
|
80
80
|
* @throws {@link Cloud9ServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
*
|
|
84
84
|
* @example DeleteEnvironment
|
|
85
85
|
* ```javascript
|
|
86
86
|
* //
|
|
87
87
|
* const input = {
|
|
88
|
-
*
|
|
88
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
|
|
89
89
|
* };
|
|
90
90
|
* const command = new DeleteEnvironmentCommand(input);
|
|
91
|
-
* await client.send(command);
|
|
92
|
-
*
|
|
91
|
+
* const response = await client.send(command);
|
|
92
|
+
* /* response is
|
|
93
|
+
* { /* empty *\/ }
|
|
94
|
+
* *\/
|
|
93
95
|
* ```
|
|
94
96
|
*
|
|
97
|
+
* @public
|
|
95
98
|
*/
|
|
96
99
|
export declare class DeleteEnvironmentCommand extends DeleteEnvironmentCommand_base {
|
|
97
100
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -80,19 +80,22 @@ declare const DeleteEnvironmentMembershipCommand_base: {
|
|
|
80
80
|
* @throws {@link Cloud9ServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
*
|
|
84
84
|
* @example DeleteEnvironmentMembership
|
|
85
85
|
* ```javascript
|
|
86
86
|
* //
|
|
87
87
|
* const input = {
|
|
88
|
-
*
|
|
89
|
-
*
|
|
88
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
89
|
+
* userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
|
90
90
|
* };
|
|
91
91
|
* const command = new DeleteEnvironmentMembershipCommand(input);
|
|
92
|
-
* await client.send(command);
|
|
93
|
-
*
|
|
92
|
+
* const response = await client.send(command);
|
|
93
|
+
* /* response is
|
|
94
|
+
* { /* empty *\/ }
|
|
95
|
+
* *\/
|
|
94
96
|
* ```
|
|
95
97
|
*
|
|
98
|
+
* @public
|
|
96
99
|
*/
|
|
97
100
|
export declare class DeleteEnvironmentMembershipCommand extends DeleteEnvironmentMembershipCommand_base {
|
|
98
101
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -96,93 +96,91 @@ declare const DescribeEnvironmentMembershipsCommand_base: {
|
|
|
96
96
|
* @throws {@link Cloud9ServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
98
98
|
*
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
99
|
+
*
|
|
100
|
+
* @example DescribeEnvironmentMemberships2
|
|
101
101
|
* ```javascript
|
|
102
|
-
* // The following example gets information about
|
|
102
|
+
* // The following example gets information about the owner of the specified development environment.
|
|
103
103
|
* const input = {
|
|
104
|
-
*
|
|
104
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
105
|
+
* permissions: [
|
|
106
|
+
* "owner"
|
|
107
|
+
* ]
|
|
105
108
|
* };
|
|
106
109
|
* const command = new DescribeEnvironmentMembershipsCommand(input);
|
|
107
110
|
* const response = await client.send(command);
|
|
108
|
-
* /* response
|
|
111
|
+
* /* response is
|
|
109
112
|
* {
|
|
110
|
-
*
|
|
111
|
-
* {
|
|
112
|
-
* "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
|
113
|
-
* "permissions": "read-write",
|
|
114
|
-
* "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
|
115
|
-
* "userId": "AIDAJ3BA6O2FMJWCWXHEX"
|
|
116
|
-
* },
|
|
113
|
+
* memberships: [
|
|
117
114
|
* {
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
115
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
116
|
+
* permissions: "owner",
|
|
117
|
+
* userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
|
118
|
+
* userId: "AIDAJNUEDQAQWFELJDLEX"
|
|
122
119
|
* }
|
|
123
120
|
* ]
|
|
124
121
|
* }
|
|
125
122
|
* *\/
|
|
126
|
-
* // example id: describeenvironmentmemberships1-1516823070453
|
|
127
123
|
* ```
|
|
128
124
|
*
|
|
129
|
-
* @example
|
|
125
|
+
* @example DescribeEnvironmentMemberships3
|
|
130
126
|
* ```javascript
|
|
131
|
-
* // The following example gets
|
|
127
|
+
* // The following example gets development environment membership information for the specified user.
|
|
132
128
|
* const input = {
|
|
133
|
-
*
|
|
134
|
-
* "permissions": [
|
|
135
|
-
* "owner"
|
|
136
|
-
* ]
|
|
129
|
+
* userArn: "arn:aws:iam::123456789012:user/MyDemoUser"
|
|
137
130
|
* };
|
|
138
131
|
* const command = new DescribeEnvironmentMembershipsCommand(input);
|
|
139
132
|
* const response = await client.send(command);
|
|
140
|
-
* /* response
|
|
133
|
+
* /* response is
|
|
141
134
|
* {
|
|
142
|
-
*
|
|
135
|
+
* memberships: [
|
|
136
|
+
* {
|
|
137
|
+
* environmentId: "10a75714bd494714929e7f5ec4125aEX",
|
|
138
|
+
* lastAccess: "2018-01-19T11:06:13Z",
|
|
139
|
+
* permissions: "owner",
|
|
140
|
+
* userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
|
141
|
+
* userId: "AIDAJNUEDQAQWFELJDLEX"
|
|
142
|
+
* },
|
|
143
143
|
* {
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
144
|
+
* environmentId: "12bfc3cd537f41cb9776f8af5525c9EX",
|
|
145
|
+
* lastAccess: "2018-01-19T11:39:19Z",
|
|
146
|
+
* permissions: "owner",
|
|
147
|
+
* userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
|
148
|
+
* userId: "AIDAJNUEDQAQWFELJDLEX"
|
|
148
149
|
* }
|
|
149
150
|
* ]
|
|
150
151
|
* }
|
|
151
152
|
* *\/
|
|
152
|
-
* // example id: describeenvironmentmemberships2-1516823191355
|
|
153
153
|
* ```
|
|
154
154
|
*
|
|
155
|
-
* @example
|
|
155
|
+
* @example DescribeEnvironmentMemberships1
|
|
156
156
|
* ```javascript
|
|
157
|
-
* // The following example gets
|
|
157
|
+
* // The following example gets information about all of the environment members for the specified development environment.
|
|
158
158
|
* const input = {
|
|
159
|
-
*
|
|
159
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
|
|
160
160
|
* };
|
|
161
161
|
* const command = new DescribeEnvironmentMembershipsCommand(input);
|
|
162
162
|
* const response = await client.send(command);
|
|
163
|
-
* /* response
|
|
163
|
+
* /* response is
|
|
164
164
|
* {
|
|
165
|
-
*
|
|
165
|
+
* memberships: [
|
|
166
166
|
* {
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* "userId": "AIDAJNUEDQAQWFELJDLEX"
|
|
167
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
168
|
+
* permissions: "read-write",
|
|
169
|
+
* userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
|
170
|
+
* userId: "AIDAJ3BA6O2FMJWCWXHEX"
|
|
172
171
|
* },
|
|
173
172
|
* {
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* "userId": "AIDAJNUEDQAQWFELJDLEX"
|
|
173
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
174
|
+
* permissions: "owner",
|
|
175
|
+
* userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
|
176
|
+
* userId: "AIDAJNUEDQAQWFELJDLEX"
|
|
179
177
|
* }
|
|
180
178
|
* ]
|
|
181
179
|
* }
|
|
182
180
|
* *\/
|
|
183
|
-
* // example id: describeenvironmentmemberships3-1516823268793
|
|
184
181
|
* ```
|
|
185
182
|
*
|
|
183
|
+
* @public
|
|
186
184
|
*/
|
|
187
185
|
export declare class DescribeEnvironmentMembershipsCommand extends DescribeEnvironmentMembershipsCommand_base {
|
|
188
186
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,24 +82,24 @@ declare const DescribeEnvironmentStatusCommand_base: {
|
|
|
82
82
|
* @throws {@link Cloud9ServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example DescribeEnvironmentStatus
|
|
87
87
|
* ```javascript
|
|
88
88
|
* //
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
90
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
|
|
91
91
|
* };
|
|
92
92
|
* const command = new DescribeEnvironmentStatusCommand(input);
|
|
93
93
|
* const response = await client.send(command);
|
|
94
|
-
* /* response
|
|
94
|
+
* /* response is
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
96
|
+
* message: "Environment is ready to use",
|
|
97
|
+
* status: "ready"
|
|
98
98
|
* }
|
|
99
99
|
* *\/
|
|
100
|
-
* // example id: describeenvironmentstatus-1516823462133
|
|
101
100
|
* ```
|
|
102
101
|
*
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
export declare class DescribeEnvironmentStatusCommand extends DescribeEnvironmentStatusCommand_base {
|
|
105
105
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -99,49 +99,49 @@ declare const DescribeEnvironmentsCommand_base: {
|
|
|
99
99
|
* @throws {@link Cloud9ServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
*
|
|
103
103
|
* @example DescribeEnvironments
|
|
104
104
|
* ```javascript
|
|
105
105
|
* //
|
|
106
106
|
* const input = {
|
|
107
|
-
*
|
|
107
|
+
* environmentIds: [
|
|
108
108
|
* "8d9967e2f0624182b74e7690ad69ebEX",
|
|
109
109
|
* "349c86d4579e4e7298d500ff57a6b2EX"
|
|
110
110
|
* ]
|
|
111
111
|
* };
|
|
112
112
|
* const command = new DescribeEnvironmentsCommand(input);
|
|
113
113
|
* const response = await client.send(command);
|
|
114
|
-
* /* response
|
|
114
|
+
* /* response is
|
|
115
115
|
* {
|
|
116
|
-
*
|
|
116
|
+
* environments: [
|
|
117
117
|
* {
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* "lifecycle": {
|
|
124
|
-
* "status": "CREATED"
|
|
118
|
+
* arn: "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX",
|
|
119
|
+
* description: "This is my demonstration environment.",
|
|
120
|
+
* id: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
121
|
+
* lifecycle: {
|
|
122
|
+
* status: "CREATED"
|
|
125
123
|
* },
|
|
126
|
-
*
|
|
124
|
+
* name: "my-demo-environment",
|
|
125
|
+
* ownerArn: "arn:aws:iam::123456789012:user/MyDemoUser",
|
|
126
|
+
* type: "ec2"
|
|
127
127
|
* },
|
|
128
128
|
* {
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
* "lifecycle": {
|
|
135
|
-
* "status": "CREATED"
|
|
129
|
+
* arn: "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX",
|
|
130
|
+
* description: "",
|
|
131
|
+
* id: "349c86d4579e4e7298d500ff57a6b2EX",
|
|
132
|
+
* lifecycle: {
|
|
133
|
+
* status: "CREATED"
|
|
136
134
|
* },
|
|
137
|
-
*
|
|
135
|
+
* name: "another-demo-environment",
|
|
136
|
+
* ownerArn: "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser",
|
|
137
|
+
* type: "ssh"
|
|
138
138
|
* }
|
|
139
139
|
* ]
|
|
140
140
|
* }
|
|
141
141
|
* *\/
|
|
142
|
-
* // example id: describeenvironments-1516823568291
|
|
143
142
|
* ```
|
|
144
143
|
*
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export declare class DescribeEnvironmentsCommand extends DescribeEnvironmentsCommand_base {
|
|
147
147
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -91,24 +91,24 @@ declare const ListEnvironmentsCommand_base: {
|
|
|
91
91
|
* @throws {@link Cloud9ServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
*
|
|
95
95
|
* @example ListEnvironments
|
|
96
96
|
* ```javascript
|
|
97
97
|
* //
|
|
98
|
-
* const input = {};
|
|
98
|
+
* const input = { /* empty *\/ };
|
|
99
99
|
* const command = new ListEnvironmentsCommand(input);
|
|
100
100
|
* const response = await client.send(command);
|
|
101
|
-
* /* response
|
|
101
|
+
* /* response is
|
|
102
102
|
* {
|
|
103
|
-
*
|
|
103
|
+
* environmentIds: [
|
|
104
104
|
* "349c86d4579e4e7298d500ff57a6b2EX",
|
|
105
105
|
* "45a3da47af0840f2b0c0824f5ee232EX"
|
|
106
106
|
* ]
|
|
107
107
|
* }
|
|
108
108
|
* *\/
|
|
109
|
-
* // example id: listenvironments-1516823687205
|
|
110
109
|
* ```
|
|
111
110
|
*
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
export declare class ListEnvironmentsCommand extends ListEnvironmentsCommand_base {
|
|
114
114
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,6 +74,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
74
74
|
* @throws {@link Cloud9ServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const TagResourceCommand_base: {
|
|
|
80
80
|
* @throws {@link Cloud9ServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const UntagResourceCommand_base: {
|
|
|
73
73
|
* @throws {@link Cloud9ServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -82,20 +82,23 @@ declare const UpdateEnvironmentCommand_base: {
|
|
|
82
82
|
* @throws {@link Cloud9ServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example UpdateEnvironment
|
|
87
87
|
* ```javascript
|
|
88
88
|
* //
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
90
|
+
* description: "This is my changed demonstration environment.",
|
|
91
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
92
|
+
* name: "my-changed-demo-environment"
|
|
93
93
|
* };
|
|
94
94
|
* const command = new UpdateEnvironmentCommand(input);
|
|
95
|
-
* await client.send(command);
|
|
96
|
-
*
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* /* response is
|
|
97
|
+
* { /* empty *\/ }
|
|
98
|
+
* *\/
|
|
97
99
|
* ```
|
|
98
100
|
*
|
|
101
|
+
* @public
|
|
99
102
|
*/
|
|
100
103
|
export declare class UpdateEnvironmentCommand extends UpdateEnvironmentCommand_base {
|
|
101
104
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,30 +90,30 @@ declare const UpdateEnvironmentMembershipCommand_base: {
|
|
|
90
90
|
* @throws {@link Cloud9ServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from Cloud9 service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example UpdateEnvironmentMembership
|
|
95
95
|
* ```javascript
|
|
96
96
|
* //
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
98
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
|
|
99
|
+
* permissions: "read-only",
|
|
100
|
+
* userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
|
101
101
|
* };
|
|
102
102
|
* const command = new UpdateEnvironmentMembershipCommand(input);
|
|
103
103
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
104
|
+
* /* response is
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
106
|
+
* membership: {
|
|
107
|
+
* environmentId: "8d9967e2f0624182b74e7690ad69eb31",
|
|
108
|
+
* permissions: "read-only",
|
|
109
|
+
* userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
|
110
|
+
* userId: "AIDAJ3BA6O2FMJWCWXHEX"
|
|
111
111
|
* }
|
|
112
112
|
* }
|
|
113
113
|
* *\/
|
|
114
|
-
* // example id: updateenvironmentmembership-1516823876645
|
|
115
114
|
* ```
|
|
116
115
|
*
|
|
116
|
+
* @public
|
|
117
117
|
*/
|
|
118
118
|
export declare class UpdateEnvironmentMembershipCommand extends UpdateEnvironmentMembershipCommand_base {
|
|
119
119
|
/** @internal type navigation helper, not in runtime. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloud9",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloud9 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.782.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloud9",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|