diff --git a/clients/client-license-manager-user-subscriptions/README.md b/clients/client-license-manager-user-subscriptions/README.md
index b3ec647ca929c..ecbabfc7816c8 100644
--- a/clients/client-license-manager-user-subscriptions/README.md
+++ b/clients/client-license-manager-user-subscriptions/README.md
@@ -217,6 +217,22 @@ AssociateUser
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/AssociateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/AssociateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/AssociateUserCommandOutput/)
+
+ With License Manager, you can create user-based subscriptions to utilize licensed software with
- * a per user subscription fee on Amazon EC2 instances.
+CreateLicenseServerEndpoint
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/CreateLicenseServerEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/CreateLicenseServerEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/CreateLicenseServerEndpointCommandOutput/)
+
+
+DeleteLicenseServerEndpoint
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/DeleteLicenseServerEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/DeleteLicenseServerEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/DeleteLicenseServerEndpointCommandOutput/)
+
@@ -249,6 +265,14 @@ ListInstances
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListInstancesCommandOutput/)
+
+ListLicenseServerEndpoints
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListLicenseServerEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListLicenseServerEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListLicenseServerEndpointsCommandOutput/)
+
@@ -257,6 +281,14 @@ ListProductSubscriptions
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListProductSubscriptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListProductSubscriptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListProductSubscriptionsCommandOutput/)
+
+ListTagsForResource
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListTagsForResourceCommandOutput/)
+
@@ -289,6 +321,22 @@ StopProductSubscription
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/StopProductSubscriptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/StopProductSubscriptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/StopProductSubscriptionCommandOutput/)
+
+TagResource
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/TagResourceCommandOutput/)
+
+
+UntagResource
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/UntagResourceCommandOutput/)
+
diff --git a/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptions.ts b/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptions.ts
index 502cb7c65cf65..ad2a80741c620 100644
--- a/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptions.ts
+++ b/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptions.ts
@@ -7,6 +7,16 @@ import {
AssociateUserCommandInput,
AssociateUserCommandOutput,
} from "./commands/AssociateUserCommand";
+import {
+ CreateLicenseServerEndpointCommand,
+ CreateLicenseServerEndpointCommandInput,
+ CreateLicenseServerEndpointCommandOutput,
+} from "./commands/CreateLicenseServerEndpointCommand";
+import {
+ DeleteLicenseServerEndpointCommand,
+ DeleteLicenseServerEndpointCommandInput,
+ DeleteLicenseServerEndpointCommandOutput,
+} from "./commands/DeleteLicenseServerEndpointCommand";
import {
DeregisterIdentityProviderCommand,
DeregisterIdentityProviderCommandInput,
@@ -27,11 +37,21 @@ import {
ListInstancesCommandInput,
ListInstancesCommandOutput,
} from "./commands/ListInstancesCommand";
+import {
+ ListLicenseServerEndpointsCommand,
+ ListLicenseServerEndpointsCommandInput,
+ ListLicenseServerEndpointsCommandOutput,
+} from "./commands/ListLicenseServerEndpointsCommand";
import {
ListProductSubscriptionsCommand,
ListProductSubscriptionsCommandInput,
ListProductSubscriptionsCommandOutput,
} from "./commands/ListProductSubscriptionsCommand";
+import {
+ ListTagsForResourceCommand,
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput,
+} from "./commands/ListTagsForResourceCommand";
import {
ListUserAssociationsCommand,
ListUserAssociationsCommandInput,
@@ -52,6 +72,12 @@ import {
StopProductSubscriptionCommandInput,
StopProductSubscriptionCommandOutput,
} from "./commands/StopProductSubscriptionCommand";
+import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
+import {
+ UntagResourceCommand,
+ UntagResourceCommandInput,
+ UntagResourceCommandOutput,
+} from "./commands/UntagResourceCommand";
import {
UpdateIdentityProviderSettingsCommand,
UpdateIdentityProviderSettingsCommandInput,
@@ -64,15 +90,21 @@ import {
const commands = {
AssociateUserCommand,
+ CreateLicenseServerEndpointCommand,
+ DeleteLicenseServerEndpointCommand,
DeregisterIdentityProviderCommand,
DisassociateUserCommand,
ListIdentityProvidersCommand,
ListInstancesCommand,
+ ListLicenseServerEndpointsCommand,
ListProductSubscriptionsCommand,
+ ListTagsForResourceCommand,
ListUserAssociationsCommand,
RegisterIdentityProviderCommand,
StartProductSubscriptionCommand,
StopProductSubscriptionCommand,
+ TagResourceCommand,
+ UntagResourceCommand,
UpdateIdentityProviderSettingsCommand,
};
@@ -88,9 +120,44 @@ export interface LicenseManagerUserSubscriptions {
cb: (err: any, data?: AssociateUserCommandOutput) => void
): void;
+ /**
+ * @see {@link CreateLicenseServerEndpointCommand}
+ */
+ createLicenseServerEndpoint(
+ args: CreateLicenseServerEndpointCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
With License Manager, you can create user-based subscriptions to utilize licensed software with - * a per user subscription fee on Amazon EC2 instances.
+ * a per user subscription fee on Amazon EC2 instances. * @public */ export class LicenseManagerUserSubscriptionsClient extends __Client< diff --git a/clients/client-license-manager-user-subscriptions/src/commands/AssociateUserCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/AssociateUserCommand.ts index 1b07d901035c7..900d81100b965 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/AssociateUserCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/AssociateUserCommand.ts @@ -10,7 +10,11 @@ import { ServiceInputTypes, ServiceOutputTypes, } from "../LicenseManagerUserSubscriptionsClient"; -import { AssociateUserRequest, AssociateUserResponse } from "../models/models_0"; +import { + AssociateUserRequest, + AssociateUserRequestFilterSensitiveLog, + AssociateUserResponse, +} from "../models/models_0"; import { de_AssociateUserCommand, se_AssociateUserCommand } from "../protocols/Aws_restJson1"; /** @@ -35,8 +39,8 @@ export interface AssociateUserCommandOutput extends AssociateUserResponse, __Met *Associates the user to an EC2 instance to utilize user-based subscriptions.
*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 Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your - * monthly charges in the Amazon Web Services Billing User Guide.
+ * hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your + * monthly charges in the Amazon Web Services Billing User Guide. *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
@@ -125,7 +167,7 @@ export class AssociateUserCommand extends $Command }) .s("LicenseManagerUserSubscriptions", "AssociateUser", {}) .n("LicenseManagerUserSubscriptionsClient", "AssociateUserCommand") - .f(void 0, void 0) + .f(AssociateUserRequestFilterSensitiveLog, void 0) .ser(se_AssociateUserCommand) .de(de_AssociateUserCommand) .build() { diff --git a/clients/client-license-manager-user-subscriptions/src/commands/CreateLicenseServerEndpointCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/CreateLicenseServerEndpointCommand.ts new file mode 100644 index 0000000000000..be0e51d971c9c --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/commands/CreateLicenseServerEndpointCommand.ts @@ -0,0 +1,143 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LicenseManagerUserSubscriptionsClient"; +import { + CreateLicenseServerEndpointRequest, + CreateLicenseServerEndpointRequestFilterSensitiveLog, + CreateLicenseServerEndpointResponse, +} from "../models/models_0"; +import { + de_CreateLicenseServerEndpointCommand, + se_CreateLicenseServerEndpointCommand, +} from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateLicenseServerEndpointCommand}. + */ +export interface CreateLicenseServerEndpointCommandInput extends CreateLicenseServerEndpointRequest {} +/** + * @public + * + * The output of {@link CreateLicenseServerEndpointCommand}. + */ +export interface CreateLicenseServerEndpointCommandOutput + extends CreateLicenseServerEndpointResponse, + __MetadataBearer {} + +/** + *Creates a network endpoint for the Remote Desktop Services (RDS) license server.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LicenseManagerUserSubscriptionsClient, CreateLicenseServerEndpointCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import + * // const { LicenseManagerUserSubscriptionsClient, CreateLicenseServerEndpointCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import + * const client = new LicenseManagerUserSubscriptionsClient(config); + * const input = { // CreateLicenseServerEndpointRequest + * IdentityProviderArn: "STRING_VALUE", // required + * LicenseServerSettings: { // LicenseServerSettings + * ServerType: "STRING_VALUE", // required + * ServerSettings: { // ServerSettings Union: only one key present + * RdsSalSettings: { // RdsSalSettings + * RdsSalCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * }, + * }, + * }, + * Tags: { // Tags + * "You don't have sufficient access to perform this action.
+ * + * @throws {@link ConflictException} (server fault) + *The request couldn't be completed because it conflicted with the current state of the + * resource.
+ * + * @throws {@link InternalServerException} (server fault) + *An exception occurred with the service.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The resource couldn't be found.
+ * + * @throws {@link ServiceQuotaExceededException} (client fault) + *The request failed because a service quota is exceeded.
+ * + * @throws {@link ThrottlingException} (client fault) + *The request was denied because of request throttling. Retry the request.
+ * + * @throws {@link ValidationException} (client fault) + *A parameter is not valid.
+ * + * @throws {@link LicenseManagerUserSubscriptionsServiceException} + *Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.
+ * + * @public + */ +export class CreateLicenseServerEndpointCommand extends $Command + .classBuilder< + CreateLicenseServerEndpointCommandInput, + CreateLicenseServerEndpointCommandOutput, + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: LicenseManagerUserSubscriptionsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LicenseManagerUserSubscriptions", "CreateLicenseServerEndpoint", {}) + .n("LicenseManagerUserSubscriptionsClient", "CreateLicenseServerEndpointCommand") + .f(CreateLicenseServerEndpointRequestFilterSensitiveLog, void 0) + .ser(se_CreateLicenseServerEndpointCommand) + .de(de_CreateLicenseServerEndpointCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: CreateLicenseServerEndpointRequest; + output: CreateLicenseServerEndpointResponse; + }; + sdk: { + input: CreateLicenseServerEndpointCommandInput; + output: CreateLicenseServerEndpointCommandOutput; + }; + }; +} diff --git a/clients/client-license-manager-user-subscriptions/src/commands/DeleteLicenseServerEndpointCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/DeleteLicenseServerEndpointCommand.ts new file mode 100644 index 0000000000000..3c57be9384de8 --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/commands/DeleteLicenseServerEndpointCommand.ts @@ -0,0 +1,142 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LicenseManagerUserSubscriptionsClient"; +import { DeleteLicenseServerEndpointRequest, DeleteLicenseServerEndpointResponse } from "../models/models_0"; +import { + de_DeleteLicenseServerEndpointCommand, + se_DeleteLicenseServerEndpointCommand, +} from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteLicenseServerEndpointCommand}. + */ +export interface DeleteLicenseServerEndpointCommandInput extends DeleteLicenseServerEndpointRequest {} +/** + * @public + * + * The output of {@link DeleteLicenseServerEndpointCommand}. + */ +export interface DeleteLicenseServerEndpointCommandOutput + extends DeleteLicenseServerEndpointResponse, + __MetadataBearer {} + +/** + *Deletes a LicenseServerEndpoint
resource.
You don't have sufficient access to perform this action.
+ * + * @throws {@link ConflictException} (server fault) + *The request couldn't be completed because it conflicted with the current state of the + * resource.
+ * + * @throws {@link InternalServerException} (server fault) + *An exception occurred with the service.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The resource couldn't be found.
+ * + * @throws {@link ServiceQuotaExceededException} (client fault) + *The request failed because a service quota is exceeded.
+ * + * @throws {@link ThrottlingException} (client fault) + *The request was denied because of request throttling. Retry the request.
+ * + * @throws {@link ValidationException} (client fault) + *A parameter is not valid.
+ * + * @throws {@link LicenseManagerUserSubscriptionsServiceException} + *Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.
+ * + * @public + */ +export class DeleteLicenseServerEndpointCommand extends $Command + .classBuilder< + DeleteLicenseServerEndpointCommandInput, + DeleteLicenseServerEndpointCommandOutput, + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: LicenseManagerUserSubscriptionsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LicenseManagerUserSubscriptions", "DeleteLicenseServerEndpoint", {}) + .n("LicenseManagerUserSubscriptionsClient", "DeleteLicenseServerEndpointCommand") + .f(void 0, void 0) + .ser(se_DeleteLicenseServerEndpointCommand) + .de(de_DeleteLicenseServerEndpointCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: DeleteLicenseServerEndpointRequest; + output: DeleteLicenseServerEndpointResponse; + }; + sdk: { + input: DeleteLicenseServerEndpointCommandInput; + output: DeleteLicenseServerEndpointCommandOutput; + }; + }; +} diff --git a/clients/client-license-manager-user-subscriptions/src/commands/DeregisterIdentityProviderCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/DeregisterIdentityProviderCommand.ts index 58f34b7c55503..0633f296aebc4 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/DeregisterIdentityProviderCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/DeregisterIdentityProviderCommand.ts @@ -32,7 +32,7 @@ export interface DeregisterIdentityProviderCommandInput extends DeregisterIdenti export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdentityProviderResponse, __MetadataBearer {} /** - *Deregisters the identity provider from providing user-based subscriptions.
+ *Deregisters the Active Directory identity provider from License Manager user-based subscriptions.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -43,9 +43,27 @@ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdent * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", + * ActiveDirectorySettings: { // ActiveDirectorySettings + * DomainName: "STRING_VALUE", + * DomainIpv4List: [ // IpV4List + * "STRING_VALUE", + * ], + * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * DomainNetworkSettings: { // DomainNetworkSettings + * Subnets: [ // Subnets // required + * "STRING_VALUE", + * ], + * }, + * }, + * ActiveDirectoryType: "STRING_VALUE", * }, * }, - * Product: "STRING_VALUE", // required + * Product: "STRING_VALUE", + * IdentityProviderArn: "STRING_VALUE", * }; * const command = new DeregisterIdentityProviderCommand(input); * const response = await client.send(command); @@ -54,16 +72,34 @@ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdent * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", + * // ActiveDirectorySettings: { // ActiveDirectorySettings + * // DomainName: "STRING_VALUE", + * // DomainIpv4List: [ // IpV4List + * // "STRING_VALUE", + * // ], + * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * // SecretId: "STRING_VALUE", + * // }, + * // }, + * // DomainNetworkSettings: { // DomainNetworkSettings + * // Subnets: [ // Subnets // required + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ActiveDirectoryType: "STRING_VALUE", * // }, * // }, * // Settings: { // Settings - * // Subnets: [ // Subnets // required + * // Subnets: [ // required * // "STRING_VALUE", * // ], * // SecurityGroupId: "STRING_VALUE", // required * // }, * // Product: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required + * // IdentityProviderArn: "STRING_VALUE", * // FailureMessage: "STRING_VALUE", * // }, * // }; @@ -81,7 +117,7 @@ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdent * * @throws {@link ConflictException} (server fault) *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
diff --git a/clients/client-license-manager-user-subscriptions/src/commands/DisassociateUserCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/DisassociateUserCommand.ts index e43f5fb5ba43b..6da0888a8050e 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/DisassociateUserCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/DisassociateUserCommand.ts @@ -40,13 +40,31 @@ export interface DisassociateUserCommandOutput extends DisassociateUserResponse, * // const { LicenseManagerUserSubscriptionsClient, DisassociateUserCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import * const client = new LicenseManagerUserSubscriptionsClient(config); * const input = { // DisassociateUserRequest - * Username: "STRING_VALUE", // required - * InstanceId: "STRING_VALUE", // required + * Username: "STRING_VALUE", + * InstanceId: "STRING_VALUE", * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", + * ActiveDirectorySettings: { // ActiveDirectorySettings + * DomainName: "STRING_VALUE", + * DomainIpv4List: [ // IpV4List + * "STRING_VALUE", + * ], + * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * DomainNetworkSettings: { // DomainNetworkSettings + * Subnets: [ // Subnets // required + * "STRING_VALUE", + * ], + * }, + * }, + * ActiveDirectoryType: "STRING_VALUE", * }, * }, + * InstanceUserArn: "STRING_VALUE", * Domain: "STRING_VALUE", * }; * const command = new DisassociateUserCommand(input); @@ -58,9 +76,27 @@ export interface DisassociateUserCommandOutput extends DisassociateUserResponse, * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", + * // ActiveDirectorySettings: { // ActiveDirectorySettings + * // DomainName: "STRING_VALUE", + * // DomainIpv4List: [ // IpV4List + * // "STRING_VALUE", + * // ], + * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * // SecretId: "STRING_VALUE", + * // }, + * // }, + * // DomainNetworkSettings: { // DomainNetworkSettings + * // Subnets: [ // Subnets // required + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ActiveDirectoryType: "STRING_VALUE", * // }, * // }, * // Status: "STRING_VALUE", // required + * // InstanceUserArn: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // Domain: "STRING_VALUE", * // AssociationDate: "STRING_VALUE", @@ -81,7 +117,7 @@ export interface DisassociateUserCommandOutput extends DisassociateUserResponse, * * @throws {@link ConflictException} (server fault) *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
diff --git a/clients/client-license-manager-user-subscriptions/src/commands/ListIdentityProvidersCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/ListIdentityProvidersCommand.ts index 5deb780e98683..c21d9bb5e3b59 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/ListIdentityProvidersCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/ListIdentityProvidersCommand.ts @@ -32,7 +32,7 @@ export interface ListIdentityProvidersCommandInput extends ListIdentityProviders export interface ListIdentityProvidersCommandOutput extends ListIdentityProvidersResponse, __MetadataBearer {} /** - *Lists the identity providers for user-based subscriptions.
+ *Lists the Active Directory identity providers for user-based subscriptions.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -41,6 +41,13 @@ export interface ListIdentityProvidersCommandOutput extends ListIdentityProvider * const client = new LicenseManagerUserSubscriptionsClient(config); * const input = { // ListIdentityProvidersRequest * MaxResults: Number("int"), + * Filters: [ // FilterList + * { // Filter + * Attribute: "STRING_VALUE", + * Operation: "STRING_VALUE", + * Value: "STRING_VALUE", + * }, + * ], * NextToken: "STRING_VALUE", * }; * const command = new ListIdentityProvidersCommand(input); @@ -51,16 +58,34 @@ export interface ListIdentityProvidersCommandOutput extends ListIdentityProvider * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", + * // ActiveDirectorySettings: { // ActiveDirectorySettings + * // DomainName: "STRING_VALUE", + * // DomainIpv4List: [ // IpV4List + * // "STRING_VALUE", + * // ], + * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * // SecretId: "STRING_VALUE", + * // }, + * // }, + * // DomainNetworkSettings: { // DomainNetworkSettings + * // Subnets: [ // Subnets // required + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ActiveDirectoryType: "STRING_VALUE", * // }, * // }, * // Settings: { // Settings - * // Subnets: [ // Subnets // required + * // Subnets: [ // required * // "STRING_VALUE", * // ], * // SecurityGroupId: "STRING_VALUE", // required * // }, * // Product: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required + * // IdentityProviderArn: "STRING_VALUE", * // FailureMessage: "STRING_VALUE", * // }, * // ], @@ -80,7 +105,7 @@ export interface ListIdentityProvidersCommandOutput extends ListIdentityProvider * * @throws {@link ConflictException} (server fault) *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
diff --git a/clients/client-license-manager-user-subscriptions/src/commands/ListInstancesCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/ListInstancesCommand.ts index 8f555b6ac4fed..5ed08d6cd18da 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/ListInstancesCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/ListInstancesCommand.ts @@ -80,7 +80,7 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met * * @throws {@link ConflictException} (server fault) *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
diff --git a/clients/client-license-manager-user-subscriptions/src/commands/ListLicenseServerEndpointsCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/ListLicenseServerEndpointsCommand.ts new file mode 100644 index 0000000000000..602cdd0889b1b --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/commands/ListLicenseServerEndpointsCommand.ts @@ -0,0 +1,144 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LicenseManagerUserSubscriptionsClient"; +import { ListLicenseServerEndpointsRequest, ListLicenseServerEndpointsResponse } from "../models/models_0"; +import { de_ListLicenseServerEndpointsCommand, se_ListLicenseServerEndpointsCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListLicenseServerEndpointsCommand}. + */ +export interface ListLicenseServerEndpointsCommandInput extends ListLicenseServerEndpointsRequest {} +/** + * @public + * + * The output of {@link ListLicenseServerEndpointsCommand}. + */ +export interface ListLicenseServerEndpointsCommandOutput extends ListLicenseServerEndpointsResponse, __MetadataBearer {} + +/** + *List the Remote Desktop Services (RDS) License Server endpoints
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LicenseManagerUserSubscriptionsClient, ListLicenseServerEndpointsCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import + * // const { LicenseManagerUserSubscriptionsClient, ListLicenseServerEndpointsCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import + * const client = new LicenseManagerUserSubscriptionsClient(config); + * const input = { // ListLicenseServerEndpointsRequest + * MaxResults: Number("int"), + * Filters: [ // FilterList + * { // Filter + * Attribute: "STRING_VALUE", + * Operation: "STRING_VALUE", + * Value: "STRING_VALUE", + * }, + * ], + * NextToken: "STRING_VALUE", + * }; + * const command = new ListLicenseServerEndpointsCommand(input); + * const response = await client.send(command); + * // { // ListLicenseServerEndpointsResponse + * // LicenseServerEndpoints: [ // LicenseServerEndpointList + * // { // LicenseServerEndpoint + * // IdentityProviderArn: "STRING_VALUE", + * // ServerType: "STRING_VALUE", + * // ServerEndpoint: { // ServerEndpoint + * // Endpoint: "STRING_VALUE", + * // }, + * // StatusMessage: "STRING_VALUE", + * // LicenseServerEndpointId: "STRING_VALUE", + * // LicenseServerEndpointArn: "STRING_VALUE", + * // LicenseServerEndpointProvisioningStatus: "STRING_VALUE", + * // LicenseServers: [ // LicenseServerList + * // { // LicenseServer + * // ProvisioningStatus: "STRING_VALUE", + * // HealthStatus: "STRING_VALUE", + * // Ipv4Address: "STRING_VALUE", + * // }, + * // ], + * // CreationTime: new Date("TIMESTAMP"), + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListLicenseServerEndpointsCommandInput - {@link ListLicenseServerEndpointsCommandInput} + * @returns {@link ListLicenseServerEndpointsCommandOutput} + * @see {@link ListLicenseServerEndpointsCommandInput} for command's `input` shape. + * @see {@link ListLicenseServerEndpointsCommandOutput} for command's `response` shape. + * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *You don't have sufficient access to perform this action.
+ * + * @throws {@link ConflictException} (server fault) + *The request couldn't be completed because it conflicted with the current state of the + * resource.
+ * + * @throws {@link InternalServerException} (server fault) + *An exception occurred with the service.
+ * + * @throws {@link ServiceQuotaExceededException} (client fault) + *The request failed because a service quota is exceeded.
+ * + * @throws {@link ThrottlingException} (client fault) + *The request was denied because of request throttling. Retry the request.
+ * + * @throws {@link ValidationException} (client fault) + *A parameter is not valid.
+ * + * @throws {@link LicenseManagerUserSubscriptionsServiceException} + *Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.
+ * + * @public + */ +export class ListLicenseServerEndpointsCommand extends $Command + .classBuilder< + ListLicenseServerEndpointsCommandInput, + ListLicenseServerEndpointsCommandOutput, + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: LicenseManagerUserSubscriptionsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LicenseManagerUserSubscriptions", "ListLicenseServerEndpoints", {}) + .n("LicenseManagerUserSubscriptionsClient", "ListLicenseServerEndpointsCommand") + .f(void 0, void 0) + .ser(se_ListLicenseServerEndpointsCommand) + .de(de_ListLicenseServerEndpointsCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: ListLicenseServerEndpointsRequest; + output: ListLicenseServerEndpointsResponse; + }; + sdk: { + input: ListLicenseServerEndpointsCommandInput; + output: ListLicenseServerEndpointsCommandOutput; + }; + }; +} diff --git a/clients/client-license-manager-user-subscriptions/src/commands/ListProductSubscriptionsCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/ListProductSubscriptionsCommand.ts index 1db492f7d8af6..c0f26b66d432d 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/ListProductSubscriptionsCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/ListProductSubscriptionsCommand.ts @@ -40,10 +40,27 @@ export interface ListProductSubscriptionsCommandOutput extends ListProductSubscr * // const { LicenseManagerUserSubscriptionsClient, ListProductSubscriptionsCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import * const client = new LicenseManagerUserSubscriptionsClient(config); * const input = { // ListProductSubscriptionsRequest - * Product: "STRING_VALUE", // required + * Product: "STRING_VALUE", * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", + * ActiveDirectorySettings: { // ActiveDirectorySettings + * DomainName: "STRING_VALUE", + * DomainIpv4List: [ // IpV4List + * "STRING_VALUE", + * ], + * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * DomainNetworkSettings: { // DomainNetworkSettings + * Subnets: [ // Subnets // required + * "STRING_VALUE", + * ], + * }, + * }, + * ActiveDirectoryType: "STRING_VALUE", * }, * }, * MaxResults: Number("int"), @@ -66,9 +83,27 @@ export interface ListProductSubscriptionsCommandOutput extends ListProductSubscr * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", + * // ActiveDirectorySettings: { // ActiveDirectorySettings + * // DomainName: "STRING_VALUE", + * // DomainIpv4List: [ // IpV4List + * // "STRING_VALUE", + * // ], + * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * // SecretId: "STRING_VALUE", + * // }, + * // }, + * // DomainNetworkSettings: { // DomainNetworkSettings + * // Subnets: [ // Subnets // required + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ActiveDirectoryType: "STRING_VALUE", * // }, * // }, * // Status: "STRING_VALUE", // required + * // ProductUserArn: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // Domain: "STRING_VALUE", * // SubscriptionStartDate: "STRING_VALUE", @@ -91,7 +126,7 @@ export interface ListProductSubscriptionsCommandOutput extends ListProductSubscr * * @throws {@link ConflictException} (server fault) *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
diff --git a/clients/client-license-manager-user-subscriptions/src/commands/ListTagsForResourceCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/ListTagsForResourceCommand.ts new file mode 100644 index 0000000000000..c853b1ce2dafb --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/commands/ListTagsForResourceCommand.ts @@ -0,0 +1,111 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LicenseManagerUserSubscriptionsClient"; +import { + ListTagsForResourceRequest, + ListTagsForResourceResponse, + ListTagsForResourceResponseFilterSensitiveLog, +} from "../models/models_0"; +import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListTagsForResourceCommand}. + */ +export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {} +/** + * @public + * + * The output of {@link ListTagsForResourceCommand}. + */ +export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} + +/** + *Returns the list of tags for the specified resource.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LicenseManagerUserSubscriptionsClient, ListTagsForResourceCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import + * // const { LicenseManagerUserSubscriptionsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import + * const client = new LicenseManagerUserSubscriptionsClient(config); + * const input = { // ListTagsForResourceRequest + * ResourceArn: "STRING_VALUE", // required + * }; + * const command = new ListTagsForResourceCommand(input); + * const response = await client.send(command); + * // { // ListTagsForResourceResponse + * // Tags: { // Tags + * // "An exception occurred with the service.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The resource couldn't be found.
+ * + * @throws {@link ValidationException} (client fault) + *A parameter is not valid.
+ * + * @throws {@link LicenseManagerUserSubscriptionsServiceException} + *Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.
+ * + * @public + */ +export class ListTagsForResourceCommand extends $Command + .classBuilder< + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: LicenseManagerUserSubscriptionsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LicenseManagerUserSubscriptions", "ListTagsForResource", {}) + .n("LicenseManagerUserSubscriptionsClient", "ListTagsForResourceCommand") + .f(void 0, ListTagsForResourceResponseFilterSensitiveLog) + .ser(se_ListTagsForResourceCommand) + .de(de_ListTagsForResourceCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: ListTagsForResourceRequest; + output: ListTagsForResourceResponse; + }; + sdk: { + input: ListTagsForResourceCommandInput; + output: ListTagsForResourceCommandOutput; + }; + }; +} diff --git a/clients/client-license-manager-user-subscriptions/src/commands/ListUserAssociationsCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/ListUserAssociationsCommand.ts index 96ef24d62c8d5..fea73d8f9d766 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/ListUserAssociationsCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/ListUserAssociationsCommand.ts @@ -44,6 +44,23 @@ export interface ListUserAssociationsCommandOutput extends ListUserAssociationsR * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", + * ActiveDirectorySettings: { // ActiveDirectorySettings + * DomainName: "STRING_VALUE", + * DomainIpv4List: [ // IpV4List + * "STRING_VALUE", + * ], + * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * DomainNetworkSettings: { // DomainNetworkSettings + * Subnets: [ // Subnets // required + * "STRING_VALUE", + * ], + * }, + * }, + * ActiveDirectoryType: "STRING_VALUE", * }, * }, * MaxResults: Number("int"), @@ -66,9 +83,27 @@ export interface ListUserAssociationsCommandOutput extends ListUserAssociationsR * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", + * // ActiveDirectorySettings: { // ActiveDirectorySettings + * // DomainName: "STRING_VALUE", + * // DomainIpv4List: [ // IpV4List + * // "STRING_VALUE", + * // ], + * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * // SecretId: "STRING_VALUE", + * // }, + * // }, + * // DomainNetworkSettings: { // DomainNetworkSettings + * // Subnets: [ // Subnets // required + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ActiveDirectoryType: "STRING_VALUE", * // }, * // }, * // Status: "STRING_VALUE", // required + * // InstanceUserArn: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // Domain: "STRING_VALUE", * // AssociationDate: "STRING_VALUE", @@ -91,7 +126,7 @@ export interface ListUserAssociationsCommandOutput extends ListUserAssociationsR * * @throws {@link ConflictException} (server fault) *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
diff --git a/clients/client-license-manager-user-subscriptions/src/commands/RegisterIdentityProviderCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/RegisterIdentityProviderCommand.ts index 4ff6d7b5f891d..b0b6056f5639d 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/RegisterIdentityProviderCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/RegisterIdentityProviderCommand.ts @@ -10,7 +10,11 @@ import { ServiceInputTypes, ServiceOutputTypes, } from "../LicenseManagerUserSubscriptionsClient"; -import { RegisterIdentityProviderRequest, RegisterIdentityProviderResponse } from "../models/models_0"; +import { + RegisterIdentityProviderRequest, + RegisterIdentityProviderRequestFilterSensitiveLog, + RegisterIdentityProviderResponse, +} from "../models/models_0"; import { de_RegisterIdentityProviderCommand, se_RegisterIdentityProviderCommand } from "../protocols/Aws_restJson1"; /** @@ -43,15 +47,35 @@ export interface RegisterIdentityProviderCommandOutput extends RegisterIdentityP * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", + * ActiveDirectorySettings: { // ActiveDirectorySettings + * DomainName: "STRING_VALUE", + * DomainIpv4List: [ // IpV4List + * "STRING_VALUE", + * ], + * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * DomainNetworkSettings: { // DomainNetworkSettings + * Subnets: [ // Subnets // required + * "STRING_VALUE", + * ], + * }, + * }, + * ActiveDirectoryType: "STRING_VALUE", * }, * }, * Product: "STRING_VALUE", // required * Settings: { // Settings - * Subnets: [ // Subnets // required + * Subnets: [ // required * "STRING_VALUE", * ], * SecurityGroupId: "STRING_VALUE", // required * }, + * Tags: { // Tags + * "The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
@@ -126,7 +168,7 @@ export class RegisterIdentityProviderCommand extends $Command }) .s("LicenseManagerUserSubscriptions", "RegisterIdentityProvider", {}) .n("LicenseManagerUserSubscriptionsClient", "RegisterIdentityProviderCommand") - .f(void 0, void 0) + .f(RegisterIdentityProviderRequestFilterSensitiveLog, void 0) .ser(se_RegisterIdentityProviderCommand) .de(de_RegisterIdentityProviderCommand) .build() { diff --git a/clients/client-license-manager-user-subscriptions/src/commands/StartProductSubscriptionCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/StartProductSubscriptionCommand.ts index 4331918523e98..7d0fd41f08ded 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/StartProductSubscriptionCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/StartProductSubscriptionCommand.ts @@ -10,7 +10,11 @@ import { ServiceInputTypes, ServiceOutputTypes, } from "../LicenseManagerUserSubscriptionsClient"; -import { StartProductSubscriptionRequest, StartProductSubscriptionResponse } from "../models/models_0"; +import { + StartProductSubscriptionRequest, + StartProductSubscriptionRequestFilterSensitiveLog, + StartProductSubscriptionResponse, +} from "../models/models_0"; import { de_StartProductSubscriptionCommand, se_StartProductSubscriptionCommand } from "../protocols/Aws_restJson1"; /** @@ -35,8 +39,8 @@ export interface StartProductSubscriptionCommandOutput extends StartProductSubsc *Starts a product subscription for a user with the specified identity provider.
*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 Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your - * monthly charges in the Amazon Web Services Billing User Guide.
+ * hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your + * monthly charges in the Amazon Web Services Billing User Guide. *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
@@ -125,7 +167,7 @@ export class StartProductSubscriptionCommand extends $Command }) .s("LicenseManagerUserSubscriptions", "StartProductSubscription", {}) .n("LicenseManagerUserSubscriptionsClient", "StartProductSubscriptionCommand") - .f(void 0, void 0) + .f(StartProductSubscriptionRequestFilterSensitiveLog, void 0) .ser(se_StartProductSubscriptionCommand) .de(de_StartProductSubscriptionCommand) .build() { diff --git a/clients/client-license-manager-user-subscriptions/src/commands/StopProductSubscriptionCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/StopProductSubscriptionCommand.ts index d140189873c29..bd11be5d70371 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/StopProductSubscriptionCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/StopProductSubscriptionCommand.ts @@ -40,13 +40,31 @@ export interface StopProductSubscriptionCommandOutput extends StopProductSubscri * // const { LicenseManagerUserSubscriptionsClient, StopProductSubscriptionCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import * const client = new LicenseManagerUserSubscriptionsClient(config); * const input = { // StopProductSubscriptionRequest - * Username: "STRING_VALUE", // required + * Username: "STRING_VALUE", * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", + * ActiveDirectorySettings: { // ActiveDirectorySettings + * DomainName: "STRING_VALUE", + * DomainIpv4List: [ // IpV4List + * "STRING_VALUE", + * ], + * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * DomainNetworkSettings: { // DomainNetworkSettings + * Subnets: [ // Subnets // required + * "STRING_VALUE", + * ], + * }, + * }, + * ActiveDirectoryType: "STRING_VALUE", * }, * }, - * Product: "STRING_VALUE", // required + * Product: "STRING_VALUE", + * ProductUserArn: "STRING_VALUE", * Domain: "STRING_VALUE", * }; * const command = new StopProductSubscriptionCommand(input); @@ -58,9 +76,27 @@ export interface StopProductSubscriptionCommandOutput extends StopProductSubscri * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", + * // ActiveDirectorySettings: { // ActiveDirectorySettings + * // DomainName: "STRING_VALUE", + * // DomainIpv4List: [ // IpV4List + * // "STRING_VALUE", + * // ], + * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * // SecretId: "STRING_VALUE", + * // }, + * // }, + * // DomainNetworkSettings: { // DomainNetworkSettings + * // Subnets: [ // Subnets // required + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ActiveDirectoryType: "STRING_VALUE", * // }, * // }, * // Status: "STRING_VALUE", // required + * // ProductUserArn: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // Domain: "STRING_VALUE", * // SubscriptionStartDate: "STRING_VALUE", @@ -81,7 +117,7 @@ export interface StopProductSubscriptionCommandOutput extends StopProductSubscri * * @throws {@link ConflictException} (server fault) *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * * @throws {@link InternalServerException} (server fault) *An exception occurred with the service.
diff --git a/clients/client-license-manager-user-subscriptions/src/commands/TagResourceCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/TagResourceCommand.ts new file mode 100644 index 0000000000000..d0f1d9765d09a --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/commands/TagResourceCommand.ts @@ -0,0 +1,106 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LicenseManagerUserSubscriptionsClient"; +import { TagResourceRequest, TagResourceRequestFilterSensitiveLog, TagResourceResponse } from "../models/models_0"; +import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link TagResourceCommand}. + */ +export interface TagResourceCommandInput extends TagResourceRequest {} +/** + * @public + * + * The output of {@link TagResourceCommand}. + */ +export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} + +/** + *Adds tags to a resource.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LicenseManagerUserSubscriptionsClient, TagResourceCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import + * // const { LicenseManagerUserSubscriptionsClient, TagResourceCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import + * const client = new LicenseManagerUserSubscriptionsClient(config); + * const input = { // TagResourceRequest + * ResourceArn: "STRING_VALUE", // required + * Tags: { // Tags // required + * "An exception occurred with the service.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The resource couldn't be found.
+ * + * @throws {@link ValidationException} (client fault) + *A parameter is not valid.
+ * + * @throws {@link LicenseManagerUserSubscriptionsServiceException} + *Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.
+ * + * @public + */ +export class TagResourceCommand extends $Command + .classBuilder< + TagResourceCommandInput, + TagResourceCommandOutput, + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: LicenseManagerUserSubscriptionsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LicenseManagerUserSubscriptions", "TagResource", {}) + .n("LicenseManagerUserSubscriptionsClient", "TagResourceCommand") + .f(TagResourceRequestFilterSensitiveLog, void 0) + .ser(se_TagResourceCommand) + .de(de_TagResourceCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: TagResourceRequest; + output: {}; + }; + sdk: { + input: TagResourceCommandInput; + output: TagResourceCommandOutput; + }; + }; +} diff --git a/clients/client-license-manager-user-subscriptions/src/commands/UntagResourceCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/UntagResourceCommand.ts new file mode 100644 index 0000000000000..9b01cff63f88a --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/commands/UntagResourceCommand.ts @@ -0,0 +1,107 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../LicenseManagerUserSubscriptionsClient"; +import { + UntagResourceRequest, + UntagResourceRequestFilterSensitiveLog, + UntagResourceResponse, +} from "../models/models_0"; +import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UntagResourceCommand}. + */ +export interface UntagResourceCommandInput extends UntagResourceRequest {} +/** + * @public + * + * The output of {@link UntagResourceCommand}. + */ +export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {} + +/** + *Removes tags from a resource.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LicenseManagerUserSubscriptionsClient, UntagResourceCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import + * // const { LicenseManagerUserSubscriptionsClient, UntagResourceCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import + * const client = new LicenseManagerUserSubscriptionsClient(config); + * const input = { // UntagResourceRequest + * ResourceArn: "STRING_VALUE", // required + * TagKeys: [ // TagKeyList // required + * "STRING_VALUE", + * ], + * }; + * const command = new UntagResourceCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UntagResourceCommandInput - {@link UntagResourceCommandInput} + * @returns {@link UntagResourceCommandOutput} + * @see {@link UntagResourceCommandInput} for command's `input` shape. + * @see {@link UntagResourceCommandOutput} for command's `response` shape. + * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape. + * + * @throws {@link InternalServerException} (server fault) + *An exception occurred with the service.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The resource couldn't be found.
+ * + * @throws {@link LicenseManagerUserSubscriptionsServiceException} + *Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.
+ * + * @public + */ +export class UntagResourceCommand extends $Command + .classBuilder< + UntagResourceCommandInput, + UntagResourceCommandOutput, + LicenseManagerUserSubscriptionsClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: LicenseManagerUserSubscriptionsClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LicenseManagerUserSubscriptions", "UntagResource", {}) + .n("LicenseManagerUserSubscriptionsClient", "UntagResourceCommand") + .f(UntagResourceRequestFilterSensitiveLog, void 0) + .ser(se_UntagResourceCommand) + .de(de_UntagResourceCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: UntagResourceRequest; + output: {}; + }; + sdk: { + input: UntagResourceCommandInput; + output: UntagResourceCommandOutput; + }; + }; +} diff --git a/clients/client-license-manager-user-subscriptions/src/commands/UpdateIdentityProviderSettingsCommand.ts b/clients/client-license-manager-user-subscriptions/src/commands/UpdateIdentityProviderSettingsCommand.ts index d0588507843ef..cbd7dbc13c6bc 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/UpdateIdentityProviderSettingsCommand.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/UpdateIdentityProviderSettingsCommand.ts @@ -38,7 +38,7 @@ export interface UpdateIdentityProviderSettingsCommandOutput /** *Updates additional product configuration settings for the registered identity - * provider.
+ * provider. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -49,11 +49,29 @@ export interface UpdateIdentityProviderSettingsCommandOutput * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", + * ActiveDirectorySettings: { // ActiveDirectorySettings + * DomainName: "STRING_VALUE", + * DomainIpv4List: [ // IpV4List + * "STRING_VALUE", + * ], + * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * SecretId: "STRING_VALUE", + * }, + * }, + * DomainNetworkSettings: { // DomainNetworkSettings + * Subnets: [ // Subnets // required + * "STRING_VALUE", + * ], + * }, + * }, + * ActiveDirectoryType: "STRING_VALUE", * }, * }, - * Product: "STRING_VALUE", // required + * Product: "STRING_VALUE", + * IdentityProviderArn: "STRING_VALUE", * UpdateSettings: { // UpdateSettings - * AddSubnets: [ // Subnets // required + * AddSubnets: [ // required * "STRING_VALUE", * ], * RemoveSubnets: [ // required @@ -69,16 +87,34 @@ export interface UpdateIdentityProviderSettingsCommandOutput * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", + * // ActiveDirectorySettings: { // ActiveDirectorySettings + * // DomainName: "STRING_VALUE", + * // DomainIpv4List: [ // IpV4List + * // "STRING_VALUE", + * // ], + * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present + * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider + * // SecretId: "STRING_VALUE", + * // }, + * // }, + * // DomainNetworkSettings: { // DomainNetworkSettings + * // Subnets: [ // Subnets // required + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ActiveDirectoryType: "STRING_VALUE", * // }, * // }, * // Settings: { // Settings - * // Subnets: [ // Subnets // required + * // Subnets: [ // required * // "STRING_VALUE", * // ], * // SecurityGroupId: "STRING_VALUE", // required * // }, * // Product: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required + * // IdentityProviderArn: "STRING_VALUE", * // FailureMessage: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-license-manager-user-subscriptions/src/commands/index.ts b/clients/client-license-manager-user-subscriptions/src/commands/index.ts index eefa611eae3c3..dcdebb48f2a3f 100644 --- a/clients/client-license-manager-user-subscriptions/src/commands/index.ts +++ b/clients/client-license-manager-user-subscriptions/src/commands/index.ts @@ -1,12 +1,18 @@ // smithy-typescript generated code export * from "./AssociateUserCommand"; +export * from "./CreateLicenseServerEndpointCommand"; +export * from "./DeleteLicenseServerEndpointCommand"; export * from "./DeregisterIdentityProviderCommand"; export * from "./DisassociateUserCommand"; export * from "./ListIdentityProvidersCommand"; export * from "./ListInstancesCommand"; +export * from "./ListLicenseServerEndpointsCommand"; export * from "./ListProductSubscriptionsCommand"; +export * from "./ListTagsForResourceCommand"; export * from "./ListUserAssociationsCommand"; export * from "./RegisterIdentityProviderCommand"; export * from "./StartProductSubscriptionCommand"; export * from "./StopProductSubscriptionCommand"; +export * from "./TagResourceCommand"; +export * from "./UntagResourceCommand"; export * from "./UpdateIdentityProviderSettingsCommand"; diff --git a/clients/client-license-manager-user-subscriptions/src/index.ts b/clients/client-license-manager-user-subscriptions/src/index.ts index 55e7c69171911..e208a4d80d254 100644 --- a/clients/client-license-manager-user-subscriptions/src/index.ts +++ b/clients/client-license-manager-user-subscriptions/src/index.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** *With License Manager, you can create user-based subscriptions to utilize licensed software with - * a per user subscription fee on Amazon EC2 instances.
+ * a per user subscription fee on Amazon EC2 instances. * * @packageDocumentation */ diff --git a/clients/client-license-manager-user-subscriptions/src/models/models_0.ts b/clients/client-license-manager-user-subscriptions/src/models/models_0.ts index cd75af71475b3..6b7fcbc8e1e5c 100644 --- a/clients/client-license-manager-user-subscriptions/src/models/models_0.ts +++ b/clients/client-license-manager-user-subscriptions/src/models/models_0.ts @@ -1,5 +1,5 @@ // smithy-typescript generated code -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; import { LicenseManagerUserSubscriptionsServiceException as __BaseException } from "./LicenseManagerUserSubscriptionsServiceException"; @@ -23,6 +23,126 @@ export class AccessDeniedException extends __BaseException { } } +/** + *Contains a credentials secret that's stored in Secrets Manager.
+ * @public + */ +export interface SecretsManagerCredentialsProvider { + /** + *The ID of the Secrets Manager secret that contains credentials.
+ * @public + */ + SecretId?: string | undefined; +} + +/** + *Contains information about the credential provider for user + * administration.
+ * @public + */ +export type CredentialsProvider = + | CredentialsProvider.SecretsManagerCredentialsProviderMember + | CredentialsProvider.$UnknownMember; + +/** + * @public + */ +export namespace CredentialsProvider { + /** + *Identifies the Secrets Manager secret that contains credentials needed for + * user administration in the Active Directory.
+ * @public + */ + export interface SecretsManagerCredentialsProviderMember { + SecretsManagerCredentialsProvider: SecretsManagerCredentialsProvider; + $unknown?: never; + } + + /** + * @public + */ + export interface $UnknownMember { + SecretsManagerCredentialsProvider?: never; + $unknown: [string, any]; + } + + export interface VisitorContains network settings for the Active Directory domain.
+ * @public + */ +export interface DomainNetworkSettings { + /** + *Contains a list of subnets that apply for the Active Directory domain.
+ * @public + */ + Subnets: string[] | undefined; +} + +/** + *Contains network access and credential details that are needed for + * user administration in the Active Directory.
+ * @public + */ +export interface ActiveDirectorySettings { + /** + *The domain name for the Active Directory.
+ * @public + */ + DomainName?: string | undefined; + + /** + *A list of domain IPv4 addresses that are used for the Active Directory.
+ * @public + */ + DomainIpv4List?: string[] | undefined; + + /** + *Points to the CredentialsProvider
resource that contains
+ * information about the credential provider for user administration.
The DomainNetworkSettings
resource contains an array of
+ * subnets that apply for the Active Directory.
Details about an Active Directory identity provider.
* @public @@ -33,10 +153,25 @@ export interface ActiveDirectoryIdentityProvider { * @public */ DirectoryId?: string | undefined; + + /** + *The ActiveDirectorySettings
resource contains details about
+ * the Active Directory, including network access details such as domain name and IP
+ * addresses, and the credential provider for user administration.
The type of Active Directory – either a self-managed Active Directory or an + * Amazon Web Services Managed Active Directory.
+ * @public + */ + ActiveDirectoryType?: ActiveDirectoryType | undefined; } /** - *Details about an identity provider.
+ *Refers to an identity provider.
* @public */ export type IdentityProvider = IdentityProvider.ActiveDirectoryIdentityProviderMember | IdentityProvider.$UnknownMember; @@ -46,7 +181,8 @@ export type IdentityProvider = IdentityProvider.ActiveDirectoryIdentityProviderM */ export namespace IdentityProvider { /** - *An object that details an Active Directory identity provider.
+ *The ActiveDirectoryIdentityProvider
resource contains settings
+ * and other details about a specific Active Directory identity provider.
The user name from the identity provider for the user.
+ *The user name from the identity provider.
* @public */ Username: string | undefined; /** - *The ID of the EC2 instance, which provides user-based subscriptions.
+ *The ID of the EC2 instance that provides the user-based subscription.
* @public */ InstanceId: string | undefined; /** - *The identity provider of the user.
+ *The identity provider for the user.
* @public */ IdentityProvider: IdentityProvider | undefined; /** - *The domain name of the user.
+ *The domain name of the Active Directory that contains information for the user to associate.
* @public */ Domain?: string | undefined; + + /** + *The tags that apply for the user association.
+ * @public + */ + Tags?: RecordThe ID of the EC2 instance, which provides user-based subscriptions.
+ *The ID of the EC2 instance that provides user-based subscriptions.
* @public */ InstanceId: string | undefined; /** - *An object that specifies details for the identity provider.
+ *The IdentityProvider
resource specifies details
+ * about the identity provider.
The Amazon Resource Name (ARN) that identifies the instance user.
+ * @public + */ + InstanceUserArn?: string | undefined; + /** *The status message for users of an EC2 instance.
* @public @@ -139,7 +288,7 @@ export interface InstanceUserSummary { StatusMessage?: string | undefined; /** - *The domain name of the user.
+ *The domain name of the Active Directory that contains the user information for the product subscription.
* @public */ Domain?: string | undefined; @@ -170,7 +319,7 @@ export interface AssociateUserResponse { /** *The request couldn't be completed because it conflicted with the current state of the - * resource.
+ * resource. * @public */ export class ConflictException extends __BaseException { @@ -289,28 +438,362 @@ export class ValidationException extends __BaseException { } } +/** + *Server settings that are specific to a Remote Desktop Services (RDS) license server.
+ * @public + */ +export interface RdsSalSettings { + /** + *The CredentialsProvider
resource contains a reference to
+ * the credentials provider that's used for RDS license server user administration.
Contains settings for a specific server.
+ * @public + */ +export type ServerSettings = ServerSettings.RdsSalSettingsMember | ServerSettings.$UnknownMember; + +/** + * @public + */ +export namespace ServerSettings { + /** + *The RdsSalSettings
resource contains settings to configure
+ * a specific Remote Desktop Services (RDS) license server.
The settings to configure your license server.
+ * @public + */ +export interface LicenseServerSettings { + /** + *The type of license server.
+ * @public + */ + ServerType: ServerType | undefined; + + /** + *The ServerSettings
resource contains the settings for your
+ * server.
The Amazon Resource Name (ARN) that identifies the IdentityProvider
resource that contains details
+ * about a registered identity provider. In the case of Active Directory, that can be
+ * a self-managed Active Directory or an Amazon Web Services Managed Active Directory that contains user identity details.
The LicenseServerSettings
resource to create for the endpoint. The
+ * settings include the type of license server and the Secrets Manager secret that
+ * enables administrators to add or remove users associated with the
+ * license server.
The tags that apply for the license server endpoint.
+ * @public + */ + Tags?: RecordThe Amazon Resource Name (ARN) of the identity provider specified in the request.
+ * @public + */ + IdentityProviderArn?: string | undefined; + + /** + *The ARN of the LicenseServerEndpoint
resource.
The Amazon Resource Name (ARN) that identifies the LicenseServerEndpoint
+ * resource to delete.
The type of License Server that the delete request refers to.
+ * @public + */ + ServerType: ServerType | undefined; +} + +/** + * @public + * @enum + */ +export const LicenseServerEndpointProvisioningStatus = { + /** + * + */ + DELETED: "DELETED", + /** + * + */ + DELETING: "DELETING", + /** + * + */ + DELETION_FAILED: "DELETION_FAILED", + /** + * + */ + PROVISIONED: "PROVISIONED", + /** + * + */ + PROVISIONING: "PROVISIONING", + /** + * + */ + PROVISIONING_FAILED: "PROVISIONING_FAILED", +} as const; + +/** + * @public + */ +export type LicenseServerEndpointProvisioningStatus = + (typeof LicenseServerEndpointProvisioningStatus)[keyof typeof LicenseServerEndpointProvisioningStatus]; + +/** + * @public + * @enum + */ +export const LicenseServerHealthStatus = { + /** + * + */ + HEALTHY: "HEALTHY", + /** + * + */ + NOT_APPLICABLE: "NOT_APPLICABLE", + /** + * + */ + UNHEALTHY: "UNHEALTHY", +} as const; + +/** + * @public + */ +export type LicenseServerHealthStatus = (typeof LicenseServerHealthStatus)[keyof typeof LicenseServerHealthStatus]; + +/** + *Information about a Remote Desktop Services (RDS) license server.
+ * @public + */ +export interface LicenseServer { + /** + *The current state of the provisioning process for the RDS + * license server.
+ * @public + */ + ProvisioningStatus?: LicenseServerEndpointProvisioningStatus | undefined; + + /** + *The health status of the RDS license server.
+ * @public + */ + HealthStatus?: LicenseServerHealthStatus | undefined; + + /** + *A list of domain IPv4 addresses that are used for the RDS + * license server.
+ * @public + */ + Ipv4Address?: string | undefined; +} + +/** + *A network endpoint through which you can access one or more servers.
+ * @public + */ +export interface ServerEndpoint { + /** + *The network address of the endpoint.
+ * @public + */ + Endpoint?: string | undefined; +} + +/** + *Contains details about a network endpoint for a Remote Desktop Services (RDS) + * license server.
+ * @public + */ +export interface LicenseServerEndpoint { + /** + *The Amazon Resource Name (ARN) of the identity provider that's associated with + * the RDS license server endpoint.
+ * @public + */ + IdentityProviderArn?: string | undefined; + + /** + *The type of license server.
+ * @public + */ + ServerType?: ServerType | undefined; + + /** + *The ServerEndpoint
resource contains the network
+ * address of the RDS license server endpoint.
The message associated with the provisioning status, if there is one.
+ * @public + */ + StatusMessage?: string | undefined; + + /** + *The ID of the license server endpoint.
+ * @public + */ + LicenseServerEndpointId?: string | undefined; + + /** + *The ARN of the ServerEndpoint
resource for the RDS
+ * license server.
The current state of the provisioning process for the RDS license + * server endpoint
+ * @public + */ + LicenseServerEndpointProvisioningStatus?: LicenseServerEndpointProvisioningStatus | undefined; + + /** + *An array of LicenseServer
resources that represent the
+ * license servers that are accessed through this endpoint.
The timestamp when License Manager created the license server endpoint.
+ * @public + */ + CreationTime?: Date | undefined; +} + +/** + * @public + */ +export interface DeleteLicenseServerEndpointResponse { + /** + *Shows details from the LicenseServerEndpoint
resource that was deleted.
An object that specifies details for the identity provider.
+ *An object that specifies details for the Active Directory identity provider.
* @public */ - IdentityProvider: IdentityProvider | undefined; + IdentityProvider?: IdentityProvider | undefined; /** *The name of the user-based subscription product.
+ *Valid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
+ *
The Amazon Resource Name (ARN) that identifies the identity provider to deregister.
+ * @public + */ + IdentityProviderArn?: string | undefined; } /** *The registered identity provider’s product related configuration settings such as the - * subnets to provision VPC endpoints, and the security group ID that is associated with the VPC - * endpoints. The security group should permit inbound TCP port 1688 communication from resources - * in the VPC.
+ * subnets to provision VPC endpoints, and the security group ID that is associated with the VPC + * endpoints. The security group should permit inbound TCP port 1688 communication from resources + * in the VPC. * @public */ export interface Settings { @@ -322,7 +805,7 @@ export interface Settings { /** *A security group ID that allows inbound TCP port 1688 communication between resources in - * your VPC and the VPC endpoint for activation servers.
+ * your VPC and the VPC endpoint for activation servers. * @public */ SecurityGroupId: string | undefined; @@ -334,14 +817,16 @@ export interface Settings { */ export interface IdentityProviderSummary { /** - *An object that specifies details for the identity provider.
+ *The IdentityProvider
resource contains information about
+ * an identity provider.
An object that details the registered identity provider’s product related configuration - * settings such as the subnets to provision VPC endpoints.
+ *The Settings
resource contains details about the registered
+ * identity provider’s product related configuration settings, such as the
+ * subnets to provision VPC endpoints.
The status of an identity provider.
+ *The status of the identity provider.
* @public */ Status: string | undefined; + /** + *The Amazon Resource Name (ARN) of the identity provider.
+ * @public + */ + IdentityProviderArn?: string | undefined; + /** *The failure message associated with an identity provider.
* @public @@ -381,25 +872,31 @@ export interface DeregisterIdentityProviderResponse { */ export interface DisassociateUserRequest { /** - *The user name from the identity provider for the user.
+ *The user name from the Active Directory identity provider for the user.
* @public */ - Username: string | undefined; + Username?: string | undefined; /** - *The ID of the EC2 instance, which provides user-based subscriptions.
+ *The ID of the EC2 instance which provides user-based subscriptions.
* @public */ - InstanceId: string | undefined; + InstanceId?: string | undefined; /** - *An object that specifies details for the identity provider.
+ *An object that specifies details for the Active Directory identity provider.
* @public */ - IdentityProvider: IdentityProvider | undefined; + IdentityProvider?: IdentityProvider | undefined; /** - *The domain name of the user.
+ *The Amazon Resource Name (ARN) of the user to disassociate from the EC2 instance.
+ * @public + */ + InstanceUserArn?: string | undefined; + + /** + *The domain name of the Active Directory that contains information for the user to disassociate.
* @public */ Domain?: string | undefined; @@ -418,8 +915,8 @@ export interface DisassociateUserResponse { /** *A filter name and value pair that is used to return more specific results from a describe - * operation. Filters can be used to match a set of resources by specific criteria, such as tags, - * attributes, or IDs.
+ * or list operation. You can use filters can be used to match a set of resources by specific + * criteria, such as tags, attributes, or IDs. * @public */ export interface Filter { @@ -483,13 +980,28 @@ export interface InstanceSummary { */ export interface ListIdentityProvidersRequest { /** - *Maximum number of results to return in a single call.
+ *The maximum number of results to return from a single request.
* @public */ MaxResults?: number | undefined; /** - *Token for the next set of results.
+ *You can use the following filters to streamline results:
+ *Product
+ *DirectoryId
+ *A token to specify where to start paginating. This is the nextToken + * from a previously truncated response.
* @public */ NextToken?: string | undefined; @@ -500,13 +1012,16 @@ export interface ListIdentityProvidersRequest { */ export interface ListIdentityProvidersResponse { /** - *Metadata that describes the list identity providers operation.
+ *An array of IdentityProviderSummary
resources that contain
+ * details about the Active Directory identity providers that meet the request criteria.
Token for the next set of results.
+ *The next token used for paginated responses. When this field isn't empty, + * there are additional elements that the service hasn't included in this request. Use this token + * with the next request to retrieve additional objects.
* @public */ NextToken?: string | undefined; @@ -517,20 +1032,28 @@ export interface ListIdentityProvidersResponse { */ export interface ListInstancesRequest { /** - *Maximum number of results to return in a single call.
+ *The maximum number of results to return from a single request.
* @public */ MaxResults?: number | undefined; /** - *Token for the next set of results.
+ *A token to specify where to start paginating. This is the nextToken + * from a previously truncated response.
* @public */ NextToken?: string | undefined; /** - *An array of structures that you can use to filter the results to those that match one or - * more sets of key-value pairs that you specify.
+ *You can use the following filters to streamline results:
+ *Status
+ *InstanceId
+ *Metadata that describes the list instances operation.
+ *An array of InstanceSummary
resources that contain details
+ * about the instances that provide user-based subscriptions and also meet the
+ * request criteria.
Token for the next set of results.
+ *The next token used for paginated responses. When this field isn't empty, + * there are additional elements that the service hasn't included in this request. Use this token + * with the next request to retrieve additional objects.
+ * @public + */ + NextToken?: string | undefined; +} + +/** + * @public + */ +export interface ListLicenseServerEndpointsRequest { + /** + *The maximum number of results to return from a single request.
+ * @public + */ + MaxResults?: number | undefined; + + /** + *You can use the following filters to streamline results:
+ *IdentityProviderArn
+ *A token to specify where to start paginating. This is the nextToken + * from a previously truncated response.
+ * @public + */ + NextToken?: string | undefined; +} + +/** + * @public + */ +export interface ListLicenseServerEndpointsResponse { + /** + *An array of LicenseServerEndpoint
resources that
+ * contain detailed information about the RDS License Servers that meet
+ * the request criteria.
The next token used for paginated responses. When this field isn't empty, + * there are additional elements that the service hasn't included in this request. Use this token + * with the next request to retrieve additional objects.
* @public */ NextToken?: string | undefined; @@ -559,9 +1136,11 @@ export interface ListInstancesResponse { export interface ListProductSubscriptionsRequest { /** *The name of the user-based subscription product.
+ *Valid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
+ *
An object that specifies details for the identity provider.
@@ -570,32 +1149,43 @@ export interface ListProductSubscriptionsRequest { IdentityProvider: IdentityProvider | undefined; /** - *Maximum number of results to return in a single call.
+ *The maximum number of results to return from a single request.
* @public */ MaxResults?: number | undefined; /** - *An array of structures that you can use to filter the results to those that match one or - * more sets of key-value pairs that you specify.
+ *You can use the following filters to streamline results:
+ *Status
+ *Username
+ *Domain
+ *Token for the next set of results.
+ *A token to specify where to start paginating. This is the nextToken + * from a previously truncated response.
* @public */ NextToken?: string | undefined; } /** - *The summary of the user-based subscription products for a user.
+ *A summary of the user-based subscription products for a specific user.
* @public */ export interface ProductUserSummary { /** - *The user name from the identity provider of the user.
+ *The user name from the identity provider for this product user.
* @public */ Username: string | undefined; @@ -613,19 +1203,25 @@ export interface ProductUserSummary { IdentityProvider: IdentityProvider | undefined; /** - *The status of a product for a user.
+ *The status of a product for this user.
* @public */ Status: string | undefined; /** - *The status message for a product for a user.
+ *The Amazon Resource Name (ARN) for this product user.
+ * @public + */ + ProductUserArn?: string | undefined; + + /** + *The status message for a product for this user.
* @public */ StatusMessage?: string | undefined; /** - *The domain name of the user.
+ *The domain name of the Active Directory that contains the user information for the product subscription.
* @public */ Domain?: string | undefined; @@ -654,12 +1250,36 @@ export interface ListProductSubscriptionsResponse { ProductUserSummaries?: ProductUserSummary[] | undefined; /** - *Token for the next set of results.
+ *The next token used for paginated responses. When this field isn't empty, + * there are additional elements that the service hasn't included in this request. Use this token + * with the next request to retrieve additional objects.
* @public */ NextToken?: string | undefined; } +/** + * @public + */ +export interface ListTagsForResourceRequest { + /** + *The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
+ * @public + */ + ResourceArn: string | undefined; +} + +/** + * @public + */ +export interface ListTagsForResourceResponse { + /** + *The tags for the specified resource.
+ * @public + */ + Tags?: RecordMaximum number of results to return in a single call.
+ *The maximum number of results to return from a single request.
* @public */ MaxResults?: number | undefined; /** - *An array of structures that you can use to filter the results to those that match one or - * more sets of key-value pairs that you specify.
+ *You can use the following filters to streamline results:
+ *Status
+ *Username
+ *Domain
+ *Token for the next set of results.
+ *A token to specify where to start paginating. This is the nextToken + * from a previously truncated response.
* @public */ NextToken?: string | undefined; @@ -707,7 +1338,9 @@ export interface ListUserAssociationsResponse { InstanceUserSummaries?: InstanceUserSummary[] | undefined; /** - *Token for the next set of results.
+ *The next token used for paginated responses. When this field isn't empty, + * there are additional elements that the service hasn't included in this request. Use this token + * with the next request to retrieve additional objects.
* @public */ NextToken?: string | undefined; @@ -718,23 +1351,31 @@ export interface ListUserAssociationsResponse { */ export interface RegisterIdentityProviderRequest { /** - *An object that specifies details for the identity provider.
+ *An object that specifies details for the identity provider to register.
* @public */ IdentityProvider: IdentityProvider | undefined; /** *The name of the user-based subscription product.
+ *Valid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
+ *
The registered identity provider’s product related configuration settings such as the - * subnets to provision VPC endpoints.
+ *The registered identity provider’s product related configuration + * settings such as the subnets to provision VPC endpoints.
* @public */ Settings?: Settings | undefined; + + /** + *The tags that apply to the identity provider's registration.
+ * @public + */ + Tags?: RecordThe name of the user-based subscription product.
+ *Valid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
+ *
The domain name of the user.
+ *The domain name of the Active Directory that contains the user for whom to start the product + * subscription.
* @public */ Domain?: string | undefined; + + /** + *The tags that apply to the product subscription.
+ * @public + */ + Tags?: RecordThe user name from the identity provider for the user.
* @public */ - Username: string | undefined; + Username?: string | undefined; /** *An object that specifies details for the identity provider.
* @public */ - IdentityProvider: IdentityProvider | undefined; + IdentityProvider?: IdentityProvider | undefined; /** *The name of the user-based subscription product.
+ *Valid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
+ *
The Amazon Resource Name (ARN) of the product user.
+ * @public + */ + ProductUserArn?: string | undefined; /** - *The domain name of the user.
+ *The domain name of the Active Directory that contains the user for whom to stop the product + * subscription.
* @public */ Domain?: string | undefined; @@ -828,15 +1487,59 @@ export interface StopProductSubscriptionResponse { ProductUserSummary: ProductUserSummary | undefined; } +/** + * @public + */ +export interface TagResourceRequest { + /** + *The Amazon Resource Name (ARN) of the resource that you want to tag.
+ * @public + */ + ResourceArn: string | undefined; + + /** + *The tags to apply to the specified resource.
+ * @public + */ + Tags: RecordThe Amazon Resource Name (ARN) of the resource that you want to remove tags from.
+ * @public + */ + ResourceArn: string | undefined; + + /** + *The tag keys to remove from the resource.
+ * @public + */ + TagKeys: string[] | undefined; +} + +/** + * @public + */ +export interface UntagResourceResponse {} + /** *Updates the registered identity provider’s product related configuration settings such as - * the subnets to provision VPC endpoints.
+ * the subnets to provision VPC endpoints. * @public */ export interface UpdateSettings { /** *The ID of one or more subnets in which License Manager will create a VPC endpoint for products that - * require connectivity to activation servers.
+ * require connectivity to activation servers. * @public */ AddSubnets: string[] | undefined; @@ -849,7 +1552,7 @@ export interface UpdateSettings { /** *A security group ID that allows inbound TCP port 1688 communication between resources in - * your VPC and the VPC endpoints for activation servers.
+ * your VPC and the VPC endpoints for activation servers. * @public */ SecurityGroupId?: string | undefined; @@ -860,20 +1563,28 @@ export interface UpdateSettings { */ export interface UpdateIdentityProviderSettingsRequest { /** - *Details about an identity provider.
+ *Refers to an identity provider.
* @public */ - IdentityProvider: IdentityProvider | undefined; + IdentityProvider?: IdentityProvider | undefined; /** *The name of the user-based subscription product.
+ *Valid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
+ *
The Amazon Resource Name (ARN) of the identity provider to update.
+ * @public + */ + IdentityProviderArn?: string | undefined; /** *Updates the registered identity provider’s product related configuration settings. You can - * update any combination of settings in a single operation such as the:
+ * update any combination of settings in a single operation such as the: *Subnets which you want to add to provision VPC endpoints.
@@ -900,3 +1611,63 @@ export interface UpdateIdentityProviderSettingsResponse { */ IdentityProviderSummary: IdentityProviderSummary | undefined; } + +/** + * @internal + */ +export const AssociateUserRequestFilterSensitiveLog = (obj: AssociateUserRequest): any => ({ + ...obj, + ...(obj.IdentityProvider && { IdentityProvider: obj.IdentityProvider }), + ...(obj.Tags && { Tags: SENSITIVE_STRING }), +}); + +/** + * @internal + */ +export const CreateLicenseServerEndpointRequestFilterSensitiveLog = (obj: CreateLicenseServerEndpointRequest): any => ({ + ...obj, + ...(obj.LicenseServerSettings && { LicenseServerSettings: obj.LicenseServerSettings }), + ...(obj.Tags && { Tags: SENSITIVE_STRING }), +}); + +/** + * @internal + */ +export const ListTagsForResourceResponseFilterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({ + ...obj, + ...(obj.Tags && { Tags: SENSITIVE_STRING }), +}); + +/** + * @internal + */ +export const RegisterIdentityProviderRequestFilterSensitiveLog = (obj: RegisterIdentityProviderRequest): any => ({ + ...obj, + ...(obj.IdentityProvider && { IdentityProvider: obj.IdentityProvider }), + ...(obj.Tags && { Tags: SENSITIVE_STRING }), +}); + +/** + * @internal + */ +export const StartProductSubscriptionRequestFilterSensitiveLog = (obj: StartProductSubscriptionRequest): any => ({ + ...obj, + ...(obj.IdentityProvider && { IdentityProvider: obj.IdentityProvider }), + ...(obj.Tags && { Tags: SENSITIVE_STRING }), +}); + +/** + * @internal + */ +export const TagResourceRequestFilterSensitiveLog = (obj: TagResourceRequest): any => ({ + ...obj, + ...(obj.Tags && { Tags: SENSITIVE_STRING }), +}); + +/** + * @internal + */ +export const UntagResourceRequestFilterSensitiveLog = (obj: UntagResourceRequest): any => ({ + ...obj, + ...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }), +}); diff --git a/clients/client-license-manager-user-subscriptions/src/pagination/ListLicenseServerEndpointsPaginator.ts b/clients/client-license-manager-user-subscriptions/src/pagination/ListLicenseServerEndpointsPaginator.ts new file mode 100644 index 0000000000000..559f33264db27 --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/pagination/ListLicenseServerEndpointsPaginator.ts @@ -0,0 +1,24 @@ +// smithy-typescript generated code +import { createPaginator } from "@smithy/core"; +import { Paginator } from "@smithy/types"; + +import { + ListLicenseServerEndpointsCommand, + ListLicenseServerEndpointsCommandInput, + ListLicenseServerEndpointsCommandOutput, +} from "../commands/ListLicenseServerEndpointsCommand"; +import { LicenseManagerUserSubscriptionsClient } from "../LicenseManagerUserSubscriptionsClient"; +import { LicenseManagerUserSubscriptionsPaginationConfiguration } from "./Interfaces"; + +/** + * @public + */ +export const paginateListLicenseServerEndpoints: ( + config: LicenseManagerUserSubscriptionsPaginationConfiguration, + input: ListLicenseServerEndpointsCommandInput, + ...rest: any[] +) => PaginatorThe directory ID for an Active Directory identity provider.
" } + }, + "ActiveDirectorySettings": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ActiveDirectorySettings", + "traits": { + "smithy.api#documentation": "The ActiveDirectorySettings
resource contains details about \n\t\t\tthe Active Directory, including network access details such as domain name and IP \n\t\t\taddresses, and the credential provider for user administration.
The type of Active Directory – either a self-managed Active Directory or an \n\t\t\tAmazon Web Services Managed Active Directory.
" + } } }, "traits": { "smithy.api#documentation": "Details about an Active Directory identity provider.
" } }, + "com.amazonaws.licensemanagerusersubscriptions#ActiveDirectorySettings": { + "type": "structure", + "members": { + "DomainName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The domain name for the Active Directory.
" + } + }, + "DomainIpv4List": { + "target": "com.amazonaws.licensemanagerusersubscriptions#IpV4List", + "traits": { + "smithy.api#documentation": "A list of domain IPv4 addresses that are used for the Active Directory.
", + "smithy.api#length": { + "min": 1, + "max": 2 + } + } + }, + "DomainCredentialsProvider": { + "target": "com.amazonaws.licensemanagerusersubscriptions#CredentialsProvider", + "traits": { + "smithy.api#documentation": "Points to the CredentialsProvider
resource that contains \n\t\t\tinformation about the credential provider for user administration.
The DomainNetworkSettings
resource contains an array of \n\t\t\tsubnets that apply for the Active Directory.
Contains network access and credential details that are needed for \n\t\t\tuser administration in the Active Directory.
" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ActiveDirectoryType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "SELF_MANAGED", + "value": "SELF_MANAGED", + "documentation": "SELF_MANAGED type of Active Directory" + }, + { + "name": "AWS_MANAGED", + "value": "AWS_MANAGED", + "documentation": "AWS_MANAGED type of Active Directory" + } + ] + } + }, + "com.amazonaws.licensemanagerusersubscriptions#Arn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{1,63}:[a-zA-Z0-9-\\.]{1,510}/[a-zA-Z0-9-\\.]{1,510}$" + } + }, "com.amazonaws.licensemanagerusersubscriptions#AssociateUser": { "type": "operation", "input": { @@ -59,7 +130,7 @@ } ], "traits": { - "smithy.api#documentation": "Associates the user to an EC2 instance to utilize user-based subscriptions.
\nYour estimated bill for charges on the number of users and related costs will take 48\n hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your\n monthly charges in the Amazon Web Services Billing User Guide.
\nAssociates the user to an EC2 instance to utilize user-based subscriptions.
\nYour estimated bill for charges on the number of users and related costs will take 48\n\t\t\thours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your\n\t\t\t\tmonthly charges in the Amazon Web Services Billing User Guide.
\nThe user name from the identity provider for the user.
", + "smithy.api#documentation": "The user name from the identity provider.
", "smithy.api#required": {} } }, "InstanceId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The ID of the EC2 instance, which provides user-based subscriptions.
", + "smithy.api#documentation": "The ID of the EC2 instance that provides the user-based subscription.
", "smithy.api#required": {} } }, "IdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", "traits": { - "smithy.api#documentation": "The identity provider of the user.
", + "smithy.api#documentation": "The identity provider for the user.
", "smithy.api#required": {} } }, "Domain": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The domain name of the user.
" + "smithy.api#documentation": "The domain name of the Active Directory that contains information for the user to associate.
" + } + }, + "Tags": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Tags", + "traits": { + "smithy.api#documentation": "The tags that apply for the user association.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#AssociateUserResponse": { @@ -110,6 +190,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.licensemanagerusersubscriptions#BoxInteger": { @@ -123,10 +206,190 @@ } }, "traits": { - "smithy.api#documentation": "The request couldn't be completed because it conflicted with the current state of the\n resource.
", + "smithy.api#documentation": "The request couldn't be completed because it conflicted with the current state of the\n\t\t\tresource.
", "smithy.api#error": "server" } }, + "com.amazonaws.licensemanagerusersubscriptions#CreateLicenseServerEndpoint": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerusersubscriptions#CreateLicenseServerEndpointRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerusersubscriptions#CreateLicenseServerEndpointResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ConflictException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a network endpoint for the Remote Desktop Services (RDS) license server.
", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/license-server/CreateLicenseServerEndpoint" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#CreateLicenseServerEndpointRequest": { + "type": "structure", + "members": { + "IdentityProviderArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) that identifies the IdentityProvider
resource that contains details \n\t\t\tabout a registered identity provider. In the case of Active Directory, that can be \n\t\t\ta self-managed Active Directory or an Amazon Web Services Managed Active Directory that contains user identity details.
The LicenseServerSettings
resource to create for the endpoint. The \n\t\t\tsettings include the type of license server and the Secrets Manager secret that \n\t\t\tenables administrators to add or remove users associated with the \n\t\t\tlicense server.
The tags that apply for the license server endpoint.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#CreateLicenseServerEndpointResponse": { + "type": "structure", + "members": { + "IdentityProviderArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the identity provider specified in the request.
" + } + }, + "LicenseServerEndpointArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Arn", + "traits": { + "smithy.api#documentation": "The ARN of the LicenseServerEndpoint
resource.
Identifies the Secrets Manager secret that contains credentials needed for \n\t\t\tuser administration in the Active Directory.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains information about the credential provider for user \n\t\t\tadministration.
" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#DeleteLicenseServerEndpoint": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerusersubscriptions#DeleteLicenseServerEndpointRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerusersubscriptions#DeleteLicenseServerEndpointResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ConflictException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a LicenseServerEndpoint
resource.
The Amazon Resource Name (ARN) that identifies the LicenseServerEndpoint
\n\t\t\tresource to delete.
The type of License Server that the delete request refers to.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#DeleteLicenseServerEndpointResponse": { + "type": "structure", + "members": { + "LicenseServerEndpoint": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpoint", + "traits": { + "smithy.api#documentation": "Shows details from the LicenseServerEndpoint
resource that was deleted.
Deregisters the identity provider from providing user-based subscriptions.
", + "smithy.api#documentation": "Deregisters the Active Directory identity provider from License Manager user-based subscriptions.
", "smithy.api#http": { "code": 200, "method": "POST", @@ -174,17 +437,24 @@ "IdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", "traits": { - "smithy.api#documentation": "An object that specifies details for the identity provider.
", - "smithy.api#required": {} + "smithy.api#documentation": "An object that specifies details for the Active Directory identity provider.
" } }, "Product": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the user-based subscription product.
", - "smithy.api#required": {} + "smithy.api#documentation": "The name of the user-based subscription product.
\nValid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
\n
The Amazon Resource Name (ARN) that identifies the identity provider to deregister.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#DeregisterIdentityProviderResponse": { @@ -197,6 +467,15 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#Directory": { + "type": "string", + "traits": { + "smithy.api#pattern": "^(d|sd)-[0-9a-f]{10}$" } }, "com.amazonaws.licensemanagerusersubscriptions#DisassociateUser": { @@ -246,30 +525,36 @@ "Username": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The user name from the identity provider for the user.
", - "smithy.api#required": {} + "smithy.api#documentation": "The user name from the Active Directory identity provider for the user.
" } }, "InstanceId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The ID of the EC2 instance, which provides user-based subscriptions.
", - "smithy.api#required": {} + "smithy.api#documentation": "The ID of the EC2 instance which provides user-based subscriptions.
" } }, "IdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", "traits": { - "smithy.api#documentation": "An object that specifies details for the identity provider.
", - "smithy.api#required": {} + "smithy.api#documentation": "An object that specifies details for the Active Directory identity provider.
" + } + }, + "InstanceUserArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the user to disassociate from the EC2 instance.
" } }, "Domain": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The domain name of the user.
" + "smithy.api#documentation": "The domain name of the Active Directory that contains information for the user to disassociate.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#DisassociateUserResponse": { @@ -282,6 +567,27 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#DomainNetworkSettings": { + "type": "structure", + "members": { + "Subnets": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Subnets", + "traits": { + "smithy.api#documentation": "Contains a list of subnets that apply for the Active Directory domain.
", + "smithy.api#length": { + "min": 1 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Contains network settings for the Active Directory domain.
" } }, "com.amazonaws.licensemanagerusersubscriptions#Filter": { @@ -307,7 +613,7 @@ } }, "traits": { - "smithy.api#documentation": "A filter name and value pair that is used to return more specific results from a describe\n operation. Filters can be used to match a set of resources by specific criteria, such as tags,\n attributes, or IDs.
" + "smithy.api#documentation": "A filter name and value pair that is used to return more specific results from a describe\n\t\t\tor list operation. You can use filters can be used to match a set of resources by specific \n\t\t\tcriteria, such as tags, attributes, or IDs.
" } }, "com.amazonaws.licensemanagerusersubscriptions#FilterList": { @@ -322,12 +628,12 @@ "ActiveDirectoryIdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#ActiveDirectoryIdentityProvider", "traits": { - "smithy.api#documentation": "An object that details an Active Directory identity provider.
" + "smithy.api#documentation": "The ActiveDirectoryIdentityProvider
resource contains settings \n\t\t\tand other details about a specific Active Directory identity provider.
Details about an identity provider.
" + "smithy.api#documentation": "Refers to an identity provider.
" } }, "com.amazonaws.licensemanagerusersubscriptions#IdentityProviderSummary": { @@ -336,14 +642,14 @@ "IdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", "traits": { - "smithy.api#documentation": "An object that specifies details for the identity provider.
", + "smithy.api#documentation": "The IdentityProvider
resource contains information about \n\t\t\tan identity provider.
An object that details the registered identity provider’s product related configuration\n settings such as the subnets to provision VPC endpoints.
", + "smithy.api#documentation": "The Settings
resource contains details about the registered \n\t\t\tidentity provider’s product related configuration settings, such as the \n\t\t\tsubnets to provision VPC endpoints.
The status of an identity provider.
", + "smithy.api#documentation": "The status of the identity provider.
", "smithy.api#required": {} } }, + "IdentityProviderArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the identity provider.
" + } + }, "FailureMessage": { "target": "smithy.api#String", "traits": { @@ -438,14 +750,14 @@ "InstanceId": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The ID of the EC2 instance, which provides user-based subscriptions.
", + "smithy.api#documentation": "The ID of the EC2 instance that provides user-based subscriptions.
", "smithy.api#required": {} } }, "IdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", "traits": { - "smithy.api#documentation": "An object that specifies details for the identity provider.
", + "smithy.api#documentation": "The IdentityProvider
resource specifies details \n\t\t\tabout the identity provider.
The Amazon Resource Name (ARN) that identifies the instance user.
" + } + }, "StatusMessage": { "target": "smithy.api#String", "traits": { @@ -465,7 +783,7 @@ "Domain": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The domain name of the user.
" + "smithy.api#documentation": "The domain name of the Active Directory that contains the user information for the product subscription.
" } }, "AssociationDate": { @@ -500,7 +818,20 @@ }, "traits": { "smithy.api#documentation": "An exception occurred with the service.
", - "smithy.api#error": "server" + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.licensemanagerusersubscriptions#IpV4": { + "type": "string", + "traits": { + "smithy.api#pattern": "^(?:(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(\\.(?!$)|$)){4}$" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#IpV4List": { + "type": "list", + "member": { + "target": "com.amazonaws.licensemanagerusersubscriptions#IpV4" } }, "com.amazonaws.licensemanagerusersubscriptions#LicenseManagerUserSubscriptions": { @@ -510,6 +841,12 @@ { "target": "com.amazonaws.licensemanagerusersubscriptions#AssociateUser" }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#CreateLicenseServerEndpoint" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#DeleteLicenseServerEndpoint" + }, { "target": "com.amazonaws.licensemanagerusersubscriptions#DeregisterIdentityProvider" }, @@ -522,9 +859,15 @@ { "target": "com.amazonaws.licensemanagerusersubscriptions#ListInstances" }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListLicenseServerEndpoints" + }, { "target": "com.amazonaws.licensemanagerusersubscriptions#ListProductSubscriptions" }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListTagsForResource" + }, { "target": "com.amazonaws.licensemanagerusersubscriptions#ListUserAssociations" }, @@ -537,6 +880,12 @@ { "target": "com.amazonaws.licensemanagerusersubscriptions#StopProductSubscription" }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#TagResource" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#UntagResource" + }, { "target": "com.amazonaws.licensemanagerusersubscriptions#UpdateIdentityProviderSettings" } @@ -570,7 +919,7 @@ ], "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"] }, - "smithy.api#documentation": "With License Manager, you can create user-based subscriptions to utilize licensed software with\n a per user subscription fee on Amazon EC2 instances.
", + "smithy.api#documentation": "With License Manager, you can create user-based subscriptions to utilize licensed software with\n\t\ta per user subscription fee on Amazon EC2 instances.
", "smithy.api#title": "AWS License Manager User Subscriptions", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -1202,9 +1551,193 @@ } } }, - "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders": { - "type": "operation", - "input": { + "com.amazonaws.licensemanagerusersubscriptions#LicenseServer": { + "type": "structure", + "members": { + "ProvisioningStatus": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpointProvisioningStatus", + "traits": { + "smithy.api#documentation": "The current state of the provisioning process for the RDS \n\t\t\tlicense server.
" + } + }, + "HealthStatus": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServerHealthStatus", + "traits": { + "smithy.api#documentation": "The health status of the RDS license server.
" + } + }, + "Ipv4Address": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A list of domain IPv4 addresses that are used for the RDS \n\t\t\tlicense server.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about a Remote Desktop Services (RDS) license server.
" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpoint": { + "type": "structure", + "members": { + "IdentityProviderArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the identity provider that's associated with \n\t\t\tthe RDS license server endpoint.
" + } + }, + "ServerType": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ServerType", + "traits": { + "smithy.api#documentation": "The type of license server.
" + } + }, + "ServerEndpoint": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ServerEndpoint", + "traits": { + "smithy.api#documentation": "The ServerEndpoint
resource contains the network \n\t\t\taddress of the RDS license server endpoint.
The message associated with the provisioning status, if there is one.
" + } + }, + "LicenseServerEndpointId": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpointId", + "traits": { + "smithy.api#documentation": "The ID of the license server endpoint.
" + } + }, + "LicenseServerEndpointArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Arn", + "traits": { + "smithy.api#documentation": "The ARN of the ServerEndpoint
resource for the RDS \n\t\t\tlicense server.
The current state of the provisioning process for the RDS license \n\t\t\tserver endpoint
" + } + }, + "LicenseServers": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServerList", + "traits": { + "smithy.api#documentation": "An array of LicenseServer
resources that represent the \n\t\t\tlicense servers that are accessed through this endpoint.
The timestamp when License Manager created the license server endpoint.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains details about a network endpoint for a Remote Desktop Services (RDS) \n\t\t\tlicense server.
" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpointId": { + "type": "string" + }, + "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpointList": { + "type": "list", + "member": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpoint" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpointProvisioningStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "PROVISIONING", + "value": "PROVISIONING", + "documentation": "" + }, + { + "name": "PROVISIONING_FAILED", + "value": "PROVISIONING_FAILED", + "documentation": "" + }, + { + "name": "PROVISIONED", + "value": "PROVISIONED", + "documentation": "" + }, + { + "name": "DELETING", + "value": "DELETING", + "documentation": "" + }, + { + "name": "DELETION_FAILED", + "value": "DELETION_FAILED", + "documentation": "" + }, + { + "name": "DELETED", + "value": "DELETED", + "documentation": "" + } + ] + } + }, + "com.amazonaws.licensemanagerusersubscriptions#LicenseServerHealthStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "HEALTHY", + "value": "HEALTHY", + "documentation": "" + }, + { + "name": "UNHEALTHY", + "value": "UNHEALTHY", + "documentation": "" + }, + { + "name": "NOT_APPLICABLE", + "value": "NOT_APPLICABLE", + "documentation": "" + } + ] + } + }, + "com.amazonaws.licensemanagerusersubscriptions#LicenseServerList": { + "type": "list", + "member": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServer" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#LicenseServerSettings": { + "type": "structure", + "members": { + "ServerType": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ServerType", + "traits": { + "smithy.api#documentation": "The type of license server.
", + "smithy.api#required": {} + } + }, + "ServerSettings": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ServerSettings", + "traits": { + "smithy.api#documentation": "The ServerSettings
resource contains the settings for your \n\t\t\tserver.
The settings to configure your license server.
" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders": { + "type": "operation", + "input": { "target": "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProvidersRequest" }, "output": { @@ -1234,7 +1767,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the identity providers for user-based subscriptions.
", + "smithy.api#documentation": "Lists the Active Directory identity providers for user-based subscriptions.
", "smithy.api#http": { "code": 200, "method": "POST", @@ -1254,15 +1787,24 @@ "MaxResults": { "target": "com.amazonaws.licensemanagerusersubscriptions#BoxInteger", "traits": { - "smithy.api#documentation": "Maximum number of results to return in a single call.
" + "smithy.api#documentation": "The maximum number of results to return from a single request.
" + } + }, + "Filters": { + "target": "com.amazonaws.licensemanagerusersubscriptions#FilterList", + "traits": { + "smithy.api#documentation": "You can use the following filters to streamline results:
\nProduct
\nDirectoryId
\nToken for the next set of results.
" + "smithy.api#documentation": "A token to specify where to start paginating. This is the nextToken \n\tfrom a previously truncated response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProvidersResponse": { @@ -1271,16 +1813,19 @@ "IdentityProviderSummaries": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProviderSummaryList", "traits": { - "smithy.api#documentation": "Metadata that describes the list identity providers operation.
", + "smithy.api#documentation": "An array of IdentityProviderSummary
resources that contain \n\t\t\tdetails about the Active Directory identity providers that meet the request criteria.
Token for the next set of results.
" + "smithy.api#documentation": "The next token used for paginated responses. When this field isn't empty, \n\tthere are additional elements that the service hasn't included in this request. Use this token \n\t\twith the next request to retrieve additional objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.licensemanagerusersubscriptions#ListInstances": { @@ -1335,21 +1880,24 @@ "MaxResults": { "target": "com.amazonaws.licensemanagerusersubscriptions#BoxInteger", "traits": { - "smithy.api#documentation": "Maximum number of results to return in a single call.
" + "smithy.api#documentation": "The maximum number of results to return from a single request.
" } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "Token for the next set of results.
" + "smithy.api#documentation": "A token to specify where to start paginating. This is the nextToken \n\tfrom a previously truncated response.
" } }, "Filters": { "target": "com.amazonaws.licensemanagerusersubscriptions#FilterList", "traits": { - "smithy.api#documentation": "An array of structures that you can use to filter the results to those that match one or\n more sets of key-value pairs that you specify.
" + "smithy.api#documentation": "You can use the following filters to streamline results:
\nStatus
\nInstanceId
\nMetadata that describes the list instances operation.
" + "smithy.api#documentation": "An array of InstanceSummary
resources that contain details \n\t\t\tabout the instances that provide user-based subscriptions and also meet the \n\t\t\trequest criteria.
Token for the next set of results.
" + "smithy.api#documentation": "The next token used for paginated responses. When this field isn't empty, \n\tthere are additional elements that the service hasn't included in this request. Use this token \n\t\twith the next request to retrieve additional objects.
" } } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ListLicenseServerEndpoints": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListLicenseServerEndpointsRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListLicenseServerEndpointsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ConflictException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "List the Remote Desktop Services (RDS) License Server endpoints
", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/license-server/ListLicenseServerEndpoints" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "LicenseServerEndpoints" + } + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ListLicenseServerEndpointsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.licensemanagerusersubscriptions#BoxInteger", + "traits": { + "smithy.api#documentation": "The maximum number of results to return from a single request.
", + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "Filters": { + "target": "com.amazonaws.licensemanagerusersubscriptions#FilterList", + "traits": { + "smithy.api#documentation": "You can use the following filters to streamline results:
\nIdentityProviderArn
\nA token to specify where to start paginating. This is the nextToken \n\tfrom a previously truncated response.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ListLicenseServerEndpointsResponse": { + "type": "structure", + "members": { + "LicenseServerEndpoints": { + "target": "com.amazonaws.licensemanagerusersubscriptions#LicenseServerEndpointList", + "traits": { + "smithy.api#documentation": "An array of LicenseServerEndpoint
resources that \n\t\t\tcontain detailed information about the RDS License Servers that meet \n\t\t\tthe request criteria.
The next token used for paginated responses. When this field isn't empty, \n\tthere are additional elements that the service hasn't included in this request. Use this token \n\t\twith the next request to retrieve additional objects.
" + } + } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.licensemanagerusersubscriptions#ListProductSubscriptions": { @@ -1421,8 +2065,7 @@ "Product": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the user-based subscription product.
", - "smithy.api#required": {} + "smithy.api#documentation": "The name of the user-based subscription product.
\nValid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
\n
Maximum number of results to return in a single call.
" + "smithy.api#documentation": "The maximum number of results to return from a single request.
" } }, "Filters": { "target": "com.amazonaws.licensemanagerusersubscriptions#FilterList", "traits": { - "smithy.api#documentation": "An array of structures that you can use to filter the results to those that match one or\n more sets of key-value pairs that you specify.
" + "smithy.api#documentation": "You can use the following filters to streamline results:
\nStatus
\nUsername
\nDomain
\nToken for the next set of results.
" + "smithy.api#documentation": "A token to specify where to start paginating. This is the nextToken \n\tfrom a previously truncated response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#ListProductSubscriptionsResponse": { @@ -1464,9 +2110,70 @@ "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "Token for the next set of results.
" + "smithy.api#documentation": "The next token used for paginated responses. When this field isn't empty, \n\tthere are additional elements that the service hasn't included in this request. Use this token \n\t\twith the next request to retrieve additional objects.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns the list of tags for the specified resource.
", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{ResourceArn}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Tags", + "traits": { + "smithy.api#documentation": "The tags for the specified resource.
" + } + } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.licensemanagerusersubscriptions#ListUserAssociations": { @@ -1535,21 +2242,24 @@ "MaxResults": { "target": "com.amazonaws.licensemanagerusersubscriptions#BoxInteger", "traits": { - "smithy.api#documentation": "Maximum number of results to return in a single call.
" + "smithy.api#documentation": "The maximum number of results to return from a single request.
" } }, "Filters": { "target": "com.amazonaws.licensemanagerusersubscriptions#FilterList", "traits": { - "smithy.api#documentation": "An array of structures that you can use to filter the results to those that match one or\n more sets of key-value pairs that you specify.
" + "smithy.api#documentation": "You can use the following filters to streamline results:
\nStatus
\nUsername
\nDomain
\nToken for the next set of results.
" + "smithy.api#documentation": "A token to specify where to start paginating. This is the nextToken \n\tfrom a previously truncated response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#ListUserAssociationsResponse": { @@ -1564,9 +2274,12 @@ "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "Token for the next set of results.
" + "smithy.api#documentation": "The next token used for paginated responses. When this field isn't empty, \n\tthere are additional elements that the service hasn't included in this request. Use this token \n\t\twith the next request to retrieve additional objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.licensemanagerusersubscriptions#ProductUserSummary": { @@ -1575,7 +2288,7 @@ "Username": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The user name from the identity provider of the user.
", + "smithy.api#documentation": "The user name from the identity provider for this product user.
", "smithy.api#required": {} } }, @@ -1596,20 +2309,26 @@ "Status": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The status of a product for a user.
", + "smithy.api#documentation": "The status of a product for this user.
", "smithy.api#required": {} } }, + "ProductUserArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for this product user.
" + } + }, "StatusMessage": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The status message for a product for a user.
" + "smithy.api#documentation": "The status message for a product for this user.
" } }, "Domain": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The domain name of the user.
" + "smithy.api#documentation": "The domain name of the Active Directory that contains the user information for the product subscription.
" } }, "SubscriptionStartDate": { @@ -1626,7 +2345,7 @@ } }, "traits": { - "smithy.api#documentation": "The summary of the user-based subscription products for a user.
" + "smithy.api#documentation": "A summary of the user-based subscription products for a specific user.
" } }, "com.amazonaws.licensemanagerusersubscriptions#ProductUserSummaryList": { @@ -1635,6 +2354,21 @@ "target": "com.amazonaws.licensemanagerusersubscriptions#ProductUserSummary" } }, + "com.amazonaws.licensemanagerusersubscriptions#RdsSalSettings": { + "type": "structure", + "members": { + "RdsSalCredentialsProvider": { + "target": "com.amazonaws.licensemanagerusersubscriptions#CredentialsProvider", + "traits": { + "smithy.api#documentation": "The CredentialsProvider
resource contains a reference to \n\t\t\tthe credentials provider that's used for RDS license server user administration.
Server settings that are specific to a Remote Desktop Services (RDS) license server.
" + } + }, "com.amazonaws.licensemanagerusersubscriptions#RegisterIdentityProvider": { "type": "operation", "input": { @@ -1682,23 +2416,32 @@ "IdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", "traits": { - "smithy.api#documentation": "An object that specifies details for the identity provider.
", + "smithy.api#documentation": "An object that specifies details for the identity provider to register.
", "smithy.api#required": {} } }, "Product": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the user-based subscription product.
", + "smithy.api#documentation": "The name of the user-based subscription product.
\nValid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
\n
The registered identity provider’s product related configuration settings such as the\n subnets to provision VPC endpoints.
" + "smithy.api#documentation": "The registered identity provider’s product related configuration \n\t\t\tsettings such as the subnets to provision VPC endpoints.
" + } + }, + "Tags": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Tags", + "traits": { + "smithy.api#documentation": "The tags that apply to the identity provider's registration.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#RegisterIdentityProviderResponse": { @@ -1711,6 +2454,15 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ResourceArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:([a-z0-9-\\.]{1,63}):([a-z0-9-\\.]{1,63}):([a-z0-9-\\.]{1,63}):([a-z0-9-\\.]{1,63}):([a-z0-9-\\.]{1,510})/([a-z0-9-\\.]{1,510})$" } }, "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException": { @@ -1726,6 +2478,23 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.licensemanagerusersubscriptions#SecretsManagerCredentialsProvider": { + "type": "structure", + "members": { + "SecretId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The ID of the Secrets Manager secret that contains credentials.
", + "smithy.api#length": { + "min": 1 + } + } + } + }, + "traits": { + "smithy.api#documentation": "Contains a credentials secret that's stored in Secrets Manager.
" + } + }, "com.amazonaws.licensemanagerusersubscriptions#SecurityGroup": { "type": "string", "traits": { @@ -1736,6 +2505,46 @@ "smithy.api#pattern": "^sg-(([0-9a-z]{8})|([0-9a-z]{17}))$" } }, + "com.amazonaws.licensemanagerusersubscriptions#ServerEndpoint": { + "type": "structure", + "members": { + "Endpoint": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The network address of the endpoint.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A network endpoint through which you can access one or more servers.
" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ServerSettings": { + "type": "union", + "members": { + "RdsSalSettings": { + "target": "com.amazonaws.licensemanagerusersubscriptions#RdsSalSettings", + "traits": { + "smithy.api#documentation": "The RdsSalSettings
resource contains settings to configure \n\t\t\ta specific Remote Desktop Services (RDS) license server.
Contains settings for a specific server.
" + } + }, + "com.amazonaws.licensemanagerusersubscriptions#ServerType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "RDS_SAL", + "value": "RDS_SAL", + "documentation": "" + } + ] + } + }, "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException": { "type": "structure", "members": { @@ -1764,13 +2573,13 @@ "SecurityGroupId": { "target": "com.amazonaws.licensemanagerusersubscriptions#SecurityGroup", "traits": { - "smithy.api#documentation": "A security group ID that allows inbound TCP port 1688 communication between resources in\n your VPC and the VPC endpoint for activation servers.
", + "smithy.api#documentation": "A security group ID that allows inbound TCP port 1688 communication between resources in\n\t\t\tyour VPC and the VPC endpoint for activation servers.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The registered identity provider’s product related configuration settings such as the\n subnets to provision VPC endpoints, and the security group ID that is associated with the VPC\n endpoints. The security group should permit inbound TCP port 1688 communication from resources\n in the VPC.
" + "smithy.api#documentation": "The registered identity provider’s product related configuration settings such as the\n\t\t\tsubnets to provision VPC endpoints, and the security group ID that is associated with the VPC\n\t\t\tendpoints. The security group should permit inbound TCP port 1688 communication from resources\n\t\t\tin the VPC.
" } }, "com.amazonaws.licensemanagerusersubscriptions#StartProductSubscription": { @@ -1805,7 +2614,7 @@ } ], "traits": { - "smithy.api#documentation": "Starts a product subscription for a user with the specified identity provider.
\nYour estimated bill for charges on the number of users and related costs will take 48\n hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your\n monthly charges in the Amazon Web Services Billing User Guide.
\nStarts a product subscription for a user with the specified identity provider.
\nYour estimated bill for charges on the number of users and related costs will take 48\n\t\t\thours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your\n\t\t\t\tmonthly charges in the Amazon Web Services Billing User Guide.
\nThe name of the user-based subscription product.
", + "smithy.api#documentation": "The name of the user-based subscription product.
\nValid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
\n
The domain name of the user.
" + "smithy.api#documentation": "The domain name of the Active Directory that contains the user for whom to start the product \n\t\t\tsubscription.
" + } + }, + "Tags": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Tags", + "traits": { + "smithy.api#documentation": "The tags that apply to the product subscription.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#StartProductSubscriptionResponse": { @@ -1855,6 +2673,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.licensemanagerusersubscriptions#StopProductSubscription": { @@ -1903,30 +2724,36 @@ "Username": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The user name from the identity provider for the user.
", - "smithy.api#required": {} + "smithy.api#documentation": "The user name from the identity provider for the user.
" } }, "IdentityProvider": { "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", "traits": { - "smithy.api#documentation": "An object that specifies details for the identity provider.
", - "smithy.api#required": {} + "smithy.api#documentation": "An object that specifies details for the identity provider.
" } }, "Product": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the user-based subscription product.
", - "smithy.api#required": {} + "smithy.api#documentation": "The name of the user-based subscription product.
\nValid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
\n
The Amazon Resource Name (ARN) of the product user.
" } }, "Domain": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The domain name of the user.
" + "smithy.api#documentation": "The domain name of the Active Directory that contains the user for whom to stop the product \n\t\t\tsubscription.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.licensemanagerusersubscriptions#StopProductSubscriptionResponse": { @@ -1939,6 +2766,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.licensemanagerusersubscriptions#StringList": { @@ -1950,7 +2780,7 @@ "com.amazonaws.licensemanagerusersubscriptions#Subnet": { "type": "string", "traits": { - "smithy.api#pattern": "subnet-[a-z0-9]{8,17}" + "smithy.api#pattern": "^subnet-[a-z0-9]{8,17}" } }, "com.amazonaws.licensemanagerusersubscriptions#Subnets": { @@ -1959,6 +2789,93 @@ "target": "com.amazonaws.licensemanagerusersubscriptions#Subnet" } }, + "com.amazonaws.licensemanagerusersubscriptions#TagKeyList": { + "type": "list", + "member": { + "target": "smithy.api#String" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerusersubscriptions#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerusersubscriptions#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Adds tags to a resource.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/tags/{ResourceArn}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource that you want to tag.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.licensemanagerusersubscriptions#Tags", + "traits": { + "smithy.api#documentation": "The tags to apply to the specified resource.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#TagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#Tags": { + "type": "map", + "key": { + "target": "smithy.api#String" + }, + "value": { + "target": "smithy.api#String" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + }, + "smithy.api#sensitive": {} + } + }, "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException": { "type": "structure", "members": { @@ -1971,6 +2888,62 @@ "smithy.api#error": "client" } }, + "com.amazonaws.licensemanagerusersubscriptions#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.licensemanagerusersubscriptions#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.licensemanagerusersubscriptions#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#InternalServerException" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Removes tags from a resource.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{ResourceArn}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.licensemanagerusersubscriptions#ResourceArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource that you want to remove tags from.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.licensemanagerusersubscriptions#TagKeyList", + "traits": { + "smithy.api#documentation": "The tag keys to remove from the resource.
", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.licensemanagerusersubscriptions#UntagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.licensemanagerusersubscriptions#UpdateIdentityProviderSettings": { "type": "operation", "input": { @@ -1994,7 +2967,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates additional product configuration settings for the registered identity\n provider.
", + "smithy.api#documentation": "Updates additional product configuration settings for the registered identity\n\t\t\tprovider.
", "smithy.api#http": { "code": 200, "method": "POST", @@ -2007,25 +2980,30 @@ "type": "structure", "members": { "IdentityProvider": { - "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider", - "traits": { - "smithy.api#required": {} - } + "target": "com.amazonaws.licensemanagerusersubscriptions#IdentityProvider" }, "Product": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the user-based subscription product.
", - "smithy.api#required": {} + "smithy.api#documentation": "The name of the user-based subscription product.
\nValid values: VISUAL_STUDIO_ENTERPRISE
| VISUAL_STUDIO_PROFESSIONAL
| OFFICE_PROFESSIONAL_PLUS
\n
The Amazon Resource Name (ARN) of the identity provider to update.
" } }, "UpdateSettings": { "target": "com.amazonaws.licensemanagerusersubscriptions#UpdateSettings", "traits": { - "smithy.api#documentation": "Updates the registered identity provider’s product related configuration settings. You can\n update any combination of settings in a single operation such as the:
\nSubnets which you want to add to provision VPC endpoints.
\nSubnets which you want to remove the VPC endpoints from.
\nSecurity group ID which permits traffic to the VPC endpoints.
\nUpdates the registered identity provider’s product related configuration settings. You can\n\t\t\tupdate any combination of settings in a single operation such as the:
\nSubnets which you want to add to provision VPC endpoints.
\nSubnets which you want to remove the VPC endpoints from.
\nSecurity group ID which permits traffic to the VPC endpoints.
\nThe ID of one or more subnets in which License Manager will create a VPC endpoint for products that\n require connectivity to activation servers.
", + "smithy.api#documentation": "The ID of one or more subnets in which License Manager will create a VPC endpoint for products that\n\t\t\trequire connectivity to activation servers.
", "smithy.api#required": {} } }, @@ -2059,12 +3040,12 @@ "SecurityGroupId": { "target": "com.amazonaws.licensemanagerusersubscriptions#SecurityGroup", "traits": { - "smithy.api#documentation": "A security group ID that allows inbound TCP port 1688 communication between resources in\n your VPC and the VPC endpoints for activation servers.
" + "smithy.api#documentation": "A security group ID that allows inbound TCP port 1688 communication between resources in\n\t\t\tyour VPC and the VPC endpoints for activation servers.
" } } }, "traits": { - "smithy.api#documentation": "Updates the registered identity provider’s product related configuration settings such as\n the subnets to provision VPC endpoints.
" + "smithy.api#documentation": "Updates the registered identity provider’s product related configuration settings such as\n\t\t\tthe subnets to provision VPC endpoints.
" } }, "com.amazonaws.licensemanagerusersubscriptions#ValidationException": {