Skip to main content

identity_providers

Creates, updates, deletes, gets or lists an identity_providers resource.

Overview

Nameidentity_providers
TypeResource
Idaws.license_manager_user_subscriptions.identity_providers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
failure_messagestringThe failure message associated with an identity provider.
identity_providerobjectRefers to an identity provider.
identity_provider_arnstringThe Amazon Resource Name (ARN) of the identity provider. (pattern: <code>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}</code>)
owner_account_idstringThe AWS Account ID of the owner of this resource.
productstringThe name of the user-based subscription product.
settingsobjectThe Settings resource contains details about the registered identity provider’s product related configuration settings, such as the subnets to provision VPC endpoints.
statusstringThe status of the identity provider.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_identity_providersselectregionLists the Active Directory identity providers for user-based subscriptions.
register_identity_providerinsertregion, IdentityProviderRegisters an identity provider for user-based subscriptions.
update_identity_provider_settingsupdateregion, UpdateSettingsUpdates additional product configuration settings for the registered identity provider.
deregister_identity_providerdeleteregionDeregisters the Active Directory identity provider from License Manager user-based subscriptions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the Active Directory identity providers for user-based subscriptions.

SELECT
failure_message,
identity_provider,
identity_provider_arn,
owner_account_id,
product,
settings,
status
FROM aws.license_manager_user_subscriptions.identity_providers
WHERE region = '{{ region }}' -- required
;

INSERT examples

Registers an identity provider for user-based subscriptions.

INSERT INTO aws.license_manager_user_subscriptions.identity_providers (
IdentityProvider,
Product,
Settings,
Tags,
region
)
SELECT
'{{ IdentityProvider }}' /* required */,
'{{ Product }}',
'{{ Settings }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
identity_provider_summary
;

UPDATE examples

Updates additional product configuration settings for the registered identity provider.

UPDATE aws.license_manager_user_subscriptions.identity_providers
SET
IdentityProvider = '{{ IdentityProvider }}',
Product = '{{ Product }}',
IdentityProviderArn = '{{ IdentityProviderArn }}',
UpdateSettings = '{{ UpdateSettings }}'
WHERE
region = '{{ region }}' --required
AND UpdateSettings = '{{ UpdateSettings }}' --required
RETURNING
identity_provider_summary;

DELETE examples

Deregisters the Active Directory identity provider from License Manager user-based subscriptions.

DELETE FROM aws.license_manager_user_subscriptions.identity_providers
WHERE region = '{{ region }}' --required
;