@aws-sdk/client-cloud9 3.325.0 → 3.327.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.
@@ -47,6 +47,10 @@ export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2R
47
47
  * };
48
48
  * const command = new CreateEnvironmentEC2Command(input);
49
49
  * const response = await client.send(command);
50
+ * // { // CreateEnvironmentEC2Result
51
+ * // environmentId: "STRING_VALUE",
52
+ * // };
53
+ *
50
54
  * ```
51
55
  *
52
56
  * @param CreateEnvironmentEC2CommandInput - {@link CreateEnvironmentEC2CommandInput}
@@ -76,6 +80,8 @@ export interface CreateEnvironmentEC2CommandOutput extends CreateEnvironmentEC2R
76
80
  * @throws {@link TooManyRequestsException} (client fault)
77
81
  * <p>Too many service requests were made over the given time period.</p>
78
82
  *
83
+ * @throws {@link Cloud9ServiceException}
84
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
79
85
  *
80
86
  * @example CreateEnvironmentEC2
81
87
  * ```javascript
@@ -33,6 +33,16 @@ export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironm
33
33
  * };
34
34
  * const command = new CreateEnvironmentMembershipCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // CreateEnvironmentMembershipResult
37
+ * // membership: { // EnvironmentMember
38
+ * // permissions: "owner" || "read-write" || "read-only", // required
39
+ * // userId: "STRING_VALUE", // required
40
+ * // userArn: "STRING_VALUE", // required
41
+ * // environmentId: "STRING_VALUE", // required
42
+ * // lastAccess: new Date("TIMESTAMP"),
43
+ * // },
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param CreateEnvironmentMembershipCommandInput - {@link CreateEnvironmentMembershipCommandInput}
@@ -62,6 +72,8 @@ export interface CreateEnvironmentMembershipCommandOutput extends CreateEnvironm
62
72
  * @throws {@link TooManyRequestsException} (client fault)
63
73
  * <p>Too many service requests were made over the given time period.</p>
64
74
  *
75
+ * @throws {@link Cloud9ServiceException}
76
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
65
77
  *
66
78
  * @example CreateEnvironmentMembership
67
79
  * ```javascript
@@ -32,6 +32,8 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult,
32
32
  * };
33
33
  * const command = new DeleteEnvironmentCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteEnvironmentCommandInput - {@link DeleteEnvironmentCommandInput}
@@ -61,6 +63,8 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult,
61
63
  * @throws {@link TooManyRequestsException} (client fault)
62
64
  * <p>Too many service requests were made over the given time period.</p>
63
65
  *
66
+ * @throws {@link Cloud9ServiceException}
67
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
64
68
  *
65
69
  * @example DeleteEnvironment
66
70
  * ```javascript
@@ -32,6 +32,8 @@ export interface DeleteEnvironmentMembershipCommandOutput extends DeleteEnvironm
32
32
  * };
33
33
  * const command = new DeleteEnvironmentMembershipCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteEnvironmentMembershipCommandInput - {@link DeleteEnvironmentMembershipCommandInput}
@@ -61,6 +63,8 @@ export interface DeleteEnvironmentMembershipCommandOutput extends DeleteEnvironm
61
63
  * @throws {@link TooManyRequestsException} (client fault)
62
64
  * <p>Too many service requests were made over the given time period.</p>
63
65
  *
66
+ * @throws {@link Cloud9ServiceException}
67
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
64
68
  *
65
69
  * @example DeleteEnvironmentMembership
66
70
  * ```javascript
@@ -37,6 +37,19 @@ export interface DescribeEnvironmentMembershipsCommandOutput extends DescribeEnv
37
37
  * };
38
38
  * const command = new DescribeEnvironmentMembershipsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // DescribeEnvironmentMembershipsResult
41
+ * // memberships: [ // EnvironmentMembersList
42
+ * // { // EnvironmentMember
43
+ * // permissions: "owner" || "read-write" || "read-only", // required
44
+ * // userId: "STRING_VALUE", // required
45
+ * // userArn: "STRING_VALUE", // required
46
+ * // environmentId: "STRING_VALUE", // required
47
+ * // lastAccess: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
40
53
  * ```
