@aws-sdk/client-marketplace-metering 3.1087.0 → 3.1088.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/MarketplaceMetering.d.ts +13 -16
- package/dist-types/ts3.4/MarketplaceMeteringClient.d.ts +6 -19
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/BatchMeterUsageCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/MeterUsageCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/RegisterUsageCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ResolveCustomerCommand.d.ts +4 -9
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +19 -66
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -3,10 +3,7 @@ import {
|
|
|
3
3
|
BatchMeterUsageCommandInput,
|
|
4
4
|
BatchMeterUsageCommandOutput,
|
|
5
5
|
} from "./commands/BatchMeterUsageCommand";
|
|
6
|
-
import {
|
|
7
|
-
MeterUsageCommandInput,
|
|
8
|
-
MeterUsageCommandOutput,
|
|
9
|
-
} from "./commands/MeterUsageCommand";
|
|
6
|
+
import { MeterUsageCommandInput, MeterUsageCommandOutput } from "./commands/MeterUsageCommand";
|
|
10
7
|
import {
|
|
11
8
|
RegisterUsageCommandInput,
|
|
12
9
|
RegisterUsageCommandOutput,
|
|
@@ -19,55 +16,55 @@ import { MarketplaceMeteringClient } from "./MarketplaceMeteringClient";
|
|
|
19
16
|
export interface MarketplaceMetering {
|
|
20
17
|
batchMeterUsage(
|
|
21
18
|
args: BatchMeterUsageCommandInput,
|
|
22
|
-
options?: __HttpHandlerOptions
|
|
19
|
+
options?: __HttpHandlerOptions,
|
|
23
20
|
): Promise<BatchMeterUsageCommandOutput>;
|
|
24
21
|
batchMeterUsage(
|
|
25
22
|
args: BatchMeterUsageCommandInput,
|
|
26
|
-
cb: (err: any, data?: BatchMeterUsageCommandOutput) => void
|
|
23
|
+
cb: (err: any, data?: BatchMeterUsageCommandOutput) => void,
|
|
27
24
|
): void;
|
|
28
25
|
batchMeterUsage(
|
|
29
26
|
args: BatchMeterUsageCommandInput,
|
|
30
27
|
options: __HttpHandlerOptions,
|
|
31
|
-
cb: (err: any, data?: BatchMeterUsageCommandOutput) => void
|
|
28
|
+
cb: (err: any, data?: BatchMeterUsageCommandOutput) => void,
|
|
32
29
|
): void;
|
|
33
30
|
meterUsage(
|
|
34
31
|
args: MeterUsageCommandInput,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
32
|
+
options?: __HttpHandlerOptions,
|
|
36
33
|
): Promise<MeterUsageCommandOutput>;
|
|
37
34
|
meterUsage(
|
|
38
35
|
args: MeterUsageCommandInput,
|
|
39
|
-
cb: (err: any, data?: MeterUsageCommandOutput) => void
|
|
36
|
+
cb: (err: any, data?: MeterUsageCommandOutput) => void,
|
|
40
37
|
): void;
|
|
41
38
|
meterUsage(
|
|
42
39
|
args: MeterUsageCommandInput,
|
|
43
40
|
options: __HttpHandlerOptions,
|
|
44
|
-
cb: (err: any, data?: MeterUsageCommandOutput) => void
|
|
41
|
+
cb: (err: any, data?: MeterUsageCommandOutput) => void,
|
|
45
42
|
): void;
|
|
46
43
|
registerUsage(
|
|
47
44
|
args: RegisterUsageCommandInput,
|
|
48
|
-
options?: __HttpHandlerOptions
|
|
45
|
+
options?: __HttpHandlerOptions,
|
|
49
46
|
): Promise<RegisterUsageCommandOutput>;
|
|
50
47
|
registerUsage(
|
|
51
48
|
args: RegisterUsageCommandInput,
|
|
52
|
-
cb: (err: any, data?: RegisterUsageCommandOutput) => void
|
|
49
|
+
cb: (err: any, data?: RegisterUsageCommandOutput) => void,
|
|
53
50
|
): void;
|
|
54
51
|
registerUsage(
|
|
55
52
|
args: RegisterUsageCommandInput,
|
|
56
53
|
options: __HttpHandlerOptions,
|
|
57
|
-
cb: (err: any, data?: RegisterUsageCommandOutput) => void
|
|
54
|
+
cb: (err: any, data?: RegisterUsageCommandOutput) => void,
|
|
58
55
|
): void;
|
|
59
56
|
resolveCustomer(
|
|
60
57
|
args: ResolveCustomerCommandInput,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
58
|
+
options?: __HttpHandlerOptions,
|
|
62
59
|
): Promise<ResolveCustomerCommandOutput>;
|
|
63
60
|
resolveCustomer(
|
|
64
61
|
args: ResolveCustomerCommandInput,
|
|
65
|
-
cb: (err: any, data?: ResolveCustomerCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: ResolveCustomerCommandOutput) => void,
|
|
66
63
|
): void;
|
|
67
64
|
resolveCustomer(
|
|
68
65
|
args: ResolveCustomerCommandInput,
|
|
69
66
|
options: __HttpHandlerOptions,
|
|
70
|
-
cb: (err: any, data?: ResolveCustomerCommandOutput) => void
|
|
67
|
+
cb: (err: any, data?: ResolveCustomerCommandOutput) => void,
|
|
71
68
|
): void;
|
|
72
69
|
}
|
|
73
70
|
export declare class MarketplaceMetering
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -40,10 +37,7 @@ import {
|
|
|
40
37
|
BatchMeterUsageCommandInput,
|
|
41
38
|
BatchMeterUsageCommandOutput,
|
|
42
39
|
} from "./commands/BatchMeterUsageCommand";
|
|
43
|
-
import {
|
|
44
|
-
MeterUsageCommandInput,
|
|
45
|
-
MeterUsageCommandOutput,
|
|
46
|
-
} from "./commands/MeterUsageCommand";
|
|
40
|
+
import { MeterUsageCommandInput, MeterUsageCommandOutput } from "./commands/MeterUsageCommand";
|
|
47
41
|
import {
|
|
48
42
|
RegisterUsageCommandInput,
|
|
49
43
|
RegisterUsageCommandOutput,
|
|
@@ -69,8 +63,7 @@ export type ServiceOutputTypes =
|
|
|
69
63
|
| MeterUsageCommandOutput
|
|
70
64
|
| RegisterUsageCommandOutput
|
|
71
65
|
| ResolveCustomerCommandOutput;
|
|
72
|
-
export interface ClientDefaults
|
|
73
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
66
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
74
67
|
requestHandler?: __HttpHandlerUserInput;
|
|
75
68
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
76
69
|
urlParser?: __UrlParser;
|
|
@@ -106,8 +99,7 @@ export type MarketplaceMeteringClientConfigType = Partial<
|
|
|
106
99
|
EndpointInputConfig<EndpointParameters> &
|
|
107
100
|
HttpAuthSchemeInputConfig &
|
|
108
101
|
ClientInputEndpointParameters;
|
|
109
|
-
export interface MarketplaceMeteringClientConfig
|
|
110
|
-
extends MarketplaceMeteringClientConfigType {}
|
|
102
|
+
export interface MarketplaceMeteringClientConfig extends MarketplaceMeteringClientConfigType {}
|
|
111
103
|
export type MarketplaceMeteringClientResolvedConfigType =
|
|
112
104
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
113
105
|
Required<ClientDefaults> &
|
|
@@ -119,8 +111,7 @@ export type MarketplaceMeteringClientResolvedConfigType =
|
|
|
119
111
|
EndpointResolvedConfig<EndpointParameters> &
|
|
120
112
|
HttpAuthSchemeResolvedConfig &
|
|
121
113
|
ClientResolvedEndpointParameters;
|
|
122
|
-
export interface MarketplaceMeteringClientResolvedConfig
|
|
123
|
-
extends MarketplaceMeteringClientResolvedConfigType {}
|
|
114
|
+
export interface MarketplaceMeteringClientResolvedConfig extends MarketplaceMeteringClientResolvedConfigType {}
|
|
124
115
|
export declare class MarketplaceMeteringClient extends __Client<
|
|
125
116
|
__HttpHandlerOptions,
|
|
126
117
|
ServiceInputTypes,
|
|
@@ -128,10 +119,6 @@ export declare class MarketplaceMeteringClient extends __Client<
|
|
|
128
119
|
MarketplaceMeteringClientResolvedConfig
|
|
129
120
|
> {
|
|
130
121
|
readonly config: MarketplaceMeteringClientResolvedConfig;
|
|
131
|
-
constructor(
|
|
132
|
-
...[
|
|
133
|
-
configuration,
|
|
134
|
-
]: __CheckOptionalClientConfig<MarketplaceMeteringClientConfig>
|
|
135
|
-
);
|
|
122
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<MarketplaceMeteringClientConfig>);
|
|
136
123
|
destroy(): void;
|
|
137
124
|
}
|
|
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
|
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
10
|
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: MarketplaceMeteringHttpAuthSchemeProvider
|
|
11
|
+
httpAuthSchemeProvider: MarketplaceMeteringHttpAuthSchemeProvider,
|
|
12
12
|
): void;
|
|
13
13
|
httpAuthSchemeProvider(): MarketplaceMeteringHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
14
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
15
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
16
|
}
|
|
22
17
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
18
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +20,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
20
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
21
|
}>;
|
|
27
22
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
23
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
24
|
) => HttpAuthExtensionConfiguration;
|
|
30
25
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
26
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
27
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { MarketplaceMeteringClientResolvedConfig } from "../MarketplaceMeteringClient";
|
|
15
|
-
export interface MarketplaceMeteringHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface MarketplaceMeteringHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface MarketplaceMeteringHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface MarketplaceMeteringHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
MarketplaceMeteringClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
MarketplaceMeteringHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultMarketplaceMeteringHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: MarketplaceMeteringClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<MarketplaceMeteringHttpAuthSchemeParameters>;
|
|
31
|
-
export interface MarketplaceMeteringHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<MarketplaceMeteringHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface MarketplaceMeteringHttpAuthSchemeProvider extends HttpAuthSchemeProvider<MarketplaceMeteringHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultMarketplaceMeteringHttpAuthSchemeProvider: MarketplaceMeteringHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: MarketplaceMeteringHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: MarketplaceMeteringHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./MarketplaceMeteringClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
MarketplaceMeteringClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
BatchMeterUsageRequest,
|
|
4
|
-
BatchMeterUsageResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { BatchMeterUsageRequest, BatchMeterUsageResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface BatchMeterUsageCommandInput extends BatchMeterUsageRequest {}
|
|
8
|
-
export interface BatchMeterUsageCommandOutput
|
|
9
|
-
extends BatchMeterUsageResult,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface BatchMeterUsageCommandOutput extends BatchMeterUsageResult, __MetadataBearer {}
|
|
11
6
|
declare const BatchMeterUsageCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: BatchMeterUsageCommandInput
|
|
8
|
+
input: BatchMeterUsageCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
BatchMeterUsageCommandInput,
|
|
16
11
|
BatchMeterUsageCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const BatchMeterUsageCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: BatchMeterUsageCommandInput
|
|
17
|
+
input: BatchMeterUsageCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
BatchMeterUsageCommandInput,
|
|
25
20
|
BatchMeterUsageCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { MeterUsageRequest, MeterUsageResult } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface MeterUsageCommandInput extends MeterUsageRequest {}
|
|
5
|
-
export interface MeterUsageCommandOutput
|
|
6
|
-
extends MeterUsageResult,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface MeterUsageCommandOutput extends MeterUsageResult, __MetadataBearer {}
|
|
8
6
|
declare const MeterUsageCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: MeterUsageCommandInput
|
|
8
|
+
input: MeterUsageCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
MeterUsageCommandInput,
|
|
13
11
|
MeterUsageCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const MeterUsageCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: MeterUsageCommandInput
|
|
17
|
+
input: MeterUsageCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
MeterUsageCommandInput,
|
|
22
20
|
MeterUsageCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { RegisterUsageRequest, RegisterUsageResult } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface RegisterUsageCommandInput extends RegisterUsageRequest {}
|
|
5
|
-
export interface RegisterUsageCommandOutput
|
|
6
|
-
extends RegisterUsageResult,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface RegisterUsageCommandOutput extends RegisterUsageResult, __MetadataBearer {}
|
|
8
6
|
declare const RegisterUsageCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: RegisterUsageCommandInput
|
|
8
|
+
input: RegisterUsageCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
RegisterUsageCommandInput,
|
|
13
11
|
RegisterUsageCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const RegisterUsageCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: RegisterUsageCommandInput
|
|
17
|
+
input: RegisterUsageCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
RegisterUsageCommandInput,
|
|
22
20
|
RegisterUsageCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ResolveCustomerRequest,
|
|
4
|
-
ResolveCustomerResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ResolveCustomerRequest, ResolveCustomerResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface ResolveCustomerCommandInput extends ResolveCustomerRequest {}
|
|
8
|
-
export interface ResolveCustomerCommandOutput
|
|
9
|
-
extends ResolveCustomerResult,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ResolveCustomerCommandOutput extends ResolveCustomerResult, __MetadataBearer {}
|
|
11
6
|
declare const ResolveCustomerCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: ResolveCustomerCommandInput
|
|
8
|
+
input: ResolveCustomerCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
ResolveCustomerCommandInput,
|
|
16
11
|
ResolveCustomerCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const ResolveCustomerCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: ResolveCustomerCommandInput
|
|
17
|
+
input: ResolveCustomerCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
ResolveCustomerCommandInput,
|
|
25
20
|
ResolveCustomerCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface MarketplaceMeteringExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -3,142 +3,95 @@ import { MarketplaceMeteringServiceException as __BaseException } from "./Market
|
|
|
3
3
|
export declare class DisabledApiException extends __BaseException {
|
|
4
4
|
readonly name: "DisabledApiException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<DisabledApiException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<DisabledApiException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class InternalServiceErrorException extends __BaseException {
|
|
11
9
|
readonly name: "InternalServiceErrorException";
|
|
12
10
|
readonly $fault: "server";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
16
12
|
}
|
|
17
13
|
export declare class InvalidCustomerIdentifierException extends __BaseException {
|
|
18
14
|
readonly name: "InvalidCustomerIdentifierException";
|
|
19
15
|
readonly $fault: "client";
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<
|
|
22
|
-
InvalidCustomerIdentifierException,
|
|
23
|
-
__BaseException
|
|
24
|
-
>
|
|
25
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InvalidCustomerIdentifierException, __BaseException>);
|
|
26
17
|
}
|
|
27
18
|
export declare class InvalidLicenseException extends __BaseException {
|
|
28
19
|
readonly name: "InvalidLicenseException";
|
|
29
20
|
readonly $fault: "client";
|
|
30
|
-
constructor(
|
|
31
|
-
opts: __ExceptionOptionType<InvalidLicenseException, __BaseException>
|
|
32
|
-
);
|
|
21
|
+
constructor(opts: __ExceptionOptionType<InvalidLicenseException, __BaseException>);
|
|
33
22
|
}
|
|
34
23
|
export declare class InvalidProductCodeException extends __BaseException {
|
|
35
24
|
readonly name: "InvalidProductCodeException";
|
|
36
25
|
readonly $fault: "client";
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<InvalidProductCodeException, __BaseException>
|
|
39
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<InvalidProductCodeException, __BaseException>);
|
|
40
27
|
}
|
|
41
28
|
export declare class InvalidTagException extends __BaseException {
|
|
42
29
|
readonly name: "InvalidTagException";
|
|
43
30
|
readonly $fault: "client";
|
|
44
|
-
constructor(
|
|
45
|
-
opts: __ExceptionOptionType<InvalidTagException, __BaseException>
|
|
46
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
|
|
47
32
|
}
|
|
48
33
|
export declare class InvalidUsageAllocationsException extends __BaseException {
|
|
49
34
|
readonly name: "InvalidUsageAllocationsException";
|
|
50
35
|
readonly $fault: "client";
|
|
51
|
-
constructor(
|
|
52
|
-
opts: __ExceptionOptionType<
|
|
53
|
-
InvalidUsageAllocationsException,
|
|
54
|
-
__BaseException
|
|
55
|
-
>
|
|
56
|
-
);
|
|
36
|
+
constructor(opts: __ExceptionOptionType<InvalidUsageAllocationsException, __BaseException>);
|
|
57
37
|
}
|
|
58
38
|
export declare class InvalidUsageDimensionException extends __BaseException {
|
|
59
39
|
readonly name: "InvalidUsageDimensionException";
|
|
60
40
|
readonly $fault: "client";
|
|
61
|
-
constructor(
|
|
62
|
-
opts: __ExceptionOptionType<InvalidUsageDimensionException, __BaseException>
|
|
63
|
-
);
|
|
41
|
+
constructor(opts: __ExceptionOptionType<InvalidUsageDimensionException, __BaseException>);
|
|
64
42
|
}
|
|
65
43
|
export declare class ThrottlingException extends __BaseException {
|
|
66
44
|
readonly name: "ThrottlingException";
|
|
67
45
|
readonly $fault: "client";
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
70
|
-
);
|
|
46
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
71
47
|
}
|
|
72
48
|
export declare class TimestampOutOfBoundsException extends __BaseException {
|
|
73
49
|
readonly name: "TimestampOutOfBoundsException";
|
|
74
50
|
readonly $fault: "client";
|
|
75
|
-
constructor(
|
|
76
|
-
opts: __ExceptionOptionType<TimestampOutOfBoundsException, __BaseException>
|
|
77
|
-
);
|
|
51
|
+
constructor(opts: __ExceptionOptionType<TimestampOutOfBoundsException, __BaseException>);
|
|
78
52
|
}
|
|
79
53
|
export declare class CustomerNotEntitledException extends __BaseException {
|
|
80
54
|
readonly name: "CustomerNotEntitledException";
|
|
81
55
|
readonly $fault: "client";
|
|
82
|
-
constructor(
|
|
83
|
-
opts: __ExceptionOptionType<CustomerNotEntitledException, __BaseException>
|
|
84
|
-
);
|
|
56
|
+
constructor(opts: __ExceptionOptionType<CustomerNotEntitledException, __BaseException>);
|
|
85
57
|
}
|
|
86
58
|
export declare class DuplicateRequestException extends __BaseException {
|
|
87
59
|
readonly name: "DuplicateRequestException";
|
|
88
60
|
readonly $fault: "client";
|
|
89
|
-
constructor(
|
|
90
|
-
opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>
|
|
91
|
-
);
|
|
61
|
+
constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
|
|
92
62
|
}
|
|
93
63
|
export declare class IdempotencyConflictException extends __BaseException {
|
|
94
64
|
readonly name: "IdempotencyConflictException";
|
|
95
65
|
readonly $fault: "client";
|
|
96
|
-
constructor(
|
|
97
|
-
opts: __ExceptionOptionType<IdempotencyConflictException, __BaseException>
|
|
98
|
-
);
|
|
66
|
+
constructor(opts: __ExceptionOptionType<IdempotencyConflictException, __BaseException>);
|
|
99
67
|
}
|
|
100
68
|
export declare class InvalidEndpointRegionException extends __BaseException {
|
|
101
69
|
readonly name: "InvalidEndpointRegionException";
|
|
102
70
|
readonly $fault: "client";
|
|
103
|
-
constructor(
|
|
104
|
-
opts: __ExceptionOptionType<InvalidEndpointRegionException, __BaseException>
|
|
105
|
-
);
|
|
71
|
+
constructor(opts: __ExceptionOptionType<InvalidEndpointRegionException, __BaseException>);
|
|
106
72
|
}
|
|
107
73
|
export declare class InvalidPublicKeyVersionException extends __BaseException {
|
|
108
74
|
readonly name: "InvalidPublicKeyVersionException";
|
|
109
75
|
readonly $fault: "client";
|
|
110
|
-
constructor(
|
|
111
|
-
opts: __ExceptionOptionType<
|
|
112
|
-
InvalidPublicKeyVersionException,
|
|
113
|
-
__BaseException
|
|
114
|
-
>
|
|
115
|
-
);
|
|
76
|
+
constructor(opts: __ExceptionOptionType<InvalidPublicKeyVersionException, __BaseException>);
|
|
116
77
|
}
|
|
117
78
|
export declare class InvalidRegionException extends __BaseException {
|
|
118
79
|
readonly name: "InvalidRegionException";
|
|
119
80
|
readonly $fault: "client";
|
|
120
|
-
constructor(
|
|
121
|
-
opts: __ExceptionOptionType<InvalidRegionException, __BaseException>
|
|
122
|
-
);
|
|
81
|
+
constructor(opts: __ExceptionOptionType<InvalidRegionException, __BaseException>);
|
|
123
82
|
}
|
|
124
83
|
export declare class PlatformNotSupportedException extends __BaseException {
|
|
125
84
|
readonly name: "PlatformNotSupportedException";
|
|
126
85
|
readonly $fault: "client";
|
|
127
|
-
constructor(
|
|
128
|
-
opts: __ExceptionOptionType<PlatformNotSupportedException, __BaseException>
|
|
129
|
-
);
|
|
86
|
+
constructor(opts: __ExceptionOptionType<PlatformNotSupportedException, __BaseException>);
|
|
130
87
|
}
|
|
131
88
|
export declare class ExpiredTokenException extends __BaseException {
|
|
132
89
|
readonly name: "ExpiredTokenException";
|
|
133
90
|
readonly $fault: "client";
|
|
134
|
-
constructor(
|
|
135
|
-
opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
|
|
136
|
-
);
|
|
91
|
+
constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
|
|
137
92
|
}
|
|
138
93
|
export declare class InvalidTokenException extends __BaseException {
|
|
139
94
|
readonly name: "InvalidTokenException";
|
|
140
95
|
readonly $fault: "client";
|
|
141
|
-
constructor(
|
|
142
|
-
opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
|
|
143
|
-
);
|
|
96
|
+
constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
|
|
144
97
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: MarketplaceMeteringClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
81
|
signer?:
|
|
97
82
|
| import("@smithy/types").RequestSigner
|
|
98
83
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
86
|
signingEscapePath?: boolean;
|
|
102
87
|
systemClockOffset?: number;
|
|
103
88
|
signingRegion?: string;
|
|
104
89
|
signerConstructor?: new (
|
|
105
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
92
|
) => import("@smithy/types").RequestSigner;
|
|
108
93
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: MarketplaceMeteringClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
91
81
|
signer?:
|
|
92
82
|
| import("@smithy/types").RequestSigner
|
|
93
83
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
86
|
signingEscapePath?: boolean;
|
|
97
87
|
systemClockOffset?: number;
|
|
98
88
|
signingRegion?: string;
|
|
99
89
|
signerConstructor?: new (
|
|
100
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
92
|
) => import("@smithy/types").RequestSigner;
|
|
103
93
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: MarketplaceMeteringClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
|
|
|
100
85
|
signer?:
|
|
101
86
|
| import("@smithy/types").RequestSigner
|
|
102
87
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
90
|
signingEscapePath?: boolean;
|
|
106
91
|
systemClockOffset?: number;
|
|
107
92
|
signingRegion?: string;
|
|
108
93
|
signerConstructor?: new (
|
|
109
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
96
|
) => import("@smithy/types").RequestSigner;
|
|
112
97
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: MarketplaceMeteringClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: MarketplaceMeteringClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceMeteringHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { MarketplaceMeteringExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: MarketplaceMeteringExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: MarketplaceMeteringExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var MarketplaceMeteringServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var CustomerNotEntitledException$: StaticErrorSchema;
|
|
9
5
|
export declare var DisabledApiException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-metering",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Marketplace Metering Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-metering",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-marketplace-metering"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-metering",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-marketplace-metering"
|
|
68
68
|
}
|
|
69
69
|
}
|