@aws-sdk/client-ssm-guiconnect 3.1137.0 → 3.1138.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -254,10 +254,10 @@ const _m = "message";
254
254
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssmguiconnect";
255
255
  const _se = "server";
256
256
  const n0 = "com.amazonaws.ssmguiconnect";
257
- const _s_registry = TypeRegistry.for(_s);
257
+ const _s_registry = new TypeRegistry(_s);
258
258
  var SSMGuiConnectServiceException$ = [-3, _s, "SSMGuiConnectServiceException", 0, [], []];
259
259
  _s_registry.registerError(SSMGuiConnectServiceException$, SSMGuiConnectServiceException);
260
- const n0_registry = TypeRegistry.for(n0);
260
+ const n0_registry = new TypeRegistry(n0);
261
261
  var AccessDeniedException$ = [-3, n0, _ADE,
262
262
  { [_e]: _c, [_hE]: 403 },
263
263
  [_m],
@@ -32,10 +32,10 @@ const n0 = "com.amazonaws.ssmguiconnect";
32
32
  import { TypeRegistry } from "@smithy/core/schema";
33
33
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
34
34
  import { SSMGuiConnectServiceException } from "../models/SSMGuiConnectServiceException";
35
- const _s_registry = TypeRegistry.for(_s);
35
+ const _s_registry = new TypeRegistry(_s);
36
36
  export var SSMGuiConnectServiceException$ = [-3, _s, "SSMGuiConnectServiceException", 0, [], []];
37
37
  _s_registry.registerError(SSMGuiConnectServiceException$, SSMGuiConnectServiceException);
38
- const n0_registry = TypeRegistry.for(n0);
38
+ const n0_registry = new TypeRegistry(n0);
39
39
  export var AccessDeniedException$ = [-3, n0, _ADE,
40
40
  { [_e]: _c, [_hE]: 403 },
41
41
  [_m],
@@ -1,29 +1,35 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { type DeleteConnectionRecordingPreferencesCommandInput, type DeleteConnectionRecordingPreferencesCommandOutput } from "./commands/DeleteConnectionRecordingPreferencesCommand";
3
3
  import { type GetConnectionRecordingPreferencesCommandInput, type GetConnectionRecordingPreferencesCommandOutput } from "./commands/GetConnectionRecordingPreferencesCommand";
4
4
  import { type UpdateConnectionRecordingPreferencesCommandInput, type UpdateConnectionRecordingPreferencesCommandOutput } from "./commands/UpdateConnectionRecordingPreferencesCommand";
5
5
  import { SSMGuiConnectClient } from "./SSMGuiConnectClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface SSMGuiConnectRequestOptions extends __HttpHandlerOptions {
10
+ metricsRecorder?: __MetricsRecorder<unknown>;
11
+ }
6
12
  export interface SSMGuiConnect {
7
13
  /**
8
14
  * @see {@link DeleteConnectionRecordingPreferencesCommand}
9
15
  */
10
16
  deleteConnectionRecordingPreferences(): Promise<DeleteConnectionRecordingPreferencesCommandOutput>;
11
- deleteConnectionRecordingPreferences(args: DeleteConnectionRecordingPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectionRecordingPreferencesCommandOutput>;
17
+ deleteConnectionRecordingPreferences(args: DeleteConnectionRecordingPreferencesCommandInput, options?: SSMGuiConnectRequestOptions): Promise<DeleteConnectionRecordingPreferencesCommandOutput>;
12
18
  deleteConnectionRecordingPreferences(args: DeleteConnectionRecordingPreferencesCommandInput, cb: (err: any, data?: DeleteConnectionRecordingPreferencesCommandOutput) => void): void;
13
- deleteConnectionRecordingPreferences(args: DeleteConnectionRecordingPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectionRecordingPreferencesCommandOutput) => void): void;
19
+ deleteConnectionRecordingPreferences(args: DeleteConnectionRecordingPreferencesCommandInput, options: SSMGuiConnectRequestOptions, cb: (err: any, data?: DeleteConnectionRecordingPreferencesCommandOutput) => void): void;
14
20
  /**
15
21
  * @see {@link GetConnectionRecordingPreferencesCommand}
16
22
  */
17
23
  getConnectionRecordingPreferences(): Promise<GetConnectionRecordingPreferencesCommandOutput>;
18
- getConnectionRecordingPreferences(args: GetConnectionRecordingPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectionRecordingPreferencesCommandOutput>;
24
+ getConnectionRecordingPreferences(args: GetConnectionRecordingPreferencesCommandInput, options?: SSMGuiConnectRequestOptions): Promise<GetConnectionRecordingPreferencesCommandOutput>;
19
25
  getConnectionRecordingPreferences(args: GetConnectionRecordingPreferencesCommandInput, cb: (err: any, data?: GetConnectionRecordingPreferencesCommandOutput) => void): void;
20
- getConnectionRecordingPreferences(args: GetConnectionRecordingPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectionRecordingPreferencesCommandOutput) => void): void;
26
+ getConnectionRecordingPreferences(args: GetConnectionRecordingPreferencesCommandInput, options: SSMGuiConnectRequestOptions, cb: (err: any, data?: GetConnectionRecordingPreferencesCommandOutput) => void): void;
21
27
  /**
22
28
  * @see {@link UpdateConnectionRecordingPreferencesCommand}
23
29
  */
24
- updateConnectionRecordingPreferences(args: UpdateConnectionRecordingPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectionRecordingPreferencesCommandOutput>;
30
+ updateConnectionRecordingPreferences(args: UpdateConnectionRecordingPreferencesCommandInput, options?: SSMGuiConnectRequestOptions): Promise<UpdateConnectionRecordingPreferencesCommandOutput>;
25
31
  updateConnectionRecordingPreferences(args: UpdateConnectionRecordingPreferencesCommandInput, cb: (err: any, data?: UpdateConnectionRecordingPreferencesCommandOutput) => void): void;
26
- updateConnectionRecordingPreferences(args: UpdateConnectionRecordingPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectionRecordingPreferencesCommandOutput) => void): void;
32
+ updateConnectionRecordingPreferences(args: UpdateConnectionRecordingPreferencesCommandInput, options: SSMGuiConnectRequestOptions, cb: (err: any, data?: UpdateConnectionRecordingPreferencesCommandOutput) => void): void;
27
33
  }
28
34
  /**
29
35
  * <fullname>AWS Systems Manager GUI Connect</fullname>
@@ -1,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import {
3
6
  DeleteConnectionRecordingPreferencesCommandInput,
4
7
  DeleteConnectionRecordingPreferencesCommandOutput,
@@ -12,11 +15,14 @@ import {
12
15
  UpdateConnectionRecordingPreferencesCommandOutput,
13
16
  } from "./commands/UpdateConnectionRecordingPreferencesCommand";
14
17
  import { SSMGuiConnectClient } from "./SSMGuiConnectClient";
18
+ export interface SSMGuiConnectRequestOptions extends __HttpHandlerOptions {
19
+ metricsRecorder?: __MetricsRecorder<unknown>;
20
+ }
15
21
  export interface SSMGuiConnect {
16
22
  deleteConnectionRecordingPreferences(): Promise<DeleteConnectionRecordingPreferencesCommandOutput>;
17
23
  deleteConnectionRecordingPreferences(
18
24
  args: DeleteConnectionRecordingPreferencesCommandInput,
19
- options?: __HttpHandlerOptions,
25
+ options?: SSMGuiConnectRequestOptions,
20
26
  ): Promise<DeleteConnectionRecordingPreferencesCommandOutput>;
21
27
  deleteConnectionRecordingPreferences(
22
28
  args: DeleteConnectionRecordingPreferencesCommandInput,
@@ -24,13 +30,13 @@ export interface SSMGuiConnect {
24
30
  ): void;
25
31
  deleteConnectionRecordingPreferences(
26
32
  args: DeleteConnectionRecordingPreferencesCommandInput,
27
- options: __HttpHandlerOptions,
33
+ options: SSMGuiConnectRequestOptions,
28
34
  cb: (err: any, data?: DeleteConnectionRecordingPreferencesCommandOutput) => void,
29
35
  ): void;
30
36
  getConnectionRecordingPreferences(): Promise<GetConnectionRecordingPreferencesCommandOutput>;
31
37
  getConnectionRecordingPreferences(
32
38
  args: GetConnectionRecordingPreferencesCommandInput,
33
- options?: __HttpHandlerOptions,
39
+ options?: SSMGuiConnectRequestOptions,
34
40
  ): Promise<GetConnectionRecordingPreferencesCommandOutput>;
35
41
  getConnectionRecordingPreferences(
36
42
  args: GetConnectionRecordingPreferencesCommandInput,
@@ -38,12 +44,12 @@ export interface SSMGuiConnect {
38
44
  ): void;
39
45
  getConnectionRecordingPreferences(
40
46
  args: GetConnectionRecordingPreferencesCommandInput,
41
- options: __HttpHandlerOptions,
47
+ options: SSMGuiConnectRequestOptions,
42
48
  cb: (err: any, data?: GetConnectionRecordingPreferencesCommandOutput) => void,
43
49
  ): void;
44
50
  updateConnectionRecordingPreferences(
45
51
  args: UpdateConnectionRecordingPreferencesCommandInput,
46
- options?: __HttpHandlerOptions,
52
+ options?: SSMGuiConnectRequestOptions,
47
53
  ): Promise<UpdateConnectionRecordingPreferencesCommandOutput>;
48
54
  updateConnectionRecordingPreferences(
49
55
  args: UpdateConnectionRecordingPreferencesCommandInput,
@@ -51,7 +57,7 @@ export interface SSMGuiConnect {
51
57
  ): void;
52
58
  updateConnectionRecordingPreferences(
53
59
  args: UpdateConnectionRecordingPreferencesCommandInput,
54
- options: __HttpHandlerOptions,
60
+ options: SSMGuiConnectRequestOptions,
55
61
  cb: (err: any, data?: UpdateConnectionRecordingPreferencesCommandOutput) => void,
56
62
  ): void;
57
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm-guiconnect",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Ssm Guiconnect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ssm-guiconnect",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {