@aws-sdk/client-marketplace-entitlement-service 3.300.0 → 3.303.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.
@@ -2,11 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ThrottlingException = exports.InvalidParameterException = exports.InternalServiceErrorException = exports.GetEntitlementFilterName = void 0;
4
4
  const MarketplaceEntitlementServiceServiceException_1 = require("./MarketplaceEntitlementServiceServiceException");
5
- var GetEntitlementFilterName;
6
- (function (GetEntitlementFilterName) {
7
- GetEntitlementFilterName["CUSTOMER_IDENTIFIER"] = "CUSTOMER_IDENTIFIER";
8
- GetEntitlementFilterName["DIMENSION"] = "DIMENSION";
9
- })(GetEntitlementFilterName = exports.GetEntitlementFilterName || (exports.GetEntitlementFilterName = {}));
5
+ exports.GetEntitlementFilterName = {
6
+ CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER",
7
+ DIMENSION: "DIMENSION",
8
+ };
10
9
  class InternalServiceErrorException extends MarketplaceEntitlementServiceServiceException_1.MarketplaceEntitlementServiceServiceException {
11
10
  constructor(opts) {
12
11
  super({
@@ -1,9 +1,8 @@
1
1
  import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
2
- export var GetEntitlementFilterName;
3
- (function (GetEntitlementFilterName) {
4
- GetEntitlementFilterName["CUSTOMER_IDENTIFIER"] = "CUSTOMER_IDENTIFIER";
5
- GetEntitlementFilterName["DIMENSION"] = "DIMENSION";
6
- })(GetEntitlementFilterName || (GetEntitlementFilterName = {}));
2
+ export const GetEntitlementFilterName = {
3
+ CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER",
4
+ DIMENSION: "DIMENSION",
5
+ };
7
6
  export class InternalServiceErrorException extends __BaseException {
8
7
  constructor(opts) {
9
8
  super({
@@ -27,10 +27,10 @@ export interface GetEntitlementsCommandOutput extends GetEntitlementsResult, __M
27
27
  * import { MarketplaceEntitlementServiceClient, GetEntitlementsCommand } from "@aws-sdk/client-marketplace-entitlement-service"; // ES Modules import
28
28
  * // const { MarketplaceEntitlementServiceClient, GetEntitlementsCommand } = require("@aws-sdk/client-marketplace-entitlement-service"); // CommonJS import
29
29
  * const client = new MarketplaceEntitlementServiceClient(config);
30
- * const input = {
30
+ * const input = { // GetEntitlementsRequest
31
31
  * ProductCode: "STRING_VALUE", // required
32
- * Filter: {
33
- * "<keys>": [
32
+ * Filter: { // GetEntitlementFilters
33
+ * "<keys>": [ // FilterValueList
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * },
@@ -2,11 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum GetEntitlementFilterName {
7
- CUSTOMER_IDENTIFIER = "CUSTOMER_IDENTIFIER",
8
- DIMENSION = "DIMENSION"
9
- }
7
+ export declare const GetEntitlementFilterName: {
8
+ readonly CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER";
9
+ readonly DIMENSION: "DIMENSION";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type GetEntitlementFilterName = (typeof GetEntitlementFilterName)[keyof typeof GetEntitlementFilterName];
10
15
  /**
11
16
  * @public
12
17
  * <p>The GetEntitlementsRequest contains parameters for the GetEntitlements
@@ -1,9 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { MarketplaceEntitlementServiceServiceException as __BaseException } from "./MarketplaceEntitlementServiceServiceException";
3
- export declare enum GetEntitlementFilterName {
4
- CUSTOMER_IDENTIFIER = "CUSTOMER_IDENTIFIER",
5
- DIMENSION = "DIMENSION",
6
- }
3
+ export declare const GetEntitlementFilterName: {
4
+ readonly CUSTOMER_IDENTIFIER: "CUSTOMER_IDENTIFIER";
5
+ readonly DIMENSION: "DIMENSION";
6
+ };
7
+ export type GetEntitlementFilterName =
8
+ (typeof GetEntitlementFilterName)[keyof typeof GetEntitlementFilterName];
7
9
  export interface GetEntitlementsRequest {
8
10
  ProductCode: string | undefined;
9
11
  Filter?: Record<string, string[]>;
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.300.0",
4
+ "version": "3.303.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,42 +21,42 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",