@aws-sdk/client-bedrock-agentcore 3.1110.0 → 3.1112.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.
@@ -1766,12 +1766,38 @@ export interface CryptoX402PaymentInput {
1766
1766
  * @public
1767
1767
  */
1768
1768
  payload: __DocumentType | undefined;
1769
+ /**
1770
+ * <p>The maximum on-chain Permit2 allowance to grant before signing the payment authorization, in the asset's smallest denomination. This field is valid only for the <code>upto</code> (metered) scheme; supplying it for the <code>exact</code> scheme returns a validation error.</p> <p>When set, the service approves an ERC-20 allowance for this amount before processing the payment. The approval sets, rather than adds to, the wallet's allowance. Set this field only when the wallet needs approving, for example on its first <code>upto</code> payment, to avoid a redundant on-chain transaction. Omit the field to skip allowance handling. This is the default, and the only behavior for the <code>exact</code> scheme.</p>
1771
+ * @public
1772
+ */
1773
+ permit2AllowanceLimit?: string | undefined;
1774
+ }
1775
+ /**
1776
+ * <p>Contains the payment challenge from a 402 Payment Required response. Forward the raw <code>WWW-Authenticate: Payment</code> header value verbatim. In response, you receive a payment credential that satisfies the challenge. Provide exactly one challenge per request.</p>
1777
+ * @public
1778
+ */
1779
+ export interface MppPaymentInput {
1780
+ /**
1781
+ * <p>The MPP protocol version, for example "1" or "2".</p>
1782
+ * @public
1783
+ */
1784
+ version: string | undefined;
1785
+ /**
1786
+ * <p>The raw <code>WWW-Authenticate: Payment</code> header value from the 402 response, passed verbatim. Provide exactly one entry. The service uses this value to generate the payment credential.</p>
1787
+ * @public
1788
+ */
1789
+ wwwAuthenticateHeaders: string[] | undefined;
1790
+ /**
1791
+ * <p>Authorizes the service to sign a payment whose blockchain network (gas) fees are charged to your wallet, on top of the payment amount.</p> <p>The challenge indicates who sponsors the network fees. When the challenge does not sponsor them, the service signs the payment only if this field is <code>true</code>. Otherwise it returns a validation error, so you can decide whether to pay the fees or obtain a challenge that sponsors them.</p> <p>Optional. When omitted or <code>false</code>, you decline to pay network fees. This field has no effect on challenges that already sponsor the fees.</p>
1792
+ * @public
1793
+ */
1794
+ buyerPaysGasFees?: boolean | undefined;
1769
1795
  }
1770
1796
  /**
1771
1797
  * <p>The payment input details, which vary by payment type.</p>
1772
1798
  * @public
1773
1799
  */
1774
- export type PaymentInput = PaymentInput.CryptoX402Member | PaymentInput.$UnknownMember;
1800
+ export type PaymentInput = PaymentInput.CryptoX402Member | PaymentInput.MppMember | PaymentInput.$UnknownMember;
1775
1801
  /**
1776
1802
  * @public
1777
1803
  */
@@ -1782,6 +1808,16 @@ export declare namespace PaymentInput {
1782
1808
  */
1783
1809
  interface CryptoX402Member {
1784
1810
  cryptoX402: CryptoX402PaymentInput;
1811
+ mpp?: never;
1812
+ $unknown?: never;
1813
+ }
1814
+ /**
1815
+ * <p>Contains the payment challenge from a 402 Payment Required response. Forward the raw <code>WWW-Authenticate: Payment</code> header value verbatim. In response, you receive a payment credential that satisfies the challenge. Provide exactly one challenge per request.</p>
1816
+ * @public
1817
+ */
1818
+ interface MppMember {
1819
+ cryptoX402?: never;
1820
+ mpp: MppPaymentInput;
1785
1821
  $unknown?: never;
1786
1822
  }
1787
1823
  /**
@@ -1789,6 +1825,7 @@ export declare namespace PaymentInput {
1789
1825
  */
1790
1826
  interface $UnknownMember {
1791
1827
  cryptoX402?: never;
1828
+ mpp?: never;
1792
1829
  $unknown: [string, any];
1793
1830
  }
1794
1831
  /**
@@ -1797,6 +1834,7 @@ export declare namespace PaymentInput {
1797
1834
  */
1798
1835
  interface Visitor<T> {
1799
1836
  cryptoX402: (value: CryptoX402PaymentInput) => T;
1837
+ mpp: (value: MppPaymentInput) => T;
1800
1838
  _: (name: string, value: any) => T;
1801
1839
  }
1802
1840
  }
