@aws-sdk/client-license-manager 3.808.0 → 3.809.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.
@@ -47,6 +47,12 @@ declare const CreateGrantCommand_base: {
47
47
  * AllowedOperations: [ // AllowedOperationList // required
48
48
  * "CreateGrant" || "CheckoutLicense" || "CheckoutBorrowLicense" || "CheckInLicense" || "ExtendConsumptionLicense" || "ListPurchasedLicenses" || "CreateToken",
49
49
  * ],
50
+ * Tags: [ // TagList
51
+ * { // Tag
52
+ * Key: "STRING_VALUE",
53
+ * Value: "STRING_VALUE",
54
+ * },
55
+ * ],
50
56
  * };
51
57
  * const command = new CreateGrantCommand(input);
52
58
  * const response = await client.send(command);
@@ -75,6 +75,12 @@ declare const CreateLicenseCommand_base: {
75
75
  * },
76
76
  * ],
77
77
  * ClientToken: "STRING_VALUE", // required
78
+ * Tags: [ // TagList
79
+ * { // Tag
80
+ * Key: "STRING_VALUE",
81
+ * Value: "STRING_VALUE",
82
+ * },
83
+ * ],
78
84
  * };
79
85
  * const command = new CreateLicenseCommand(input);
80
86
  * const response = await client.send(command);
@@ -27,7 +27,8 @@ declare const ListTagsForResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the tags for the specified license configuration.</p>
30
+ * <p>Lists the tags for the specified resource. For more information about tagging support in
31
+ * License Manager, see the <a href="https://docs.aws.amazon.com/license-manager/latest/APIReference/API_TagResource.html">TagResource</a> operation.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -27,7 +27,22 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds the specified tags to the specified license configuration.</p>
30
+ * <p>Adds the specified tags to the specified resource. The following resources support
31
+ * tagging in License Manager:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>Licenses</p>
35
+ * </li>
36
+ * <li>
37
+ * <p>Grants</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>License configurations</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>Report generators</p>
44
+ * </li>
45
+ * </ul>
31
46
  * @example
32
47
  * Use a bare-bones client and the command you need to make an API call.
