@aws-sdk/client-codecatalyst 3.332.0 → 3.335.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 (40) hide show
  1. package/README.md +12 -0
  2. package/dist-cjs/CodeCatalyst.js +2 -0
  3. package/dist-cjs/commands/ListDevEnvironmentSessionsCommand.js +44 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/pagination/ListDevEnvironmentSessionsPaginator.js +29 -0
  6. package/dist-cjs/pagination/index.js +1 -0
  7. package/dist-cjs/protocols/Aws_restJson1.js +96 -2
  8. package/dist-es/CodeCatalyst.js +2 -0
  9. package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +40 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/pagination/ListDevEnvironmentSessionsPaginator.js +25 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +92 -1
  14. package/dist-types/CodeCatalyst.d.ts +11 -0
  15. package/dist-types/CodeCatalystClient.d.ts +10 -4
  16. package/dist-types/commands/ListDevEnvironmentSessionsCommand.d.ts +102 -0
  17. package/dist-types/commands/index.d.ts +1 -0
  18. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  19. package/dist-types/models/models_0.d.ts +65 -0
  20. package/dist-types/pagination/ListDevEnvironmentSessionsPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/protocols/Aws_restJson1.d.ts +11 -2
  23. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  24. package/dist-types/runtimeConfig.d.ts +8 -8
  25. package/dist-types/runtimeConfig.native.d.ts +13 -13
  26. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  27. package/dist-types/ts3.4/CodeCatalyst.d.ts +17 -0
  28. package/dist-types/ts3.4/CodeCatalystClient.d.ts +13 -5
  29. package/dist-types/ts3.4/commands/ListDevEnvironmentSessionsCommand.d.ts +41 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  32. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  33. package/dist-types/ts3.4/pagination/ListDevEnvironmentSessionsPaginator.d.ts +11 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +14 -2
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +21 -15
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -11
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +24 -15
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  40. package/package.json +4 -3
@@ -9,30 +9,36 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
9
9
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
10
10
  import("@aws-sdk/types").UserAgent
11
11
  >;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
13
+ (number | import("@aws-sdk/types").Provider<number>);
13
14
  requestHandler:
14
15
  | (import("@aws-sdk/types").RequestHandler<
15
16
  any,
16
17
  any,
17
18
  import("@aws-sdk/types").HttpHandlerOptions
18
19
  > &
19
- import("@aws-sdk/protocol-http").HttpHandler)
20
+ import("@smithy/protocol-http").HttpHandler)
20
21
  | RequestHandler;
21
- retryMode: string | import("@aws-sdk/types").Provider<string>;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
22
23
  sha256: import("@aws-sdk/types").HashConstructor;
23
- streamCollector: import("@aws-sdk/types").StreamCollector;
24
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
25
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
26
29
  apiVersion: string;
27
30
  urlParser: import("@aws-sdk/types").UrlParser;
28
- base64Decoder: import("@aws-sdk/types").Decoder;
29
- base64Encoder: import("@aws-sdk/types").Encoder;
30
- utf8Decoder: import("@aws-sdk/types").Decoder;
31
- utf8Encoder: import("@aws-sdk/types").Encoder;
31
+ base64Decoder: import("@smithy/types").Decoder;
32
+ base64Encoder: import("@smithy/types").Encoder;
33
+ utf8Decoder: import("@smithy/types").Decoder;
34
+ utf8Encoder: import("@smithy/types").Encoder;
32
35
  disableHostPrefix: boolean;
33
36
  serviceId: string;
34
37
  logger: import("@aws-sdk/types").Logger;
35
- region?: string | import("@aws-sdk/types").Provider<string> | undefined;
38
+ region?:
39
+ | ((string | import("@aws-sdk/types").Provider<string>) &
40
+ (string | import("@smithy/types").Provider<string>))
41
+ | undefined;
36
42
  endpoint?:
37
43
  | ((
38
44
  | string
@@ -43,11 +49,11 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
43
49
  ) &
44
50
  (
45
51
  | string
46
- | import("@aws-sdk/types").Provider<string>
47
- | import("@aws-sdk/types").Endpoint
48
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@smithy/types").Provider<string>
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
49
55
  | import("@aws-sdk/types").EndpointV2
50
- | import("@aws-sdk/types").Provider<
56
+ | import("@smithy/types").Provider<
51
57
  import("@aws-sdk/types").EndpointV2
52
58
  >
53
59
  ))
@@ -16,23 +16,26 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
16
16
  any,
17
17
  import("@aws-sdk/types").HttpHandlerOptions
18
18
  > &
19
- import("@aws-sdk/protocol-http").HttpHandler)
19
+ import("@smithy/protocol-http").HttpHandler)
20
20
  | RequestHandler;
21
21
  retryMode: string | import("@aws-sdk/types").Provider<string>;
22
22
  sha256: import("@aws-sdk/types").HashConstructor;
23
- streamCollector: import("@aws-sdk/types").StreamCollector;
23
+ streamCollector: import("@smithy/types").StreamCollector;
24
24
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
25
25
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
26
26
  apiVersion: string;
27
27
  urlParser: import("@aws-sdk/types").UrlParser;
