@aws-sdk/client-codecatalyst 3.413.0 → 3.418.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.
Files changed (71) hide show
  1. package/dist-cjs/commands/CreateAccessTokenCommand.js +5 -0
  2. package/dist-cjs/commands/CreateDevEnvironmentCommand.js +5 -0
  3. package/dist-cjs/commands/CreateProjectCommand.js +5 -0
  4. package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +5 -0
  5. package/dist-cjs/commands/CreateSourceRepositoryCommand.js +5 -0
  6. package/dist-cjs/commands/DeleteAccessTokenCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteProjectCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteSourceRepositoryCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteSpaceCommand.js +5 -0
  11. package/dist-cjs/commands/GetDevEnvironmentCommand.js +5 -0
  12. package/dist-cjs/commands/GetProjectCommand.js +5 -0
  13. package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +5 -0
  14. package/dist-cjs/commands/GetSourceRepositoryCommand.js +5 -0
  15. package/dist-cjs/commands/GetSpaceCommand.js +5 -0
  16. package/dist-cjs/commands/GetSubscriptionCommand.js +5 -0
  17. package/dist-cjs/commands/GetUserDetailsCommand.js +5 -0
  18. package/dist-cjs/commands/ListAccessTokensCommand.js +5 -0
  19. package/dist-cjs/commands/ListDevEnvironmentSessionsCommand.js +5 -0
  20. package/dist-cjs/commands/ListDevEnvironmentsCommand.js +5 -0
  21. package/dist-cjs/commands/ListEventLogsCommand.js +5 -0
  22. package/dist-cjs/commands/ListProjectsCommand.js +5 -0
  23. package/dist-cjs/commands/ListSourceRepositoriesCommand.js +5 -0
  24. package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +5 -0
  25. package/dist-cjs/commands/ListSpacesCommand.js +5 -0
  26. package/dist-cjs/commands/StartDevEnvironmentCommand.js +5 -0
  27. package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +5 -0
  28. package/dist-cjs/commands/StopDevEnvironmentCommand.js +5 -0
  29. package/dist-cjs/commands/StopDevEnvironmentSessionCommand.js +5 -0
  30. package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +5 -0
  31. package/dist-cjs/commands/UpdateProjectCommand.js +5 -0
  32. package/dist-cjs/commands/UpdateSpaceCommand.js +5 -0
  33. package/dist-cjs/commands/VerifySessionCommand.js +5 -0
  34. package/dist-cjs/runtimeExtensions.js +3 -0
  35. package/dist-es/commands/CreateAccessTokenCommand.js +5 -0
  36. package/dist-es/commands/CreateDevEnvironmentCommand.js +5 -0
  37. package/dist-es/commands/CreateProjectCommand.js +5 -0
  38. package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +5 -0
  39. package/dist-es/commands/CreateSourceRepositoryCommand.js +5 -0
  40. package/dist-es/commands/DeleteAccessTokenCommand.js +5 -0
  41. package/dist-es/commands/DeleteDevEnvironmentCommand.js +5 -0
  42. package/dist-es/commands/DeleteProjectCommand.js +5 -0
  43. package/dist-es/commands/DeleteSourceRepositoryCommand.js +5 -0
  44. package/dist-es/commands/DeleteSpaceCommand.js +5 -0
  45. package/dist-es/commands/GetDevEnvironmentCommand.js +5 -0
  46. package/dist-es/commands/GetProjectCommand.js +5 -0
  47. package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +5 -0
  48. package/dist-es/commands/GetSourceRepositoryCommand.js +5 -0
  49. package/dist-es/commands/GetSpaceCommand.js +5 -0
  50. package/dist-es/commands/GetSubscriptionCommand.js +5 -0
  51. package/dist-es/commands/GetUserDetailsCommand.js +5 -0
  52. package/dist-es/commands/ListAccessTokensCommand.js +5 -0
  53. package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +5 -0
  54. package/dist-es/commands/ListDevEnvironmentsCommand.js +5 -0
  55. package/dist-es/commands/ListEventLogsCommand.js +5 -0
  56. package/dist-es/commands/ListProjectsCommand.js +5 -0
  57. package/dist-es/commands/ListSourceRepositoriesCommand.js +5 -0
  58. package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +5 -0
  59. package/dist-es/commands/ListSpacesCommand.js +5 -0
  60. package/dist-es/commands/StartDevEnvironmentCommand.js +5 -0
  61. package/dist-es/commands/StartDevEnvironmentSessionCommand.js +5 -0
  62. package/dist-es/commands/StopDevEnvironmentCommand.js +5 -0
  63. package/dist-es/commands/StopDevEnvironmentSessionCommand.js +5 -0
  64. package/dist-es/commands/UpdateDevEnvironmentCommand.js +5 -0
  65. package/dist-es/commands/UpdateProjectCommand.js +5 -0
  66. package/dist-es/commands/UpdateSpaceCommand.js +5 -0
  67. package/dist-es/commands/VerifySessionCommand.js +5 -0
  68. package/dist-es/runtimeExtensions.js +3 -0
  69. package/dist-types/extensionConfiguration.d.ts +2 -1
  70. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  71. package/package.json +29 -28
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateProjectCommand, se_UpdateProjectCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateProjectCommand extends $Command {
@@ -28,6 +29,10 @@ export class UpdateProjectCommand extends $Command {
28
29
  commandName,
29
30
  inputFilterSensitiveLog: (_) => _,
30
31
  outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "CodeCatalyst",
34
+ operation: "UpdateProject",
35
+ },
31
36
  };
