@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.
Files changed (74) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +208 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +161 -0
  7. package/dist-cjs/models/SignerDataServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +64 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +53 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +76 -0
  14. package/dist-es/SignerData.js +9 -0
  15. package/dist-es/SignerDataClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/GetRevocationStatusCommand.js +16 -0
  19. package/dist-es/commands/index.js +1 -0
  20. package/dist-es/endpoint/EndpointParameters.js +13 -0
  21. package/dist-es/endpoint/endpointResolver.js +14 -0
  22. package/dist-es/endpoint/ruleset.js +4 -0
  23. package/dist-es/extensionConfiguration.js +1 -0
  24. package/dist-es/index.js +7 -0
  25. package/dist-es/models/SignerDataServiceException.js +8 -0
  26. package/dist-es/models/errors.js +57 -0
  27. package/dist-es/models/models_0.js +1 -0
  28. package/dist-es/runtimeConfig.browser.js +33 -0
  29. package/dist-es/runtimeConfig.js +48 -0
  30. package/dist-es/runtimeConfig.native.js +11 -0
  31. package/dist-es/runtimeConfig.shared.js +39 -0
  32. package/dist-es/runtimeExtensions.js +9 -0
  33. package/dist-es/schemas/schemas_0.js +73 -0
  34. package/dist-types/SignerData.d.ts +17 -0
  35. package/dist-types/SignerDataClient.d.ts +188 -0
  36. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  37. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  38. package/dist-types/commands/GetRevocationStatusCommand.d.ts +115 -0
  39. package/dist-types/commands/index.d.ts +1 -0
  40. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  41. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  42. package/dist-types/endpoint/ruleset.d.ts +2 -0
  43. package/dist-types/extensionConfiguration.d.ts +9 -0
  44. package/dist-types/index.d.ts +15 -0
  45. package/dist-types/models/SignerDataServiceException.d.ts +14 -0
  46. package/dist-types/models/errors.d.ts +54 -0
  47. package/dist-types/models/models_0.d.ts +42 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  49. package/dist-types/runtimeConfig.d.ts +55 -0
  50. package/dist-types/runtimeConfig.native.d.ts +54 -0
  51. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  52. package/dist-types/runtimeExtensions.d.ts +17 -0
  53. package/dist-types/schemas/schemas_0.d.ts +16 -0
  54. package/dist-types/ts3.4/SignerData.d.ts +24 -0
  55. package/dist-types/ts3.4/SignerDataClient.d.ts +123 -0
  56. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  57. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  58. package/dist-types/ts3.4/commands/GetRevocationStatusCommand.d.ts +47 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  60. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  61. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  62. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  63. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  64. package/dist-types/ts3.4/index.d.ts +10 -0
  65. package/dist-types/ts3.4/models/SignerDataServiceException.d.ts +9 -0
  66. package/dist-types/ts3.4/models/errors.d.ts +34 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +10 -0
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  72. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  73. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  74. package/package.json +100 -0
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface SignerDataExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * <p>AWS Signer Data Plane service provides APIs for checking revocation status of signed artifacts.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./SignerDataClient";
7
+ export * from "./SignerData";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { SignerDataExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./schemas/schemas_0";
13
+ export * from "./models/errors";
14
+ export * from "./models/models_0";
15
+ export { SignerDataServiceException } from "./models/SignerDataServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from SignerData service.
8
+ */
9
+ export declare class SignerDataServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,54 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SignerDataServiceException as __BaseException } from "./SignerDataServiceException";
3
+ /**
4
+ * <p>You do not have sufficient permissions to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ code?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>An internal service error occurred.</p>
18
+ * @public
19
+ */
20
+ export declare class InternalServiceErrorException extends __BaseException {
21
+ readonly name: "InternalServiceErrorException";
22
+ readonly $fault: "server";
23
+ code?: string | undefined;
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>The request was denied due to request throttling.</p>
31
+ * @public
32
+ */
33
+ export declare class TooManyRequestsException extends __BaseException {
34
+ readonly name: "TooManyRequestsException";
35
+ readonly $fault: "client";
36
+ code?: string | undefined;
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
41
+ }
42
+ /**
43
+ * <p>The request contains invalid parameters or is malformed.</p>
44
+ * @public
45
+ */
46
+ export declare class ValidationException extends __BaseException {
47
+ readonly name: "ValidationException";
48
+ readonly $fault: "client";
49
+ code?: string | undefined;
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
54
+ }
@@ -0,0 +1,42 @@
1
+ /**
2
+ * <p>Request structure for checking revocation status.</p>
3
+ * @public
4
+ */
5
+ export interface GetRevocationStatusRequest {
6
+ /**
7
+ * <p>The timestamp when the artifact was signed, in ISO 8601 format.</p>
8
+ * @public
9
+ */
10
+ signatureTimestamp: Date | undefined;
11
+ /**
12
+ * <p>The platform identifier for the signing platform used.</p>
13
+ * @public
14
+ */
15
+ platformId: string | undefined;
16
+ /**
17
+ * <p>The ARN of the signing profile version used to sign the artifact.</p>
18
+ * @public
19
+ */
20
+ profileVersionArn: string | undefined;
21
+ /**
22
+ * <p>The ARN of the signing job that produced the signature.</p>
23
+ * @public
24
+ */
25
+ jobArn: string | undefined;
26
+ /**
27
+ * <p>List of certificate hashes to check for revocation.</p>
28
+ * @public
29
+ */
30
+ certificateHashes: string[] | undefined;
31
+ }
32
+ /**
33
+ * <p>Response containing the list of revoked entities.</p>
34
+ * @public
35
+ */
36
+ export interface GetRevocationStatusResponse {
37
+ /**
38
+ * <p>List of entity identifiers that have been revoked. Empty if no revocations found.</p>
39
+ * @public
40
+ */
41
+ revokedEntities?: string[] | undefined;
42
+ }
@@ -0,0 +1,55 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import type { SignerDataClientConfig } from "./SignerDataClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
+ cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
27
+ urlParser: import("@smithy/types").UrlParser;
28
+ base64Decoder: import("@smithy/types").Decoder;
29
+ base64Encoder: (_input: Uint8Array | string) => string;
30
+ utf8Decoder: import("@smithy/types").Decoder;
31
+ utf8Encoder: (input: Uint8Array | string) => string;
32
+ disableHostPrefix: boolean;
33
+ serviceId: string;
34
+ profile?: string;
35
+ logger: import("@smithy/types").Logger;
36
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
37
+ customUserAgent?: string | import("@smithy/types").UserAgent;
38
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
39
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
40
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
41
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
42
+ logger?: import("@smithy/types").Logger;
43
+ }) => import("@smithy/types").EndpointV2;
44
+ tls?: boolean;
45
+ serviceConfiguredEndpoint?: never;
46
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
47
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SignerDataHttpAuthSchemeProvider;
49
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
+ signingEscapePath?: boolean;
52
+ systemClockOffset?: number;
53
+ signingRegion?: string;
54
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
+ };
@@ -0,0 +1,55 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import type { SignerDataClientConfig } from "./SignerDataClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ sha256: import("@smithy/types").HashConstructor;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
+ cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ profile?: string;
37
+ logger: import("@smithy/types").Logger;
38
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
40
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
42
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
+ logger?: import("@smithy/types").Logger;
44
+ }) => import("@smithy/types").EndpointV2;
45
+ tls?: boolean;
46
+ serviceConfiguredEndpoint?: never;
47
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SignerDataHttpAuthSchemeProvider;
49
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
+ signingEscapePath?: boolean;
52
+ systemClockOffset?: number;
53
+ signingRegion?: string;
54
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
+ };
@@ -0,0 +1,54 @@
1
+ import type { SignerDataClientConfig } from "./SignerDataClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: Uint8Array | string) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
+ disableHostPrefix: boolean;
24
+ serviceId: string;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ region: string | import("@smithy/types").Provider<any>;
28
+ profile?: string;
29
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
+ maxAttempts: number | import("@smithy/types").Provider<number>;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent;
37
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
39
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
40
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
41
+ logger?: import("@smithy/types").Logger;
42
+ }) => import("@smithy/types").EndpointV2;
43
+ tls?: boolean;
44
+ serviceConfiguredEndpoint?: never;
45
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
46
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
47
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SignerDataHttpAuthSchemeProvider;
48
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
49
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
50
+ signingEscapePath?: boolean;
51
+ systemClockOffset?: number;
52
+ signingRegion?: string;
53
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
54
+ };
@@ -0,0 +1,27 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
+ import type { SignerDataClientConfig } from "./SignerDataClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SignerDataClientConfig) => {
7
+ apiVersion: string;
8
+ base64Decoder: import("@smithy/types").Decoder;
9
+ base64Encoder: (_input: Uint8Array | string) => string;
10
+ disableHostPrefix: boolean;
11
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
+ logger?: import("@smithy/types").Logger;
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: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
23
+ serviceId: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
+ };
@@ -0,0 +1,17 @@
1
+ import type { SignerDataExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: SignerDataExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var SignerDataServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var InternalServiceErrorException$: StaticErrorSchema;
6
+ export declare var TooManyRequestsException$: StaticErrorSchema;
7
+ export declare var ValidationException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
14
+ export declare var GetRevocationStatusRequest$: StaticStructureSchema;
15
+ export declare var GetRevocationStatusResponse$: StaticStructureSchema;
16
+ export declare var GetRevocationStatus$: StaticOperationSchema;
@@ -0,0 +1,24 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ GetRevocationStatusCommandInput,
4
+ GetRevocationStatusCommandOutput,
5
+ } from "./commands/GetRevocationStatusCommand";
6
+ import { SignerDataClient } from "./SignerDataClient";
7
+ export interface SignerData {
8
+ getRevocationStatus(
9
+ args: GetRevocationStatusCommandInput,
10
+ options?: __HttpHandlerOptions
11
+ ): Promise<GetRevocationStatusCommandOutput>;
12
+ getRevocationStatus(
13
+ args: GetRevocationStatusCommandInput,
14
+ cb: (err: any, data?: GetRevocationStatusCommandOutput) => void
15
+ ): void;
16
+ getRevocationStatus(
17
+ args: GetRevocationStatusCommandInput,
18
+ options: __HttpHandlerOptions,
19
+ cb: (err: any, data?: GetRevocationStatusCommandOutput) => void
20
+ ): void;
21
+ }
22
+ export declare class SignerData
23
+ extends SignerDataClient
24
+ implements SignerData {}
@@ -0,0 +1,123 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ DefaultsMode as __DefaultsMode,
24
+ SmithyConfiguration as __SmithyConfiguration,
25
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ BodyLengthCalculator as __BodyLengthCalculator,
30
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
+ ChecksumConstructor as __ChecksumConstructor,
32
+ Decoder as __Decoder,
33
+ Encoder as __Encoder,
34
+ HashConstructor as __HashConstructor,
35
+ HttpHandlerOptions as __HttpHandlerOptions,
36
+ Logger as __Logger,
37
+ Provider as __Provider,
38
+ StreamCollector as __StreamCollector,
39
+ UrlParser as __UrlParser,
40
+ AwsCredentialIdentityProvider,
41
+ Provider,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ GetRevocationStatusCommandInput,
50
+ GetRevocationStatusCommandOutput,
51
+ } from "./commands/GetRevocationStatusCommand";
52
+ import {
53
+ ClientInputEndpointParameters,
54
+ ClientResolvedEndpointParameters,
55
+ EndpointParameters,
56
+ } from "./endpoint/EndpointParameters";
57
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
58
+ export { __Client };
59
+ export type ServiceInputTypes = GetRevocationStatusCommandInput;
60
+ export type ServiceOutputTypes = GetRevocationStatusCommandOutput;
61
+ export interface ClientDefaults
62
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
63
+ requestHandler?: __HttpHandlerUserInput;
64
+ sha256?: __ChecksumConstructor | __HashConstructor;
65
+ urlParser?: __UrlParser;
66
+ bodyLengthChecker?: __BodyLengthCalculator;
67
+ streamCollector?: __StreamCollector;
68
+ base64Decoder?: __Decoder;
69
+ base64Encoder?: __Encoder;
70
+ utf8Decoder?: __Decoder;
71
+ utf8Encoder?: __Encoder;
72
+ runtime?: string;
73
+ disableHostPrefix?: boolean;
74
+ serviceId?: string;
75
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
76
+ useFipsEndpoint?: boolean | __Provider<boolean>;
77
+ region?: string | __Provider<string>;
78
+ profile?: string;
79
+ defaultUserAgentProvider?: Provider<__UserAgent>;
80
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
81
+ maxAttempts?: number | __Provider<number>;
82
+ retryMode?: string | __Provider<string>;
83
+ logger?: __Logger;
84
+ extensions?: RuntimeExtension[];
85
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
86
+ }
87
+ export type SignerDataClientConfigType = Partial<
88
+ __SmithyConfiguration<__HttpHandlerOptions>
89
+ > &
90
+ ClientDefaults &
91
+ UserAgentInputConfig &
92
+ RetryInputConfig &
93
+ RegionInputConfig &
94
+ HostHeaderInputConfig &
95
+ EndpointInputConfig<EndpointParameters> &
96
+ HttpAuthSchemeInputConfig &
97
+ ClientInputEndpointParameters;
98
+ export interface SignerDataClientConfig extends SignerDataClientConfigType {}
99
+ export type SignerDataClientResolvedConfigType =
100
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
101
+ Required<ClientDefaults> &
102
+ RuntimeExtensionsConfig &
103
+ UserAgentResolvedConfig &
104
+ RetryResolvedConfig &
105
+ RegionResolvedConfig &
106
+ HostHeaderResolvedConfig &
107
+ EndpointResolvedConfig<EndpointParameters> &
108
+ HttpAuthSchemeResolvedConfig &
109
+ ClientResolvedEndpointParameters;
110
+ export interface SignerDataClientResolvedConfig
111
+ extends SignerDataClientResolvedConfigType {}
112
+ export declare class SignerDataClient extends __Client<
113
+ __HttpHandlerOptions,
114
+ ServiceInputTypes,
115
+ ServiceOutputTypes,
116
+ SignerDataClientResolvedConfig
117
+ > {
118
+ readonly config: SignerDataClientResolvedConfig;
119
+ constructor(
120
+ ...[configuration]: __CheckOptionalClientConfig<SignerDataClientConfig>
121
+ );
122
+ destroy(): void;
123
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ HttpAuthScheme,
3
+ AwsCredentialIdentity,
4
+ AwsCredentialIdentityProvider,
5
+ } from "@smithy/types";
6
+ import { SignerDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: SignerDataHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): SignerDataHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: SignerDataHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,47 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { SignerDataClientResolvedConfig } from "../SignerDataClient";
15
+ export interface SignerDataHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface SignerDataHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ SignerDataClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ SignerDataHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultSignerDataHttpAuthSchemeParametersProvider: (
27
+ config: SignerDataClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<SignerDataHttpAuthSchemeParameters>;
31
+ export interface SignerDataHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<SignerDataHttpAuthSchemeParameters> {}
33
+ export declare const defaultSignerDataHttpAuthSchemeProvider: SignerDataHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: SignerDataHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: SignerDataHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;