@aws-sdk/client-marketplace-entitlement-service 3.686.0 → 3.691.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.
@@ -31,19 +31,19 @@ export interface GetEntitlementsRequest {
31
31
  * <i>intersected</i> for each filter key.</p>
32
32
  * @public
33
33
  */
34
- Filter?: Partial<Record<GetEntitlementFilterName, string[]>>;
34
+ Filter?: Partial<Record<GetEntitlementFilterName, string[]>> | undefined;
35
35
  /**
36
36
  * <p>For paginated calls to GetEntitlements, pass the NextToken from the previous
37
37
  * GetEntitlementsResult.</p>
38
38
  * @public
39
39
  */
40
- NextToken?: string;
40
+ NextToken?: string | undefined;
41
41
  /**
42
42
  * <p>The maximum number of items to retrieve from the GetEntitlements operation. For
43
43
  * pagination, use the NextToken field in subsequent calls to GetEntitlements.</p>
44
44
  * @public
45
45
  */
46
- MaxResults?: number;
46
+ MaxResults?: number | undefined;
47
47
  }
48
48
  /**
49
49
  * <p>The EntitlementValue represents the amount of capacity that the customer is entitled to
@@ -56,25 +56,25 @@ export interface EntitlementValue {
56
56
  * integer type. Otherwise, the field will not be set.</p>
57
57
  * @public
58
58
  */
59
- IntegerValue?: number;
59
+ IntegerValue?: number | undefined;
60
60
  /**
61
61
  * <p>The DoubleValue field will be populated with a double value when the entitlement is a
62
62
  * double type. Otherwise, the field will not be set.</p>
63
63
  * @public
64
64
  */
65
- DoubleValue?: number;
65
+ DoubleValue?: number | undefined;
66
66
  /**
67
67
  * <p>The BooleanValue field will be populated with a boolean value when the entitlement is a
68
68
  * boolean type. Otherwise, the field will not be set.</p>
69
69
  * @public
70
70
  */
71
- BooleanValue?: boolean;
71
+ BooleanValue?: boolean | undefined;
72
72
  /**
73
73
  * <p>The StringValue field will be populated with a string value when the entitlement is a
74
74
  * string type. Otherwise, the field will not be set.</p>
75
75
  * @public
76
76
  */
77
- StringValue?: string;
77
+ StringValue?: string | undefined;
78
78
  }
79
79
  /**
80
80
  * <p>An entitlement represents capacity in a product owned by the customer. For example, a
@@ -88,27 +88,27 @@ export interface Entitlement {
88
88
  * AWS Marketplace when the product listing is created.</p>
89
89
  * @public
90
90
  */
91
- ProductCode?: string;
91
+ ProductCode?: string | undefined;
92
92
  /**
93
93
  * <p>The dimension for which the given entitlement applies. Dimensions represent categories of
94
94
  * capacity in a product and are specified when the product is listed in AWS
95
95
  * Marketplace.</p>
96
96
  * @public
97
97
  */
98
- Dimension?: string;
98
+ Dimension?: string | undefined;
99
99
  /**
100
100
  * <p>The customer identifier is a handle to each unique customer in an application. Customer
101
101
  * identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering
102
102
  * Service.</p>
103
103
  * @public
104
104
  */
105
- CustomerIdentifier?: string;
105
+ CustomerIdentifier?: string | undefined;
106
106
  /**
107
107
  * <p>The EntitlementValue represents the amount of capacity that the customer is entitled to
108
108
  * for the product.</p>
109
109
  * @public
110
110
  */
111
- Value?: EntitlementValue;
111
+ Value?: EntitlementValue | undefined;
112
112
  /**
113
113
  * <p>The expiration date represents the minimum date through which this entitlement is
114
114
  * expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date
@@ -116,7 +116,7 @@ export interface Entitlement {
116
116
  * to renew their contract will still have entitlements with an expiration date.</p>
117
117
  * @public
118
118
  */
119
- ExpirationDate?: Date;
119
+ ExpirationDate?: Date | undefined;
120
120
  }
121
121
  /**
122
122
  * <p>The GetEntitlementsRequest contains results from the GetEntitlements operation.</p>
@@ -129,14 +129,14 @@ export interface GetEntitlementsResult {
129
129
  * used.</p>
130
130
  * @public
131
131
  */
132
- Entitlements?: Entitlement[];
132
+ Entitlements?: Entitlement[] | undefined;
133
133
  /**
134
134
  * <p>For paginated results, use NextToken in subsequent calls to GetEntitlements. If the
135
135
  * result contains an empty set of entitlements, NextToken might still be present and should be
136
136
  * used.</p>
137
137
  * @public
138
138
  */
139
- NextToken?: string;
139
+ NextToken?: string | undefined;
140
140
  }
141
141
  /**
142
142
  * <p>An internal error has occurred. Retry your request. If the problem persists, post a
@@ -8,26 +8,26 @@ export type GetEntitlementFilterName =
8
8
  (typeof GetEntitlementFilterName)[keyof typeof GetEntitlementFilterName];
9
9
  export interface GetEntitlementsRequest {
10
10
  ProductCode: string | undefined;
11
- Filter?: Partial<Record<GetEntitlementFilterName, string[]>>;
12
- NextToken?: string;
13
- MaxResults?: number;
11
+ Filter?: Partial<Record<GetEntitlementFilterName, string[]>> | undefined;
12
+ NextToken?: string | undefined;
13
+ MaxResults?: number | undefined;
14
14
  }
15
15
  export interface EntitlementValue {
16
- IntegerValue?: number;
17
- DoubleValue?: number;
18
- BooleanValue?: boolean;
19
- StringValue?: string;
16
+ IntegerValue?: number | undefined;
17
+ DoubleValue?: number | undefined;
18
+ BooleanValue?: boolean | undefined;
19
+ StringValue?: string | undefined;
20
20
  }
21
21
  export interface Entitlement {
22
- ProductCode?: string;
23
- Dimension?: string;
24
- CustomerIdentifier?: string;
25
- Value?: EntitlementValue;
26
- ExpirationDate?: Date;
22
+ ProductCode?: string | undefined;
23
+ Dimension?: string | undefined;
24
+ CustomerIdentifier?: string | undefined;
25
+ Value?: EntitlementValue | undefined;
26
+ ExpirationDate?: Date | undefined;
27
27
  }
28
28
  export interface GetEntitlementsResult {
29
- Entitlements?: Entitlement[];
30
- NextToken?: string;
29
+ Entitlements?: Entitlement[] | undefined;
30
+ NextToken?: string | undefined;
31
31
  }
32
32
  export declare class InternalServiceErrorException extends __BaseException {
33
33
  readonly name: "InternalServiceErrorException";
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.686.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-marketplace-entitlement-service",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",