32
37
  const { requestHandler } = configuration;
33
38
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateSpaceCommand, se_UpdateSpaceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateSpaceCommand extends $Command {
@@ -28,6 +29,10 @@ export class UpdateSpaceCommand extends $Command {
28
29
  commandName,
29
30
  inputFilterSensitiveLog: (_) => _,
30
31
  outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "CodeCatalyst",
34
+ operation: "UpdateSpace",
35
+ },
31
36
  };
32
37
  const { requestHandler } = configuration;
33
38
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_VerifySessionCommand, se_VerifySessionCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class VerifySessionCommand extends $Command {
@@ -28,6 +29,10 @@ export class VerifySessionCommand extends $Command {
28
29
  commandName,
29
30
  inputFilterSensitiveLog: (_) => _,
30
31
  outputFilterSensitiveLog: (_) => _,
32
+ [SMITHY_CONTEXT_KEY]: {
33
+ service: "CodeCatalyst",
34
+ operation: "VerifySession",
35
+ },
31
36
  };
32
37
  const { requestHandler } = configuration;
33
38
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface CodeCatalystExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface CodeCatalystExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface CodeCatalystExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
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.413.0",
4
+ "version": "3.418.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,36 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/middleware-host-header": "3.413.0",
25
- "@aws-sdk/middleware-logger": "3.413.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
27
- "@aws-sdk/middleware-token": "3.413.0",
28
- "@aws-sdk/middleware-user-agent": "3.413.0",
29
- "@aws-sdk/types": "3.413.0",
30
- "@aws-sdk/util-endpoints": "3.413.0",
31
- "@aws-sdk/util-user-agent-browser": "3.413.0",
32
- "@aws-sdk/util-user-agent-node": "3.413.0",
33
- "@smithy/config-resolver": "^2.0.8",
34
- "@smithy/fetch-http-handler": "^2.1.3",
35
- "@smithy/hash-node": "^2.0.7",
36
- "@smithy/invalid-dependency": "^2.0.7",
37
- "@smithy/middleware-content-length": "^2.0.9",
38
- "@smithy/middleware-endpoint": "^2.0.7",
39
- "@smithy/middleware-retry": "^2.0.10",
40
- "@smithy/middleware-serde": "^2.0.7",
41
- "@smithy/middleware-stack": "^2.0.0",
42
- "@smithy/node-config-provider": "^2.0.10",
43
- "@smithy/node-http-handler": "^2.1.3",
44
- "@smithy/protocol-http": "^3.0.3",
45
- "@smithy/smithy-client": "^2.1.4",
46
- "@smithy/types": "^2.3.1",
47
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/middleware-host-header": "3.418.0",
25
+ "@aws-sdk/middleware-logger": "3.418.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
27
+ "@aws-sdk/middleware-token": "3.418.0",
28
+ "@aws-sdk/middleware-user-agent": "3.418.0",
29
+ "@aws-sdk/region-config-resolver": "3.418.0",
30
+ "@aws-sdk/types": "3.418.0",
31
+ "@aws-sdk/util-endpoints": "3.418.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
33
+ "@aws-sdk/util-user-agent-node": "3.418.0",
34
+ "@smithy/config-resolver": "^2.0.10",
35
+ "@smithy/fetch-http-handler": "^2.1.5",
36
+ "@smithy/hash-node": "^2.0.9",
37
+ "@smithy/invalid-dependency": "^2.0.9",
38
+ "@smithy/middleware-content-length": "^2.0.11",
39
+ "@smithy/middleware-endpoint": "^2.0.9",
40
+ "@smithy/middleware-retry": "^2.0.12",
41
+ "@smithy/middleware-serde": "^2.0.9",
42
+ "@smithy/middleware-stack": "^2.0.2",
43
+ "@smithy/node-config-provider": "^2.0.12",
44
+ "@smithy/node-http-handler": "^2.1.5",
45
+ "@smithy/protocol-http": "^3.0.5",
46
+ "@smithy/smithy-client": "^2.1.6",
47
+ "@smithy/types": "^2.3.3",
48
+ "@smithy/url-parser": "^2.0.9",
48
49
  "@smithy/util-base64": "^2.0.0",
49
50
  "@smithy/util-body-length-browser": "^2.0.0",
50
51
  "@smithy/util-body-length-node": "^2.1.0",
51
- "@smithy/util-defaults-mode-browser": "^2.0.8",
52
- "@smithy/util-defaults-mode-node": "^2.0.10",
53
- "@smithy/util-retry": "^2.0.0",
52
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
53
+ "@smithy/util-defaults-mode-node": "^2.0.12",
54
+ "@smithy/util-retry": "^2.0.2",
54
55
  "@smithy/util-utf8": "^2.0.0",
55
56
  "tslib": "^2.5.0"
56
57
  },