@@ -1862,11 +1900,32 @@ export interface CryptoX402PaymentOutput {
1862
1900
  */
1863
1901
  payload: __DocumentType | undefined;
1864
1902
  }
1903
+ /**
1904
+ * <p>Contains the payment credential, ready to retry the request.</p>
1905
+ * @public
1906
+ */
1907
+ export interface MppPaymentOutput {
1908
+ /**
1909
+ * <p>The MPP protocol version, for example "1" or "2".</p>
1910
+ * @public
1911
+ */
1912
+ version: string | undefined;
1913
+ /**
1914
+ * <p>The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.</p>
1915
+ * @public
1916
+ */
1917
+ selectedPaymentId: string | undefined;
1918
+ /**
1919
+ * <p>Ready-to-send value for the <code>Authorization</code> header, in the form "Payment &lt;base64url-token&gt;". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.</p>
1920
+ * @public
1921
+ */
1922
+ paymentCredential: string | undefined;
1923
+ }
1865
1924
  /**
1866
1925
  * <p>The payment output details, which vary by payment type.</p>
1867
1926
  * @public
1868
1927
  */
1869
- export type PaymentOutput = PaymentOutput.CryptoX402Member | PaymentOutput.$UnknownMember;
1928
+ export type PaymentOutput = PaymentOutput.CryptoX402Member | PaymentOutput.MppMember | PaymentOutput.$UnknownMember;
1870
1929
  /**
1871
1930
  * @public
1872
1931
  */
@@ -1877,6 +1936,16 @@ export declare namespace PaymentOutput {
1877
1936
  */
1878
1937
  interface CryptoX402Member {
1879
1938
  cryptoX402: CryptoX402PaymentOutput;
1939
+ mpp?: never;
1940
+ $unknown?: never;
1941
+ }
1942
+ /**
1943
+ * <p>Contains the payment credential, ready to retry the request.</p>
1944
+ * @public
1945
+ */
1946
+ interface MppMember {
1947
+ cryptoX402?: never;
1948
+ mpp: MppPaymentOutput;
1880
1949
  $unknown?: never;
1881
1950
  }
1882
1951
  /**
@@ -1884,6 +1953,7 @@ export declare namespace PaymentOutput {
1884
1953
  */
1885
1954
  interface $UnknownMember {
1886
1955
  cryptoX402?: never;
1956
+ mpp?: never;
1887
1957
  $unknown: [string, any];
1888
1958
  }
1889
1959
  /**
@@ -1892,6 +1962,7 @@ export declare namespace PaymentOutput {
1892
1962
  */
1893
1963
  interface Visitor<T> {
1894
1964
  cryptoX402: (value: CryptoX402PaymentOutput) => T;
1965
+ mpp: (value: MppPaymentOutput) => T;
1895
1966
  _: (name: string, value: any) => T;
1896
1967
  }
1897
1968
  }
