@aws-sdk/client-marketplace-entitlement-service 3.296.0 → 3.297.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-types/MarketplaceEntitlementService.d.ts +2 -0
- package/dist-types/MarketplaceEntitlementServiceClient.d.ts +24 -4
- package/dist-types/commands/GetEntitlementsCommand.d.ts +16 -0
- package/dist-types/models/MarketplaceEntitlementServiceServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/package.json +3 -3
|
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { GetEntitlementsCommandInput, GetEntitlementsCommandOutput } from "./commands/GetEntitlementsCommand";
|
|
3
3
|
import { MarketplaceEntitlementServiceClient } from "./MarketplaceEntitlementServiceClient";
|
|
4
4
|
/**
|
|
5
|
+
* @public
|
|
5
6
|
* <fullname>AWS Marketplace Entitlement Service</fullname>
|
|
6
7
|
* <p>This reference provides descriptions of the AWS Marketplace Entitlement Service
|
|
7
8
|
* API.</p>
|
|
@@ -22,6 +23,7 @@ import { MarketplaceEntitlementServiceClient } from "./MarketplaceEntitlementSer
|
|
|
22
23
|
*/
|
|
23
24
|
export declare class MarketplaceEntitlementService extends MarketplaceEntitlementServiceClient {
|
|
24
25
|
/**
|
|
26
|
+
* @public
|
|
25
27
|
* <p>GetEntitlements retrieves entitlement values for a given product. The results can be
|
|
26
28
|
* filtered based on customer identifier or product dimensions.</p>
|
|
27
29
|
*/
|
|
@@ -9,15 +9,24 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { GetEntitlementsCommandInput, GetEntitlementsCommandOutput } from "./commands/GetEntitlementsCommand";
|
|
11
11
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
12
15
|
export type ServiceInputTypes = GetEntitlementsCommandInput;
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
13
19
|
export type ServiceOutputTypes = GetEntitlementsCommandOutput;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
14
23
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
15
24
|
/**
|
|
16
25
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
17
26
|
*/
|
|
18
27
|
requestHandler?: __HttpHandler;
|
|
19
28
|
/**
|
|
20
|
-
* A constructor for a class implementing the {@link
|
|
29
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
21
30
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
22
31
|
* @internal
|
|
23
32
|
*/
|
|
@@ -107,23 +116,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
107
116
|
*/
|
|
108
117
|
logger?: __Logger;
|
|
109
118
|
/**
|
|
110
|
-
* The {@link
|
|
119
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
111
120
|
*/
|
|
112
121
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
113
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
114
126
|
type MarketplaceEntitlementServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
115
127
|
/**
|
|
116
|
-
*
|
|
128
|
+
* @public
|
|
129
|
+
*
|
|
130
|
+
* The configuration interface of MarketplaceEntitlementServiceClient class constructor that set the region, credentials and other options.
|
|
117
131
|
*/
|
|
118
132
|
export interface MarketplaceEntitlementServiceClientConfig extends MarketplaceEntitlementServiceClientConfigType {
|
|
119
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
120
137
|
type MarketplaceEntitlementServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
121
138
|
/**
|
|
122
|
-
*
|
|
139
|
+
* @public
|
|
140
|
+
*
|
|
141
|
+
* The resolved configuration interface of MarketplaceEntitlementServiceClient class. This is resolved and normalized from the {@link MarketplaceEntitlementServiceClientConfig | constructor configuration interface}.
|
|
123
142
|
*/
|
|
124
143
|
export interface MarketplaceEntitlementServiceClientResolvedConfig extends MarketplaceEntitlementServiceClientResolvedConfigType {
|
|
125
144
|
}
|
|
126
145
|
/**
|
|
146
|
+
* @public
|
|
127
147
|
* <fullname>AWS Marketplace Entitlement Service</fullname>
|
|
128
148
|
* <p>This reference provides descriptions of the AWS Marketplace Entitlement Service
|
|
129
149
|
* API.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MarketplaceEntitlementServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceEntitlementServiceClient";
|
|
5
5
|
import { GetEntitlementsRequest, GetEntitlementsResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetEntitlementsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetEntitlementsCommandInput extends GetEntitlementsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetEntitlementsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetEntitlementsCommandOutput extends GetEntitlementsResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>GetEntitlements retrieves entitlement values for a given product. The results can be
|
|
18
23
|
* filtered based on customer identifier or product dimensions.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface GetEntitlementsCommandOutput extends GetEntitlementsResult, __M
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param GetEntitlementsCommandInput - {@link GetEntitlementsCommandInput}
|
|
35
|
+
* @returns {@link GetEntitlementsCommandOutput}
|
|
29
36
|
* @see {@link GetEntitlementsCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link GetEntitlementsCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link MarketplaceEntitlementServiceClientResolvedConfig | config} for MarketplaceEntitlementServiceClient's `config` shape.
|
|
@@ -45,11 +52,20 @@ export interface GetEntitlementsCommandOutput extends GetEntitlementsResult, __M
|
|
|
45
52
|
export declare class GetEntitlementsCommand extends $Command<GetEntitlementsCommandInput, GetEntitlementsCommandOutput, MarketplaceEntitlementServiceClientResolvedConfig> {
|
|
46
53
|
readonly input: GetEntitlementsCommandInput;
|
|
47
54
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
48
58
|
constructor(input: GetEntitlementsCommandInput);
|
|
49
59
|
/**
|
|
50
60
|
* @internal
|
|
51
61
|
*/
|
|
52
62
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceEntitlementServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEntitlementsCommandInput, GetEntitlementsCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
53
66
|
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
54
70
|
private deserialize;
|
|
55
71
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from MarketplaceEntitlementService service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class MarketplaceEntitlementServiceServiceException extends __ServiceException {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export declare enum GetEntitlementFilterName {
|
|
4
7
|
CUSTOMER_IDENTIFIER = "CUSTOMER_IDENTIFIER",
|
|
5
8
|
DIMENSION = "DIMENSION"
|
|
6
9
|
}
|
|
7
10
|
/**
|
|
11
|
+
* @public
|
|
8
12
|
* <p>The GetEntitlementsRequest contains parameters for the GetEntitlements
|
|
9
13
|
* operation.</p>
|
|
10
14
|
*/
|
|
@@ -33,6 +37,7 @@ export interface GetEntitlementsRequest {
|
|
|
33
37
|
MaxResults?: number;
|
|
34
38
|
}
|
|
35
39
|
/**
|
|
40
|
+
* @public
|
|
36
41
|
* <p>The EntitlementValue represents the amount of capacity that the customer is entitled to
|
|
37
42
|
* for the product.</p>
|
|
38
43
|
*/
|
|
@@ -59,6 +64,7 @@ export interface EntitlementValue {
|
|
|
59
64
|
StringValue?: string;
|
|
60
65
|
}
|
|
61
66
|
/**
|
|
67
|
+
* @public
|
|
62
68
|
* <p>An entitlement represents capacity in a product owned by the customer. For example, a
|
|
63
69
|
* customer might own some number of users or seats in an SaaS application or some amount of
|
|
64
70
|
* data capacity in a multi-tenant database.</p>
|
|
@@ -95,6 +101,7 @@ export interface Entitlement {
|
|
|
95
101
|
ExpirationDate?: Date;
|
|
96
102
|
}
|
|
97
103
|
/**
|
|
104
|
+
* @public
|
|
98
105
|
* <p>The GetEntitlementsRequest contains results from the GetEntitlements operation.</p>
|
|
99
106
|
*/
|
|
100
107
|
export interface GetEntitlementsResult {
|
|
@@ -112,6 +119,7 @@ export interface GetEntitlementsResult {
|
|
|
112
119
|
NextToken?: string;
|
|
113
120
|
}
|
|
114
121
|
/**
|
|
122
|
+
* @public
|
|
115
123
|
* <p>An internal error has occurred. Retry your request. If the problem persists, post a
|
|
116
124
|
* message with details on the AWS forums.</p>
|
|
117
125
|
*/
|
|
@@ -124,6 +132,7 @@ export declare class InternalServiceErrorException extends __BaseException {
|
|
|
124
132
|
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
125
133
|
}
|
|
126
134
|
/**
|
|
135
|
+
* @public
|
|
127
136
|
* <p>One or more parameters in your request was invalid.</p>
|
|
128
137
|
*/
|
|
129
138
|
export declare class InvalidParameterException extends __BaseException {
|
|
@@ -135,6 +144,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
135
144
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
136
145
|
}
|
|
137
146
|
/**
|
|
147
|
+
* @public
|
|
138
148
|
* <p>The calls to the GetEntitlements API are throttled.</p>
|
|
139
149
|
*/
|
|
140
150
|
export declare class ThrottlingException extends __BaseException {
|
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.297.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|