@aws-sdk/client-cloud9 3.288.0 → 3.290.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.
@@ -30,6 +30,49 @@ export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2R
30
30
  * @see {@link CreateEnvironmentEC2CommandOutput} for command's `response` shape.
31
31
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
32
32
  *
33
+ * @throws {@link BadRequestException} (client fault)
34
+ * <p>The target request is invalid.</p>
35
+ *
36
+ * @throws {@link ConflictException} (client fault)
37
+ * <p>A conflict occurred.</p>
38
+ *
39
+ * @throws {@link ForbiddenException} (client fault)
40
+ * <p>An access permissions issue occurred.</p>
41
+ *
42
+ * @throws {@link InternalServerErrorException} (server fault)
43
+ * <p>An internal server error occurred.</p>
44
+ *
45
+ * @throws {@link LimitExceededException} (client fault)
46
+ * <p>A service limit was exceeded.</p>
47
+ *
48
+ * @throws {@link NotFoundException} (client fault)
49
+ * <p>The target resource cannot be found.</p>
50
+ *
51
+ * @throws {@link TooManyRequestsException} (client fault)
52
+ * <p>Too many service requests were made over the given time period.</p>
53
+ *
54
+ *
55
+ * @example CreateEnvironmentEC2
56
+ * ```javascript
57
+ * //
58
+ * const input = {
59
+ * "name": "my-demo-environment",
60
+ * "automaticStopTimeMinutes": 60,
61
+ * "description": "This is my demonstration environment.",
62
+ * "instanceType": "t2.micro",
63
+ * "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser",
64
+ * "subnetId": "subnet-6300cd1b"
65
+ * };
66
+ * const command = new CreateEnvironmentEC2Command(input);
67
+ * const response = await client.send(command);
68
+ * /* response ==
69
+ * {
70
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
71
+ * }
72
+ * *\/
73
+ * // example id: createenvironmentec2-1516821730547
74
+ * ```
75
+ *
33
76
  */
