@aws-sdk/client-payments 0.0.0-stage → 3.1174.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 +222 -2
- package/dist-cjs/index.js +972 -0
- package/dist-es/Payments.js +27 -0
- package/dist-es/PaymentsClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BatchGetFinancialRecordCommand.js +4 -0
- package/dist-es/commands/GetAccountBalanceCommand.js +4 -0
- package/dist-es/commands/GetFinancialRecordCommand.js +4 -0
- package/dist-es/commands/GetPaymentInstrumentCommand.js +4 -0
- package/dist-es/commands/ListFinancialRecordsCommand.js +4 -0
- package/dist-es/commands/ListPaymentInstrumentsCommand.js +4 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/PaymentsServiceException.js +9 -0
- package/dist-es/models/enums.js +89 -0
- package/dist-es/models/errors.js +84 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetAccountBalancePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFinancialRecordsPaginator.js +4 -0
- package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +406 -0
- package/dist-types/Payments.d.ts +81 -0
- package/dist-types/PaymentsClient.d.ts +193 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/BatchGetFinancialRecordCommand.d.ts +231 -0
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +124 -0
- package/dist-types/commands/GetFinancialRecordCommand.d.ts +200 -0
- package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +163 -0
- package/dist-types/commands/ListFinancialRecordsCommand.d.ts +188 -0
- package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +126 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/PaymentsServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +225 -0
- package/dist-types/models/errors.d.ts +108 -0
- package/dist-types/models/models_0.d.ts +936 -0
- package/dist-types/pagination/GetAccountBalancePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFinancialRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +55 -0
- package/dist-types/ts3.4/Payments.d.ts +138 -0
- package/dist-types/ts3.4/PaymentsClient.d.ts +136 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/BatchGetFinancialRecordCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetFinancialRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFinancialRecordsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/PaymentsServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +111 -0
- package/dist-types/ts3.4/models/errors.d.ts +45 -0
- package/dist-types/ts3.4/models/models_0.d.ts +340 -0
- package/dist-types/ts3.4/pagination/GetAccountBalancePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListFinancialRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
- package/package.json +67 -4
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetAccountBalanceCommandInput, GetAccountBalanceCommandOutput } from "../commands/GetAccountBalanceCommand";
|
|
3
|
+
import type { PaymentsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetAccountBalance: (config: PaymentsPaginationConfiguration, input: GetAccountBalanceCommandInput, ...rest: any[]) => Paginator<GetAccountBalanceCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListFinancialRecordsCommandInput, ListFinancialRecordsCommandOutput } from "../commands/ListFinancialRecordsCommand";
|
|
3
|
+
import type { PaymentsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListFinancialRecords: (config: PaymentsPaginationConfiguration, input: ListFinancialRecordsCommandInput, ...rest: any[]) => Paginator<ListFinancialRecordsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListPaymentInstrumentsCommandInput, ListPaymentInstrumentsCommandOutput } from "../commands/ListPaymentInstrumentsCommand";
|
|
3
|
+
import type { PaymentsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListPaymentInstruments: (config: PaymentsPaginationConfiguration, input: ListPaymentInstrumentsCommandInput, ...rest: any[]) => Paginator<ListPaymentInstrumentsCommandOutput>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { PaymentsClientConfig } from "./PaymentsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
9
|
+
tls?: boolean;
|
|
10
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
11
|
+
serviceConfiguredEndpoint?: never;
|
|
12
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
13
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
14
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
15
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
16
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
17
|
+
signingEscapePath?: boolean;
|
|
18
|
+
systemClockOffset?: number;
|
|
19
|
+
signingRegion?: string;
|
|
20
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
21
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
28
|
+
logger?: import("@smithy/types").Logger;
|
|
29
|
+
}) => import("@smithy/types").EndpointV2;
|
|
30
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PaymentsHttpAuthSchemeProvider;
|
|
32
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
33
|
+
logger: import("@smithy/types").Logger;
|
|
34
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
35
|
+
protocolSettings: {
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
};
|
|
39
|
+
serviceId: string;
|
|
40
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
41
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
profile?: string;
|
|
45
|
+
runtime: string;
|
|
46
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
47
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
48
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
49
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
50
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
52
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
53
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
55
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
56
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
57
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import type { PaymentsClientConfig } from "./PaymentsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
9
|
+
tls?: boolean;
|
|
10
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
11
|
+
serviceConfiguredEndpoint?: never;
|
|
12
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
13
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
14
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
15
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
16
|
+
signingEscapePath?: boolean;
|
|
17
|
+
systemClockOffset?: number;
|
|
18
|
+
signingRegion?: string;
|
|
19
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
20
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
26
|
+
logger?: import("@smithy/types").Logger;
|
|
27
|
+
}) => import("@smithy/types").EndpointV2;
|
|
28
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PaymentsHttpAuthSchemeProvider;
|
|
30
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
31
|
+
logger: import("@smithy/types").Logger;
|
|
32
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
33
|
+
protocolSettings: {
|
|
34
|
+
[setting: string]: unknown;
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
};
|
|
37
|
+
serviceId: string;
|
|
38
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
42
|
+
runtime: string;
|
|
43
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
44
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
|
+
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
48
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
49
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
50
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
51
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
52
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
54
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
55
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
56
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
57
|
+
profile?: string;
|
|
58
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { PaymentsClientConfig } from "./PaymentsClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
|
|
6
|
+
cacheMiddleware?: boolean;
|
|
7
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
8
|
+
tls?: boolean;
|
|
9
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
10
|
+
serviceConfiguredEndpoint?: never;
|
|
11
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
12
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
13
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
14
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
15
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
16
|
+
signingEscapePath?: boolean;
|
|
17
|
+
systemClockOffset?: number;
|
|
18
|
+
signingRegion?: string;
|
|
19
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
20
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
25
|
+
disableHostPrefix: boolean;
|
|
26
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
27
|
+
logger?: import("@smithy/types").Logger;
|
|
28
|
+
}) => import("@smithy/types").EndpointV2;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PaymentsHttpAuthSchemeProvider;
|
|
31
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
32
|
+
logger: import("@smithy/types").Logger;
|
|
33
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
[setting: string]: unknown;
|
|
36
|
+
defaultNamespace?: string;
|
|
37
|
+
};
|
|
38
|
+
serviceId: string;
|
|
39
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
40
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
41
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
42
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
43
|
+
profile?: string;
|
|
44
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
|
|
45
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
47
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
50
|
+
requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any>;
|
|
51
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
53
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
54
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
55
|
+
runtime: string;
|
|
56
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import type { PaymentsClientConfig } from "./PaymentsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
9
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
10
|
+
disableHostPrefix: boolean;
|
|
11
|
+
endpointProvider: (params: 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").PaymentsHttpAuthSchemeProvider;
|
|
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 AwsJson1_0Protocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
23
|
+
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
25
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PaymentsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: PaymentsExtensionConfiguration): 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,55 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
|
+
export declare var PaymentsServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
6
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
8
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
9
|
+
/**
|
|
10
|
+
* TypeRegistry instances containing modeled errors.
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
15
|
+
export declare var AccountBalance$: StaticStructureSchema;
|
|
16
|
+
export declare var Balances$: StaticStructureSchema;
|
|
17
|
+
export declare var BatchGetFinancialRecordRequest$: StaticStructureSchema;
|
|
18
|
+
export declare var BatchGetFinancialRecordResponse$: StaticStructureSchema;
|
|
19
|
+
export declare var BillingPeriod$: StaticStructureSchema;
|
|
20
|
+
export declare var BusinessUnit$: StaticStructureSchema;
|
|
21
|
+
export declare var Card$: StaticStructureSchema;
|
|
22
|
+
export declare var CnBankRedirect$: StaticStructureSchema;
|
|
23
|
+
export declare var CreditMemoDetails$: StaticStructureSchema;
|
|
24
|
+
export declare var CurrencyAmount$: StaticStructureSchema;
|
|
25
|
+
export declare var FinancialRecord$: StaticStructureSchema;
|
|
26
|
+
export declare var FinancialRecordError$: StaticStructureSchema;
|
|
27
|
+
export declare var FinancialRecordSummary$: StaticStructureSchema;
|
|
28
|
+
export declare var GetAccountBalanceRequest$: StaticStructureSchema;
|
|
29
|
+
export declare var GetAccountBalanceResponse$: StaticStructureSchema;
|
|
30
|
+
export declare var GetFinancialRecordRequest$: StaticStructureSchema;
|
|
31
|
+
export declare var GetFinancialRecordResponse$: StaticStructureSchema;
|
|
32
|
+
export declare var GetPaymentInstrumentRequest$: StaticStructureSchema;
|
|
33
|
+
export declare var GetPaymentInstrumentResponse$: StaticStructureSchema;
|
|
34
|
+
export declare var InNetBanking$: StaticStructureSchema;
|
|
35
|
+
export declare var InvoiceDetails$: StaticStructureSchema;
|
|
36
|
+
export declare var ListFinancialRecordsRequest$: StaticStructureSchema;
|
|
37
|
+
export declare var ListFinancialRecordsResponse$: StaticStructureSchema;
|
|
38
|
+
export declare var ListPaymentInstrumentsRequest$: StaticStructureSchema;
|
|
39
|
+
export declare var ListPaymentInstrumentsResponse$: StaticStructureSchema;
|
|
40
|
+
export declare var PaymentInstrument$: StaticStructureSchema;
|
|
41
|
+
export declare var PaymentInstrumentSummary$: StaticStructureSchema;
|
|
42
|
+
export declare var SepaBankAccount$: StaticStructureSchema;
|
|
43
|
+
export declare var UkBacsBankAccount$: StaticStructureSchema;
|
|
44
|
+
export declare var Upi$: StaticStructureSchema;
|
|
45
|
+
export declare var UsAchBankAccount$: StaticStructureSchema;
|
|
46
|
+
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
47
|
+
export declare var FinancialRecordDetails$: StaticUnionSchema;
|
|
48
|
+
export declare var FinancialRecordKey$: StaticUnionSchema;
|
|
49
|
+
export declare var PaymentInstrumentDetails$: StaticUnionSchema;
|
|
50
|
+
export declare var BatchGetFinancialRecord$: StaticOperationSchema;
|
|
51
|
+
export declare var GetAccountBalance$: StaticOperationSchema;
|
|
52
|
+
export declare var GetFinancialRecord$: StaticOperationSchema;
|
|
53
|
+
export declare var GetPaymentInstrument$: StaticOperationSchema;
|
|
54
|
+
export declare var ListFinancialRecords$: StaticOperationSchema;
|
|
55
|
+
export declare var ListPaymentInstruments$: StaticOperationSchema;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
PaginationConfiguration,
|
|
5
|
+
Paginator,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import {
|
|
8
|
+
BatchGetFinancialRecordCommandInput,
|
|
9
|
+
BatchGetFinancialRecordCommandOutput,
|
|
10
|
+
} from "./commands/BatchGetFinancialRecordCommand";
|
|
11
|
+
import {
|
|
12
|
+
GetAccountBalanceCommandInput,
|
|
13
|
+
GetAccountBalanceCommandOutput,
|
|
14
|
+
} from "./commands/GetAccountBalanceCommand";
|
|
15
|
+
import {
|
|
16
|
+
GetFinancialRecordCommandInput,
|
|
17
|
+
GetFinancialRecordCommandOutput,
|
|
18
|
+
} from "./commands/GetFinancialRecordCommand";
|
|
19
|
+
import {
|
|
20
|
+
GetPaymentInstrumentCommandInput,
|
|
21
|
+
GetPaymentInstrumentCommandOutput,
|
|
22
|
+
} from "./commands/GetPaymentInstrumentCommand";
|
|
23
|
+
import {
|
|
24
|
+
ListFinancialRecordsCommandInput,
|
|
25
|
+
ListFinancialRecordsCommandOutput,
|
|
26
|
+
} from "./commands/ListFinancialRecordsCommand";
|
|
27
|
+
import {
|
|
28
|
+
ListPaymentInstrumentsCommandInput,
|
|
29
|
+
ListPaymentInstrumentsCommandOutput,
|
|
30
|
+
} from "./commands/ListPaymentInstrumentsCommand";
|
|
31
|
+
import { PaymentsClient } from "./PaymentsClient";
|
|
32
|
+
export interface PaymentsRequestOptions extends __HttpHandlerOptions {
|
|
33
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
34
|
+
}
|
|
35
|
+
export interface Payments {
|
|
36
|
+
batchGetFinancialRecord(
|
|
37
|
+
args: BatchGetFinancialRecordCommandInput,
|
|
38
|
+
options?: PaymentsRequestOptions,
|
|
39
|
+
): Promise<BatchGetFinancialRecordCommandOutput>;
|
|
40
|
+
batchGetFinancialRecord(
|
|
41
|
+
args: BatchGetFinancialRecordCommandInput,
|
|
42
|
+
cb: (err: any, data?: BatchGetFinancialRecordCommandOutput) => void,
|
|
43
|
+
): void;
|
|
44
|
+
batchGetFinancialRecord(
|
|
45
|
+
args: BatchGetFinancialRecordCommandInput,
|
|
46
|
+
options: PaymentsRequestOptions,
|
|
47
|
+
cb: (err: any, data?: BatchGetFinancialRecordCommandOutput) => void,
|
|
48
|
+
): void;
|
|
49
|
+
getAccountBalance(
|
|
50
|
+
args: GetAccountBalanceCommandInput,
|
|
51
|
+
options?: PaymentsRequestOptions,
|
|
52
|
+
): Promise<GetAccountBalanceCommandOutput>;
|
|
53
|
+
getAccountBalance(
|
|
54
|
+
args: GetAccountBalanceCommandInput,
|
|
55
|
+
cb: (err: any, data?: GetAccountBalanceCommandOutput) => void,
|
|
56
|
+
): void;
|
|
57
|
+
getAccountBalance(
|
|
58
|
+
args: GetAccountBalanceCommandInput,
|
|
59
|
+
options: PaymentsRequestOptions,
|
|
60
|
+
cb: (err: any, data?: GetAccountBalanceCommandOutput) => void,
|
|
61
|
+
): void;
|
|
62
|
+
getFinancialRecord(): Promise<GetFinancialRecordCommandOutput>;
|
|
63
|
+
getFinancialRecord(
|
|
64
|
+
args: GetFinancialRecordCommandInput,
|
|
65
|
+
options?: PaymentsRequestOptions,
|
|
66
|
+
): Promise<GetFinancialRecordCommandOutput>;
|
|
67
|
+
getFinancialRecord(
|
|
68
|
+
args: GetFinancialRecordCommandInput,
|
|
69
|
+
cb: (err: any, data?: GetFinancialRecordCommandOutput) => void,
|
|
70
|
+
): void;
|
|
71
|
+
getFinancialRecord(
|
|
72
|
+
args: GetFinancialRecordCommandInput,
|
|
73
|
+
options: PaymentsRequestOptions,
|
|
74
|
+
cb: (err: any, data?: GetFinancialRecordCommandOutput) => void,
|
|
75
|
+
): void;
|
|
76
|
+
getPaymentInstrument(
|
|
77
|
+
args: GetPaymentInstrumentCommandInput,
|
|
78
|
+
options?: PaymentsRequestOptions,
|
|
79
|
+
): Promise<GetPaymentInstrumentCommandOutput>;
|
|
80
|
+
getPaymentInstrument(
|
|
81
|
+
args: GetPaymentInstrumentCommandInput,
|
|
82
|
+
cb: (err: any, data?: GetPaymentInstrumentCommandOutput) => void,
|
|
83
|
+
): void;
|
|
84
|
+
getPaymentInstrument(
|
|
85
|
+
args: GetPaymentInstrumentCommandInput,
|
|
86
|
+
options: PaymentsRequestOptions,
|
|
87
|
+
cb: (err: any, data?: GetPaymentInstrumentCommandOutput) => void,
|
|
88
|
+
): void;
|
|
89
|
+
listFinancialRecords(
|
|
90
|
+
args: ListFinancialRecordsCommandInput,
|
|
91
|
+
options?: PaymentsRequestOptions,
|
|
92
|
+
): Promise<ListFinancialRecordsCommandOutput>;
|
|
93
|
+
listFinancialRecords(
|
|
94
|
+
args: ListFinancialRecordsCommandInput,
|
|
95
|
+
cb: (err: any, data?: ListFinancialRecordsCommandOutput) => void,
|
|
96
|
+
): void;
|
|
97
|
+
listFinancialRecords(
|
|
98
|
+
args: ListFinancialRecordsCommandInput,
|
|
99
|
+
options: PaymentsRequestOptions,
|
|
100
|
+
cb: (err: any, data?: ListFinancialRecordsCommandOutput) => void,
|
|
101
|
+
): void;
|
|
102
|
+
listPaymentInstruments(): Promise<ListPaymentInstrumentsCommandOutput>;
|
|
103
|
+
listPaymentInstruments(
|
|
104
|
+
args: ListPaymentInstrumentsCommandInput,
|
|
105
|
+
options?: PaymentsRequestOptions,
|
|
106
|
+
): Promise<ListPaymentInstrumentsCommandOutput>;
|
|
107
|
+
listPaymentInstruments(
|
|
108
|
+
args: ListPaymentInstrumentsCommandInput,
|
|
109
|
+
cb: (err: any, data?: ListPaymentInstrumentsCommandOutput) => void,
|
|
110
|
+
): void;
|
|
111
|
+
listPaymentInstruments(
|
|
112
|
+
args: ListPaymentInstrumentsCommandInput,
|
|
113
|
+
options: PaymentsRequestOptions,
|
|
114
|
+
cb: (err: any, data?: ListPaymentInstrumentsCommandOutput) => void,
|
|
115
|
+
): void;
|
|
116
|
+
paginateGetAccountBalance(
|
|
117
|
+
args: GetAccountBalanceCommandInput,
|
|
118
|
+
paginationConfig?: Pick<
|
|
119
|
+
PaginationConfiguration,
|
|
120
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
121
|
+
>,
|
|
122
|
+
): Paginator<GetAccountBalanceCommandOutput>;
|
|
123
|
+
paginateListFinancialRecords(
|
|
124
|
+
args: ListFinancialRecordsCommandInput,
|
|
125
|
+
paginationConfig?: Pick<
|
|
126
|
+
PaginationConfiguration,
|
|
127
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
128
|
+
>,
|
|
129
|
+
): Paginator<ListFinancialRecordsCommandOutput>;
|
|
130
|
+
paginateListPaymentInstruments(
|
|
131
|
+
args?: ListPaymentInstrumentsCommandInput,
|
|
132
|
+
paginationConfig?: Pick<
|
|
133
|
+
PaginationConfiguration,
|
|
134
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
135
|
+
>,
|
|
136
|
+
): Paginator<ListPaymentInstrumentsCommandOutput>;
|
|
137
|
+
}
|
|
138
|
+
export declare class Payments extends PaymentsClient implements Payments {}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
UserAgentInputConfig,
|
|
5
|
+
UserAgentResolvedConfig,
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
7
|
+
import {
|
|
8
|
+
DefaultsMode as __DefaultsMode,
|
|
9
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
10
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
11
|
+
Client as __Client,
|
|
12
|
+
} from "@smithy/core/client";
|
|
13
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
15
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
16
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
17
|
+
import {
|
|
18
|
+
AwsCredentialIdentityProvider,
|
|
19
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
20
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
21
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
22
|
+
Decoder as __Decoder,
|
|
23
|
+
Encoder as __Encoder,
|
|
24
|
+
HashConstructor as __HashConstructor,
|
|
25
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
26
|
+
Logger as __Logger,
|
|
27
|
+
Provider as __Provider,
|
|
28
|
+
StreamCollector as __StreamCollector,
|
|
29
|
+
UrlParser as __UrlParser,
|
|
30
|
+
UserAgent as __UserAgent,
|
|
31
|
+
} from "@smithy/types";
|
|
32
|
+
import {
|
|
33
|
+
HttpAuthSchemeInputConfig,
|
|
34
|
+
HttpAuthSchemeResolvedConfig,
|
|
35
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
36
|
+
import {
|
|
37
|
+
BatchGetFinancialRecordCommandInput,
|
|
38
|
+
BatchGetFinancialRecordCommandOutput,
|
|
39
|
+
} from "./commands/BatchGetFinancialRecordCommand";
|
|
40
|
+
import {
|
|
41
|
+
GetAccountBalanceCommandInput,
|
|
42
|
+
GetAccountBalanceCommandOutput,
|
|
43
|
+
} from "./commands/GetAccountBalanceCommand";
|
|
44
|
+
import {
|
|
45
|
+
GetFinancialRecordCommandInput,
|
|
46
|
+
GetFinancialRecordCommandOutput,
|
|
47
|
+
} from "./commands/GetFinancialRecordCommand";
|
|
48
|
+
import {
|
|
49
|
+
GetPaymentInstrumentCommandInput,
|
|
50
|
+
GetPaymentInstrumentCommandOutput,
|
|
51
|
+
} from "./commands/GetPaymentInstrumentCommand";
|
|
52
|
+
import {
|
|
53
|
+
ListFinancialRecordsCommandInput,
|
|
54
|
+
ListFinancialRecordsCommandOutput,
|
|
55
|
+
} from "./commands/ListFinancialRecordsCommand";
|
|
56
|
+
import {
|
|
57
|
+
ListPaymentInstrumentsCommandInput,
|
|
58
|
+
ListPaymentInstrumentsCommandOutput,
|
|
59
|
+
} from "./commands/ListPaymentInstrumentsCommand";
|
|
60
|
+
import {
|
|
61
|
+
ClientInputEndpointParameters,
|
|
62
|
+
ClientResolvedEndpointParameters,
|
|
63
|
+
EndpointParameters,
|
|
64
|
+
} from "./endpoint/EndpointParameters";
|
|
65
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
66
|
+
export { __Client };
|
|
67
|
+
export type ServiceInputTypes =
|
|
68
|
+
| BatchGetFinancialRecordCommandInput
|
|
69
|
+
| GetAccountBalanceCommandInput
|
|
70
|
+
| GetFinancialRecordCommandInput
|
|
71
|
+
| GetPaymentInstrumentCommandInput
|
|
72
|
+
| ListFinancialRecordsCommandInput
|
|
73
|
+
| ListPaymentInstrumentsCommandInput;
|
|
74
|
+
export type ServiceOutputTypes =
|
|
75
|
+
| BatchGetFinancialRecordCommandOutput
|
|
76
|
+
| GetAccountBalanceCommandOutput
|
|
77
|
+
| GetFinancialRecordCommandOutput
|
|
78
|
+
| GetPaymentInstrumentCommandOutput
|
|
79
|
+
| ListFinancialRecordsCommandOutput
|
|
80
|
+
| ListPaymentInstrumentsCommandOutput;
|
|
81
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
82
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
83
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
84
|
+
urlParser?: __UrlParser;
|
|
85
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
86
|
+
streamCollector?: __StreamCollector;
|
|
87
|
+
base64Decoder?: __Decoder;
|
|
88
|
+
base64Encoder?: __Encoder;
|
|
89
|
+
utf8Decoder?: __Decoder;
|
|
90
|
+
utf8Encoder?: __Encoder;
|
|
91
|
+
runtime?: string;
|
|
92
|
+
disableHostPrefix?: boolean;
|
|
93
|
+
serviceId?: string;
|
|
94
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
95
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
96
|
+
region?: string | __Provider<string>;
|
|
97
|
+
profile?: string;
|
|
98
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
99
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
100
|
+
maxAttempts?: number | __Provider<number>;
|
|
101
|
+
retryMode?: string | __Provider<string>;
|
|
102
|
+
logger?: __Logger;
|
|
103
|
+
extensions?: RuntimeExtension[];
|
|
104
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
105
|
+
}
|
|
106
|
+
export type PaymentsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
107
|
+
ClientDefaults &
|
|
108
|
+
UserAgentInputConfig &
|
|
109
|
+
RetryInputConfig &
|
|
110
|
+
RegionInputConfig &
|
|
111
|
+
HostHeaderInputConfig &
|
|
112
|
+
EndpointInputConfig<EndpointParameters> &
|
|
113
|
+
HttpAuthSchemeInputConfig &
|
|
114
|
+
ClientInputEndpointParameters;
|
|
115
|
+
export interface PaymentsClientConfig extends PaymentsClientConfigType {}
|
|
116
|
+
export type PaymentsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
117
|
+
Required<ClientDefaults> &
|
|
118
|
+
RuntimeExtensionsConfig &
|
|
119
|
+
UserAgentResolvedConfig &
|
|
120
|
+
RetryResolvedConfig &
|
|
121
|
+
RegionResolvedConfig &
|
|
122
|
+
HostHeaderResolvedConfig &
|
|
123
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
124
|
+
HttpAuthSchemeResolvedConfig &
|
|
125
|
+
ClientResolvedEndpointParameters;
|
|
126
|
+
export interface PaymentsClientResolvedConfig extends PaymentsClientResolvedConfigType {}
|
|
127
|
+
export declare class PaymentsClient extends __Client<
|
|
128
|
+
__HttpHandlerOptions,
|
|
129
|
+
ServiceInputTypes,
|
|
130
|
+
ServiceOutputTypes,
|
|
131
|
+
PaymentsClientResolvedConfig
|
|
132
|
+
> {
|
|
133
|
+
readonly config: PaymentsClientResolvedConfig;
|
|
134
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<PaymentsClientConfig>);
|
|
135
|
+
destroy(): void;
|
|
136
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { PaymentsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: PaymentsHttpAuthSchemeProvider): void;
|
|
11
|
+
httpAuthSchemeProvider(): PaymentsHttpAuthSchemeProvider;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
14
|
+
}
|
|
15
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
16
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
17
|
+
httpAuthSchemeProvider: PaymentsHttpAuthSchemeProvider;
|
|
18
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
22
|
+
) => HttpAuthExtensionConfiguration;
|
|
23
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
25
|
+
) => HttpAuthRuntimeConfig;
|