@@ -4,51 +4,14 @@ import type { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
7
- runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/core/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/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
- eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
13
- maxAttempts: number | import("@smithy/types").Provider<number>;
14
- region: string | import("@smithy/types").Provider<any>;
15
- requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
16
- retryMode: string | import("@smithy/types").Provider<string>;
17
- streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
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/protocols").AwsRestJsonProtocol;
22
- protocolSettings: {
23
- defaultNamespace?: string;
24
- [setting: string]: unknown;
25
- };
26
- apiVersion: string;
27
- sha256: import("@smithy/types").HashConstructor;
28
- urlParser: import("@smithy/types").UrlParser;
29
- base64Decoder: import("@smithy/types").Decoder;
30
- base64Encoder: (_input: Uint8Array | string) => string;
31
- utf8Decoder: import("@smithy/types").Decoder;
32
- utf8Encoder: (input: Uint8Array | string) => string;
33
- disableHostPrefix: boolean;
34
- serviceId: string;
35
- profile?: string;
36
- logger: import("@smithy/types").Logger;
37
- extensions: import("./runtimeExtensions").RuntimeExtension[];
38
- sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
7
+ cacheMiddleware?: boolean;
39
8
  customUserAgent?: string | import("@smithy/types").UserAgent;
40
9
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
41
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
42
- 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;
43
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
44
- logger?: import("@smithy/types").Logger;
45
- }) => import("@smithy/types").EndpointV2;
10
+ 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;
46
11
  tls?: boolean;
47
12
  ignoreConfiguredEndpointUrls?: boolean;
48
13
  serviceConfiguredEndpoint?: never;
49
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
50
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
51
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
14
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
52
15
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
53
16
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
54
17
  signingEscapePath?: boolean;
@@ -56,4 +19,41 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) =>
56
19
  signingRegion?: string;
57
20
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
58
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").BedrockAgentCoreHttpAuthSchemeProvider;
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").AwsRestJsonProtocol;
35
+ protocolSettings: {
36
+ [setting: string]: unknown;
37
+ defaultNamespace?: string;
38
+ };
39
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
40
+ serviceId: string;
41
+ sha256: import("@smithy/types").HashConstructor;
42
+ urlParser: import("@smithy/types").UrlParser;
43
+ utf8Decoder: import("@smithy/types").Decoder;
44
+ utf8Encoder: (input: Uint8Array | string) => string;
45
+ profile?: string;
46
+ runtime: string;
47
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
48
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
49
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
51
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
52
+ maxAttempts: number | import("@smithy/types").Provider<number>;
53
+ region: string | import("@smithy/types").Provider<any>;
54
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
55
+ retryMode: string | import("@smithy/types").Provider<string>;
56
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
57
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
58
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
59
59
  };
@@ -4,11 +4,47 @@ import type { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
7
+ cacheMiddleware?: boolean;
8
+ customUserAgent?: string | import("@smithy/types").UserAgent;
9
+ 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;
10
+ tls?: boolean;
11
+ ignoreConfiguredEndpointUrls?: boolean;
12
+ serviceConfiguredEndpoint?: never;
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").BedrockAgentCoreHttpAuthSchemeProvider;
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").AwsRestJsonProtocol;
33
+ protocolSettings: {
34
+ [setting: string]: unknown;
35
+ defaultNamespace?: string;
36
+ };
37
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
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;
7
43
  runtime: string;
8
44
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
45
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
46
  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").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
47
+ credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
12
48
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
49
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
14
50
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -19,41 +55,5 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) =>
19
55
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
56
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
57
  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/protocols").AwsRestJsonProtocol;
24
- protocolSettings: {
25
- defaultNamespace?: string;
26
- [setting: string]: unknown;
27
- };
28
- apiVersion: string;
29
- sha256: import("@smithy/types").HashConstructor;
30
- urlParser: import("@smithy/types").UrlParser;
31
- base64Decoder: import("@smithy/types").Decoder;
32
- base64Encoder: (_input: Uint8Array | string) => string;
33
- utf8Decoder: import("@smithy/types").Decoder;
34
- utf8Encoder: (input: Uint8Array | string) => string;
35
- disableHostPrefix: boolean;
36
- serviceId: string;
37
58
  profile?: string;
38
- logger: import("@smithy/types").Logger;
39
- extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
41
- customUserAgent?: string | import("@smithy/types").UserAgent;
42
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
43
- 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;
44
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
45
- logger?: import("@smithy/types").Logger;
46
- }) => import("@smithy/types").EndpointV2;
47
- tls?: boolean;
48
- ignoreConfiguredEndpointUrls?: boolean;
49
- serviceConfiguredEndpoint?: never;
50
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
51
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
52
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
53
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
54
- signingEscapePath?: boolean;
55
- systemClockOffset?: number;
56
- signingRegion?: string;
57
- signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
58
- disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
59
59
  };
