@aws-sdk/client-codecatalyst 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultCodeCatalystHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2022-09-28",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.codecatalyst",
30
+ errorTypeRegistries,
29
31
  version: "2022-09-28",
30
32
  serviceTarget: "CodeCatalyst",
31
33
  },
@@ -235,7 +235,7 @@ const _rP = "requestPayload";
235
235
  const _rPe = "responsePayload";
236
236
  const _re = "ref";
237
237
  const _ru = "runtime";
238
- const _s = "secret";
238
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codecatalyst";
239
239
  const _sB = "sortBy";
240
240
  const _sBN = "sourceBranchName";
241
241
  const _sC = "sessionConfiguration";
@@ -251,7 +251,7 @@ const _sTt = "startedTime";
251
251
  const _sTta = "startTime";
252
252
  const _sTu = "subscriptionType";
253
253
  const _sU = "streamUrl";
254
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.codecatalyst";
254
+ const _se = "secret";
255
255
  const _st = "status";
256
256
  const _tV = "tokenValue";
257
257
  const _uA = "userAgent";
@@ -269,25 +269,57 @@ const n0 = "com.amazonaws.codecatalyst";
269
269
  import { TypeRegistry } from "@smithy/core/schema";
270
270
  import { CodeCatalystServiceException } from "../models/CodeCatalystServiceException";
271
271
  import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
272
- var AccessTokenSecret = [0, n0, _ATS, 8, 0];
273
- var SensitiveString = [0, n0, _SS, 8, 0];
272
+ const _s_registry = TypeRegistry.for(_s);
273
+ export var CodeCatalystServiceException$ = [-3, _s, "CodeCatalystServiceException", 0, [], []];
274
+ _s_registry.registerError(CodeCatalystServiceException$, CodeCatalystServiceException);
275
+ const n0_registry = TypeRegistry.for(n0);
274
276
  export var AccessDeniedException$ = [-3, n0, _ADE,
275
277
  { [_e]: _c, [_hE]: 403 },
276
278
  [_m],
277
279
  [0], 1
278
280
  ];
279
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
280
- export var AccessTokenSummary$ = [3, n0, _ATSc,
281
- 0,
282
- [_i, _n, _eT],
283
- [0, 0, 5], 2
284
- ];
281
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
285
282
  export var ConflictException$ = [-3, n0, _CE,
286
283
  { [_e]: _c, [_hE]: 409 },
287
284
  [_m],
288
285
  [0], 1
289
286
  ];