41
54
  *
42
55
  * @param DescribeEnvironmentMembershipsCommandInput - {@link DescribeEnvironmentMembershipsCommandInput}
@@ -66,6 +79,8 @@ export interface DescribeEnvironmentMembershipsCommandOutput extends DescribeEnv
66
79
  * @throws {@link TooManyRequestsException} (client fault)
67
80
  * <p>Too many service requests were made over the given time period.</p>
68
81
  *
82
+ * @throws {@link Cloud9ServiceException}
83
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
69
84
  *
70
85
  * @example DescribeEnvironmentMemberships1
71
86
  * ```javascript
@@ -31,6 +31,11 @@ export interface DescribeEnvironmentStatusCommandOutput extends DescribeEnvironm
31
31
  * };
32
32
  * const command = new DescribeEnvironmentStatusCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DescribeEnvironmentStatusResult
35
+ * // status: "error" || "creating" || "connecting" || "ready" || "stopping" || "stopped" || "deleting", // required
36
+ * // message: "STRING_VALUE", // required
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param DescribeEnvironmentStatusCommandInput - {@link DescribeEnvironmentStatusCommandInput}
@@ -60,6 +65,8 @@ export interface DescribeEnvironmentStatusCommandOutput extends DescribeEnvironm
60
65
  * @throws {@link TooManyRequestsException} (client fault)
61
66
  * <p>Too many service requests were made over the given time period.</p>
62
67
  *
68
+ * @throws {@link Cloud9ServiceException}
69
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
63
70
  *
64
71
  * @example DescribeEnvironmentStatus
65
72
  * ```javascript
@@ -33,6 +33,26 @@ export interface DescribeEnvironmentsCommandOutput extends DescribeEnvironmentsR
33
33
  * };
34
34
  * const command = new DescribeEnvironmentsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // DescribeEnvironmentsResult
37
+ * // environments: [ // EnvironmentList
38
+ * // { // Environment
39
+ * // id: "STRING_VALUE",
40
+ * // name: "STRING_VALUE",
41
+ * // description: "STRING_VALUE",
42
+ * // type: "ssh" || "ec2", // required
43
+ * // connectionType: "CONNECT_SSH" || "CONNECT_SSM",
44
+ * // arn: "STRING_VALUE", // required
45
+ * // ownerArn: "STRING_VALUE", // required
46
+ * // lifecycle: { // EnvironmentLifecycle
47
+ * // status: "CREATING" || "CREATED" || "CREATE_FAILED" || "DELETING" || "DELETE_FAILED",
48
+ * // reason: "STRING_VALUE",
49
+ * // failureResource: "STRING_VALUE",
50
+ * // },
51
+ * // managedCredentialsStatus: "ENABLED_ON_CREATE" || "ENABLED_BY_OWNER" || "DISABLED_BY_DEFAULT" || "DISABLED_BY_OWNER" || "DISABLED_BY_COLLABORATOR" || "PENDING_REMOVAL_BY_COLLABORATOR" || "PENDING_START_REMOVAL_BY_COLLABORATOR" || "PENDING_REMOVAL_BY_OWNER" || "PENDING_START_REMOVAL_BY_OWNER" || "FAILED_REMOVAL_BY_COLLABORATOR" || "FAILED_REMOVAL_BY_OWNER",
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
36
56
  * ```
37
57
  *
38
58
  * @param DescribeEnvironmentsCommandInput - {@link DescribeEnvironmentsCommandInput}
@@ -62,6 +82,8 @@ export interface DescribeEnvironmentsCommandOutput extends DescribeEnvironmentsR
62
82
  * @throws {@link TooManyRequestsException} (client fault)
63
83
  * <p>Too many service requests were made over the given time period.</p>
64
84
  *
85
+ * @throws {@link Cloud9ServiceException}
86
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
65
87
  *
66
88
  * @example DescribeEnvironments
67
89
  * ```javascript
@@ -32,6 +32,13 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResult, _
32
32
  * };
