@aws-sdk/client-codecatalyst 3.316.0 → 3.319.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/README.md +10 -6
- package/dist-cjs/models/models_0.js +1 -5
- package/dist-es/models/models_0.js +0 -4
- package/dist-types/CodeCatalyst.d.ts +11 -7
- package/dist-types/CodeCatalystClient.d.ts +11 -7
- package/dist-types/commands/CreateAccessTokenCommand.d.ts +3 -2
- package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +2 -2
- package/dist-types/commands/ListAccessTokensCommand.d.ts +1 -1
- package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +3 -15
- package/dist-types/ts3.4/models/models_0.d.ts +0 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -9,11 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript CodeCatalyst Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<note>
|
|
13
|
-
<p>
|
|
14
|
-
<b>Amazon CodeCatalyst is in preview release and subject to change.</b>
|
|
15
|
-
</p>
|
|
16
|
-
</note>
|
|
17
12
|
<p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst
|
|
18
13
|
API to work with the following objects. </p>
|
|
19
14
|
<p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
|
|
@@ -54,6 +49,10 @@ repository.</p>
|
|
|
54
49
|
</li>
|
|
55
50
|
<li>
|
|
56
51
|
<p>
|
|
52
|
+
<a>GetSpace</a>, which returns information about a space.</p>
|
|
53
|
+
</li>
|
|
54
|
+
<li>
|
|
55
|
+
<p>
|
|
57
56
|
<a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
|
|
58
57
|
and the billing plan for the space.</p>
|
|
59
58
|
</li>
|
|
@@ -63,7 +62,7 @@ and the billing plan for the space.</p>
|
|
|
63
62
|
</li>
|
|
64
63
|
<li>
|
|
65
64
|
<p>
|
|
66
|
-
<a>ListDevEnvironments</a>, which
|
|
65
|
+
<a>ListDevEnvironments</a>, which retrieves a list of Dev Environments in a project.</p>
|
|
67
66
|
</li>
|
|
68
67
|
<li>
|
|
69
68
|
<p>
|
|
@@ -121,6 +120,11 @@ and the billing plan for the space.</p>
|
|
|
121
120
|
<a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p>
|
|
122
121
|
</li>
|
|
123
122
|
</ul>
|
|
123
|
+
<note>
|
|
124
|
+
<p>If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure your computer to work with Amazon CodeCatalyst and single sign-on (SSO).
|
|
125
|
+
For more information, see <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/set-up-cli.html">Setting up to use the CLI with Amazon CodeCatalyst</a>
|
|
126
|
+
and the SSO documentation for your SDK.</p>
|
|
127
|
+
</note>
|
|
124
128
|
|
|
125
129
|
## Installing
|
|
126
130
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartDevEnvironmentSessionResponseFilterSensitiveLog = exports.DevEnvironmentAccessDetailsFilterSensitiveLog = exports.CreateAccessTokenResponseFilterSensitiveLog = exports.FilterKey = exports.ComparisonOperator = exports.DevEnvironmentSessionType = exports.DevEnvironmentStatus = exports._InstanceType = exports.UserType = exports.OperationType = exports.
|
|
3
|
+
exports.StartDevEnvironmentSessionResponseFilterSensitiveLog = exports.DevEnvironmentAccessDetailsFilterSensitiveLog = exports.CreateAccessTokenResponseFilterSensitiveLog = exports.FilterKey = exports.ComparisonOperator = exports.DevEnvironmentSessionType = exports.DevEnvironmentStatus = exports._InstanceType = exports.UserType = exports.OperationType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const CodeCatalystServiceException_1 = require("./CodeCatalystServiceException");
|
|
6
6
|
class AccessDeniedException extends CodeCatalystServiceException_1.CodeCatalystServiceException {
|
|
@@ -82,10 +82,6 @@ class ValidationException extends CodeCatalystServiceException_1.CodeCatalystSer
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
exports.ValidationException = ValidationException;
|
|
85
|
-
exports.CatalogActionVersionFileRecordType = {
|
|
86
|
-
LICENSE: "LICENSE",
|
|
87
|
-
README: "README",
|
|
88
|
-
};
|
|
89
85
|
exports.OperationType = {
|
|
90
86
|
MUTATION: "MUTATION",
|
|
91
87
|
READONLY: "READONLY",
|
|
@@ -73,10 +73,6 @@ export class ValidationException extends __BaseException {
|
|
|
73
73
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
export const CatalogActionVersionFileRecordType = {
|
|
77
|
-
LICENSE: "LICENSE",
|
|
78
|
-
README: "README",
|
|
79
|
-
};
|
|
80
76
|
export const OperationType = {
|
|
81
77
|
MUTATION: "MUTATION",
|
|
82
78
|
READONLY: "READONLY",
|
|
@@ -179,12 +179,7 @@ export interface CodeCatalyst {
|
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
181
|
* @public
|
|
182
|
-
* <
|
|
183
|
-
* <p>
|
|
184
|
-
* <b>Amazon CodeCatalyst is in preview release and subject to change.</b>
|
|
185
|
-
* </p>
|
|
186
|
-
* </note>
|
|
187
|
-
* <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst
|
|
182
|
+
* <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst
|
|
188
183
|
* API to work with the following objects. </p>
|
|
189
184
|
* <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
|
|
190
185
|
* <ul>
|
|
@@ -224,6 +219,10 @@ export interface CodeCatalyst {
|
|
|
224
219
|
* </li>
|
|
225
220
|
* <li>
|
|
226
221
|
* <p>
|
|
222
|
+
* <a>GetSpace</a>, which returns information about a space.</p>
|
|
223
|
+
* </li>
|
|
224
|
+
* <li>
|
|
225
|
+
* <p>
|
|
227
226
|
* <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
|
|
228
227
|
* and the billing plan for the space.</p>
|
|
229
228
|
* </li>
|
|
@@ -233,7 +232,7 @@ export interface CodeCatalyst {
|
|
|
233
232
|
* </li>
|
|
234
233
|
* <li>
|
|
235
234
|
* <p>
|
|
236
|
-
* <a>ListDevEnvironments</a>, which
|
|
235
|
+
* <a>ListDevEnvironments</a>, which retrieves a list of Dev Environments in a project.</p>
|
|
237
236
|
* </li>
|
|
238
237
|
* <li>
|
|
239
238
|
* <p>
|
|
@@ -291,6 +290,11 @@ export interface CodeCatalyst {
|
|
|
291
290
|
* <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p>
|
|
292
291
|
* </li>
|
|
293
292
|
* </ul>
|
|
293
|
+
* <note>
|
|
294
|
+
* <p>If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure your computer to work with Amazon CodeCatalyst and single sign-on (SSO).
|
|
295
|
+
* For more information, see <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/set-up-cli.html">Setting up to use the CLI with Amazon CodeCatalyst</a>
|
|
296
|
+
* and the SSO documentation for your SDK.</p>
|
|
297
|
+
* </note>
|
|
294
298
|
*/
|
|
295
299
|
export declare class CodeCatalyst extends CodeCatalystClient implements CodeCatalyst {
|
|
296
300
|
}
|
|
@@ -159,12 +159,7 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* @public
|
|
162
|
-
* <
|
|
163
|
-
* <p>
|
|
164
|
-
* <b>Amazon CodeCatalyst is in preview release and subject to change.</b>
|
|
165
|
-
* </p>
|
|
166
|
-
* </note>
|
|
167
|
-
* <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst
|
|
162
|
+
* <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst
|
|
168
163
|
* API to work with the following objects. </p>
|
|
169
164
|
* <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
|
|
170
165
|
* <ul>
|
|
@@ -204,6 +199,10 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
204
199
|
* </li>
|
|
205
200
|
* <li>
|
|
206
201
|
* <p>
|
|
202
|
+
* <a>GetSpace</a>, which returns information about a space.</p>
|
|
203
|
+
* </li>
|
|
204
|
+
* <li>
|
|
205
|
+
* <p>
|
|
207
206
|
* <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
|
|
208
207
|
* and the billing plan for the space.</p>
|
|
209
208
|
* </li>
|
|
@@ -213,7 +212,7 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
213
212
|
* </li>
|
|
214
213
|
* <li>
|
|
215
214
|
* <p>
|
|
216
|
-
* <a>ListDevEnvironments</a>, which
|
|
215
|
+
* <a>ListDevEnvironments</a>, which retrieves a list of Dev Environments in a project.</p>
|
|
217
216
|
* </li>
|
|
218
217
|
* <li>
|
|
219
218
|
* <p>
|
|
@@ -271,6 +270,11 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
271
270
|
* <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p>
|
|
272
271
|
* </li>
|
|
273
272
|
* </ul>
|
|
273
|
+
* <note>
|
|
274
|
+
* <p>If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure your computer to work with Amazon CodeCatalyst and single sign-on (SSO).
|
|
275
|
+
* For more information, see <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/set-up-cli.html">Setting up to use the CLI with Amazon CodeCatalyst</a>
|
|
276
|
+
* and the SSO documentation for your SDK.</p>
|
|
277
|
+
* </note>
|
|
274
278
|
*/
|
|
275
279
|
export declare class CodeCatalystClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeCatalystClientResolvedConfig> {
|
|
276
280
|
/**
|
|
@@ -20,8 +20,9 @@ export interface CreateAccessTokenCommandOutput extends CreateAccessTokenRespons
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password.
|
|
23
|
-
* It is associated with your user
|
|
24
|
-
*
|
|
23
|
+
* It is associated with your user identity for use across all spaces and projects in Amazon CodeCatalyst. You use PATs to access CodeCatalyst
|
|
24
|
+
* from resources that include integrated development environments (IDEs) and Git-based source repositories.
|
|
25
|
+
* PATs represent you in Amazon CodeCatalyst and you can manage them in your user settings.For more information, see
|
|
25
26
|
* <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/ipa-tokens-keys.html">Managing personal access tokens in Amazon CodeCatalyst</a>.</p>
|
|
26
27
|
* @example
|
|
27
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -19,8 +19,8 @@ export interface CreateDevEnvironmentCommandOutput extends CreateDevEnvironmentR
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development
|
|
23
|
-
* </p>
|
|
22
|
+
* <p>Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored
|
|
23
|
+
* in the source repositories of your project. </p>
|
|
24
24
|
* <note>
|
|
25
25
|
* <p>When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these
|
|
26
26
|
* defaults apply to a Dev Environment created programmatically.</p>
|
|
@@ -19,7 +19,7 @@ export interface ListAccessTokensCommandOutput extends ListAccessTokensResponse,
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your
|
|
22
|
+
* <p>Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your Amazon Web Services Builder ID.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -19,7 +19,7 @@ export interface ListDevEnvironmentsCommandOutput extends ListDevEnvironmentsRes
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Retrieves a list of Dev Environments in a project.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -114,7 +114,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
114
114
|
*/
|
|
115
115
|
export interface DeleteAccessTokenRequest {
|
|
116
116
|
/**
|
|
117
|
-
* <p>The ID of the personal access token to delete. You can find the IDs of all PATs associated with your
|
|
117
|
+
* <p>The ID of the personal access token to delete. You can find the IDs of all PATs associated with your Amazon Web Services Builder ID in a space by calling <a>ListAccessTokens</a>.</p>
|
|
118
118
|
*/
|
|
119
119
|
id: string | undefined;
|
|
120
120
|
}
|
|
@@ -159,7 +159,7 @@ export interface AccessTokenSummary {
|
|
|
159
159
|
*/
|
|
160
160
|
export interface ListAccessTokensResponse {
|
|
161
161
|
/**
|
|
162
|
-
* <p>A list of personal access tokens (PATs) associated with the calling user.</p>
|
|
162
|
+
* <p>A list of personal access tokens (PATs) associated with the calling user identity.</p>
|
|
163
163
|
*/
|
|
164
164
|
items: AccessTokenSummary[] | undefined;
|
|
165
165
|
/**
|
|
@@ -167,18 +167,6 @@ export interface ListAccessTokensResponse {
|
|
|
167
167
|
*/
|
|
168
168
|
nextToken?: string;
|
|
169
169
|
}
|
|
170
|
-
/**
|
|
171
|
-
* @public
|
|
172
|
-
* @enum
|
|
173
|
-
*/
|
|
174
|
-
export declare const CatalogActionVersionFileRecordType: {
|
|
175
|
-
readonly LICENSE: "LICENSE";
|
|
176
|
-
readonly README: "README";
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* @public
|
|
180
|
-
*/
|
|
181
|
-
export type CatalogActionVersionFileRecordType = (typeof CatalogActionVersionFileRecordType)[keyof typeof CatalogActionVersionFileRecordType];
|
|
182
170
|
/**
|
|
183
171
|
* @public
|
|
184
172
|
*/
|
|
@@ -485,7 +473,7 @@ export interface ListSpacesResponse {
|
|
|
485
473
|
*/
|
|
486
474
|
nextToken?: string;
|
|
487
475
|
/**
|
|
488
|
-
* <p>Information about the
|
|
476
|
+
* <p>Information about the spaces. </p>
|
|
489
477
|
*/
|
|
490
478
|
items?: SpaceSummary[];
|
|
491
479
|
}
|
|
@@ -68,12 +68,6 @@ export interface ListAccessTokensResponse {
|
|
|
68
68
|
items: AccessTokenSummary[] | undefined;
|
|
69
69
|
nextToken?: string;
|
|
70
70
|
}
|
|
71
|
-
export declare const CatalogActionVersionFileRecordType: {
|
|
72
|
-
readonly LICENSE: "LICENSE";
|
|
73
|
-
readonly README: "README";
|
|
74
|
-
};
|
|
75
|
-
export type CatalogActionVersionFileRecordType =
|
|
76
|
-
(typeof CatalogActionVersionFileRecordType)[keyof typeof CatalogActionVersionFileRecordType];
|
|
77
71
|
export interface GetUserDetailsRequest {
|
|
78
72
|
id?: string;
|
|
79
73
|
userName?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codecatalyst",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codecatalyst Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.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",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@aws-sdk/middleware-retry": "3.310.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
35
35
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
36
|
-
"@aws-sdk/middleware-token": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
+
"@aws-sdk/middleware-token": "3.319.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
50
50
|
"@aws-sdk/util-retry": "3.310.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|