@aws-sdk/client-license-manager 3.830.0 → 3.836.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
@@ -90,6 +90,7 @@ __export(index_exports, {
90
90
  ListTokensCommand: () => ListTokensCommand,
91
91
  ListUsageForLicenseConfigurationCommand: () => ListUsageForLicenseConfigurationCommand,
92
92
  NoEntitlementsAllowedException: () => NoEntitlementsAllowedException,
93
+ ProductCodeType: () => ProductCodeType,
93
94
  RateLimitExceededException: () => RateLimitExceededException,
94
95
  ReceivedStatus: () => ReceivedStatus,
95
96
  RedirectException: () => RedirectException,
@@ -655,6 +656,9 @@ var LicenseCountingType = {
655
656
  SOCKET: "Socket",
656
657
  VCPU: "vCPU"
657
658
  };
659
+ var ProductCodeType = {
660
+ MARKETPLACE: "marketplace"
661
+ };
658
662
  var ReportFrequencyType = {
659
663
  DAY: "DAY",
660
664
  MONTH: "MONTH",
@@ -3040,6 +3044,7 @@ var LicenseManager = class extends LicenseManagerClient {
3040
3044
  EntitlementUnit,
3041
3045
  LicenseStatus,
3042
3046
  LicenseCountingType,
3047
+ ProductCodeType,
3043
3048
  ReportFrequencyType,
3044
3049
  ReportType,
3045
3050
  TokenType,
@@ -292,6 +292,9 @@ export const LicenseCountingType = {
292
292
  SOCKET: "Socket",
293
293
  VCPU: "vCPU",
294
294
  };
295
+ export const ProductCodeType = {
296
+ MARKETPLACE: "marketplace",
297
+ };
295
298
  export const ReportFrequencyType = {
296
299
  DAY: "DAY",
297
300
  MONTH: "MONTH",
@@ -38,9 +38,21 @@ declare const CreateLicenseConversionTaskForResourceCommand_base: {
38
38
  * ResourceArn: "STRING_VALUE", // required
39
39
  * SourceLicenseContext: { // LicenseConversionContext
40
40
  * UsageOperation: "STRING_VALUE",
41
+ * ProductCodes: [ // ProductCodeList
42
+ * { // ProductCodeListItem
43
+ * ProductCodeId: "STRING_VALUE", // required
44
+ * ProductCodeType: "marketplace", // required
45
+ * },
46
+ * ],
41
47
  * },
42
48
  * DestinationLicenseContext: {
43
49
  * UsageOperation: "STRING_VALUE",
50
+ * ProductCodes: [
51
+ * {
52
+ * ProductCodeId: "STRING_VALUE", // required
53
+ * ProductCodeType: "marketplace", // required
54
+ * },
55
+ * ],
44
56
  * },
45
57
  * };
46
58
  * const command = new CreateLicenseConversionTaskForResourceCommand(input);
@@ -44,9 +44,21 @@ declare const GetLicenseConversionTaskCommand_base: {
44
44
  * // ResourceArn: "STRING_VALUE",
45
45
  * // SourceLicenseContext: { // LicenseConversionContext
46
46
  * // UsageOperation: "STRING_VALUE",
47
+ * // ProductCodes: [ // ProductCodeList
48
+ * // { // ProductCodeListItem
49
+ * // ProductCodeId: "STRING_VALUE", // required
50
+ * // ProductCodeType: "marketplace", // required
51
+ * // },
52
+ * // ],
47
53
  * // },
48
54
  * // DestinationLicenseContext: {
49
55
  * // UsageOperation: "STRING_VALUE",
56
+ * // ProductCodes: [
57
+ * // {
58
+ * // ProductCodeId: "STRING_VALUE", // required
59
+ * // ProductCodeType: "marketplace", // required
60
+ * // },
61
+ * // ],
50
62
  * // },
51
63
  * // StatusMessage: "STRING_VALUE",
52
64
  * // Status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
@@ -55,9 +55,21 @@ declare const ListLicenseConversionTasksCommand_base: {
55
55
  * // ResourceArn: "STRING_VALUE",
56
56
  * // SourceLicenseContext: { // LicenseConversionContext
57
57
  * // UsageOperation: "STRING_VALUE",
58
+ * // ProductCodes: [ // ProductCodeList
59
+ * // { // ProductCodeListItem
60
+ * // ProductCodeId: "STRING_VALUE", // required
61
+ * // ProductCodeType: "marketplace", // required
62
+ * // },
63
+ * // ],
58
64
  * // },
59
65
  * // DestinationLicenseContext: {
60
66
  * // UsageOperation: "STRING_VALUE",
67
+ * // ProductCodes: [
68
+ * // {
69
+ * // ProductCodeId: "STRING_VALUE", // required
70
+ * // ProductCodeType: "marketplace", // required
71
+ * // },
72
+ * // ],
61
73
  * // },
62
74
  * // Status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
63
75
  * // StatusMessage: "STRING_VALUE",
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
@@ -1233,6 +1233,33 @@ export interface CreateLicenseConfigurationResponse {
1233
1233
  */
1234
1234
  LicenseConfigurationArn?: string | undefined;
1235
1235
  }
1236
+ /**
1237
+ * @public
1238
+ * @enum
1239
+ */
1240
+ export declare const ProductCodeType: {
1241
+ readonly MARKETPLACE: "marketplace";
1242
+ };
1243
+ /**
1244
+ * @public
1245
+ */
1246
+ export type ProductCodeType = (typeof ProductCodeType)[keyof typeof ProductCodeType];
1247
+ /**
1248
+ * <p>A list item that contains a product code.</p>
1249
+ * @public
1250
+ */
1251
+ export interface ProductCodeListItem {
1252
+ /**
1253
+ * <p>The product code ID</p>
1254
+ * @public
1255
+ */
1256
+ ProductCodeId: string | undefined;
1257
+ /**
1258
+ * <p>The product code type</p>
1259
+ * @public
1260
+ */
1261
+ ProductCodeType: ProductCodeType | undefined;
1262
+ }
1236
1263
  /**
1237
1264
  * <p>Information about a license type conversion task.</p>
1238
1265
  * @public
@@ -1245,6 +1272,11 @@ export interface LicenseConversionContext {
1245
1272
  * @public
1246
1273
  */
1247
1274
  UsageOperation?: string | undefined;
1275
+ /**
1276
+ * <p>Product codes referred to in the license conversion process.</p>
1277
+ * @public
1278
+ */
1279
+ ProductCodes?: ProductCodeListItem[] | undefined;
1248
1280
  }
1249
1281
  /**
1250
1282
  * @public
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
19
+ export type ClientResolvedEndpointParameters = Pick<
20
+ ClientInputEndpointParameters,
21
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
22
+ > & {
20
23
  defaultSigningName: string;
21
24
  };
22
25
  export declare const resolveClientEndpointParameters: <T>(
@@ -397,8 +397,18 @@ export interface CreateLicenseConfigurationRequest {
397
397
  export interface CreateLicenseConfigurationResponse {
398
398
  LicenseConfigurationArn?: string | undefined;
399
399
  }
400
+ export declare const ProductCodeType: {
401
+ readonly MARKETPLACE: "marketplace";
402
+ };
403
+ export type ProductCodeType =
404
+ (typeof ProductCodeType)[keyof typeof ProductCodeType];
405
+ export interface ProductCodeListItem {
406
+ ProductCodeId: string | undefined;
407
+ ProductCodeType: ProductCodeType | undefined;
408
+ }
400
409
  export interface LicenseConversionContext {
401
410
  UsageOperation?: string | undefined;
411
+ ProductCodes?: ProductCodeListItem[] | undefined;
402
412
  }
403
413
  export interface CreateLicenseConversionTaskForResourceRequest {
404
414
  ResourceArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-license-manager",
3
3
  "description": "AWS SDK for JavaScript License Manager Client for Node.js, Browser and React Native",
4
- "version": "3.830.0",
4
+ "version": "3.836.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-license-manager",
@@ -20,41 +20,41 @@
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.826.0",
24
- "@aws-sdk/credential-provider-node": "3.830.0",
23
+ "@aws-sdk/core": "3.835.0",
24
+ "@aws-sdk/credential-provider-node": "3.835.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.828.0",
28
+ "@aws-sdk/middleware-user-agent": "3.835.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
31
  "@aws-sdk/util-endpoints": "3.828.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.828.0",
33
+ "@aws-sdk/util-user-agent-node": "3.835.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.11",
41
- "@smithy/middleware-retry": "^4.1.12",
40
+ "@smithy/middleware-endpoint": "^4.1.12",
41
+ "@smithy/middleware-retry": "^4.1.13",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.3",
47
+ "@smithy/smithy-client": "^4.4.4",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.19",
54
- "@smithy/util-defaults-mode-node": "^4.0.19",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.20",
54
+ "@smithy/util-defaults-mode-node": "^4.0.20",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
- "@smithy/util-retry": "^4.0.5",
57
+ "@smithy/util-retry": "^4.0.6",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "tslib": "^2.6.2"
60
60
  },