33
33
  * const command = new ListEnvironmentsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListEnvironmentsResult
36
+ * // nextToken: "STRING_VALUE",
37
+ * // environmentIds: [ // EnvironmentIdList
38
+ * // "STRING_VALUE",
39
+ * // ],
40
+ * // };
41
+ *
35
42
  * ```
36
43
  *
37
44
  * @param ListEnvironmentsCommandInput - {@link ListEnvironmentsCommandInput}
@@ -61,6 +68,8 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResult, _
61
68
  * @throws {@link TooManyRequestsException} (client fault)
62
69
  * <p>Too many service requests were made over the given time period.</p>
63
70
  *
71
+ * @throws {@link Cloud9ServiceException}
72
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
64
73
  *
65
74
  * @example ListEnvironments
66
75
  * ```javascript
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // Tags: [ // TagList
36
+ * // { // Tag
37
+ * // Key: "STRING_VALUE", // required
38
+ * // Value: "STRING_VALUE", // required
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -48,6 +57,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
48
57
  * @throws {@link NotFoundException} (client fault)
49
58
  * <p>The target resource cannot be found.</p>
50
59
  *
60
+ * @throws {@link Cloud9ServiceException}
61
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
51
62
  *
52
63
  */
53
64
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, Cloud9ClientResolvedConfig> {
@@ -41,6 +41,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
41
41
  * };
42
42
  * const command = new TagResourceCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // {};
45
+ *
44
46
  * ```
45
47
  *
46
48
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -61,6 +63,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
61
63
  * @throws {@link NotFoundException} (client fault)
62
64
  * <p>The target resource cannot be found.</p>
63
65
  *
66
+ * @throws {@link Cloud9ServiceException}
67
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
64
68
  *
65
69
  */
66
70
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, Cloud9ClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -54,6 +56,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
54
56
  * @throws {@link NotFoundException} (client fault)
55
57
  * <p>The target resource cannot be found.</p>
56
58
  *
59
+ * @throws {@link Cloud9ServiceException}
60
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
57
61
  *
58
62
  */
59
63
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, Cloud9ClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResult,
34
34
  * };
35
35
  * const command = new UpdateEnvironmentCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UpdateEnvironmentCommandInput - {@link UpdateEnvironmentCommandInput}
@@ -63,6 +65,8 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResult,
63
65
  * @throws {@link TooManyRequestsException} (client fault)
64
66
  * <p>Too many service requests were made over the given time period.</p>
65
67
  *
68
+ * @throws {@link Cloud9ServiceException}
69
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
66
70
  *
67
71
  * @example UpdateEnvironment
68
72
  * ```javascript
@@ -34,6 +34,16 @@ export interface UpdateEnvironmentMembershipCommandOutput extends UpdateEnvironm
34
34
  * };
35
35
  * const command = new UpdateEnvironmentMembershipCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // UpdateEnvironmentMembershipResult
38
+ * // membership: { // EnvironmentMember
39
+ * // permissions: "owner" || "read-write" || "read-only", // required
40
+ * // userId: "STRING_VALUE", // required
41
+ * // userArn: "STRING_VALUE", // required
42
+ * // environmentId: "STRING_VALUE", // required
43
+ * // lastAccess: new Date("TIMESTAMP"),
44
+ * // },
45
+ * // };
46
+ *
37
47
  * ```
38
48
  *
39
49
  * @param UpdateEnvironmentMembershipCommandInput - {@link UpdateEnvironmentMembershipCommandInput}
@@ -63,6 +73,8 @@ export interface UpdateEnvironmentMembershipCommandOutput extends UpdateEnvironm
63
73
  * @throws {@link TooManyRequestsException} (client fault)
64
74
  * <p>Too many service requests were made over the given time period.</p>
65
75
  *
76
+ * @throws {@link Cloud9ServiceException}
77
+ * <p>Base exception class for all service exceptions from Cloud9 service.</p>
66
78
  *
67
79
  * @example UpdateEnvironmentMembership
68
80
  * ```javascript
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.325.0",
4
+ "version": "3.327.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",