Skip to content

Commit 22e49d1

Browse files
author
awstools
committed
feat(client-license-manager-user-subscriptions): Added support for cross-account Active Directories.
1 parent 25f22be commit 22e49d1

20 files changed

+247
-316
lines changed

clients/client-license-manager-user-subscriptions/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
AWS SDK for JavaScript LicenseManagerUserSubscriptions Client for Node.js, Browser and React Native.
88

9-
<p>With License Manager, you can create user-based subscriptions to utilize licensed software with
10-
a per user subscription fee on Amazon EC2 instances.</p>
9+
<p>With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.</p>
1110

1211
## Installing
1312

clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptions.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ export interface LicenseManagerUserSubscriptions {
382382
}
383383

384384
/**
385-
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
386-
* a per user subscription fee on Amazon EC2 instances.</p>
385+
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.</p>
387386
* @public
388387
*/
389388
export class LicenseManagerUserSubscriptions

clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptionsClient.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,7 @@ export interface LicenseManagerUserSubscriptionsClientResolvedConfig
354354
extends LicenseManagerUserSubscriptionsClientResolvedConfigType {}
355355

356356
/**
357-
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
358-
* a per user subscription fee on Amazon EC2 instances.</p>
357+
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.</p>
359358
* @public
360359
*/
361360
export class LicenseManagerUserSubscriptionsClient extends __Client<

clients/client-license-manager-user-subscriptions/src/commands/AssociateUserCommand.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@ export interface AssociateUserCommandInput extends AssociateUserRequest {}
3636
export interface AssociateUserCommandOutput extends AssociateUserResponse, __MetadataBearer {}
3737

