AWS Directory Service

2021/08/16 - AWS Directory Service - 1 new api methods

Changes  This release adds support for describing client authentication settings.

DescribeClientAuthenticationSettings (new) Link ΒΆ

Retrieves information about the type of client authentication for the specified directory, if the type is specified. If no type is specified, information about all client authentication types that are supported for the specified directory is retrieved. Currently, only SmartCard is supported.

See also: AWS API Documentation

Request Syntax

client.describe_client_authentication_settings(
    DirectoryId='string',
    Type='SmartCard',
    NextToken='string',
    Limit=123
)
type DirectoryId:

string

param DirectoryId:

[REQUIRED]

The identifier of the directory for which to retrieve information.

type Type:

string

param Type:

The type of client authentication for which to retrieve information. If no type is specified, a list of all client authentication types that are supported for the specified directory is retrieved.

type NextToken:

string

param NextToken:

The DescribeClientAuthenticationSettingsResult.NextToken value from a previous call to DescribeClientAuthenticationSettings. Pass null if this is the first call.

type Limit:

integer

param Limit:

The maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

rtype:

dict

returns:

Response Syntax

{
    'ClientAuthenticationSettingsInfo': [
        {
            'Type': 'SmartCard',
            'Status': 'Enabled'|'Disabled',
            'LastUpdatedDateTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ClientAuthenticationSettingsInfo (list) --

      Information about the type of client authentication for the specified directory. The following information is retrieved: The date and time when the status of the client authentication type was last updated, whether the client authentication type is enabled or disabled, and the type of client authentication.

      • (dict) --

        Contains information about a client authentication method for a directory.

        • Type (string) --

          The type of client authentication for the specified directory. If no type is specified, a list of all client authentication types that are supported for the directory is retrieved.

        • Status (string) --

          Whether the client authentication type is enabled or disabled for the specified directory.

        • LastUpdatedDateTime (datetime) --

          The date and time when the status of the client authentication type was last updated.

    • NextToken (string) --

      The next token used to retrieve the client authentication settings if the number of setting types exceeds page limit and there is another page.