@aws-sdk/client-signer-data 3.995.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/LICENSE +201 -0
- package/README.md +208 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +161 -0
- package/dist-cjs/models/SignerDataServiceException.js +12 -0
- package/dist-cjs/models/errors.js +64 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +76 -0
- package/dist-es/SignerData.js +9 -0
- package/dist-es/SignerDataClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/GetRevocationStatusCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/SignerDataServiceException.js +8 -0
- package/dist-es/models/errors.js +57 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +73 -0
- package/dist-types/SignerData.d.ts +17 -0
- package/dist-types/SignerDataClient.d.ts +188 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/GetRevocationStatusCommand.d.ts +115 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/SignerDataServiceException.d.ts +14 -0
- package/dist-types/models/errors.d.ts +54 -0
- package/dist-types/models/models_0.d.ts +42 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/SignerData.d.ts +24 -0
- package/dist-types/ts3.4/SignerDataClient.d.ts +123 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetRevocationStatusCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/SignerDataServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/errors.d.ts +34 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +100 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetRevocationStatusRequest,
|
|
5
|
+
GetRevocationStatusResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import { SignerDataClientResolvedConfig } from "../SignerDataClient";
|
|
8
|
+
export { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
export interface GetRevocationStatusCommandInput
|
|
11
|
+
extends GetRevocationStatusRequest {}
|
|
12
|
+
export interface GetRevocationStatusCommandOutput
|
|
13
|
+
extends GetRevocationStatusResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetRevocationStatusCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetRevocationStatusCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetRevocationStatusCommandInput,
|
|
20
|
+
GetRevocationStatusCommandOutput,
|
|
21
|
+
SignerDataClientResolvedConfig,
|
|
22
|
+
GetRevocationStatusCommandInput,
|
|
23
|
+
GetRevocationStatusCommandOutput
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: GetRevocationStatusCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetRevocationStatusCommandInput,
|
|
29
|
+
GetRevocationStatusCommandOutput,
|
|
30
|
+
SignerDataClientResolvedConfig,
|
|
31
|
+
GetRevocationStatusCommandInput,
|
|
32
|
+
GetRevocationStatusCommandOutput
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetRevocationStatusCommand extends GetRevocationStatusCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetRevocationStatusRequest;
|
|
40
|
+
output: GetRevocationStatusResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetRevocationStatusCommandInput;
|
|
44
|
+
output: GetRevocationStatusCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GetRevocationStatusCommand";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
23
|
+
defaultSigningName: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
+
options: T & ClientInputEndpointParameters
|
|
27
|
+
) => T & ClientResolvedEndpointParameters;
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
Region: string;
|
|
48
|
+
UseFIPS?: boolean | undefined;
|
|
49
|
+
UseDualStack?: boolean | undefined;
|
|
50
|
+
Endpoint?: string | undefined;
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface SignerDataExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./SignerDataClient";
|
|
2
|
+
export * from "./SignerData";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { SignerDataExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
10
|
+
export { SignerDataServiceException } from "./models/SignerDataServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
|
+
ServiceException as __ServiceException,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class SignerDataServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SignerDataServiceException as __BaseException } from "./SignerDataServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
code?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class InternalServiceErrorException extends __BaseException {
|
|
12
|
+
readonly name: "InternalServiceErrorException";
|
|
13
|
+
readonly $fault: "server";
|
|
14
|
+
code?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
20
|
+
readonly name: "TooManyRequestsException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
code?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class ValidationException extends __BaseException {
|
|
28
|
+
readonly name: "ValidationException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
code?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface GetRevocationStatusRequest {
|
|
2
|
+
signatureTimestamp: Date | undefined;
|
|
3
|
+
platformId: string | undefined;
|
|
4
|
+
profileVersionArn: string | undefined;
|
|
5
|
+
jobArn: string | undefined;
|
|
6
|
+
certificateHashes: string[] | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface GetRevocationStatusResponse {
|
|
9
|
+
revokedEntities?: string[] | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { SignerDataClientConfig } from "./SignerDataClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
|
+
defaultUserAgentProvider: (
|
|
15
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
disableHostPrefix: boolean;
|
|
45
|
+
serviceId: string;
|
|
46
|
+
profile?: string;
|
|
47
|
+
logger: import("@smithy/types").Logger;
|
|
48
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
|
+
userAgentAppId?:
|
|
51
|
+
| string
|
|
52
|
+
| undefined
|
|
53
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?:
|
|
55
|
+
| import("@smithy/types").RetryStrategy
|
|
56
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
57
|
+
endpoint?:
|
|
58
|
+
| ((
|
|
59
|
+
| string
|
|
60
|
+
| import("@smithy/types").Endpoint
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
|
+
| import("@smithy/types").EndpointV2
|
|
63
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
|
+
) &
|
|
65
|
+
(
|
|
66
|
+
| string
|
|
67
|
+
| import("@smithy/types").Provider<string>
|
|
68
|
+
| import("@smithy/types").Endpoint
|
|
69
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
70
|
+
| import("@smithy/types").EndpointV2
|
|
71
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
72
|
+
))
|
|
73
|
+
| undefined;
|
|
74
|
+
endpointProvider: (
|
|
75
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
76
|
+
context?: {
|
|
77
|
+
logger?: import("@smithy/types").Logger;
|
|
78
|
+
}
|
|
79
|
+
) => import("@smithy/types").EndpointV2;
|
|
80
|
+
tls?: boolean;
|
|
81
|
+
serviceConfiguredEndpoint?: never;
|
|
82
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
83
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
84
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SignerDataHttpAuthSchemeProvider;
|
|
85
|
+
credentials?:
|
|
86
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
87
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
88
|
+
signer?:
|
|
89
|
+
| import("@smithy/types").RequestSigner
|
|
90
|
+
| ((
|
|
91
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
92
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
93
|
+
signingEscapePath?: boolean;
|
|
94
|
+
systemClockOffset?: number;
|
|
95
|
+
signingRegion?: string;
|
|
96
|
+
signerConstructor?: new (
|
|
97
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
98
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
99
|
+
) => import("@smithy/types").RequestSigner;
|
|
100
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { SignerDataClientConfig } from "./SignerDataClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider:
|
|
11
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
|
+
| ((
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
|
+
defaultUserAgentProvider: (
|
|
16
|
+
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
17
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
+
requestHandler:
|
|
21
|
+
| RequestHandler
|
|
22
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
23
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
25
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
26
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
disableHostPrefix: boolean;
|
|
45
|
+
serviceId: string;
|
|
46
|
+
profile?: string;
|
|
47
|
+
logger: import("@smithy/types").Logger;
|
|
48
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
|
+
retryStrategy?:
|
|
51
|
+
| import("@smithy/types").RetryStrategy
|
|
52
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
endpoint?:
|
|
54
|
+
| ((
|
|
55
|
+
| string
|
|
56
|
+
| import("@smithy/types").Endpoint
|
|
57
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
58
|
+
| import("@smithy/types").EndpointV2
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
60
|
+
) &
|
|
61
|
+
(
|
|
62
|
+
| string
|
|
63
|
+
| import("@smithy/types").Provider<string>
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
))
|
|
69
|
+
| undefined;
|
|
70
|
+
endpointProvider: (
|
|
71
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
72
|
+
context?: {
|
|
73
|
+
logger?: import("@smithy/types").Logger;
|
|
74
|
+
}
|
|
75
|
+
) => import("@smithy/types").EndpointV2;
|
|
76
|
+
tls?: boolean;
|
|
77
|
+
serviceConfiguredEndpoint?: never;
|
|
78
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SignerDataHttpAuthSchemeProvider;
|
|
80
|
+
credentials?:
|
|
81
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
82
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
83
|
+
signer?:
|
|
84
|
+
| import("@smithy/types").RequestSigner
|
|
85
|
+
| ((
|
|
86
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
87
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
88
|
+
signingEscapePath?: boolean;
|
|
89
|
+
systemClockOffset?: number;
|
|
90
|
+
signingRegion?: string;
|
|
91
|
+
signerConstructor?: new (
|
|
92
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
) => import("@smithy/types").RequestSigner;
|
|
95
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { SignerDataClientConfig } from "./SignerDataClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
+
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
32
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
34
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
35
|
+
profile?: string;
|
|
36
|
+
defaultUserAgentProvider: (
|
|
37
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
38
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
|
+
credentialDefaultProvider:
|
|
40
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
41
|
+
| ((
|
|
42
|
+
_: unknown
|
|
43
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
44
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
45
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
46
|
+
logger: import("@smithy/types").Logger;
|
|
47
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
48
|
+
defaultsMode:
|
|
49
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
50
|
+
| import("@smithy/types").Provider<
|
|
51
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
52
|
+
>;
|
|
53
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
54
|
+
userAgentAppId?:
|
|
55
|
+
| string
|
|
56
|
+
| undefined
|
|
57
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
58
|
+
retryStrategy?:
|
|
59
|
+
| import("@smithy/types").RetryStrategy
|
|
60
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
61
|
+
endpoint?:
|
|
62
|
+
| ((
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
) &
|
|
69
|
+
(
|
|
70
|
+
| string
|
|
71
|
+
| import("@smithy/types").Provider<string>
|
|
72
|
+
| import("@smithy/types").Endpoint
|
|
73
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
74
|
+
| import("@smithy/types").EndpointV2
|
|
75
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
76
|
+
))
|
|
77
|
+
| undefined;
|
|
78
|
+
endpointProvider: (
|
|
79
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
|
+
context?: {
|
|
81
|
+
logger?: import("@smithy/types").Logger;
|
|
82
|
+
}
|
|
83
|
+
) => import("@smithy/types").EndpointV2;
|
|
84
|
+
tls?: boolean;
|
|
85
|
+
serviceConfiguredEndpoint?: never;
|
|
86
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
87
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
88
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SignerDataHttpAuthSchemeProvider;
|
|
89
|
+
credentials?:
|
|
90
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
91
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
92
|
+
signer?:
|
|
93
|
+
| import("@smithy/types").RequestSigner
|
|
94
|
+
| ((
|
|
95
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
96
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
97
|
+
signingEscapePath?: boolean;
|
|
98
|
+
systemClockOffset?: number;
|
|
99
|
+
signingRegion?: string;
|
|
100
|
+
signerConstructor?: new (
|
|
101
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
103
|
+
) => import("@smithy/types").RequestSigner;
|
|
104
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { SignerDataClientConfig } from "./SignerDataClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
|
|
4
|
+
apiVersion: string;
|
|
5
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
6
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
7
|
+
disableHostPrefix: boolean;
|
|
8
|
+
endpointProvider: (
|
|
9
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
|
+
context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger;
|
|
12
|
+
}
|
|
13
|
+
) => import("@smithy/types").EndpointV2;
|
|
14
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SignerDataHttpAuthSchemeProvider;
|
|
16
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
|
+
logger: import("@smithy/types").Logger;
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
26
|
+
serviceId: string;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SignerDataExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: SignerDataExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export declare var SignerDataServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var InternalServiceErrorException$: StaticErrorSchema;
|
|
10
|
+
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
11
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
12
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
13
|
+
export declare var GetRevocationStatusRequest$: StaticStructureSchema;
|
|
14
|
+
export declare var GetRevocationStatusResponse$: StaticStructureSchema;
|
|
15
|
+
export declare var GetRevocationStatus$: StaticOperationSchema;
|
package/package.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/client-signer-data",
|
|
3
|
+
"description": "AWS SDK for JavaScript Signer Data Client for Node.js, Browser and React Native",
|
|
4
|
+
"version": "3.995.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-signer-data",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"@aws-sdk/client-signer-data\"",
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
15
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo signer-data"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
+
"@aws-sdk/core": "^3.973.11",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.10",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.11",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.995.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.10",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
+
"@smithy/core": "^3.23.2",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
|
+
"@smithy/hash-node": "^4.2.8",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.16",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.33",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.9",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.8",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
+
"@smithy/smithy-client": "^4.11.5",
|
|
49
|
+
"@smithy/types": "^4.12.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.8",
|
|
51
|
+
"@smithy/util-base64": "^4.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.32",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.35",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.8",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.8",
|
|
58
|
+
"@smithy/util-retry": "^4.2.8",
|
|
59
|
+
"@smithy/util-utf8": "^4.2.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@tsconfig/node20": "20.1.8",
|
|
64
|
+
"@types/node": "^20.14.8",
|
|
65
|
+
"concurrently": "7.0.0",
|
|
66
|
+
"downlevel-dts": "0.10.1",
|
|
67
|
+
"premove": "4.0.0",
|
|
68
|
+
"typescript": "~5.8.3"
|
|
69
|
+
},
|
|
70
|
+
"engines": {
|
|
71
|
+
"node": ">=20.0.0"
|
|
72
|
+
},
|
|
73
|
+
"typesVersions": {
|
|
74
|
+
"<4.0": {
|
|
75
|
+
"dist-types/*": [
|
|
76
|
+
"dist-types/ts3.4/*"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"files": [
|
|
81
|
+
"dist-*/**"
|
|
82
|
+
],
|
|
83
|
+
"author": {
|
|
84
|
+
"name": "AWS SDK for JavaScript Team",
|
|
85
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
86
|
+
},
|
|
87
|
+
"license": "Apache-2.0",
|
|
88
|
+
"browser": {
|
|
89
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
90
|
+
},
|
|
91
|
+
"react-native": {
|
|
92
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
93
|
+
},
|
|
94
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-signer-data",
|
|
95
|
+
"repository": {
|
|
96
|
+
"type": "git",
|
|
97
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
98
|
+
"directory": "clients/client-signer-data"
|
|
99
|
+
}
|
|
100
|
+
}
|