Struct rusoto_ds::DirectoryServiceClient
source · [−]pub struct DirectoryServiceClient { /* private fields */ }
Expand description
A client for the Directory Service API.
Implementations
sourceimpl DirectoryServiceClient
impl DirectoryServiceClient
sourcepub fn new(region: Region) -> DirectoryServiceClient
pub fn new(region: Region) -> DirectoryServiceClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> DirectoryServiceClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> DirectoryServiceClient
Trait Implementations
sourceimpl Clone for DirectoryServiceClient
impl Clone for DirectoryServiceClient
sourcefn clone(&self) -> DirectoryServiceClient
fn clone(&self) -> DirectoryServiceClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl DirectoryService for DirectoryServiceClient
impl DirectoryService for DirectoryServiceClient
Accepts a directory sharing request that was sent from the directory owner account.
sourcefn add_ip_routes<'life0, 'async_trait>(
&'life0 self,
input: AddIpRoutesRequest
) -> Pin<Box<dyn Future<Output = Result<AddIpRoutesResult, RusotoError<AddIpRoutesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_ip_routes<'life0, 'async_trait>(
&'life0 self,
input: AddIpRoutesRequest
) -> Pin<Box<dyn Future<Output = Result<AddIpRoutesResult, RusotoError<AddIpRoutesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.
Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
sourcefn add_region<'life0, 'async_trait>(
&'life0 self,
input: AddRegionRequest
) -> Pin<Box<dyn Future<Output = Result<AddRegionResult, RusotoError<AddRegionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_region<'life0, 'async_trait>(
&'life0 self,
input: AddRegionRequest
) -> Pin<Box<dyn Future<Output = Result<AddRegionResult, RusotoError<AddRegionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds two domain controllers in the specified Region for the specified directory.
Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource.
sourcefn cancel_schema_extension<'life0, 'async_trait>(
&'life0 self,
input: CancelSchemaExtensionRequest
) -> Pin<Box<dyn Future<Output = Result<CancelSchemaExtensionResult, RusotoError<CancelSchemaExtensionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn cancel_schema_extension<'life0, 'async_trait>(
&'life0 self,
input: CancelSchemaExtensionRequest
) -> Pin<Box<dyn Future<Output = Result<CancelSchemaExtensionResult, RusotoError<CancelSchemaExtensionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing
, CreatingSnapshot
, and UpdatingSchema
.
sourcefn connect_directory<'life0, 'async_trait>(
&'life0 self,
input: ConnectDirectoryRequest
) -> Pin<Box<dyn Future<Output = Result<ConnectDirectoryResult, RusotoError<ConnectDirectoryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn connect_directory<'life0, 'async_trait>(
&'life0 self,
input: ConnectDirectoryRequest
) -> Pin<Box<dyn Future<Output = Result<ConnectDirectoryResult, RusotoError<ConnectDirectoryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an AD Connector to connect to an on-premises directory.
Before you call ConnectDirectory
, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory
operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
sourcefn create_alias<'life0, 'async_trait>(
&'life0 self,
input: CreateAliasRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAliasResult, RusotoError<CreateAliasError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_alias<'life0, 'async_trait>(
&'life0 self,
input: CreateAliasRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAliasResult, RusotoError<CreateAliasError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as http://<alias>.awsapps.com
.
After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
sourcefn create_computer<'life0, 'async_trait>(
&'life0 self,
input: CreateComputerRequest
) -> Pin<Box<dyn Future<Output = Result<CreateComputerResult, RusotoError<CreateComputerError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_computer<'life0, 'async_trait>(
&'life0 self,
input: CreateComputerRequest
) -> Pin<Box<dyn Future<Output = Result<CreateComputerResult, RusotoError<CreateComputerError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an Active Directory computer object in the specified directory.
sourcefn create_conditional_forwarder<'life0, 'async_trait>(
&'life0 self,
input: CreateConditionalForwarderRequest
) -> Pin<Box<dyn Future<Output = Result<CreateConditionalForwarderResult, RusotoError<CreateConditionalForwarderError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_conditional_forwarder<'life0, 'async_trait>(
&'life0 self,
input: CreateConditionalForwarderRequest
) -> Pin<Box<dyn Future<Output = Result<CreateConditionalForwarderResult, RusotoError<CreateConditionalForwarderError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.
sourcefn create_directory<'life0, 'async_trait>(
&'life0 self,
input: CreateDirectoryRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDirectoryResult, RusotoError<CreateDirectoryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_directory<'life0, 'async_trait>(
&'life0 self,
input: CreateDirectoryRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDirectoryResult, RusotoError<CreateDirectoryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a Simple AD directory. For more information, see Simple Active Directory in the AWS Directory Service Admin Guide.
Before you call CreateDirectory
, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory
operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
sourcefn create_log_subscription<'life0, 'async_trait>(
&'life0 self,
input: CreateLogSubscriptionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLogSubscriptionResult, RusotoError<CreateLogSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_log_subscription<'life0, 'async_trait>(
&'life0 self,
input: CreateLogSubscriptionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLogSubscriptionResult, RusotoError<CreateLogSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a subscription to forward real-time Directory Service domain controller security logs to the specified Amazon CloudWatch log group in your AWS account.
sourcefn create_microsoft_ad<'life0, 'async_trait>(
&'life0 self,
input: CreateMicrosoftADRequest
) -> Pin<Box<dyn Future<Output = Result<CreateMicrosoftADResult, RusotoError<CreateMicrosoftADError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_microsoft_ad<'life0, 'async_trait>(
&'life0 self,
input: CreateMicrosoftADRequest
) -> Pin<Box<dyn Future<Output = Result<CreateMicrosoftADResult, RusotoError<CreateMicrosoftADError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a Microsoft AD directory in the AWS Cloud. For more information, see AWS Managed Microsoft AD in the AWS Directory Service Admin Guide.
Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
sourcefn create_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CreateSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSnapshotResult, RusotoError<CreateSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CreateSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSnapshotResult, RusotoError<CreateSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
sourcefn create_trust<'life0, 'async_trait>(
&'life0 self,
input: CreateTrustRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTrustResult, RusotoError<CreateTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_trust<'life0, 'async_trait>(
&'life0 self,
input: CreateTrustRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTrustResult, RusotoError<CreateTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your AWS Managed Microsoft AD directory, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the AWS side of a trust relationship between an AWS Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.
sourcefn delete_conditional_forwarder<'life0, 'async_trait>(
&'life0 self,
input: DeleteConditionalForwarderRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteConditionalForwarderResult, RusotoError<DeleteConditionalForwarderError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_conditional_forwarder<'life0, 'async_trait>(
&'life0 self,
input: DeleteConditionalForwarderRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteConditionalForwarderResult, RusotoError<DeleteConditionalForwarderError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a conditional forwarder that has been set up for your AWS directory.
sourcefn delete_directory<'life0, 'async_trait>(
&'life0 self,
input: DeleteDirectoryRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteDirectoryResult, RusotoError<DeleteDirectoryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_directory<'life0, 'async_trait>(
&'life0 self,
input: DeleteDirectoryRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteDirectoryResult, RusotoError<DeleteDirectoryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an AWS Directory Service directory.
Before you call DeleteDirectory
, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory
operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
sourcefn delete_log_subscription<'life0, 'async_trait>(
&'life0 self,
input: DeleteLogSubscriptionRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteLogSubscriptionResult, RusotoError<DeleteLogSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_log_subscription<'life0, 'async_trait>(
&'life0 self,
input: DeleteLogSubscriptionRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteLogSubscriptionResult, RusotoError<DeleteLogSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the specified log subscription.
sourcefn delete_snapshot<'life0, 'async_trait>(
&'life0 self,
input: DeleteSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSnapshotResult, RusotoError<DeleteSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_snapshot<'life0, 'async_trait>(
&'life0 self,
input: DeleteSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSnapshotResult, RusotoError<DeleteSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a directory snapshot.
sourcefn delete_trust<'life0, 'async_trait>(
&'life0 self,
input: DeleteTrustRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteTrustResult, RusotoError<DeleteTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_trust<'life0, 'async_trait>(
&'life0 self,
input: DeleteTrustRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteTrustResult, RusotoError<DeleteTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an existing trust relationship between your AWS Managed Microsoft AD directory and an external domain.
sourcefn deregister_certificate<'life0, 'async_trait>(
&'life0 self,
input: DeregisterCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<DeregisterCertificateResult, RusotoError<DeregisterCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn deregister_certificate<'life0, 'async_trait>(
&'life0 self,
input: DeregisterCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<DeregisterCertificateResult, RusotoError<DeregisterCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.
sourcefn deregister_event_topic<'life0, 'async_trait>(
&'life0 self,
input: DeregisterEventTopicRequest
) -> Pin<Box<dyn Future<Output = Result<DeregisterEventTopicResult, RusotoError<DeregisterEventTopicError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn deregister_event_topic<'life0, 'async_trait>(
&'life0 self,
input: DeregisterEventTopicRequest
) -> Pin<Box<dyn Future<Output = Result<DeregisterEventTopicResult, RusotoError<DeregisterEventTopicError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes the specified directory as a publisher to the specified SNS topic.
sourcefn describe_certificate<'life0, 'async_trait>(
&'life0 self,
input: DescribeCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeCertificateResult, RusotoError<DescribeCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_certificate<'life0, 'async_trait>(
&'life0 self,
input: DescribeCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeCertificateResult, RusotoError<DescribeCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Displays information about the certificate registered for secure LDAP or client certificate authentication.
sourcefn describe_conditional_forwarders<'life0, 'async_trait>(
&'life0 self,
input: DescribeConditionalForwardersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeConditionalForwardersResult, RusotoError<DescribeConditionalForwardersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_conditional_forwarders<'life0, 'async_trait>(
&'life0 self,
input: DescribeConditionalForwardersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeConditionalForwardersResult, RusotoError<DescribeConditionalForwardersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtains information about the conditional forwarders for this account.
If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.
sourcefn describe_directories<'life0, 'async_trait>(
&'life0 self,
input: DescribeDirectoriesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDirectoriesResult, RusotoError<DescribeDirectoriesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_directories<'life0, 'async_trait>(
&'life0 self,
input: DescribeDirectoriesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDirectoriesResult, RusotoError<DescribeDirectoriesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtains information about the directories that belong to this account.
You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds
parameter. Otherwise, all directories that belong to the current account are returned.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken
member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit
parameter.
sourcefn describe_domain_controllers<'life0, 'async_trait>(
&'life0 self,
input: DescribeDomainControllersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDomainControllersResult, RusotoError<DescribeDomainControllersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_domain_controllers<'life0, 'async_trait>(
&'life0 self,
input: DescribeDomainControllersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDomainControllersResult, RusotoError<DescribeDomainControllersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provides information about any domain controllers in your directory.
sourcefn describe_event_topics<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventTopicsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventTopicsResult, RusotoError<DescribeEventTopicsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_event_topics<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventTopicsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventTopicsResult, RusotoError<DescribeEventTopicsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtains information about which SNS topics receive status messages from the specified directory.
If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.
sourcefn describe_ldaps_settings<'life0, 'async_trait>(
&'life0 self,
input: DescribeLDAPSSettingsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLDAPSSettingsResult, RusotoError<DescribeLDAPSSettingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_ldaps_settings<'life0, 'async_trait>(
&'life0 self,
input: DescribeLDAPSSettingsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLDAPSSettingsResult, RusotoError<DescribeLDAPSSettingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes the status of LDAP security for the specified directory.
sourcefn describe_regions<'life0, 'async_trait>(
&'life0 self,
input: DescribeRegionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeRegionsResult, RusotoError<DescribeRegionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_regions<'life0, 'async_trait>(
&'life0 self,
input: DescribeRegionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeRegionsResult, RusotoError<DescribeRegionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provides information about the Regions that are configured for multi-Region replication.
Returns the shared directories in your account.
sourcefn describe_snapshots<'life0, 'async_trait>(
&'life0 self,
input: DescribeSnapshotsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSnapshotsResult, RusotoError<DescribeSnapshotsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_snapshots<'life0, 'async_trait>(
&'life0 self,
input: DescribeSnapshotsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSnapshotsResult, RusotoError<DescribeSnapshotsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtains information about the directory snapshots that belong to this account.
This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit parameter.
sourcefn describe_trusts<'life0, 'async_trait>(
&'life0 self,
input: DescribeTrustsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeTrustsResult, RusotoError<DescribeTrustsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_trusts<'life0, 'async_trait>(
&'life0 self,
input: DescribeTrustsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeTrustsResult, RusotoError<DescribeTrustsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtains information about the trust relationships for this account.
If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.
sourcefn disable_client_authentication<'life0, 'async_trait>(
&'life0 self,
input: DisableClientAuthenticationRequest
) -> Pin<Box<dyn Future<Output = Result<DisableClientAuthenticationResult, RusotoError<DisableClientAuthenticationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disable_client_authentication<'life0, 'async_trait>(
&'life0 self,
input: DisableClientAuthenticationRequest
) -> Pin<Box<dyn Future<Output = Result<DisableClientAuthenticationResult, RusotoError<DisableClientAuthenticationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disables alternative client authentication methods for the specified directory.
sourcefn disable_ldaps<'life0, 'async_trait>(
&'life0 self,
input: DisableLDAPSRequest
) -> Pin<Box<dyn Future<Output = Result<DisableLDAPSResult, RusotoError<DisableLDAPSError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disable_ldaps<'life0, 'async_trait>(
&'life0 self,
input: DisableLDAPSRequest
) -> Pin<Box<dyn Future<Output = Result<DisableLDAPSResult, RusotoError<DisableLDAPSError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deactivates LDAP secure calls for the specified directory.
sourcefn disable_radius<'life0, 'async_trait>(
&'life0 self,
input: DisableRadiusRequest
) -> Pin<Box<dyn Future<Output = Result<DisableRadiusResult, RusotoError<DisableRadiusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disable_radius<'life0, 'async_trait>(
&'life0 self,
input: DisableRadiusRequest
) -> Pin<Box<dyn Future<Output = Result<DisableRadiusResult, RusotoError<DisableRadiusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.
sourcefn disable_sso<'life0, 'async_trait>(
&'life0 self,
input: DisableSsoRequest
) -> Pin<Box<dyn Future<Output = Result<DisableSsoResult, RusotoError<DisableSsoError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disable_sso<'life0, 'async_trait>(
&'life0 self,
input: DisableSsoRequest
) -> Pin<Box<dyn Future<Output = Result<DisableSsoResult, RusotoError<DisableSsoError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disables single-sign on for a directory.
sourcefn enable_client_authentication<'life0, 'async_trait>(
&'life0 self,
input: EnableClientAuthenticationRequest
) -> Pin<Box<dyn Future<Output = Result<EnableClientAuthenticationResult, RusotoError<EnableClientAuthenticationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn enable_client_authentication<'life0, 'async_trait>(
&'life0 self,
input: EnableClientAuthenticationRequest
) -> Pin<Box<dyn Future<Output = Result<EnableClientAuthenticationResult, RusotoError<EnableClientAuthenticationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Enables alternative client authentication methods for the specified directory.
sourcefn enable_ldaps<'life0, 'async_trait>(
&'life0 self,
input: EnableLDAPSRequest
) -> Pin<Box<dyn Future<Output = Result<EnableLDAPSResult, RusotoError<EnableLDAPSError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn enable_ldaps<'life0, 'async_trait>(
&'life0 self,
input: EnableLDAPSRequest
) -> Pin<Box<dyn Future<Output = Result<EnableLDAPSResult, RusotoError<EnableLDAPSError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Activates the switch for the specific directory to always use LDAP secure calls.
sourcefn enable_radius<'life0, 'async_trait>(
&'life0 self,
input: EnableRadiusRequest
) -> Pin<Box<dyn Future<Output = Result<EnableRadiusResult, RusotoError<EnableRadiusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn enable_radius<'life0, 'async_trait>(
&'life0 self,
input: EnableRadiusRequest
) -> Pin<Box<dyn Future<Output = Result<EnableRadiusResult, RusotoError<EnableRadiusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.
sourcefn enable_sso<'life0, 'async_trait>(
&'life0 self,
input: EnableSsoRequest
) -> Pin<Box<dyn Future<Output = Result<EnableSsoResult, RusotoError<EnableSsoError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn enable_sso<'life0, 'async_trait>(
&'life0 self,
input: EnableSsoRequest
) -> Pin<Box<dyn Future<Output = Result<EnableSsoResult, RusotoError<EnableSsoError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain AWS services from a computer joined to the directory without having to enter their credentials separately.
sourcefn get_directory_limits<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetDirectoryLimitsResult, RusotoError<GetDirectoryLimitsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_directory_limits<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetDirectoryLimitsResult, RusotoError<GetDirectoryLimitsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtains directory limit information for the current Region.
sourcefn get_snapshot_limits<'life0, 'async_trait>(
&'life0 self,
input: GetSnapshotLimitsRequest
) -> Pin<Box<dyn Future<Output = Result<GetSnapshotLimitsResult, RusotoError<GetSnapshotLimitsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_snapshot_limits<'life0, 'async_trait>(
&'life0 self,
input: GetSnapshotLimitsRequest
) -> Pin<Box<dyn Future<Output = Result<GetSnapshotLimitsResult, RusotoError<GetSnapshotLimitsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Obtains the manual snapshot limits for a directory.
sourcefn list_certificates<'life0, 'async_trait>(
&'life0 self,
input: ListCertificatesRequest
) -> Pin<Box<dyn Future<Output = Result<ListCertificatesResult, RusotoError<ListCertificatesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_certificates<'life0, 'async_trait>(
&'life0 self,
input: ListCertificatesRequest
) -> Pin<Box<dyn Future<Output = Result<ListCertificatesResult, RusotoError<ListCertificatesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.
sourcefn list_ip_routes<'life0, 'async_trait>(
&'life0 self,
input: ListIpRoutesRequest
) -> Pin<Box<dyn Future<Output = Result<ListIpRoutesResult, RusotoError<ListIpRoutesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_ip_routes<'life0, 'async_trait>(
&'life0 self,
input: ListIpRoutesRequest
) -> Pin<Box<dyn Future<Output = Result<ListIpRoutesResult, RusotoError<ListIpRoutesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the address blocks that you have added to a directory.
sourcefn list_log_subscriptions<'life0, 'async_trait>(
&'life0 self,
input: ListLogSubscriptionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLogSubscriptionsResult, RusotoError<ListLogSubscriptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_log_subscriptions<'life0, 'async_trait>(
&'life0 self,
input: ListLogSubscriptionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLogSubscriptionsResult, RusotoError<ListLogSubscriptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the active log subscriptions for the AWS account.
sourcefn list_schema_extensions<'life0, 'async_trait>(
&'life0 self,
input: ListSchemaExtensionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSchemaExtensionsResult, RusotoError<ListSchemaExtensionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_schema_extensions<'life0, 'async_trait>(
&'life0 self,
input: ListSchemaExtensionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSchemaExtensionsResult, RusotoError<ListSchemaExtensionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all schema extensions applied to a Microsoft AD Directory.
Lists all tags on a directory.
sourcefn register_certificate<'life0, 'async_trait>(
&'life0 self,
input: RegisterCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterCertificateResult, RusotoError<RegisterCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn register_certificate<'life0, 'async_trait>(
&'life0 self,
input: RegisterCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterCertificateResult, RusotoError<RegisterCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Registers a certificate for a secure LDAP or client certificate authentication.
sourcefn register_event_topic<'life0, 'async_trait>(
&'life0 self,
input: RegisterEventTopicRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterEventTopicResult, RusotoError<RegisterEventTopicError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn register_event_topic<'life0, 'async_trait>(
&'life0 self,
input: RegisterEventTopicRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterEventTopicResult, RusotoError<RegisterEventTopicError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
Rejects a directory sharing request that was sent from the directory owner account.
sourcefn remove_ip_routes<'life0, 'async_trait>(
&'life0 self,
input: RemoveIpRoutesRequest
) -> Pin<Box<dyn Future<Output = Result<RemoveIpRoutesResult, RusotoError<RemoveIpRoutesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_ip_routes<'life0, 'async_trait>(
&'life0 self,
input: RemoveIpRoutesRequest
) -> Pin<Box<dyn Future<Output = Result<RemoveIpRoutesResult, RusotoError<RemoveIpRoutesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes IP address blocks from a directory.
sourcefn remove_region<'life0, 'async_trait>(
&'life0 self,
input: RemoveRegionRequest
) -> Pin<Box<dyn Future<Output = Result<RemoveRegionResult, RusotoError<RemoveRegionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_region<'life0, 'async_trait>(
&'life0 self,
input: RemoveRegionRequest
) -> Pin<Box<dyn Future<Output = Result<RemoveRegionResult, RusotoError<RemoveRegionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Stops all replication and removes the domain controllers from the specified Region. You cannot remove the primary Region with this operation. Instead, use the DeleteDirectory
API.
Removes tags from a directory.
sourcefn reset_user_password<'life0, 'async_trait>(
&'life0 self,
input: ResetUserPasswordRequest
) -> Pin<Box<dyn Future<Output = Result<ResetUserPasswordResult, RusotoError<ResetUserPasswordError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn reset_user_password<'life0, 'async_trait>(
&'life0 self,
input: ResetUserPasswordRequest
) -> Pin<Box<dyn Future<Output = Result<ResetUserPasswordResult, RusotoError<ResetUserPasswordError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Resets the password for any user in your AWS Managed Microsoft AD or Simple AD directory.
You can reset the password for any user in your directory with the following exceptions:
-
For Simple AD, you cannot reset the password for any user that is a member of either the Domain Admins or Enterprise Admins group except for the administrator user.
-
For AWS Managed Microsoft AD, you can only reset the password for a user that is in an OU based off of the NetBIOS name that you typed when you created your directory. For example, you cannot reset the password for a user in the AWS Reserved OU. For more information about the OU structure for an AWS Managed Microsoft AD directory, see What Gets Created in the AWS Directory Service Administration Guide.
sourcefn restore_from_snapshot<'life0, 'async_trait>(
&'life0 self,
input: RestoreFromSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<RestoreFromSnapshotResult, RusotoError<RestoreFromSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn restore_from_snapshot<'life0, 'async_trait>(
&'life0 self,
input: RestoreFromSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<RestoreFromSnapshotResult, RusotoError<RestoreFromSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Restores a directory using an existing directory snapshot.
When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.
This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active
, the restore operation is complete.
Shares a specified directory (DirectoryId
) in your AWS account (directory owner) with another AWS account (directory consumer). With this operation you can use your directory from any AWS account and from any Amazon VPC within an AWS Region.
When you share your AWS Managed Microsoft AD directory, AWS Directory Service creates a shared directory in the directory consumer account. This shared directory contains the metadata to provide access to the directory within the directory owner account. The shared directory is visible in all VPCs in the directory consumer account.
The ShareMethod
parameter determines whether the specified directory can be shared between AWS accounts inside the same AWS organization (ORGANIZATIONS
). It also determines whether you can share the directory with any other AWS account either inside or outside of the organization (HANDSHAKE
).
The ShareNotes
parameter is only used when HANDSHAKE
is called, which sends a directory sharing request to the directory consumer.
sourcefn start_schema_extension<'life0, 'async_trait>(
&'life0 self,
input: StartSchemaExtensionRequest
) -> Pin<Box<dyn Future<Output = Result<StartSchemaExtensionResult, RusotoError<StartSchemaExtensionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_schema_extension<'life0, 'async_trait>(
&'life0 self,
input: StartSchemaExtensionRequest
) -> Pin<Box<dyn Future<Output = Result<StartSchemaExtensionResult, RusotoError<StartSchemaExtensionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Applies a schema extension to a Microsoft AD directory.
Stops the directory sharing between the directory owner and consumer accounts.
sourcefn update_conditional_forwarder<'life0, 'async_trait>(
&'life0 self,
input: UpdateConditionalForwarderRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateConditionalForwarderResult, RusotoError<UpdateConditionalForwarderError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_conditional_forwarder<'life0, 'async_trait>(
&'life0 self,
input: UpdateConditionalForwarderRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateConditionalForwarderResult, RusotoError<UpdateConditionalForwarderError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a conditional forwarder that has been set up for your AWS directory.
sourcefn update_number_of_domain_controllers<'life0, 'async_trait>(
&'life0 self,
input: UpdateNumberOfDomainControllersRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateNumberOfDomainControllersResult, RusotoError<UpdateNumberOfDomainControllersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_number_of_domain_controllers<'life0, 'async_trait>(
&'life0 self,
input: UpdateNumberOfDomainControllersRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateNumberOfDomainControllersResult, RusotoError<UpdateNumberOfDomainControllersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.
sourcefn update_radius<'life0, 'async_trait>(
&'life0 self,
input: UpdateRadiusRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateRadiusResult, RusotoError<UpdateRadiusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_radius<'life0, 'async_trait>(
&'life0 self,
input: UpdateRadiusRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateRadiusResult, RusotoError<UpdateRadiusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector or Microsoft AD directory.
sourcefn update_trust<'life0, 'async_trait>(
&'life0 self,
input: UpdateTrustRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTrustResult, RusotoError<UpdateTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_trust<'life0, 'async_trait>(
&'life0 self,
input: UpdateTrustRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTrustResult, RusotoError<UpdateTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the trust that has been set up between your AWS Managed Microsoft AD directory and an on-premises Active Directory.
sourcefn verify_trust<'life0, 'async_trait>(
&'life0 self,
input: VerifyTrustRequest
) -> Pin<Box<dyn Future<Output = Result<VerifyTrustResult, RusotoError<VerifyTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn verify_trust<'life0, 'async_trait>(
&'life0 self,
input: VerifyTrustRequest
) -> Pin<Box<dyn Future<Output = Result<VerifyTrustResult, RusotoError<VerifyTrustError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your AWS Managed Microsoft AD directory and an external domain.
Auto Trait Implementations
impl !RefUnwindSafe for DirectoryServiceClient
impl Send for DirectoryServiceClient
impl Sync for DirectoryServiceClient
impl Unpin for DirectoryServiceClient
impl !UnwindSafe for DirectoryServiceClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more