3838
/**
39-
* <p>Associates the user to an EC2 instance to utilize user-based subscriptions.</p>
40-
* <note>
41-
* <p>Your estimated bill for charges on the number of users and related costs will take 48
42-
* hours to appear for billing periods that haven't closed (marked as <b>Pending</b> billing status) in Amazon Web Services Billing. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html">Viewing your
43-
* monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p>
44-
* </note>
39+
* <p>Associates the user to an EC2 instance to utilize user-based subscriptions.</p> <note> <p>Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as <b>Pending</b> billing status) in Amazon Web Services Billing. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html">Viewing your monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p> </note>
4540
* @example
4641
* Use a bare-bones client and the command you need to make an API call.
4742
* ```javascript
@@ -73,6 +68,7 @@ export interface AssociateUserCommandOutput extends AssociateUserResponse, __Met
7368
* },
7469
* },
7570
* ActiveDirectoryType: "STRING_VALUE",
71+
* IsSharedActiveDirectory: true || false,
7672
* },
7773
* },
7874
* Domain: "STRING_VALUE",
@@ -106,6 +102,7 @@ export interface AssociateUserCommandOutput extends AssociateUserResponse, __Met
106102
* // },
107103
* // },
108104
* // ActiveDirectoryType: "STRING_VALUE",
105+
* // IsSharedActiveDirectory: true || false,
109106
* // },
110107
* // },
111108
* // Status: "STRING_VALUE", // required
@@ -129,8 +126,7 @@ export interface AssociateUserCommandOutput extends AssociateUserResponse, __Met
129126
* <p>You don't have sufficient access to perform this action.</p>
130127
*
131128
* @throws {@link ConflictException} (server fault)
132-
* <p>The request couldn't be completed because it conflicted with the current state of the
133-
* resource.</p>
129+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
134130
*
135131
* @throws {@link InternalServerException} (server fault)
136132
* <p>An exception occurred with the service.</p>

clients/client-license-manager-user-subscriptions/src/commands/CreateLicenseServerEndpointCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ export interface CreateLicenseServerEndpointCommandOutput
8787
* <p>You don't have sufficient access to perform this action.</p>
8888
*
8989
* @throws {@link ConflictException} (server fault)
90-
* <p>The request couldn't be completed because it conflicted with the current state of the
91-
* resource.</p>
90+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
9291
*
9392
* @throws {@link InternalServerException} (server fault)
9493
* <p>An exception occurred with the service.</p>

clients/client-license-manager-user-subscriptions/src/commands/DeleteLicenseServerEndpointCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ export interface DeleteLicenseServerEndpointCommandOutput
8686
* <p>You don't have sufficient access to perform this action.</p>
8787
*
8888
* @throws {@link ConflictException} (server fault)
89-
* <p>The request couldn't be completed because it conflicted with the current state of the
90-
* resource.</p>
89+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
9190
*
9291
* @throws {@link InternalServerException} (server fault)
9392
* <p>An exception occurred with the service.</p>

clients/client-license-manager-user-subscriptions/src/commands/DeregisterIdentityProviderCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdent
6262
* },
6363
* },
6464
* ActiveDirectoryType: "STRING_VALUE",
65+
* IsSharedActiveDirectory: true || false,
6566
* },
6667
* },
6768
* Product: "STRING_VALUE",
@@ -91,6 +92,7 @@ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdent
9192
* // },
9293
* // },
9394
* // ActiveDirectoryType: "STRING_VALUE",
95+
* // IsSharedActiveDirectory: true || false,
9496
* // },
9597
* // },
9698
* // Settings: { // Settings
@@ -103,6 +105,7 @@ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdent
103105
* // Status: "STRING_VALUE", // required
104106
* // IdentityProviderArn: "STRING_VALUE",
105107
* // FailureMessage: "STRING_VALUE",
108+
* // OwnerAccountId: "STRING_VALUE",
106109
* // },
107110
* // };
108111
*
@@ -118,8 +121,7 @@ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdent
118121
* <p>You don't have sufficient access to perform this action.</p>
119122
*
120123
* @throws {@link ConflictException} (server fault)
121-
* <p>The request couldn't be completed because it conflicted with the current state of the
122-
* resource.</p>
124+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
123125
*
124126
* @throws {@link InternalServerException} (server fault)
125127
* <p>An exception occurred with the service.</p>

clients/client-license-manager-user-subscriptions/src/commands/DisassociateUserCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export interface DisassociateUserCommandOutput extends DisassociateUserResponse,
6464
* },
6565
* },
6666
* ActiveDirectoryType: "STRING_VALUE",
67+
* IsSharedActiveDirectory: true || false,
6768
* },
6869
* },
6970
* InstanceUserArn: "STRING_VALUE",
@@ -95,6 +96,7 @@ export interface DisassociateUserCommandOutput extends DisassociateUserResponse,
9596
* // },
9697
* // },
9798
* // ActiveDirectoryType: "STRING_VALUE",
99+
* // IsSharedActiveDirectory: true || false,
98100
* // },
99101
* // },
100102
* // Status: "STRING_VALUE", // required
@@ -118,8 +120,7 @@ export interface DisassociateUserCommandOutput extends DisassociateUserResponse,
118120
* <p>You don't have sufficient access to perform this action.</p>
119121
*
120122
* @throws {@link ConflictException} (server fault)
121-
* <p>The request couldn't be completed because it conflicted with the current state of the
122-
* resource.</p>
123+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
123124
*
124125
* @throws {@link InternalServerException} (server fault)
125126
* <p>An exception occurred with the service.</p>

clients/client-license-manager-user-subscriptions/src/commands/ListIdentityProvidersCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export interface ListIdentityProvidersCommandOutput extends ListIdentityProvider
7777
* // },
7878
* // },
7979
* // ActiveDirectoryType: "STRING_VALUE",
80+
* // IsSharedActiveDirectory: true || false,
8081
* // },
8182
* // },
8283
* // Settings: { // Settings
@@ -89,6 +90,7 @@ export interface ListIdentityProvidersCommandOutput extends ListIdentityProvider
8990
* // Status: "STRING_VALUE", // required
9091
* // IdentityProviderArn: "STRING_VALUE",
9192
* // FailureMessage: "STRING_VALUE",
93+
* // OwnerAccountId: "STRING_VALUE",
9294
* // },
9395
* // ],
9496
* // NextToken: "STRING_VALUE",
@@ -106,8 +108,7 @@ export interface ListIdentityProvidersCommandOutput extends ListIdentityProvider
106108
* <p>You don't have sufficient access to perform this action.</p>
107109
*
108110
* @throws {@link ConflictException} (server fault)
109-
* <p>The request couldn't be completed because it conflicted with the current state of the
110-
* resource.</p>
111+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
111112
*
112113
* @throws {@link InternalServerException} (server fault)
113114
* <p>An exception occurred with the service.</p>

clients/client-license-manager-user-subscriptions/src/commands/ListInstancesCommand.ts

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,30 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
6464
* // ],
6565
* // LastStatusCheckDate: "STRING_VALUE",
6666
* // StatusMessage: "STRING_VALUE",
67+
* // OwnerAccountId: "STRING_VALUE",
68+
* // IdentityProvider: { // IdentityProvider Union: only one key present
69+
* // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider
70+
* // DirectoryId: "STRING_VALUE",
71+
* // ActiveDirectorySettings: { // ActiveDirectorySettings
72+
* // DomainName: "STRING_VALUE",
73+
* // DomainIpv4List: [ // IpV4List
74+
* // "STRING_VALUE",
75+
* // ],
76+
* // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present
77+
* // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider
78+
* // SecretId: "STRING_VALUE",
79+
* // },
80+
* // },
81+
* // DomainNetworkSettings: { // DomainNetworkSettings
82+
* // Subnets: [ // Subnets // required
83+
* // "STRING_VALUE",
84+
* // ],
85+
* // },
86+
* // },
87+
* // ActiveDirectoryType: "STRING_VALUE",
88+
* // IsSharedActiveDirectory: true || false,
89+
* // },
90+
* // },
6791
* // },
6892
* // ],
6993
* // NextToken: "STRING_VALUE",
@@ -81,8 +105,7 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
81105
* <p>You don't have sufficient access to perform this action.</p>
82106
*
83107
* @throws {@link ConflictException} (server fault)
84-
* <p>The request couldn't be completed because it conflicted with the current state of the
85-
* resource.</p>
108+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
86109
*
87110
* @throws {@link InternalServerException} (server fault)
88111
* <p>An exception occurred with the service.</p>

0 commit comments

Comments
 (0)