@aws-sdk/client-signer-data 3.1136.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.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -201,10 +201,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signerdata";
201
201
  const _sT = "signatureTimestamp";
202
202
  const _se = "server";
203
203
  const n0 = "com.amazonaws.signerdata";
204
- const _s_registry = TypeRegistry.for(_s);
204
+ const _s_registry = new TypeRegistry(_s);
205
205
  var SignerDataServiceException$ = [-3, _s, "SignerDataServiceException", 0, [], []];
206
206
  _s_registry.registerError(SignerDataServiceException$, SignerDataServiceException);
207
- const n0_registry = TypeRegistry.for(n0);
207
+ const n0_registry = new TypeRegistry(n0);
208
208
  var AccessDeniedException$ = [-3, n0, _ADE,
209
209
  { [_e]: _c, [_hE]: 403 },
210
210
  [_m, _co],
@@ -24,10 +24,10 @@ const n0 = "com.amazonaws.signerdata";
24
24
  import { TypeRegistry } from "@smithy/core/schema";
25
25
  import { AccessDeniedException, InternalServiceErrorException, TooManyRequestsException, ValidationException, } from "../models/errors";
26
26
  import { SignerDataServiceException } from "../models/SignerDataServiceException";
27
- const _s_registry = TypeRegistry.for(_s);
27
+ const _s_registry = new TypeRegistry(_s);
28
28
  export var SignerDataServiceException$ = [-3, _s, "SignerDataServiceException", 0, [], []];
29
29
  _s_registry.registerError(SignerDataServiceException$, SignerDataServiceException);
30
- const n0_registry = TypeRegistry.for(n0);
30
+ const n0_registry = new TypeRegistry(n0);
31
31
  export var AccessDeniedException$ = [-3, n0, _ADE,
32
32
  { [_e]: _c, [_hE]: 403 },
33
33
  [_m, _co],
@@ -1,13 +1,19 @@
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 GetRevocationStatusCommandInput, type GetRevocationStatusCommandOutput } from "./commands/GetRevocationStatusCommand";
3
3
  import { SignerDataClient } from "./SignerDataClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface SignerDataRequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface SignerData {
5
11
  /**
6
12
  * @see {@link GetRevocationStatusCommand}
7
13
  */
8
- getRevocationStatus(args: GetRevocationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetRevocationStatusCommandOutput>;
14
+ getRevocationStatus(args: GetRevocationStatusCommandInput, options?: SignerDataRequestOptions): Promise<GetRevocationStatusCommandOutput>;
9
15
  getRevocationStatus(args: GetRevocationStatusCommandInput, cb: (err: any, data?: GetRevocationStatusCommandOutput) => void): void;
10
- getRevocationStatus(args: GetRevocationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRevocationStatusCommandOutput) => void): void;
16
+ getRevocationStatus(args: GetRevocationStatusCommandInput, options: SignerDataRequestOptions, cb: (err: any, data?: GetRevocationStatusCommandOutput) => void): void;
11
17
  }
12
18
  /**
13
19
  * <p>AWS Signer Data Plane service provides APIs for checking revocation status of signed artifacts.</p>
@@ -1,13 +1,19 @@
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
  GetRevocationStatusCommandInput,
4
7
  GetRevocationStatusCommandOutput,
5
8
  } from "./commands/GetRevocationStatusCommand";
6
9
  import { SignerDataClient } from "./SignerDataClient";
10
+ export interface SignerDataRequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface SignerData {
8
14
  getRevocationStatus(
9
15
  args: GetRevocationStatusCommandInput,
10
- options?: __HttpHandlerOptions,
16
+ options?: SignerDataRequestOptions,
11
17
  ): Promise<GetRevocationStatusCommandOutput>;
12
18
  getRevocationStatus(
13
19
  args: GetRevocationStatusCommandInput,
@@ -15,7 +21,7 @@ export interface SignerData {
15
21
  ): void;
16
22
  getRevocationStatus(
17
23
  args: GetRevocationStatusCommandInput,
18
- options: __HttpHandlerOptions,
24
+ options: SignerDataRequestOptions,
19
25
  cb: (err: any, data?: GetRevocationStatusCommandOutput) => void,
20
26
  ): void;
21
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-signer-data",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Signer Data Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-signer-data",
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": {