28
- base64Decoder: import("@aws-sdk/types").Decoder;
29
- base64Encoder: import("@aws-sdk/types").Encoder;
30
- utf8Decoder: import("@aws-sdk/types").Decoder;
31
- utf8Encoder: import("@aws-sdk/types").Encoder;
28
+ base64Decoder: import("@smithy/types").Decoder;
29
+ base64Encoder: import("@smithy/types").Encoder;
30
+ utf8Decoder: import("@smithy/types").Decoder;
31
+ utf8Encoder: import("@smithy/types").Encoder;
32
32
  disableHostPrefix: boolean;
33
33
  serviceId: string;
34
34
  logger: import("@aws-sdk/types").Logger;
35
- region?: string | import("@aws-sdk/types").Provider<string> | undefined;
35
+ region?:
36
+ | ((string | import("@aws-sdk/types").Provider<string>) &
37
+ (string | import("@smithy/types").Provider<string>))
38
+ | undefined;
36
39
  endpoint?:
37
40
  | ((
38
41
  | string
@@ -43,11 +46,11 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
43
46
  ) &
44
47
  (
45
48
  | string
46
- | import("@aws-sdk/types").Provider<string>
47
- | import("@aws-sdk/types").Endpoint
48
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
49
+ | import("@smithy/types").Provider<string>
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
49
52
  | import("@aws-sdk/types").EndpointV2
50
- | import("@aws-sdk/types").Provider<
53
+ | import("@smithy/types").Provider<
51
54
  import("@aws-sdk/types").EndpointV2
52
55
  >
53
56
  ))
@@ -8,38 +8,47 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
8
8
  any,
9
9
  import("@aws-sdk/types").HttpHandlerOptions
10
10
  > &
11
- import("@aws-sdk/protocol-http").HttpHandler)
11
+ import("@smithy/protocol-http").HttpHandler)
12
12
  | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
14
  urlParser: import("@aws-sdk/types").UrlParser;
15
15
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
16
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
- base64Decoder: import("@aws-sdk/types").Decoder;
18
- base64Encoder: import("@aws-sdk/types").Encoder;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ streamCollector: import("@smithy/types").StreamCollector;
17
+ base64Decoder: import("@smithy/types").Decoder;
18
+ base64Encoder: import("@smithy/types").Encoder;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: import("@smithy/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
24
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
24
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
26
28
  import("@aws-sdk/types").UserAgent
27
29
  >;
28
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
29
- retryMode: string | import("@aws-sdk/types").Provider<string>;
30
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
31
+ (number | import("@aws-sdk/types").Provider<number>);
32
+ retryMode: string | import("@smithy/types").Provider<string>;
30
33
  logger: import("@aws-sdk/types").Logger;
31
34
  defaultsMode:
32
35
  | import("@aws-sdk/smithy-client").DefaultsMode
33
- | import("@aws-sdk/types").Provider<
36
+ | import("@smithy/types").Provider<
34
37
  import("@aws-sdk/smithy-client").DefaultsMode
35
38
  >;
36
- region?: string | import("@aws-sdk/types").Provider<string> | undefined;
39
+ region?:
40
+ | string
41
+ | (import("@aws-sdk/types").Provider<string> &
42
+ import("@smithy/types").Provider<string>)
43
+ | undefined;
37
44
  endpoint?:
38
45
  | string
39
- | import("@aws-sdk/types").Endpoint
40
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
41
46
  | import("@aws-sdk/types").EndpointV2
42
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
47
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
48
+ import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
49
+ | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
50
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
51
+ import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
43
52
  | undefined;
44
53
  endpointProvider: (
45
54
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -1,8 +1,8 @@
1
1
  import { CodeCatalystClientConfig } from "./CodeCatalystClient";
2
2
  export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
3
3
  apiVersion: string;
4
- base64Decoder: import("@aws-sdk/types").Decoder;
5
- base64Encoder: import("@aws-sdk/types").Encoder;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: import("@smithy/types").Encoder;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
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.332.0",
4
+ "version": "3.335.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,11 +33,10 @@
33
33
  "@aws-sdk/middleware-retry": "3.329.0",
34
34
  "@aws-sdk/middleware-serde": "3.329.0",
35
35
  "@aws-sdk/middleware-stack": "3.329.0",
36
- "@aws-sdk/middleware-token": "3.332.0",
36
+ "@aws-sdk/middleware-token": "3.335.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.332.0",
38
38
  "@aws-sdk/node-config-provider": "3.329.0",
39
39
  "@aws-sdk/node-http-handler": "3.329.0",
40
- "@aws-sdk/protocol-http": "3.329.0",
41
40
  "@aws-sdk/smithy-client": "3.329.0",
42
41
  "@aws-sdk/types": "3.329.0",
43
42
  "@aws-sdk/url-parser": "3.329.0",
@@ -51,6 +50,8 @@
51
50
  "@aws-sdk/util-user-agent-browser": "3.329.0",
52
51
  "@aws-sdk/util-user-agent-node": "3.329.0",
53
52
  "@aws-sdk/util-utf8": "3.310.0",
53
+ "@smithy/protocol-http": "^1.0.1",
54
+ "@smithy/types": "^1.0.0",
54
55
  "tslib": "^2.5.0"
55
56
  },
56
57
  "devDependencies": {