@aws-sdk/client-marketplace-metering 3.337.0 → 3.341.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/MarketplaceMeteringClient.js +2 -1
- package/dist-cjs/commands/BatchMeterUsageCommand.js +2 -1
- package/dist-cjs/commands/MeterUsageCommand.js +2 -1
- package/dist-cjs/commands/RegisterUsageCommand.js +2 -1
- package/dist-cjs/commands/ResolveCustomerCommand.js +2 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/models/MarketplaceMeteringServiceException.js +2 -1
- package/dist-es/MarketplaceMeteringClient.js +1 -0
- package/dist-es/commands/BatchMeterUsageCommand.js +1 -0
- package/dist-es/commands/MeterUsageCommand.js +1 -0
- package/dist-es/commands/RegisterUsageCommand.js +1 -0
- package/dist-es/commands/ResolveCustomerCommand.js +1 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/MarketplaceMeteringServiceException.js +1 -0
- package/dist-types/MarketplaceMeteringClient.d.ts +3 -3
- package/dist-types/commands/BatchMeterUsageCommand.d.ts +4 -0
- package/dist-types/commands/MeterUsageCommand.d.ts +4 -0
- package/dist-types/commands/RegisterUsageCommand.d.ts +4 -0
- package/dist-types/commands/ResolveCustomerCommand.d.ts +4 -0
- package/dist-types/index.d.ts +68 -1
- package/dist-types/models/MarketplaceMeteringServiceException.d.ts +1 -0
- package/dist-types/ts3.4/MarketplaceMeteringClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/BatchMeterUsageCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/MeterUsageCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/RegisterUsageCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ResolveCustomerCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/MarketplaceMeteringServiceException.d.ts +1 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MarketplaceMeteringClient = void 0;
|
|
3
|
+
exports.MarketplaceMeteringClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class MarketplaceMeteringClient extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchMeterUsageCommand = void 0;
|
|
3
|
+
exports.BatchMeterUsageCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
9
|
class BatchMeterUsageCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MeterUsageCommand = void 0;
|
|
3
|
+
exports.MeterUsageCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
9
|
class MeterUsageCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RegisterUsageCommand = void 0;
|
|
3
|
+
exports.RegisterUsageCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
9
|
class RegisterUsageCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResolveCustomerCommand = void 0;
|
|
3
|
+
exports.ResolveCustomerCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
9
|
class ResolveCustomerCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MarketplaceMeteringServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./MarketplaceMetering"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./MarketplaceMeteringClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./MarketplaceMetering"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
9
|
var MarketplaceMeteringServiceException_1 = require("./models/MarketplaceMeteringServiceException");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MarketplaceMeteringServiceException = void 0;
|
|
3
|
+
exports.MarketplaceMeteringServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class MarketplaceMeteringServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class MarketplaceMeteringClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_BatchMeterUsageCommand, se_BatchMeterUsageCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class BatchMeterUsageCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_MeterUsageCommand, se_MeterUsageCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class MeterUsageCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_RegisterUsageCommand, se_RegisterUsageCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class RegisterUsageCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ResolveCustomerCommand, se_ResolveCustomerCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ResolveCustomerCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./MarketplaceMetering";
|
|
2
1
|
export * from "./MarketplaceMeteringClient";
|
|
2
|
+
export * from "./MarketplaceMetering";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./models";
|
|
5
5
|
export { MarketplaceMeteringServiceException } from "./models/MarketplaceMeteringServiceException";
|
|
@@ -13,6 +13,7 @@ import { MeterUsageCommandInput, MeterUsageCommandOutput } from "./commands/Mete
|
|
|
13
13
|
import { RegisterUsageCommandInput, RegisterUsageCommandOutput } from "./commands/RegisterUsageCommand";
|
|
14
14
|
import { ResolveCustomerCommandInput, ResolveCustomerCommandOutput } from "./commands/ResolveCustomerCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
export { __Client };
|
|
16
17
|
/**
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
@@ -127,7 +128,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
127
128
|
/**
|
|
128
129
|
* @public
|
|
129
130
|
*/
|
|
130
|
-
type MarketplaceMeteringClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
131
|
+
export type MarketplaceMeteringClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
131
132
|
/**
|
|
132
133
|
* @public
|
|
133
134
|
*
|
|
@@ -138,7 +139,7 @@ export interface MarketplaceMeteringClientConfig extends MarketplaceMeteringClie
|
|
|
138
139
|
/**
|
|
139
140
|
* @public
|
|
140
141
|
*/
|
|
141
|
-
type MarketplaceMeteringClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
142
|
+
export type MarketplaceMeteringClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
142
143
|
/**
|
|
143
144
|
* @public
|
|
144
145
|
*
|
|
@@ -225,4 +226,3 @@ export declare class MarketplaceMeteringClient extends __Client<__HttpHandlerOpt
|
|
|
225
226
|
*/
|
|
226
227
|
destroy(): void;
|
|
227
228
|
}
|
|
228
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
5
5
|
import { BatchMeterUsageRequest, BatchMeterUsageResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
5
5
|
import { MeterUsageRequest, MeterUsageResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
5
5
|
import { RegisterUsageRequest, RegisterUsageResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { MarketplaceMeteringClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceMeteringClient";
|
|
5
5
|
import { ResolveCustomerRequest, ResolveCustomerResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <fullname>AWS Marketplace Metering Service</fullname>
|
|
3
|
+
* <p>This reference provides descriptions of the low-level AWS Marketplace Metering Service
|
|
4
|
+
* API.</p>
|
|
5
|
+
* <p>AWS Marketplace sellers can use this API to submit usage data for custom usage
|
|
6
|
+
* dimensions.</p>
|
|
7
|
+
* <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/iam-user-policy-for-aws-marketplace-actions.html">AWS Marketplace metering and entitlement API permissions</a> in the
|
|
8
|
+
* <i>AWS Marketplace Seller Guide.</i>
|
|
9
|
+
* </p>
|
|
10
|
+
* <p>
|
|
11
|
+
* <b>Submitting Metering Records</b>
|
|
12
|
+
* </p>
|
|
13
|
+
* <ul>
|
|
14
|
+
* <li>
|
|
15
|
+
* <p>
|
|
16
|
+
* <i>MeterUsage</i> - Submits the metering record for an AWS
|
|
17
|
+
* Marketplace product. <code>MeterUsage</code> is called from an EC2 instance or a
|
|
18
|
+
* container running on EKS or ECS.</p>
|
|
19
|
+
* </li>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>
|
|
22
|
+
* <i>BatchMeterUsage</i> - Submits the metering record for a set of
|
|
23
|
+
* customers. <code>BatchMeterUsage</code> is called from a software-as-a-service
|
|
24
|
+
* (SaaS) application.</p>
|
|
25
|
+
* </li>
|
|
26
|
+
* </ul>
|
|
27
|
+
* <p>
|
|
28
|
+
* <b>Accepting New Customers</b>
|
|
29
|
+
* </p>
|
|
30
|
+
* <ul>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>
|
|
33
|
+
* <i>ResolveCustomer</i> - Called by a SaaS application during the
|
|
34
|
+
* registration process. When a buyer visits your website during the registration
|
|
35
|
+
* process, the buyer submits a Registration Token through the browser. The
|
|
36
|
+
* Registration Token is resolved through this API to obtain a
|
|
37
|
+
* <code>CustomerIdentifier</code>
|
|
38
|
+
*
|
|
39
|
+
* along with the <code>CustomerAWSAccountId</code> and
|
|
40
|
+
* <code>ProductCode</code>.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* </ul>
|
|
43
|
+
* <p>
|
|
44
|
+
* <b>Entitlement and Metering for Paid Container Products</b>
|
|
45
|
+
* </p>
|
|
46
|
+
* <ul>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>Paid container software products sold through AWS Marketplace must integrate
|
|
49
|
+
* with the AWS Marketplace Metering Service and call the
|
|
50
|
+
* <code>RegisterUsage</code> operation for software entitlement and metering.
|
|
51
|
+
* Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call
|
|
52
|
+
* <code>RegisterUsage</code>, but you can do so if you want to receive usage
|
|
53
|
+
* data in your seller reports. For more information on using the
|
|
54
|
+
* <code>RegisterUsage</code> operation, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/container-based-products.html">Container-Based Products</a>. </p>
|
|
55
|
+
* </li>
|
|
56
|
+
* </ul>
|
|
57
|
+
* <p>
|
|
58
|
+
* <code>BatchMeterUsage</code> API calls are captured by AWS CloudTrail. You can use
|
|
59
|
+
* Cloudtrail to verify that the SaaS metering records that you sent are accurate by
|
|
60
|
+
* searching for records with the <code>eventName</code> of <code>BatchMeterUsage</code>.
|
|
61
|
+
* You can also use CloudTrail to audit records over time. For more information, see the
|
|
62
|
+
* <i>
|
|
63
|
+
* <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html">AWS CloudTrail User Guide</a>.</i>
|
|
64
|
+
* </p>
|
|
65
|
+
*
|
|
66
|
+
* @packageDocumentation
|
|
67
|
+
*/
|
|
2
68
|
export * from "./MarketplaceMeteringClient";
|
|
69
|
+
export * from "./MarketplaceMetering";
|
|
3
70
|
export * from "./commands";
|
|
4
71
|
export * from "./models";
|
|
5
72
|
export { MarketplaceMeteringServiceException } from "./models/MarketplaceMeteringServiceException";
|
|
@@ -67,6 +67,7 @@ import {
|
|
|
67
67
|
ClientResolvedEndpointParameters,
|
|
68
68
|
EndpointParameters,
|
|
69
69
|
} from "./endpoint/EndpointParameters";
|
|
70
|
+
export { __Client };
|
|
70
71
|
export type ServiceInputTypes =
|
|
71
72
|
| BatchMeterUsageCommandInput
|
|
72
73
|
| MeterUsageCommandInput
|
|
@@ -101,7 +102,7 @@ export interface ClientDefaults
|
|
|
101
102
|
logger?: __Logger;
|
|
102
103
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
103
104
|
}
|
|
104
|
-
type MarketplaceMeteringClientConfigType = Partial<
|
|
105
|
+
export type MarketplaceMeteringClientConfigType = Partial<
|
|
105
106
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
106
107
|
> &
|
|
107
108
|
ClientDefaults &
|
|
@@ -114,7 +115,7 @@ type MarketplaceMeteringClientConfigType = Partial<
|
|
|
114
115
|
ClientInputEndpointParameters;
|
|
115
116
|
export interface MarketplaceMeteringClientConfig
|
|
116
117
|
extends MarketplaceMeteringClientConfigType {}
|
|
117
|
-
type MarketplaceMeteringClientResolvedConfigType =
|
|
118
|
+
export type MarketplaceMeteringClientResolvedConfigType =
|
|
118
119
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
119
120
|
Required<ClientDefaults> &
|
|
120
121
|
RegionResolvedConfig &
|
|
@@ -136,4 +137,3 @@ export declare class MarketplaceMeteringClient extends __Client<
|
|
|
136
137
|
constructor(configuration: MarketplaceMeteringClientConfig);
|
|
137
138
|
destroy(): void;
|
|
138
139
|
}
|
|
139
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
BatchMeterUsageRequest,
|
|
16
16
|
BatchMeterUsageResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface BatchMeterUsageCommandInput extends BatchMeterUsageRequest {}
|
|
19
20
|
export interface BatchMeterUsageCommandOutput
|
|
20
21
|
extends BatchMeterUsageResult,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../MarketplaceMeteringClient";
|
|
14
14
|
import { MeterUsageRequest, MeterUsageResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface MeterUsageCommandInput extends MeterUsageRequest {}
|
|
16
17
|
export interface MeterUsageCommandOutput
|
|
17
18
|
extends MeterUsageResult,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../MarketplaceMeteringClient";
|
|
14
14
|
import { RegisterUsageRequest, RegisterUsageResult } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface RegisterUsageCommandInput extends RegisterUsageRequest {}
|
|
16
17
|
export interface RegisterUsageCommandOutput
|
|
17
18
|
extends RegisterUsageResult,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ResolveCustomerRequest,
|
|
16
16
|
ResolveCustomerResult,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ResolveCustomerCommandInput extends ResolveCustomerRequest {}
|
|
19
20
|
export interface ResolveCustomerCommandOutput
|
|
20
21
|
extends ResolveCustomerResult,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./MarketplaceMetering";
|
|
2
1
|
export * from "./MarketplaceMeteringClient";
|
|
2
|
+
export * from "./MarketplaceMetering";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./models";
|
|
5
5
|
export { MarketplaceMeteringServiceException } from "./models/MarketplaceMeteringServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class MarketplaceMeteringServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-metering",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Metering Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.341.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|