@aws-sdk/client-marketplace-entitlement-service 3.1077.0 → 3.1078.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 +9 -13
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/GetEntitlementsCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/GetEntitlementsCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetEntitlementsCommand.d.ts +3 -8
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -414,16 +415,11 @@ class MarketplaceEntitlementServiceClient extends Client {
|
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
417
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
})
|
|
423
|
-
.s("AWSMPEntitlementService", "GetEntitlements", {})
|
|
424
|
-
.n("MarketplaceEntitlementServiceClient", "GetEntitlementsCommand")
|
|
425
|
-
.sc(GetEntitlements$)
|
|
426
|
-
.build() {
|
|
418
|
+
const command = makeBuilder(commonParams, "AWSMPEntitlementService", "MarketplaceEntitlementServiceClient", getEndpointPlugin);
|
|
419
|
+
const _ep0 = {};
|
|
420
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
421
|
+
|
|
422
|
+
class GetEntitlementsCommand extends command(_ep0, _mw0, "GetEntitlements", GetEntitlements$) {
|
|
427
423
|
}
|
|
428
424
|
|
|
429
425
|
const paginateGetEntitlements = createPaginator(MarketplaceEntitlementServiceClient, GetEntitlementsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AWSMPEntitlementService", "MarketplaceEntitlementServiceClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetEntitlements$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetEntitlementsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSMPEntitlementService", "GetEntitlements", {})
|
|
13
|
-
.n("MarketplaceEntitlementServiceClient", "GetEntitlementsCommand")
|
|
14
|
-
.sc(GetEntitlements$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetEntitlementsCommand extends command(_ep0, _mw0, "GetEntitlements", GetEntitlements$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./MarketplaceEntitlementServiceClient";
|
|
2
2
|
export * from "./MarketplaceEntitlementService";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { MarketplaceEntitlementServiceClientResolvedConfig } from "./MarketplaceEntitlementServiceClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends import("./commands").GetEntitlementsCommandInput, O extends import("./commands").GetEntitlementsCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, MarketplaceEntitlementServiceClientResolvedConfig, import("./commands").GetEntitlementsCommandInput, import("./commands").GetEntitlementsCommandOutput>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, MarketplaceEntitlementServiceClientResolvedConfig, import("./commands").GetEntitlementsCommandInput, import("./commands").GetEntitlementsCommandOutput>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { MarketplaceEntitlementServiceClientResolvedConfig } from "../MarketplaceEntitlementServiceClient";
|
|
4
2
|
import type { GetEntitlementsRequest, GetEntitlementsResult } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetEntitlementsCommandInput extends GetEntitlementsRequest {
|
|
|
22
19
|
export interface GetEntitlementsCommandOutput extends GetEntitlementsResult, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetEntitlementsCommand_base: {
|
|
25
|
-
new (input: GetEntitlementsCommandInput): import("@smithy/core/client").CommandImpl<GetEntitlementsCommandInput, GetEntitlementsCommandOutput, MarketplaceEntitlementServiceClientResolvedConfig, GetEntitlementsCommandInput, GetEntitlementsCommandOutput>;
|
|
26
|
-
new (input: GetEntitlementsCommandInput): import("@smithy/core/client").CommandImpl<GetEntitlementsCommandInput, GetEntitlementsCommandOutput, MarketplaceEntitlementServiceClientResolvedConfig, GetEntitlementsCommandInput, GetEntitlementsCommandOutput>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetEntitlementsCommandInput): import("@smithy/core/client").CommandImpl<GetEntitlementsCommandInput, GetEntitlementsCommandOutput, import("..").MarketplaceEntitlementServiceClientResolvedConfig, GetEntitlementsCommandInput, GetEntitlementsCommandOutput>;
|
|
23
|
+
new (input: GetEntitlementsCommandInput): import("@smithy/core/client").CommandImpl<GetEntitlementsCommandInput, GetEntitlementsCommandOutput, import("..").MarketplaceEntitlementServiceClientResolvedConfig, GetEntitlementsCommandInput, GetEntitlementsCommandOutput>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>GetEntitlements retrieves entitlement values for a given product. The results can be
|
package/dist-types/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
25
25
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
26
26
|
export type { MarketplaceEntitlementServiceExtensionConfiguration } from "./extensionConfiguration";
|
|
27
27
|
export * from "./commands";
|
|
28
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
28
29
|
export * from "./schemas/schemas_0";
|
|
29
30
|
export * from "./pagination";
|
|
30
31
|
export * from "./models/enums";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import { MarketplaceEntitlementServiceClientResolvedConfig } from "./MarketplaceEntitlementServiceClient";
|
|
3
|
+
export declare const command: <
|
|
4
|
+
I extends import("./commands").GetEntitlementsCommandInput,
|
|
5
|
+
O extends import("./commands").GetEntitlementsCommandOutput
|
|
6
|
+
>(
|
|
7
|
+
added: EndpointParameterInstructions,
|
|
8
|
+
plugins: (
|
|
9
|
+
CommandCtor: any,
|
|
10
|
+
clientStack: any,
|
|
11
|
+
config: any,
|
|
12
|
+
options: any
|
|
13
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
14
|
+
op: string,
|
|
15
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
16
|
+
smithyContext?: Record<string, unknown>
|
|
17
|
+
) => {
|
|
18
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
I,
|
|
20
|
+
O,
|
|
21
|
+
MarketplaceEntitlementServiceClientResolvedConfig,
|
|
22
|
+
import("./commands").GetEntitlementsCommandInput,
|
|
23
|
+
import("./commands").GetEntitlementsCommandOutput
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
I,
|
|
29
|
+
O,
|
|
30
|
+
MarketplaceEntitlementServiceClientResolvedConfig,
|
|
31
|
+
import("./commands").GetEntitlementsCommandInput,
|
|
32
|
+
import("./commands").GetEntitlementsCommandOutput
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
37
|
+
export declare const _mw0: (
|
|
38
|
+
Command: any,
|
|
39
|
+
cs: any,
|
|
40
|
+
config: any,
|
|
41
|
+
o: any
|
|
42
|
+
) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { MarketplaceEntitlementServiceClientResolvedConfig } from "../MarketplaceEntitlementServiceClient";
|
|
4
2
|
import {
|
|
5
3
|
GetEntitlementsRequest,
|
|
6
4
|
GetEntitlementsResult,
|
|
7
5
|
} from "../models/models_0";
|
|
8
6
|
export { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
export interface GetEntitlementsCommandInput extends GetEntitlementsRequest {}
|
|
11
8
|
export interface GetEntitlementsCommandOutput
|
|
12
9
|
extends GetEntitlementsResult,
|
|
@@ -17,7 +14,7 @@ declare const GetEntitlementsCommand_base: {
|
|
|
17
14
|
): import("@smithy/core/client").CommandImpl<
|
|
18
15
|
GetEntitlementsCommandInput,
|
|
19
16
|
GetEntitlementsCommandOutput,
|
|
20
|
-
MarketplaceEntitlementServiceClientResolvedConfig,
|
|
17
|
+
import("..").MarketplaceEntitlementServiceClientResolvedConfig,
|
|
21
18
|
GetEntitlementsCommandInput,
|
|
22
19
|
GetEntitlementsCommandOutput
|
|
23
20
|
>;
|
|
@@ -26,13 +23,11 @@ declare const GetEntitlementsCommand_base: {
|
|
|
26
23
|
): import("@smithy/core/client").CommandImpl<
|
|
27
24
|
GetEntitlementsCommandInput,
|
|
28
25
|
GetEntitlementsCommandOutput,
|
|
29
|
-
MarketplaceEntitlementServiceClientResolvedConfig,
|
|
26
|
+
import("..").MarketplaceEntitlementServiceClientResolvedConfig,
|
|
30
27
|
GetEntitlementsCommandInput,
|
|
31
28
|
GetEntitlementsCommandOutput
|
|
32
29
|
>;
|
|
33
|
-
getEndpointParameterInstructions():
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
36
31
|
};
|
|
37
32
|
export declare class GetEntitlementsCommand extends GetEntitlementsCommand_base {
|
|
38
33
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { MarketplaceEntitlementServiceExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./pagination";
|
|
9
10
|
export * from "./models/enums";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-entitlement-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Entitlement Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.973.
|
|
25
|
-
"@smithy/core": "^3.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.15.
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/types": "^3.973.15",
|
|
25
|
+
"@smithy/core": "^3.29.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
28
|
+
"@smithy/types": "^4.15.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|