33
48
  * ```javascript
@@ -27,7 +27,7 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Removes the specified tags from the specified license configuration.</p>
30
+ * <p>Removes the specified tags from the specified resource.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -79,6 +79,9 @@ declare const UpdateLicenseConfigurationCommand_base: {
79
79
  * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
80
80
  * policy associated with this account.</p>
81
81
  *
82
+ * @throws {@link ConflictException} (client fault)
83
+ * <p>There was a conflict processing the request. Try your request again.</p>
84
+ *
82
85
  * @throws {@link InvalidParameterValueException} (client fault)
83
86
  * <p>One or more parameter values are not valid.</p>
84
87
  *
@@ -71,6 +71,9 @@ declare const UpdateLicenseSpecificationsForResourceCommand_base: {
71
71
  * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
72
72
  * policy associated with this account.</p>
73
73
  *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p>There was a conflict processing the request. Try your request again.</p>
76
+ *
74
77
  * @throws {@link InvalidParameterValueException} (client fault)
75
78
  * <p>One or more parameter values are not valid.</p>
76
79
  *
@@ -543,6 +543,23 @@ export interface CheckoutLicenseResponse {
543
543
  */
544
544
  LicenseArn?: string | undefined;
545
545
  }
546
+ /**
547
+ * <p>Details about the tags for a resource. For more information about tagging support in
548
+ * License Manager, see the <a href="https://docs.aws.amazon.com/license-manager/latest/APIReference/API_TagResource.html">TagResource</a> operation.</p>
549
+ * @public
550
+ */
551
+ export interface Tag {
552
+ /**
553
+ * <p>The tag key.</p>
554
+ * @public
555
+ */
556
+ Key?: string | undefined;
557
+ /**
558
+ * <p>The tag value.</p>
559
+ * @public
560
+ */
561
+ Value?: string | undefined;
562
+ }
546
563
  /**
547
564
  * @public
548
565
  */
@@ -593,6 +610,12 @@ export interface CreateGrantRequest {
593
610
  * @public
594
611
  */
595
612
  AllowedOperations: AllowedOperation[] | undefined;
613
+ /**
614
+ * <p>Tags to add to the grant. For more information about tagging support in
615
+ * License Manager, see the <a href="https://docs.aws.amazon.com/license-manager/latest/APIReference/API_TagResource.html">TagResource</a> operation.</p>
616
+ * @public
617
+ */
618
+ Tags?: Tag[] | undefined;
596
619
  }
597
620
  /**
598
621
  * @public
@@ -950,6 +973,12 @@ export interface CreateLicenseRequest {
950
973
  * @public
951
974
  */
952
975
  ClientToken: string | undefined;
976
+ /**
977
+ * <p>Tags to add to the license. For more information about tagging support in
978
+ * License Manager, see the <a href="https://docs.aws.amazon.com/license-manager/latest/APIReference/API_TagResource.html">TagResource</a> operation.</p>
979
+ * @public
980
+ */
981
+ Tags?: Tag[] | undefined;
953
982
  }
954
983
  /**
955
984
  * @public
@@ -1091,7 +1120,8 @@ export interface ProductInformation {
1091
1120
  * <p>
1092
1121
  * <code>Engine Edition</code> - The edition of the database engine.
1093
1122
  * Logical operator is <code>EQUALS</code>.
1094
- * Possible values are: <code>oracle-ee</code> | <code>oracle-se</code> | <code>oracle-se1</code> | <code>oracle-se2</code>.</p>
1123
+ * Possible values are: <code>oracle-ee</code> | <code>oracle-se</code> | <code>oracle-se1</code> | <code>oracle-se2</code>
1124
+ * | <code>db2-se</code> | <code>db2-ae</code>.</p>
1095
1125
  * </li>
1096
1126
  * <li>
1097
1127
  * <p>
@@ -1108,22 +1138,6 @@ export interface ProductInformation {
1108
1138
  */
1109
1139
  ProductInformationFilterList: ProductInformationFilter[] | undefined;
1110
1140
  }
1111
- /**
1112
- * <p>Details about a tag for a license configuration.</p>
1113
- * @public
1114
- */
1115
- export interface Tag {
1116
- /**
1117
- * <p>Tag key.</p>
1118
- * @public
1119
- */
1120
- Key?: string | undefined;
1121
- /**
1122
- * <p>Tag value.</p>
1123
- * @public
1124
- */
1125
- Value?: string | undefined;
1126
- }
1127
1141
  /**
1128
1142
  * @public
1129
1143
  */
@@ -1168,8 +1182,6 @@ export interface CreateLicenseConfigurationRequest {
1168
1182
  * <li>
1169
1183
  * <p>
1170
1184
  * <code>Instances</code> dimension: <code>allowedTenancy</code> |
1171
- * <code>maximumCores</code> | <code>minimumCores</code> |
1172
- * <code>maximumSockets</code> | <code>minimumSockets</code> |
1173
1185
  * <code>maximumVcpus</code> | <code>minimumVcpus</code>
1174
1186
  * </p>
1175
1187
  * </li>
@@ -2623,18 +2635,15 @@ export interface ListLicenseConfigurationsRequest {
2623
2635
  * <li>
2624
2636
  * <p>
2625
2637
  * <code>licenseCountingType</code> - The dimension for which licenses are counted.
2626
- * Possible values are <code>vCPU</code> | <code>Instance</code> | <code>Core</code> | <code>Socket</code>.
2627
- * Logical operators are <code>EQUALS</code> | <code>NOT_EQUALS</code>.</p>
2638
+ * Possible values are <code>vCPU</code> | <code>Instance</code> | <code>Core</code> | <code>Socket</code>.</p>
2628
2639
  * </li>
2629
2640
  * <li>
2630
2641
  * <p>
2631
- * <code>enforceLicenseCount</code> - A Boolean value that indicates whether hard license enforcement is used.
2632
- * Logical operators are <code>EQUALS</code> | <code>NOT_EQUALS</code>.</p>
2642
+ * <code>enforceLicenseCount</code> - A Boolean value that indicates whether hard license enforcement is used.</p>
2633
2643
  * </li>
2634
2644
  * <li>
2635
2645
  * <p>
2636
- * <code>usagelimitExceeded</code> - A Boolean value that indicates whether the available licenses have been exceeded.
2637
- * Logical operators are <code>EQUALS</code> | <code>NOT_EQUALS</code>.</p>
2646
+ * <code>usagelimitExceeded</code> - A Boolean value that indicates whether the available licenses have been exceeded.</p>
2638
2647
  * </li>
2639
2648
  * </ul>
2640
2649
  * @public
@@ -3541,7 +3550,7 @@ export interface ListResourceInventoryResponse {
3541
3550
  */
3542
3551
  export interface ListTagsForResourceRequest {
3543
3552
  /**
3544
- * <p>Amazon Resource Name (ARN) of the license configuration.</p>
3553
+ * <p>Amazon Resource Name (ARN) of the resource.</p>
3545
3554
  * @public
3546
3555
  */
3547
3556
  ResourceArn: string | undefined;
@@ -3669,18 +3678,16 @@ export interface ListUsageForLicenseConfigurationRequest {
3669
3678
  * <ul>
3670
3679
  * <li>
3671
3680
  * <p>
3672
- * <code>resourceArn</code> - The ARN of the license configuration resource.
3673
- * Logical operators are <code>EQUALS</code> | <code>NOT_EQUALS</code>.</p>
3681
+ * <code>resourceArn</code> - The ARN of the license configuration resource.</p>
3674
3682
  * </li>
3675
3683
  * <li>
3676
3684
  * <p>
3677
- * <code>resourceType</code> - The resource type (<code>EC2_INSTANCE</code> | <code>EC2_HOST</code> | <code>EC2_AMI</code> | <code>SYSTEMS_MANAGER_MANAGED_INSTANCE</code>).
3678
- * Logical operators are <code>EQUALS</code> | <code>NOT_EQUALS</code>.</p>
3685
+ * <code>resourceType</code> - The resource type (<code>EC2_INSTANCE</code> |
3686
+ * <code>EC2_HOST</code> | <code>EC2_AMI</code> | <code>SYSTEMS_MANAGER_MANAGED_INSTANCE</code>).</p>
3679
3687
  * </li>
3680
3688
  * <li>
3681
3689
  * <p>
3682
- * <code>resourceAccount</code> - The ID of the account that owns the resource.
3683
- * Logical operators are <code>EQUALS</code> | <code>NOT_EQUALS</code>.</p>
3690
+ * <code>resourceAccount</code> - The ID of the account that owns the resource.</p>
3684
3691
  * </li>
3685
3692
  * </ul>
3686
3693
  * @public
@@ -3773,7 +3780,30 @@ export interface RejectGrantResponse {
3773
3780
  */
3774
3781
  export interface TagResourceRequest {
3775
3782
  /**
3776
- * <p>Amazon Resource Name (ARN) of the license configuration.</p>
3783
+ * <p>Amazon Resource Name (ARN) of the resource. The following examples provide an example
3784
+ * ARN for each supported resource in License Manager:</p>
3785
+ * <ul>
3786
+ * <li>
3787
+ * <p>Licenses -
3788
+ * <code>arn:aws:license-manager::111122223333:license:l-EXAMPLE2da7646d6861033667f20e895</code>
3789
+ * </p>
3790
+ * </li>
3791
+ * <li>
3792
+ * <p>Grants -
3793
+ * <code>arn:aws:license-manager::111122223333:grant:g-EXAMPLE7b19f4a0ab73679b0beb52707</code>
3794
+ * </p>
3795
+ * </li>
3796
+ * <li>
3797
+ * <p>License configurations -
3798
+ * <code>arn:aws:license-manager:us-east-1:111122223333:license-configuration:lic-EXAMPLE6a788d4c8acd4264ff0ecf2ed2d</code>
3799
+ * </p>
3800
+ * </li>
3801
+ * <li>
3802
+ * <p>Report generators -
3803
+ * <code>arn:aws:license-manager:us-east-1:111122223333:report-generator:r-EXAMPLE825b4a4f8fe5a3e0c88824e5fc6</code>
3804
+ * </p>
3805
+ * </li>
3806
+ * </ul>
3777
3807
  * @public
3778
3808
  */
3779
3809
  ResourceArn: string | undefined;
@@ -3793,7 +3823,7 @@ export interface TagResourceResponse {
3793
3823
  */
3794
3824
  export interface UntagResourceRequest {
3795
3825
  /**
3796
- * <p>Amazon Resource Name (ARN) of the license configuration.</p>
3826
+ * <p>Amazon Resource Name (ARN) of the resource.</p>
3797
3827
  * @public
3798
3828
  */
3799
3829
  ResourceArn: string | undefined;
@@ -236,6 +236,10 @@ export interface CheckoutLicenseResponse {
236
236
  Expiration?: string | undefined;
237
237
  LicenseArn?: string | undefined;
238
238
  }
239
+ export interface Tag {
240
+ Key?: string | undefined;
241
+ Value?: string | undefined;
242
+ }
239
243
  export interface CreateGrantRequest {
240
244
  ClientToken: string | undefined;
241
245
  GrantName: string | undefined;
@@ -243,6 +247,7 @@ export interface CreateGrantRequest {
243
247
  Principals: string[] | undefined;
244
248
  HomeRegion: string | undefined;
245
249
  AllowedOperations: AllowedOperation[] | undefined;
250
+ Tags?: Tag[] | undefined;
246
251
  }
247
252
  export interface CreateGrantResponse {
248
253
  GrantArn?: string | undefined;
@@ -344,6 +349,7 @@ export interface CreateLicenseRequest {
344
349
  ConsumptionConfiguration: ConsumptionConfiguration | undefined;
345
350
  LicenseMetadata?: Metadata[] | undefined;
346
351
  ClientToken: string | undefined;
352
+ Tags?: Tag[] | undefined;
347
353
  }
348
354
  export declare const LicenseStatus: {
349
355
  readonly AVAILABLE: "AVAILABLE";
@@ -377,10 +383,6 @@ export interface ProductInformation {
377
383
  ResourceType: string | undefined;
378
384
  ProductInformationFilterList: ProductInformationFilter[] | undefined;
379
385
  }
380
- export interface Tag {
381
- Key?: string | undefined;
382
- Value?: string | undefined;
383
- }
384
386
  export interface CreateLicenseConfigurationRequest {
385
387
  Name: string | undefined;
386
388
  Description?: 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.808.0",
4
+ "version": "3.809.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",