@@ -3,51 +3,14 @@ import type { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
3
  * @internal
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
6
- runtime: string;
7
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
6
  cacheMiddleware?: boolean;
9
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
10
- protocolSettings: {
11
- defaultNamespace?: string;
12
- [setting: string]: unknown;
13
- };
14
- apiVersion: string;
15
- sha256: import("@smithy/types").HashConstructor;
16
- urlParser: import("@smithy/types").UrlParser;
17
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
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/core/client").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
- eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
36
- defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
37
- sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
38
7
  customUserAgent?: string | import("@smithy/types").UserAgent;
39
8
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
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;
9
+ 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;
45
10
  tls?: boolean;
46
11
  ignoreConfiguredEndpointUrls?: boolean;
47
12
  serviceConfiguredEndpoint?: never;
48
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
49
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
50
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
13
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
51
14
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
52
15
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
53
16
  signingEscapePath?: boolean;
@@ -55,4 +18,41 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) =>
55
18
  signingRegion?: string;
56
19
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
57
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").BedrockAgentCoreHttpAuthSchemeProvider;
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").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ [setting: string]: unknown;
36
+ defaultNamespace?: string;
37
+ };
38
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
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
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
46
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
47
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
48
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
49
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
50
+ maxAttempts: number | import("@smithy/types").Provider<number>;
51
+ region: string | import("@smithy/types").Provider<any>;
52
+ requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | 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
+ runtime: string;
58
58
  };
@@ -8,14 +8,14 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) =>
8
8
  base64Decoder: import("@smithy/types").Decoder;
9
9
  base64Encoder: (_input: Uint8Array | string) => string;
10
10
  disableHostPrefix: boolean;
11
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
12
  logger?: import("@smithy/types").Logger;
13
13
  }) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
16
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
17
  logger: import("@smithy/types").Logger;
