@aws-sdk/client-marketplace-entitlement-service 3.933.0 → 3.935.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 CHANGED
@@ -117,11 +117,6 @@ let MarketplaceEntitlementServiceServiceException$1 = class MarketplaceEntitleme
117
117
  }
118
118
  };
119
119
 
120
- const GetEntitlementFilterName = {
121
- CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID",
122
- CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER",
123
- DIMENSION: "DIMENSION",
124
- };
125
120
  let InternalServiceErrorException$1 = class InternalServiceErrorException extends MarketplaceEntitlementServiceServiceException$1 {
126
121
  name = "InternalServiceErrorException";
127
122
  $fault = "server";
@@ -280,6 +275,12 @@ smithyClient.createAggregatedClient(commands, MarketplaceEntitlementService);
280
275
 
281
276
  const paginateGetEntitlements = core.createPaginator(MarketplaceEntitlementServiceClient, GetEntitlementsCommand, "NextToken", "NextToken", "MaxResults");
282
277
 
278
+ const GetEntitlementFilterName = {
279
+ CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID",
280
+ CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER",
281
+ DIMENSION: "DIMENSION",
282
+ };
283
+
283
284
  Object.defineProperty(exports, "$Command", {
284
285
  enumerable: true,
285
286
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./MarketplaceEntitlementServiceClient";
2
2
  export * from "./MarketplaceEntitlementService";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { MarketplaceEntitlementServiceServiceException } from "./models/MarketplaceEntitlementServiceServiceException";
@@ -0,0 +1,5 @@
1
+ export const GetEntitlementFilterName = {
2
+ CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID",
3
+ CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER",
4
+ DIMENSION: "DIMENSION",
5
+ };
@@ -0,0 +1,37 @@
1
+ import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
2
+ export class InternalServiceErrorException extends __BaseException {
3
+ name = "InternalServiceErrorException";
4
+ $fault = "server";
5
+ constructor(opts) {
6
+ super({
7
+ name: "InternalServiceErrorException",
8
+ $fault: "server",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
12
+ }
13
+ }
14
+ export class InvalidParameterException extends __BaseException {
15
+ name = "InvalidParameterException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InvalidParameterException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
24
+ }
25
+ }
26
+ export class ThrottlingException extends __BaseException {
27
+ name = "ThrottlingException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ThrottlingException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
36
+ }
37
+ }
@@ -1,42 +1 @@
1
- import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
2
- export const GetEntitlementFilterName = {
3
- CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID",
4
- CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER",
5
- DIMENSION: "DIMENSION",
6
- };
7
- export class InternalServiceErrorException extends __BaseException {
8
- name = "InternalServiceErrorException";
9
- $fault = "server";
10
- constructor(opts) {
11
- super({
12
- name: "InternalServiceErrorException",
13
- $fault: "server",
14
- ...opts,
15
- });
16
- Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
17
- }
18
- }
19
- export class InvalidParameterException extends __BaseException {
20
- name = "InvalidParameterException";
21
- $fault = "client";
22
- constructor(opts) {
23
- super({
24
- name: "InvalidParameterException",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
29
- }
30
- }
31
- export class ThrottlingException extends __BaseException {
32
- name = "ThrottlingException";
33
- $fault = "client";
34
- constructor(opts) {
35
- super({
36
- name: "ThrottlingException",
37
- $fault: "client",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, ThrottlingException.prototype);
41
- }
42
- }
1
+ export {};
@@ -29,7 +29,7 @@ const _s = "server";
29
29
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceentitlementservice";
30
30
  const n0 = "com.amazonaws.marketplaceentitlementservice";
31
31
  import { TypeRegistry } from "@smithy/core/schema";
32
- import { InternalServiceErrorException as __InternalServiceErrorException, InvalidParameterException as __InvalidParameterException, ThrottlingException as __ThrottlingException, } from "../models/index";
32
+ import { InternalServiceErrorException as __InternalServiceErrorException, InvalidParameterException as __InvalidParameterException, ThrottlingException as __ThrottlingException, } from "../models/errors";
33
33
  import { MarketplaceEntitlementServiceServiceException as __MarketplaceEntitlementServiceServiceException } from "../models/MarketplaceEntitlementServiceServiceException";
34
34
  export var Entitlement = [
35
35
  3,
@@ -26,5 +26,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
26
26
  export type { MarketplaceEntitlementServiceExtensionConfiguration } from "./extensionConfiguration";
27
27
  export * from "./commands";
28
28
  export * from "./pagination";
29
- export * from "./models";
29
+ export * from "./models/enums";
30
+ export * from "./models/errors";
31
+ export type * from "./models/models_0";
30
32
  export { MarketplaceEntitlementServiceServiceException } from "./models/MarketplaceEntitlementServiceServiceException";
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const GetEntitlementFilterName: {
6
+ readonly CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID";
7
+ readonly CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER";
8
+ readonly DIMENSION: "DIMENSION";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type GetEntitlementFilterName = (typeof GetEntitlementFilterName)[keyof typeof GetEntitlementFilterName];
@@ -0,0 +1,39 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
3
+ /**
4
+ * <p>An internal error has occurred. Retry your request. If the problem persists, post a
5
+ * message with details on the AWS forums.</p>
6
+ * @public
7
+ */
8
+ export declare class InternalServiceErrorException extends __BaseException {
9
+ readonly name: "InternalServiceErrorException";
10
+ readonly $fault: "server";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>One or more parameters in your request was invalid.</p>
18
+ * @public
19
+ */
20
+ export declare class InvalidParameterException extends __BaseException {
21
+ readonly name: "InvalidParameterException";
22
+ readonly $fault: "client";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
27
+ }
28
+ /**
29
+ * <p>The calls to the GetEntitlements API are throttled.</p>
30
+ * @public
31
+ */
32
+ export declare class ThrottlingException extends __BaseException {
33
+ readonly name: "ThrottlingException";
34
+ readonly $fault: "client";
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
39
+ }
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const GetEntitlementFilterName: {
8
- readonly CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID";
9
- readonly CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER";
10
- readonly DIMENSION: "DIMENSION";
11
- };
12
- /**
13
- * @public
14
- */
15
- export type GetEntitlementFilterName = (typeof GetEntitlementFilterName)[keyof typeof GetEntitlementFilterName];
1
+ import { GetEntitlementFilterName } from "./enums";
16
2
  /**
17
3
  * <p>The GetEntitlementsRequest contains parameters for the GetEntitlements
18
4
  * operation.</p>
@@ -149,40 +135,3 @@ export interface GetEntitlementsResult {
149
135
  */
150
136
  NextToken?: string | undefined;
151
137
  }
152
- /**
153
- * <p>An internal error has occurred. Retry your request. If the problem persists, post a
154
- * message with details on the AWS forums.</p>
155
- * @public
156
- */
157
- export declare class InternalServiceErrorException extends __BaseException {
158
- readonly name: "InternalServiceErrorException";
159
- readonly $fault: "server";
160
- /**
161
- * @internal
162
- */
163
- constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
164
- }
165
- /**
166
- * <p>One or more parameters in your request was invalid.</p>
167
- * @public
168
- */
169
- export declare class InvalidParameterException extends __BaseException {
170
- readonly name: "InvalidParameterException";
171
- readonly $fault: "client";
172
- /**
173
- * @internal
174
- */
175
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
176
- }
177
- /**
178
- * <p>The calls to the GetEntitlements API are throttled.</p>
179
- * @public
180
- */
181
- export declare class ThrottlingException extends __BaseException {
182
- readonly name: "ThrottlingException";
183
- readonly $fault: "client";
184
- /**
185
- * @internal
186
- */
187
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
188
- }
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MarketplaceEntitlementServiceExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { MarketplaceEntitlementServiceServiceException } from "./models/MarketplaceEntitlementServiceServiceException";
@@ -0,0 +1,7 @@
1
+ export declare const GetEntitlementFilterName: {
2
+ readonly CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID";
3
+ readonly CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER";
4
+ readonly DIMENSION: "DIMENSION";
5
+ };
6
+ export type GetEntitlementFilterName =
7
+ (typeof GetEntitlementFilterName)[keyof typeof GetEntitlementFilterName];
@@ -0,0 +1,23 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
3
+ export declare class InternalServiceErrorException extends __BaseException {
4
+ readonly name: "InternalServiceErrorException";
5
+ readonly $fault: "server";
6
+ constructor(
7
+ opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
8
+ );
9
+ }
10
+ export declare class InvalidParameterException extends __BaseException {
11
+ readonly name: "InvalidParameterException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
15
+ );
16
+ }
17
+ export declare class ThrottlingException extends __BaseException {
18
+ readonly name: "ThrottlingException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
22
+ );
23
+ }
@@ -1,12 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
3
- export declare const GetEntitlementFilterName: {
4
- readonly CUSTOMER_AWS_ACCOUNT_ID: "CUSTOMER_AWS_ACCOUNT_ID";
5
- readonly CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER";
6
- readonly DIMENSION: "DIMENSION";
7
- };
8
- export type GetEntitlementFilterName =
9
- (typeof GetEntitlementFilterName)[keyof typeof GetEntitlementFilterName];
1
+ import { GetEntitlementFilterName } from "./enums";
10
2
  export interface GetEntitlementsRequest {
11
3
  ProductCode: string | undefined;
12
4
  Filter?: Partial<Record<GetEntitlementFilterName, string[]>> | undefined;
@@ -31,24 +23,3 @@ export interface GetEntitlementsResult {
31
23
  Entitlements?: Entitlement[] | undefined;
32
24
  NextToken?: string | undefined;
33
25
  }
34
- export declare class InternalServiceErrorException extends __BaseException {
35
- readonly name: "InternalServiceErrorException";
36
- readonly $fault: "server";
37
- constructor(
38
- opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
39
- );
40
- }
41
- export declare class InvalidParameterException extends __BaseException {
42
- readonly name: "InvalidParameterException";
43
- readonly $fault: "client";
44
- constructor(
45
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
46
- );
47
- }
48
- export declare class ThrottlingException extends __BaseException {
49
- readonly name: "ThrottlingException";
50
- readonly $fault: "client";
51
- constructor(
52
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
53
- );
54
- }
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.933.0",
4
+ "version": "3.935.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";