290
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
287
+ n0_registry.registerError(ConflictException$, ConflictException);
288
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
289
+ { [_e]: _c, [_hE]: 404 },
290
+ [_m],
291
+ [0], 1
292
+ ];
293
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
294
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
295
+ { [_e]: _c, [_hE]: 402 },
296
+ [_m],
297
+ [0], 1
298
+ ];
299
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
300
+ export var ThrottlingException$ = [-3, n0, _TE,
301
+ { [_e]: _c, [_hE]: 429 },
302
+ [_m],
303
+ [0], 1
304
+ ];
305
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
306
+ export var ValidationException$ = [-3, n0, _VE,
307
+ { [_e]: _c, [_hE]: 400 },
308
+ [_m],
309
+ [0], 1
310
+ ];
311
+ n0_registry.registerError(ValidationException$, ValidationException);
312
+ export const errorTypeRegistries = [
313
+ _s_registry,
314
+ n0_registry,
315
+ ];
316
+ var AccessTokenSecret = [0, n0, _ATS, 8, 0];
317
+ var SensitiveString = [0, n0, _SS, 8, 0];
318
+ export var AccessTokenSummary$ = [3, n0, _ATSc,
319
+ 0,
320
+ [_i, _n, _eT],
321
+ [0, 0, 5], 2
322
+ ];
291
323
  export var CreateAccessTokenRequest$ = [3, n0, _CATR,
292
324
  0,
293
325
  [_n, _eT],
@@ -295,7 +327,7 @@ export var CreateAccessTokenRequest$ = [3, n0, _CATR,
295
327
  ];
296
328
  export var CreateAccessTokenResponse$ = [3, n0, _CATRr,
297
329
  0,
298
- [_s, _n, _eT, _aTI],
330
+ [_se, _n, _eT, _aTI],
299
331
  [[() => AccessTokenSecret, 0], 0, 5, 0], 4
300
332
  ];
301
333
  export var CreateDevEnvironmentRequest$ = [3, n0, _CDER,
@@ -678,18 +710,6 @@ export var RepositoryInput$ = [3, n0, _RI,
678
710
  [_rN, _bN],
679
711
  [0, 0], 1
680
712
  ];
681
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
682
- { [_e]: _c, [_hE]: 404 },
683
- [_m],
684
- [0], 1
685
- ];
686
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
687
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
688
- { [_e]: _c, [_hE]: 402 },
689
- [_m],
690
- [0], 1
691
- ];
692
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
693
713
  export var SpaceSummary$ = [3, n0, _SSp,
694
714
  0,
695
715
  [_n, _rNe, _dN, _d],
@@ -745,12 +765,6 @@ export var StopDevEnvironmentSessionResponse$ = [3, n0, _SDESRtop,
745
765
  [_sN, _pN, _i, _sI],
746
766
  [0, 0, 0, 0], 4
747
767
  ];
748
- export var ThrottlingException$ = [-3, n0, _TE,
749
- { [_e]: _c, [_hE]: 429 },
750
- [_m],
751
- [0], 1
752
- ];
753
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
754
768
  export var UpdateDevEnvironmentRequest$ = [3, n0, _UDER,
755
769
  0,
756
770
  [_sN, _pN, _i, _a, _id, _iT, _iTM, _cT],
@@ -786,12 +800,6 @@ export var UserIdentity$ = [3, n0, _UI,
786
800
  [_uT, _pIri, _uN, _aAI],
787
801
  [0, 0, 0, 0], 2
788
802
  ];
789
- export var ValidationException$ = [-3, n0, _VE,
790
- { [_e]: _c, [_hE]: 400 },
791
- [_m],
792
- [0], 1
793
- ];
794
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
795
803
  export var VerifySessionResponse$ = [3, n0, _VSR,
796
804
  0,
797
805
  [_ide],
@@ -833,8 +841,6 @@ export var WorkflowSummary$ = [3, n0, _WS,
833
841
  [0, 0, 0, 0, () => WorkflowDefinitionSummary$, 5, 5, 0, 0], 9
834
842
  ];
835
843
  var __Unit = "unit";
836
- export var CodeCatalystServiceException$ = [-3, _sm, "CodeCatalystServiceException", 0, [], []];
837
- TypeRegistry.for(_sm).registerError(CodeCatalystServiceException$, CodeCatalystServiceException);
838
844
  var AccessTokenSummaries = [1, n0, _ATScc,
839
845
  0, () => AccessTokenSummary$
840
846
  ];
@@ -1,7 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var CodeCatalystServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
3
- export declare var AccessTokenSummary$: StaticStructureSchema;
4
5
  export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
8
+ export declare var ThrottlingException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var AccessTokenSummary$: StaticStructureSchema;
5
17
  export declare var CreateAccessTokenRequest$: StaticStructureSchema;
6
18
  export declare var CreateAccessTokenResponse$: StaticStructureSchema;
7
19
  export declare var CreateDevEnvironmentRequest$: StaticStructureSchema;
@@ -80,8 +92,6 @@ export declare var ProjectInformation$: StaticStructureSchema;
80
92
  export declare var ProjectListFilter$: StaticStructureSchema;
81
93
  export declare var ProjectSummary$: StaticStructureSchema;
82
94
  export declare var RepositoryInput$: StaticStructureSchema;
83
- export declare var ResourceNotFoundException$: StaticErrorSchema;
84
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
85
95
  export declare var SpaceSummary$: StaticStructureSchema;
86
96
  export declare var StartDevEnvironmentRequest$: StaticStructureSchema;
87
97
  export declare var StartDevEnvironmentResponse$: StaticStructureSchema;
@@ -93,7 +103,6 @@ export declare var StopDevEnvironmentRequest$: StaticStructureSchema;
93
103
  export declare var StopDevEnvironmentResponse$: StaticStructureSchema;
94
104
  export declare var StopDevEnvironmentSessionRequest$: StaticStructureSchema;
95
105
  export declare var StopDevEnvironmentSessionResponse$: StaticStructureSchema;
96
- export declare var ThrottlingException$: StaticErrorSchema;
97
106
  export declare var UpdateDevEnvironmentRequest$: StaticStructureSchema;
98
107
  export declare var UpdateDevEnvironmentResponse$: StaticStructureSchema;
99
108
  export declare var UpdateProjectRequest$: StaticStructureSchema;
@@ -101,7 +110,6 @@ export declare var UpdateProjectResponse$: StaticStructureSchema;
101
110
  export declare var UpdateSpaceRequest$: StaticStructureSchema;
102
111
  export declare var UpdateSpaceResponse$: StaticStructureSchema;
103
112
  export declare var UserIdentity$: StaticStructureSchema;
104
- export declare var ValidationException$: StaticErrorSchema;
105
113
  export declare var VerifySessionResponse$: StaticStructureSchema;
106
114
  export declare var WorkflowDefinition$: StaticStructureSchema;
107
115
  export declare var WorkflowDefinitionSummary$: StaticStructureSchema;
@@ -110,7 +118,6 @@ export declare var WorkflowRunStatusReason$: StaticStructureSchema;
110
118
  export declare var WorkflowRunSummary$: StaticStructureSchema;
111
119
  export declare var WorkflowSortCriteria$: StaticStructureSchema;
112
120
  export declare var WorkflowSummary$: StaticStructureSchema;
113
- export declare var CodeCatalystServiceException$: StaticErrorSchema;
114
121
  export declare var CreateAccessToken$: StaticOperationSchema;
115
122
  export declare var CreateDevEnvironment$: StaticOperationSchema;
116
123
  export declare var CreateProject$: StaticOperationSchema;
@@ -1,11 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var CodeCatalystServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
7
- export declare var AccessTokenSummary$: StaticStructureSchema;
8
9
  export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
15
+ export declare var AccessTokenSummary$: StaticStructureSchema;
9
16
  export declare var CreateAccessTokenRequest$: StaticStructureSchema;
10
17
  export declare var CreateAccessTokenResponse$: StaticStructureSchema;
11
18
  export declare var CreateDevEnvironmentRequest$: StaticStructureSchema;
@@ -84,8 +91,6 @@ export declare var ProjectInformation$: StaticStructureSchema;
84
91
  export declare var ProjectListFilter$: StaticStructureSchema;
85
92
  export declare var ProjectSummary$: StaticStructureSchema;
86
93
  export declare var RepositoryInput$: StaticStructureSchema;
87
- export declare var ResourceNotFoundException$: StaticErrorSchema;
88
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
89
94
  export declare var SpaceSummary$: StaticStructureSchema;
90
95
  export declare var StartDevEnvironmentRequest$: StaticStructureSchema;
91
96
  export declare var StartDevEnvironmentResponse$: StaticStructureSchema;
@@ -97,7 +102,6 @@ export declare var StopDevEnvironmentRequest$: StaticStructureSchema;
97
102
  export declare var StopDevEnvironmentResponse$: StaticStructureSchema;
98
103
  export declare var StopDevEnvironmentSessionRequest$: StaticStructureSchema;
99
104
  export declare var StopDevEnvironmentSessionResponse$: StaticStructureSchema;
100
- export declare var ThrottlingException$: StaticErrorSchema;
101
105
  export declare var UpdateDevEnvironmentRequest$: StaticStructureSchema;
102
106
  export declare var UpdateDevEnvironmentResponse$: StaticStructureSchema;
103
107
  export declare var UpdateProjectRequest$: StaticStructureSchema;
@@ -105,7 +109,6 @@ export declare var UpdateProjectResponse$: StaticStructureSchema;
105
109
  export declare var UpdateSpaceRequest$: StaticStructureSchema;
106
110
  export declare var UpdateSpaceResponse$: StaticStructureSchema;
107
111
  export declare var UserIdentity$: StaticStructureSchema;
108
- export declare var ValidationException$: StaticErrorSchema;
109
112
  export declare var VerifySessionResponse$: StaticStructureSchema;
110
113
  export declare var WorkflowDefinition$: StaticStructureSchema;
111
114
  export declare var WorkflowDefinitionSummary$: StaticStructureSchema;
@@ -114,7 +117,6 @@ export declare var WorkflowRunStatusReason$: StaticStructureSchema;
114
117
  export declare var WorkflowRunSummary$: StaticStructureSchema;
115
118
  export declare var WorkflowSortCriteria$: StaticStructureSchema;
116
119
  export declare var WorkflowSummary$: StaticStructureSchema;
117
- export declare var CodeCatalystServiceException$: StaticErrorSchema;
118
120
  export declare var CreateAccessToken$: StaticOperationSchema;
119
121
  export declare var CreateDevEnvironment$: StaticOperationSchema;
120
122
  export declare var CreateProject$: StaticOperationSchema;
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.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codecatalyst",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
24
+ "@aws-sdk/core": "^3.973.9",
25
25
  "@aws-sdk/middleware-host-header": "^3.972.3",
26
26
  "@aws-sdk/middleware-logger": "^3.972.3",
27
27
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
28
- "@aws-sdk/middleware-user-agent": "^3.972.7",
28
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
29
29
  "@aws-sdk/region-config-resolver": "^3.972.3",
30
- "@aws-sdk/token-providers": "3.987.0",
30
+ "@aws-sdk/token-providers": "3.989.0",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",