import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RegisterIdentityProviderRequest, RegisterIdentityProviderResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RegisterIdentityProviderCommand}. */ export interface RegisterIdentityProviderCommandInput extends RegisterIdentityProviderRequest { } /** * @public * * The output of {@link RegisterIdentityProviderCommand}. */ export interface RegisterIdentityProviderCommandOutput extends RegisterIdentityProviderResponse, __MetadataBearer { } declare const RegisterIdentityProviderCommand_base: { new (input: RegisterIdentityProviderCommandInput): import("@smithy/core/client").CommandImpl; new (input: RegisterIdentityProviderCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Registers an identity provider for user-based subscriptions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LicenseManagerUserSubscriptionsClient, RegisterIdentityProviderCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import * // const { LicenseManagerUserSubscriptionsClient, RegisterIdentityProviderCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import * // import type { LicenseManagerUserSubscriptionsClientConfig } from "@aws-sdk/client-license-manager-user-subscriptions"; * const config = {}; // type is LicenseManagerUserSubscriptionsClientConfig * const client = new LicenseManagerUserSubscriptionsClient(config); * const input = { // RegisterIdentityProviderRequest * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", * ActiveDirectorySettings: { // ActiveDirectorySettings * DomainName: "STRING_VALUE", * DomainIpv4List: [ // IpV4List * "STRING_VALUE", * ], * DomainIpv6List: [ // IpV6List * "STRING_VALUE", * ], * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider * SecretId: "STRING_VALUE", * }, * }, * DomainNetworkSettings: { // DomainNetworkSettings * Subnets: [ // Subnets // required * "STRING_VALUE", * ], * }, * }, * ActiveDirectoryType: "STRING_VALUE", * IsSharedActiveDirectory: true || false, * }, * }, * Product: "STRING_VALUE", // required * Settings: { // Settings * Subnets: [ // required * "STRING_VALUE", * ], * SecurityGroupId: "STRING_VALUE", // required * }, * Tags: { // Tags * "": "STRING_VALUE", * }, * }; * const command = new RegisterIdentityProviderCommand(input); * const response = await client.send(command); * // { // RegisterIdentityProviderResponse * // IdentityProviderSummary: { // IdentityProviderSummary * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", * // ActiveDirectorySettings: { // ActiveDirectorySettings * // DomainName: "STRING_VALUE", * // DomainIpv4List: [ // IpV4List * // "STRING_VALUE", * // ], * // DomainIpv6List: [ // IpV6List * // "STRING_VALUE", * // ], * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider * // SecretId: "STRING_VALUE", * // }, * // }, * // DomainNetworkSettings: { // DomainNetworkSettings * // Subnets: [ // Subnets // required * // "STRING_VALUE", * // ], * // }, * // }, * // ActiveDirectoryType: "STRING_VALUE", * // IsSharedActiveDirectory: true || false, * // }, * // }, * // Settings: { // Settings * // Subnets: [ // required * // "STRING_VALUE", * // ], * // SecurityGroupId: "STRING_VALUE", // required * // }, * // Product: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required * // IdentityProviderArn: "STRING_VALUE", * // FailureMessage: "STRING_VALUE", * // OwnerAccountId: "STRING_VALUE", * // }, * // }; * * ``` * * @param RegisterIdentityProviderCommandInput - {@link RegisterIdentityProviderCommandInput} * @returns {@link RegisterIdentityProviderCommandOutput} * @see {@link RegisterIdentityProviderCommandInput} for command's `input` shape. * @see {@link RegisterIdentityProviderCommandOutput} 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 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 declare class RegisterIdentityProviderCommand extends RegisterIdentityProviderCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RegisterIdentityProviderRequest; output: RegisterIdentityProviderResponse; }; sdk: { input: RegisterIdentityProviderCommandInput; output: RegisterIdentityProviderCommandOutput; }; }; }