18
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
18
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
19
  protocolSettings: {
20
20
  [setting: string]: unknown;
21
21
  defaultNamespace?: string;
@@ -11,6 +11,7 @@ export declare var RetryableConflictException$: StaticErrorSchema;
11
11
  export declare var RuntimeClientError$: StaticErrorSchema;
12
12
  export declare var ServiceException$: StaticErrorSchema;
13
13
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var SubscriptionRequiredException$: StaticErrorSchema;
14
15
  export declare var ThrottledException$: StaticErrorSchema;
15
16
  export declare var ThrottlingException$: StaticErrorSchema;
16
17
  export declare var UnauthorizedException$: StaticErrorSchema;
@@ -256,6 +257,8 @@ export declare var MouseMoveArguments$: StaticStructureSchema;
256
257
  export declare var MouseMoveResult$: StaticStructureSchema;
257
258
  export declare var MouseScrollArguments$: StaticStructureSchema;
258
259
  export declare var MouseScrollResult$: StaticStructureSchema;
260
+ export declare var MppPaymentInput$: StaticStructureSchema;
261
+ export declare var MppPaymentOutput$: StaticStructureSchema;
259
262
  export declare var OAuth2Authentication$: StaticStructureSchema;
260
263
  export declare var OAuthCredentialProvider$: StaticStructureSchema;
261
264
  export declare var OnlineEvaluationConfigSource$: StaticStructureSchema;
@@ -336,6 +336,7 @@ export type PaymentInstrumentType =
336
336
  (typeof PaymentInstrumentType)[keyof typeof PaymentInstrumentType];
337
337
  export declare const PaymentInstrumentStatus: {
338
338
  readonly ACTIVE: "ACTIVE";
339
+ readonly BLOCKED: "BLOCKED";
339
340
  readonly DELETED: "DELETED";
340
341
  readonly FAILED: "FAILED";
341
342
  readonly INITIATED: "INITIATED";
@@ -367,6 +368,7 @@ export declare const PaymentSessionStatus: {
367
368
  export type PaymentSessionStatus = (typeof PaymentSessionStatus)[keyof typeof PaymentSessionStatus];
368
369
  export declare const PaymentType: {
369
370
  readonly CRYPTO_X402: "CRYPTO_X402";
371
+ readonly MPP: "MPP";
370
372
  };
371
373
  export type PaymentType = (typeof PaymentType)[keyof typeof PaymentType];
372
374
  export declare const PaymentStatus: {
@@ -75,3 +75,10 @@ export declare class InvalidInputException extends __BaseException {
75
75
  readonly $fault: "client";
76
76
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
77
77
  }
78
+ export declare class SubscriptionRequiredException extends __BaseException {
79
+ readonly name: "SubscriptionRequiredException";
80
+ readonly $fault: "client";
81
+ subscriptionUrl?: string | undefined;
82
+ productName?: string | undefined;
83
+ constructor(opts: __ExceptionOptionType<SubscriptionRequiredException, __BaseException>);
84
+ }
@@ -569,19 +569,36 @@ export interface ListPaymentSessionsResponse {
569
569
  export interface CryptoX402PaymentInput {
570
570
  version: string | undefined;
571
571
  payload: __DocumentType | undefined;
572
+ permit2AllowanceLimit?: string | undefined;
572
573
  }
573
- export type PaymentInput = PaymentInput.CryptoX402Member | PaymentInput.$UnknownMember;
574
+ export interface MppPaymentInput {
575
+ version: string | undefined;
576
+ wwwAuthenticateHeaders: string[] | undefined;
577
+ buyerPaysGasFees?: boolean | undefined;
578
+ }
579
+ export type PaymentInput =
580
+ | PaymentInput.CryptoX402Member
581
+ | PaymentInput.MppMember
582
+ | PaymentInput.$UnknownMember;
574
583
  export declare namespace PaymentInput {
575
584
  interface CryptoX402Member {
576
585
  cryptoX402: CryptoX402PaymentInput;
586
+ mpp?: never;
587
+ $unknown?: never;
588
+ }
589
+ interface MppMember {
590
+ cryptoX402?: never;
591
+ mpp: MppPaymentInput;
577
592
  $unknown?: never;
578
593
  }
579
594
  interface $UnknownMember {
580
595
  cryptoX402?: never;
596
+ mpp?: never;
581
597
  $unknown: [string, any];
582
598
  }
583
599
  interface Visitor<T> {
584
600
  cryptoX402: (value: CryptoX402PaymentInput) => T;
601
+ mpp: (value: MppPaymentInput) => T;
585
602
  _: (name: string, value: any) => T;
586
603
  }
587
604
  }
@@ -599,18 +616,34 @@ export interface CryptoX402PaymentOutput {
599
616
  version: string | undefined;
600
617
  payload: __DocumentType | undefined;
601
618
  }
602
- export type PaymentOutput = PaymentOutput.CryptoX402Member | PaymentOutput.$UnknownMember;
619
+ export interface MppPaymentOutput {
620
+ version: string | undefined;
621
+ selectedPaymentId: string | undefined;
622
+ paymentCredential: string | undefined;
623
+ }
624
+ export type PaymentOutput =
625
+ | PaymentOutput.CryptoX402Member
626
+ | PaymentOutput.MppMember
627
+ | PaymentOutput.$UnknownMember;
603
628
  export declare namespace PaymentOutput {
604
629
  interface CryptoX402Member {
605
630
  cryptoX402: CryptoX402PaymentOutput;
631
+ mpp?: never;
632
+ $unknown?: never;
633
+ }
634
+ interface MppMember {
635
+ cryptoX402?: never;
636
+ mpp: MppPaymentOutput;
606
637
  $unknown?: never;
607
638
  }
608
639
  interface $UnknownMember {
609
640
  cryptoX402?: never;
641
+ mpp?: never;
610
642
  $unknown: [string, any];
611
643
  }
612
644
  interface Visitor<T> {
613
645
  cryptoX402: (value: CryptoX402PaymentOutput) => T;
646
+ mpp: (value: MppPaymentOutput) => T;
614
647
  _: (name: string, value: any) => T;
615
648
  }
616
649
  }