Struct DirectoryServiceClient

Source
pub struct DirectoryServiceClient { /* private fields */ }
Expand description

A client for the Directory Service API.

Implementations§

Source§

impl DirectoryServiceClient

Source

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.

Source

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,

Source

pub fn new_with_client(client: Client, region: Region) -> DirectoryServiceClient

Trait Implementations§

Source§

impl Clone for DirectoryServiceClient

Source§

fn clone(&self) -> DirectoryServiceClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl DirectoryService for DirectoryServiceClient

Source§

fn accept_shared_directory<'life0, 'async_trait>( &'life0 self, input: AcceptSharedDirectoryRequest, ) -> Pin<Box<dyn Future<Output = Result<AcceptSharedDirectoryResult, RusotoError<AcceptSharedDirectoryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Accepts a directory sharing request that was sent from the directory owner account.

Source§

fn add_ip_routes<'life0, 'async_trait>( &'life0 self, input: AddIpRoutesRequest, ) -> Pin<Box<dyn Future<Output = Result<AddIpRoutesResult, RusotoError<AddIpRoutesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn add_region<'life0, 'async_trait>( &'life0 self, input: AddRegionRequest, ) -> Pin<Box<dyn Future<Output = Result<AddRegionResult, RusotoError<AddRegionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Adds two domain controllers in the specified Region for the specified directory.

Source§

fn add_tags_to_resource<'life0, 'async_trait>( &'life0 self, input: AddTagsToResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<AddTagsToResourceResult, RusotoError<AddTagsToResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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.

Source§

fn cancel_schema_extension<'life0, 'async_trait>( &'life0 self, input: CancelSchemaExtensionRequest, ) -> Pin<Box<dyn Future<Output = Result<CancelSchemaExtensionResult, RusotoError<CancelSchemaExtensionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn connect_directory<'life0, 'async_trait>( &'life0 self, input: ConnectDirectoryRequest, ) -> Pin<Box<dyn Future<Output = Result<ConnectDirectoryResult, RusotoError<ConnectDirectoryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn create_alias<'life0, 'async_trait>( &'life0 self, input: CreateAliasRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateAliasResult, RusotoError<CreateAliasError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn create_computer<'life0, 'async_trait>( &'life0 self, input: CreateComputerRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateComputerResult, RusotoError<CreateComputerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates an Active Directory computer object in the specified directory.

Source§

fn create_conditional_forwarder<'life0, 'async_trait>( &'life0 self, input: CreateConditionalForwarderRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateConditionalForwarderResult, RusotoError<CreateConditionalForwarderError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn create_directory<'life0, 'async_trait>( &'life0 self, input: CreateDirectoryRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateDirectoryResult, RusotoError<CreateDirectoryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn create_log_subscription<'life0, 'async_trait>( &'life0 self, input: CreateLogSubscriptionRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateLogSubscriptionResult, RusotoError<CreateLogSubscriptionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn create_microsoft_ad<'life0, 'async_trait>( &'life0 self, input: CreateMicrosoftADRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateMicrosoftADResult, RusotoError<CreateMicrosoftADError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn create_snapshot<'life0, 'async_trait>( &'life0 self, input: CreateSnapshotRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateSnapshotResult, RusotoError<CreateSnapshotError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn create_trust<'life0, 'async_trait>( &'life0 self, input: CreateTrustRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateTrustResult, RusotoError<CreateTrustError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn delete_conditional_forwarder<'life0, 'async_trait>( &'life0 self, input: DeleteConditionalForwarderRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteConditionalForwarderResult, RusotoError<DeleteConditionalForwarderError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes a conditional forwarder that has been set up for your AWS directory.

Source§

fn delete_directory<'life0, 'async_trait>( &'life0 self, input: DeleteDirectoryRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteDirectoryResult, RusotoError<DeleteDirectoryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn delete_log_subscription<'life0, 'async_trait>( &'life0 self, input: DeleteLogSubscriptionRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteLogSubscriptionResult, RusotoError<DeleteLogSubscriptionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes the specified log subscription.

Source§

fn delete_snapshot<'life0, 'async_trait>( &'life0 self, input: DeleteSnapshotRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteSnapshotResult, RusotoError<DeleteSnapshotError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes a directory snapshot.

Source§

fn delete_trust<'life0, 'async_trait>( &'life0 self, input: DeleteTrustRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteTrustResult, RusotoError<DeleteTrustError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an existing trust relationship between your AWS Managed Microsoft AD directory and an external domain.

Source§

fn deregister_certificate<'life0, 'async_trait>( &'life0 self, input: DeregisterCertificateRequest, ) -> Pin<Box<dyn Future<Output = Result<DeregisterCertificateResult, RusotoError<DeregisterCertificateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.

Source§

fn deregister_event_topic<'life0, 'async_trait>( &'life0 self, input: DeregisterEventTopicRequest, ) -> Pin<Box<dyn Future<Output = Result<DeregisterEventTopicResult, RusotoError<DeregisterEventTopicError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Removes the specified directory as a publisher to the specified SNS topic.

Source§

fn describe_certificate<'life0, 'async_trait>( &'life0 self, input: DescribeCertificateRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeCertificateResult, RusotoError<DescribeCertificateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Displays information about the certificate registered for secure LDAP or client certificate authentication.

Source§

fn describe_conditional_forwarders<'life0, 'async_trait>( &'life0 self, input: DescribeConditionalForwardersRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeConditionalForwardersResult, RusotoError<DescribeConditionalForwardersError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn describe_directories<'life0, 'async_trait>( &'life0 self, input: DescribeDirectoriesRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeDirectoriesResult, RusotoError<DescribeDirectoriesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn describe_domain_controllers<'life0, 'async_trait>( &'life0 self, input: DescribeDomainControllersRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeDomainControllersResult, RusotoError<DescribeDomainControllersError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provides information about any domain controllers in your directory.

Source§

fn describe_event_topics<'life0, 'async_trait>( &'life0 self, input: DescribeEventTopicsRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeEventTopicsResult, RusotoError<DescribeEventTopicsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn describe_ldaps_settings<'life0, 'async_trait>( &'life0 self, input: DescribeLDAPSSettingsRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeLDAPSSettingsResult, RusotoError<DescribeLDAPSSettingsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Describes the status of LDAP security for the specified directory.

Source§

fn describe_regions<'life0, 'async_trait>( &'life0 self, input: DescribeRegionsRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeRegionsResult, RusotoError<DescribeRegionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provides information about the Regions that are configured for multi-Region replication.

Source§

fn describe_shared_directories<'life0, 'async_trait>( &'life0 self, input: DescribeSharedDirectoriesRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeSharedDirectoriesResult, RusotoError<DescribeSharedDirectoriesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the shared directories in your account.

Source§

fn describe_snapshots<'life0, 'async_trait>( &'life0 self, input: DescribeSnapshotsRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeSnapshotsResult, RusotoError<DescribeSnapshotsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn describe_trusts<'life0, 'async_trait>( &'life0 self, input: DescribeTrustsRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeTrustsResult, RusotoError<DescribeTrustsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn disable_client_authentication<'life0, 'async_trait>( &'life0 self, input: DisableClientAuthenticationRequest, ) -> Pin<Box<dyn Future<Output = Result<DisableClientAuthenticationResult, RusotoError<DisableClientAuthenticationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Disables alternative client authentication methods for the specified directory.

Source§

fn disable_ldaps<'life0, 'async_trait>( &'life0 self, input: DisableLDAPSRequest, ) -> Pin<Box<dyn Future<Output = Result<DisableLDAPSResult, RusotoError<DisableLDAPSError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deactivates LDAP secure calls for the specified directory.

Source§

fn disable_radius<'life0, 'async_trait>( &'life0 self, input: DisableRadiusRequest, ) -> Pin<Box<dyn Future<Output = Result<DisableRadiusResult, RusotoError<DisableRadiusError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn disable_sso<'life0, 'async_trait>( &'life0 self, input: DisableSsoRequest, ) -> Pin<Box<dyn Future<Output = Result<DisableSsoResult, RusotoError<DisableSsoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Disables single-sign on for a directory.

Source§

fn enable_client_authentication<'life0, 'async_trait>( &'life0 self, input: EnableClientAuthenticationRequest, ) -> Pin<Box<dyn Future<Output = Result<EnableClientAuthenticationResult, RusotoError<EnableClientAuthenticationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Enables alternative client authentication methods for the specified directory.

Source§

fn enable_ldaps<'life0, 'async_trait>( &'life0 self, input: EnableLDAPSRequest, ) -> Pin<Box<dyn Future<Output = Result<EnableLDAPSResult, RusotoError<EnableLDAPSError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Activates the switch for the specific directory to always use LDAP secure calls.

Source§

fn enable_radius<'life0, 'async_trait>( &'life0 self, input: EnableRadiusRequest, ) -> Pin<Box<dyn Future<Output = Result<EnableRadiusResult, RusotoError<EnableRadiusError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn enable_sso<'life0, 'async_trait>( &'life0 self, input: EnableSsoRequest, ) -> Pin<Box<dyn Future<Output = Result<EnableSsoResult, RusotoError<EnableSsoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn get_directory_limits<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<GetDirectoryLimitsResult, RusotoError<GetDirectoryLimitsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Obtains directory limit information for the current Region.

Source§

fn get_snapshot_limits<'life0, 'async_trait>( &'life0 self, input: GetSnapshotLimitsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetSnapshotLimitsResult, RusotoError<GetSnapshotLimitsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Obtains the manual snapshot limits for a directory.

Source§

fn list_certificates<'life0, 'async_trait>( &'life0 self, input: ListCertificatesRequest, ) -> Pin<Box<dyn Future<Output = Result<ListCertificatesResult, RusotoError<ListCertificatesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.

Source§

fn list_ip_routes<'life0, 'async_trait>( &'life0 self, input: ListIpRoutesRequest, ) -> Pin<Box<dyn Future<Output = Result<ListIpRoutesResult, RusotoError<ListIpRoutesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists the address blocks that you have added to a directory.

Source§

fn list_log_subscriptions<'life0, 'async_trait>( &'life0 self, input: ListLogSubscriptionsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListLogSubscriptionsResult, RusotoError<ListLogSubscriptionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists the active log subscriptions for the AWS account.

Source§

fn list_schema_extensions<'life0, 'async_trait>( &'life0 self, input: ListSchemaExtensionsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListSchemaExtensionsResult, RusotoError<ListSchemaExtensionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists all schema extensions applied to a Microsoft AD Directory.

Source§

fn list_tags_for_resource<'life0, 'async_trait>( &'life0 self, input: ListTagsForResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResult, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists all tags on a directory.

Source§

fn register_certificate<'life0, 'async_trait>( &'life0 self, input: RegisterCertificateRequest, ) -> Pin<Box<dyn Future<Output = Result<RegisterCertificateResult, RusotoError<RegisterCertificateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Registers a certificate for a secure LDAP or client certificate authentication.

Source§

fn register_event_topic<'life0, 'async_trait>( &'life0 self, input: RegisterEventTopicRequest, ) -> Pin<Box<dyn Future<Output = Result<RegisterEventTopicResult, RusotoError<RegisterEventTopicError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn reject_shared_directory<'life0, 'async_trait>( &'life0 self, input: RejectSharedDirectoryRequest, ) -> Pin<Box<dyn Future<Output = Result<RejectSharedDirectoryResult, RusotoError<RejectSharedDirectoryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Rejects a directory sharing request that was sent from the directory owner account.

Source§

fn remove_ip_routes<'life0, 'async_trait>( &'life0 self, input: RemoveIpRoutesRequest, ) -> Pin<Box<dyn Future<Output = Result<RemoveIpRoutesResult, RusotoError<RemoveIpRoutesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Removes IP address blocks from a directory.

Source§

fn remove_region<'life0, 'async_trait>( &'life0 self, input: RemoveRegionRequest, ) -> Pin<Box<dyn Future<Output = Result<RemoveRegionResult, RusotoError<RemoveRegionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn remove_tags_from_resource<'life0, 'async_trait>( &'life0 self, input: RemoveTagsFromResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<RemoveTagsFromResourceResult, RusotoError<RemoveTagsFromResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Removes tags from a directory.

Source§

fn reset_user_password<'life0, 'async_trait>( &'life0 self, input: ResetUserPasswordRequest, ) -> Pin<Box<dyn Future<Output = Result<ResetUserPasswordResult, RusotoError<ResetUserPasswordError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn restore_from_snapshot<'life0, 'async_trait>( &'life0 self, input: RestoreFromSnapshotRequest, ) -> Pin<Box<dyn Future<Output = Result<RestoreFromSnapshotResult, RusotoError<RestoreFromSnapshotError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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.

Source§

fn share_directory<'life0, 'async_trait>( &'life0 self, input: ShareDirectoryRequest, ) -> Pin<Box<dyn Future<Output = Result<ShareDirectoryResult, RusotoError<ShareDirectoryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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.

Source§

fn start_schema_extension<'life0, 'async_trait>( &'life0 self, input: StartSchemaExtensionRequest, ) -> Pin<Box<dyn Future<Output = Result<StartSchemaExtensionResult, RusotoError<StartSchemaExtensionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Applies a schema extension to a Microsoft AD directory.

Source§

fn unshare_directory<'life0, 'async_trait>( &'life0 self, input: UnshareDirectoryRequest, ) -> Pin<Box<dyn Future<Output = Result<UnshareDirectoryResult, RusotoError<UnshareDirectoryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops the directory sharing between the directory owner and consumer accounts.

Source§

fn update_conditional_forwarder<'life0, 'async_trait>( &'life0 self, input: UpdateConditionalForwarderRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateConditionalForwarderResult, RusotoError<UpdateConditionalForwarderError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates a conditional forwarder that has been set up for your AWS directory.

Source§

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 Self: 'async_trait, 'life0: '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.

Source§

fn update_radius<'life0, 'async_trait>( &'life0 self, input: UpdateRadiusRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateRadiusResult, RusotoError<UpdateRadiusError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector or Microsoft AD directory.

Source§

fn update_trust<'life0, 'async_trait>( &'life0 self, input: UpdateTrustRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateTrustResult, RusotoError<UpdateTrustError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates the trust that has been set up between your AWS Managed Microsoft AD directory and an on-premises Active Directory.

Source§

fn verify_trust<'life0, 'async_trait>( &'life0 self, input: VerifyTrustRequest, ) -> Pin<Box<dyn Future<Output = Result<VerifyTrustResult, RusotoError<VerifyTrustError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: '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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more