34
77
  export declare class CreateEnvironmentEC2Command extends $Command<CreateEnvironmentEC2CommandInput, CreateEnvironmentEC2CommandOutput, Cloud9ClientResolvedConfig> {
35
78
  readonly input: CreateEnvironmentEC2CommandInput;
@@ -29,6 +29,51 @@ export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironm
29
29
  * @see {@link CreateEnvironmentMembershipCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>A conflict occurred.</p>
37
+ *
38
+ * @throws {@link ForbiddenException} (client fault)
39
+ * <p>An access permissions issue occurred.</p>
40
+ *
41
+ * @throws {@link InternalServerErrorException} (server fault)
42
+ * <p>An internal server error occurred.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>A service limit was exceeded.</p>
46
+ *
47
+ * @throws {@link NotFoundException} (client fault)
48
+ * <p>The target resource cannot be found.</p>
49
+ *
50
+ * @throws {@link TooManyRequestsException} (client fault)
51
+ * <p>Too many service requests were made over the given time period.</p>
52
+ *
53
+ *
54
+ * @example CreateEnvironmentMembership
55
+ * ```javascript
56
+ * //
57
+ * const input = {
58
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
59
+ * "permissions": "read-write",
60
+ * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
61
+ * };
62
+ * const command = new CreateEnvironmentMembershipCommand(input);
63
+ * const response = await client.send(command);
64
+ * /* response ==
65
+ * {
66
+ * "membership": {
67
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
68
+ * "permissions": "read-write",
69
+ * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
70
+ * "userId": "AIDAJ3BA6O2FMJWCWXHEX"
71
+ * }
72
+ * }
73
+ * *\/
74
+ * // example id: createenvironmentmembership-1516822583452
75
+ * ```
76
+ *
32
77
  */
33
78
  export declare class CreateEnvironmentMembershipCommand extends $Command<CreateEnvironmentMembershipCommandInput, CreateEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig> {
34
79
  readonly input: CreateEnvironmentMembershipCommandInput;
@@ -30,6 +30,39 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult,
30
30
  * @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape.
31
31
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
32
32
  *
33
+ * @throws {@link BadRequestException} (client fault)
34
+ * <p>The target request is invalid.</p>
35
+ *
36
+ * @throws {@link ConflictException} (client fault)
37
+ * <p>A conflict occurred.</p>
38
+ *
39
+ * @throws {@link ForbiddenException} (client fault)
40
+ * <p>An access permissions issue occurred.</p>
41
+ *
42
+ * @throws {@link InternalServerErrorException} (server fault)
43
+ * <p>An internal server error occurred.</p>
44
+ *
45
+ * @throws {@link LimitExceededException} (client fault)
46
+ * <p>A service limit was exceeded.</p>
47
+ *
48
+ * @throws {@link NotFoundException} (client fault)
49
+ * <p>The target resource cannot be found.</p>
50
+ *
51
+ * @throws {@link TooManyRequestsException} (client fault)
52
+ * <p>Too many service requests were made over the given time period.</p>
53
+ *
54
+ *
55
+ * @example DeleteEnvironment
56
+ * ```javascript
57
+ * //
58
+ * const input = {
59
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
60
+ * };
61
+ * const command = new DeleteEnvironmentCommand(input);
62
+ * await client.send(command);
63
+ * // example id: deleteenvironment-1516822903149
64
+ * ```
65
+ *
33
66
  */
34
67
  export declare class DeleteEnvironmentCommand extends $Command<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, Cloud9ClientResolvedConfig> {
35
68
  readonly input: DeleteEnvironmentCommandInput;
@@ -29,6 +29,40 @@ export interface DeleteEnvironmentMembershipCommandOutput extends DeleteEnvironm
29
29
  * @see {@link DeleteEnvironmentMembershipCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>A conflict occurred.</p>
37
+ *
38
+ * @throws {@link ForbiddenException} (client fault)
39
+ * <p>An access permissions issue occurred.</p>
40
+ *
41
+ * @throws {@link InternalServerErrorException} (server fault)
42
+ * <p>An internal server error occurred.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>A service limit was exceeded.</p>
46
+ *
47
+ * @throws {@link NotFoundException} (client fault)
48
+ * <p>The target resource cannot be found.</p>
49
+ *
50
+ * @throws {@link TooManyRequestsException} (client fault)
51
+ * <p>Too many service requests were made over the given time period.</p>
52
+ *
53
+ *
54
+ * @example DeleteEnvironmentMembership
55
+ * ```javascript
56
+ * //
57
+ * const input = {
58
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
59
+ * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
60
+ * };
61
+ * const command = new DeleteEnvironmentMembershipCommand(input);
62
+ * await client.send(command);
63
+ * // example id: deleteenvironmentmembership-1516822975655
64
+ * ```
65
+ *
32
66
  */
33
67
  export declare class DeleteEnvironmentMembershipCommand extends $Command<DeleteEnvironmentMembershipCommandInput, DeleteEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig> {
34
68
  readonly input: DeleteEnvironmentMembershipCommandInput;
@@ -29,6 +29,114 @@ export interface DescribeEnvironmentMembershipsCommandOutput extends DescribeEnv
29
29
  * @see {@link DescribeEnvironmentMembershipsCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>A conflict occurred.</p>
37
+ *
38
+ * @throws {@link ForbiddenException} (client fault)
39
+ * <p>An access permissions issue occurred.</p>
40
+ *
41
+ * @throws {@link InternalServerErrorException} (server fault)
42
+ * <p>An internal server error occurred.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>A service limit was exceeded.</p>
46
+ *
47
+ * @throws {@link NotFoundException} (client fault)
48
+ * <p>The target resource cannot be found.</p>
49
+ *
50
+ * @throws {@link TooManyRequestsException} (client fault)
51
+ * <p>Too many service requests were made over the given time period.</p>
52
+ *
53
+ *
54
+ * @example DescribeEnvironmentMemberships1
55
+ * ```javascript
56
+ * // The following example gets information about all of the environment members for the specified development environment.
57
+ * const input = {
58
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
59
+ * };
60
+ * const command = new DescribeEnvironmentMembershipsCommand(input);
61
+ * const response = await client.send(command);
62
+ * /* response ==
63
+ * {
64
+ * "memberships": [
65
+ * {
66
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
67
+ * "permissions": "read-write",
68
+ * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
69
+ * "userId": "AIDAJ3BA6O2FMJWCWXHEX"
70
+ * },
71
+ * {
72
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
73
+ * "permissions": "owner",
74
+ * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
75
+ * "userId": "AIDAJNUEDQAQWFELJDLEX"
76
+ * }
77
+ * ]
78
+ * }
79
+ * *\/
80
+ * // example id: describeenvironmentmemberships1-1516823070453
81
+ * ```
82
+ *
83
+ * @example DescribeEnvironmentMemberships2
84
+ * ```javascript
85
+ * // The following example gets information about the owner of the specified development environment.
86
+ * const input = {
87
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
88
+ * "permissions": [
89
+ * "owner"
90
+ * ]
91
+ * };
92
+ * const command = new DescribeEnvironmentMembershipsCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response ==
95
+ * {
96
+ * "memberships": [
97
+ * {
98
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
99
+ * "permissions": "owner",
100
+ * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
101
+ * "userId": "AIDAJNUEDQAQWFELJDLEX"
102
+ * }
103
+ * ]
104
+ * }
105
+ * *\/
106
+ * // example id: describeenvironmentmemberships2-1516823191355
107
+ * ```
108
+ *
109
+ * @example DescribeEnvironmentMemberships3
110
+ * ```javascript
111
+ * // The following example gets development environment membership information for the specified user.
112
+ * const input = {
113
+ * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser"
114
+ * };
115
+ * const command = new DescribeEnvironmentMembershipsCommand(input);
116
+ * const response = await client.send(command);
117
+ * /* response ==
118
+ * {
119
+ * "memberships": [
120
+ * {
121
+ * "environmentId": "10a75714bd494714929e7f5ec4125aEX",
122
+ * "lastAccess": "2018-01-19T11:06:13Z",
123
+ * "permissions": "owner",
124
+ * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
125
+ * "userId": "AIDAJNUEDQAQWFELJDLEX"
126
+ * },
127
+ * {
128
+ * "environmentId": "12bfc3cd537f41cb9776f8af5525c9EX",
129
+ * "lastAccess": "2018-01-19T11:39:19Z",
130
+ * "permissions": "owner",
131
+ * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
132
+ * "userId": "AIDAJNUEDQAQWFELJDLEX"
133
+ * }
134
+ * ]
135
+ * }
136
+ * *\/
137
+ * // example id: describeenvironmentmemberships3-1516823268793
138
+ * ```
139
+ *
32
140
  */
33
141
  export declare class DescribeEnvironmentMembershipsCommand extends $Command<DescribeEnvironmentMembershipsCommandInput, DescribeEnvironmentMembershipsCommandOutput, Cloud9ClientResolvedConfig> {
34
142
  readonly input: DescribeEnvironmentMembershipsCommandInput;
@@ -29,6 +29,45 @@ export interface DescribeEnvironmentStatusCommandOutput extends DescribeEnvironm
29
29
  * @see {@link DescribeEnvironmentStatusCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>A conflict occurred.</p>
37
+ *
38
+ * @throws {@link ForbiddenException} (client fault)
39
+ * <p>An access permissions issue occurred.</p>
40
+ *
41
+ * @throws {@link InternalServerErrorException} (server fault)
42
+ * <p>An internal server error occurred.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>A service limit was exceeded.</p>
46
+ *
47
+ * @throws {@link NotFoundException} (client fault)
48
+ * <p>The target resource cannot be found.</p>
49
+ *
50
+ * @throws {@link TooManyRequestsException} (client fault)
51
+ * <p>Too many service requests were made over the given time period.</p>
52
+ *
53
+ *
54
+ * @example DescribeEnvironmentStatus
55
+ * ```javascript
56
+ * //
57
+ * const input = {
58
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
59
+ * };
60
+ * const command = new DescribeEnvironmentStatusCommand(input);
61
+ * const response = await client.send(command);
62
+ * /* response ==
63
+ * {
64
+ * "message": "Environment is ready to use",
65
+ * "status": "ready"
66
+ * }
67
+ * *\/
68
+ * // example id: describeenvironmentstatus-1516823462133
69
+ * ```
70
+ *
32
71
  */
33
72
  export declare class DescribeEnvironmentStatusCommand extends $Command<DescribeEnvironmentStatusCommandInput, DescribeEnvironmentStatusCommandOutput, Cloud9ClientResolvedConfig> {
34
73
  readonly input: DescribeEnvironmentStatusCommandInput;
@@ -29,6 +29,70 @@ export interface DescribeEnvironmentsCommandOutput extends DescribeEnvironmentsR
29
29
  * @see {@link DescribeEnvironmentsCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>A conflict occurred.</p>
37
+ *
38
+ * @throws {@link ForbiddenException} (client fault)
39
+ * <p>An access permissions issue occurred.</p>
40
+ *
41
+ * @throws {@link InternalServerErrorException} (server fault)
42
+ * <p>An internal server error occurred.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>A service limit was exceeded.</p>
46
+ *
47
+ * @throws {@link NotFoundException} (client fault)
48
+ * <p>The target resource cannot be found.</p>
49
+ *
50
+ * @throws {@link TooManyRequestsException} (client fault)
51
+ * <p>Too many service requests were made over the given time period.</p>
52
+ *
53
+ *
54
+ * @example DescribeEnvironments
55
+ * ```javascript
56
+ * //
57
+ * const input = {
58
+ * "environmentIds": [
59
+ * "8d9967e2f0624182b74e7690ad69ebEX",
60
+ * "349c86d4579e4e7298d500ff57a6b2EX"
61
+ * ]
62
+ * };
63
+ * const command = new DescribeEnvironmentsCommand(input);
64
+ * const response = await client.send(command);
65
+ * /* response ==
66
+ * {
67
+ * "environments": [
68
+ * {
69
+ * "name": "my-demo-environment",
70
+ * "type": "ec2",
71
+ * "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX",
72
+ * "description": "This is my demonstration environment.",
73
+ * "id": "8d9967e2f0624182b74e7690ad69ebEX",
74
+ * "lifecycle": {
75
+ * "status": "CREATED"
76
+ * },
77
+ * "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser"
78
+ * },
79
+ * {
80
+ * "name": "another-demo-environment",
81
+ * "type": "ssh",
82
+ * "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX",
83
+ * "description": "",
84
+ * "id": "349c86d4579e4e7298d500ff57a6b2EX",
85
+ * "lifecycle": {
86
+ * "status": "CREATED"
87
+ * },
88
+ * "ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser"
89
+ * }
90
+ * ]
91
+ * }
92
+ * *\/
93
+ * // example id: describeenvironments-1516823568291
94
+ * ```
95
+ *
32
96
  */
33
97
  export declare class DescribeEnvironmentsCommand extends $Command<DescribeEnvironmentsCommandInput, DescribeEnvironmentsCommandOutput, Cloud9ClientResolvedConfig> {
34
98
  readonly input: DescribeEnvironmentsCommandInput;
@@ -29,6 +29,45 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResult, _
29
29
  * @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>A conflict occurred.</p>
37
+ *
38
+ * @throws {@link ForbiddenException} (client fault)
39
+ * <p>An access permissions issue occurred.</p>
40
+ *
41
+ * @throws {@link InternalServerErrorException} (server fault)
42
+ * <p>An internal server error occurred.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>A service limit was exceeded.</p>
46
+ *
47
+ * @throws {@link NotFoundException} (client fault)
48
+ * <p>The target resource cannot be found.</p>
49
+ *
50
+ * @throws {@link TooManyRequestsException} (client fault)
51
+ * <p>Too many service requests were made over the given time period.</p>
52
+ *
53
+ *
54
+ * @example ListEnvironments
55
+ * ```javascript
56
+ * //
57
+ * const input = {};
58
+ * const command = new ListEnvironmentsCommand(input);
59
+ * const response = await client.send(command);
60
+ * /* response ==
61
+ * {
62
+ * "environmentIds": [
63
+ * "349c86d4579e4e7298d500ff57a6b2EX",
64
+ * "45a3da47af0840f2b0c0824f5ee232EX"
65
+ * ]
66
+ * }
67
+ * *\/
68
+ * // example id: listenvironments-1516823687205
69
+ * ```
70
+ *
32
71
  */
33
72
  export declare class ListEnvironmentsCommand extends $Command<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, Cloud9ClientResolvedConfig> {
34
73
  readonly input: ListEnvironmentsCommandInput;
@@ -29,6 +29,16 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link InternalServerErrorException} (server fault)
36
+ * <p>An internal server error occurred.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The target resource cannot be found.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, Cloud9ClientResolvedConfig> {
34
44
  readonly input: ListTagsForResourceCommandInput;
@@ -33,6 +33,19 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
33
33
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
34
34
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
35
35
  *
36
+ * @throws {@link BadRequestException} (client fault)
37
+ * <p>The target request is invalid.</p>
38
+ *
39
+ * @throws {@link ConcurrentAccessException} (client fault)
40
+ * <p>A concurrent access issue occurred.</p>
41
+ *
42
+ * @throws {@link InternalServerErrorException} (server fault)
43
+ * <p>An internal server error occurred.</p>
44
+ *
45
+ * @throws {@link NotFoundException} (client fault)
46
+ * <p>The target resource cannot be found.</p>
47
+ *
48
+ *
36
49
  */
37
50
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, Cloud9ClientResolvedConfig> {
38
51
  readonly input: TagResourceCommandInput;
@@ -29,6 +29,19 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConcurrentAccessException} (client fault)
36
+ * <p>A concurrent access issue occurred.</p>
37
+ *
38
+ * @throws {@link InternalServerErrorException} (server fault)
39
+ * <p>An internal server error occurred.</p>
40
+ *
41
+ * @throws {@link NotFoundException} (client fault)
42
+ * <p>The target resource cannot be found.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, Cloud9ClientResolvedConfig> {
34
47
  readonly input: UntagResourceCommandInput;
@@ -29,6 +29,41 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResult,
29
29
  * @see {@link UpdateEnvironmentCommandOutput} for command's `response` shape.
30
30
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequestException} (client fault)
33
+ * <p>The target request is invalid.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>A conflict occurred.</p>
37
+ *
38
+ * @throws {@link ForbiddenException} (client fault)
39
+ * <p>An access permissions issue occurred.</p>
40
+ *
41
+ * @throws {@link InternalServerErrorException} (server fault)
42
+ * <p>An internal server error occurred.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>A service limit was exceeded.</p>
46
+ *
47
+ * @throws {@link NotFoundException} (client fault)
48
+ * <p>The target resource cannot be found.</p>
49
+ *
50
+ * @throws {@link TooManyRequestsException} (client fault)
51
+ * <p>Too many service requests were made over the given time period.</p>
52
+ *
53
+ *
54
+ * @example UpdateEnvironment
55
+ * ```javascript
56
+ * //
57
+ * const input = {
58
+ * "name": "my-changed-demo-environment",
59
+ * "description": "This is my changed demonstration environment.",
60
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
61
+ * };
62
+ * const command = new UpdateEnvironmentCommand(input);
63
+ * await client.send(command);
64
+ * // example id: updateenvironment-1516823781910
65
+ * ```
66
+ *
32
67
  */
33
68
  export declare class UpdateEnvironmentCommand extends $Command<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput, Cloud9ClientResolvedConfig> {
34
69
  readonly input: UpdateEnvironmentCommandInput;
@@ -30,6 +30,51 @@ export interface UpdateEnvironmentMembershipCommandOutput extends UpdateEnvironm
30
30
  * @see {@link UpdateEnvironmentMembershipCommandOutput} for command's `response` shape.
31
31
  * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape.
32
32
  *
33
+ * @throws {@link BadRequestException} (client fault)
34
+ * <p>The target request is invalid.</p>
35
+ *
36
+ * @throws {@link ConflictException} (client fault)
37
+ * <p>A conflict occurred.</p>
38
+ *
39
+ * @throws {@link ForbiddenException} (client fault)
40
+ * <p>An access permissions issue occurred.</p>
41
+ *
42
+ * @throws {@link InternalServerErrorException} (server fault)
43
+ * <p>An internal server error occurred.</p>
44
+ *
45
+ * @throws {@link LimitExceededException} (client fault)
46
+ * <p>A service limit was exceeded.</p>
47
+ *
48
+ * @throws {@link NotFoundException} (client fault)
49
+ * <p>The target resource cannot be found.</p>
50
+ *
51
+ * @throws {@link TooManyRequestsException} (client fault)
52
+ * <p>Too many service requests were made over the given time period.</p>
53
+ *
54
+ *
55
+ * @example UpdateEnvironmentMembership
56
+ * ```javascript
57
+ * //
58
+ * const input = {
59
+ * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
60
+ * "permissions": "read-only",
61
+ * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
62
+ * };
63
+ * const command = new UpdateEnvironmentMembershipCommand(input);
64
+ * const response = await client.send(command);
65
+ * /* response ==
66
+ * {
67
+ * "membership": {
68
+ * "environmentId": "8d9967e2f0624182b74e7690ad69eb31",
69
+ * "permissions": "read-only",
70
+ * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
71
+ * "userId": "AIDAJ3BA6O2FMJWCWXHEX"
72
+ * }
73
+ * }
74
+ * *\/
75
+ * // example id: updateenvironmentmembership-1516823876645
76
+ * ```
77
+ *
33
78
  */
34
79
  export declare class UpdateEnvironmentMembershipCommand extends $Command<UpdateEnvironmentMembershipCommandInput, UpdateEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig> {
35
80
  readonly input: UpdateEnvironmentMembershipCommandInput;
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.288.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },