aws-sdk-securityagent 1.4.0

AWS SDK for AWS Security Agent
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateTargetDomain`](crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`target_domain_name(impl Into<String>)`](crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder::target_domain_name) / [`set_target_domain_name(Option<String>)`](crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder::set_target_domain_name):<br>required: **true**<br><p>The domain name to register as a target domain.</p><br>
    ///   - [`verification_method(DomainVerificationMethod)`](crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder::verification_method) / [`set_verification_method(Option<DomainVerificationMethod>)`](crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder::set_verification_method):<br>required: **true**<br><p>The method to use for verifying domain ownership. Valid values are DNS_TXT, HTTP_ROUTE, and PRIVATE_VPC.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to associate with the target domain.</p><br>
    /// - On success, responds with [`CreateTargetDomainOutput`](crate::operation::create_target_domain::CreateTargetDomainOutput) with field(s):
    ///   - [`target_domain_id(String)`](crate::operation::create_target_domain::CreateTargetDomainOutput::target_domain_id): <p>The unique identifier of the created target domain.</p>
    ///   - [`domain_name(String)`](crate::operation::create_target_domain::CreateTargetDomainOutput::domain_name): <p>The domain name of the target domain.</p>
    ///   - [`verification_status(TargetDomainStatus)`](crate::operation::create_target_domain::CreateTargetDomainOutput::verification_status): <p>The current verification status of the target domain.</p>
    ///   - [`verification_status_reason(Option<String>)`](crate::operation::create_target_domain::CreateTargetDomainOutput::verification_status_reason): <p>The reason for the current target domain verification status.</p>
    ///   - [`verification_details(Option<VerificationDetails>)`](crate::operation::create_target_domain::CreateTargetDomainOutput::verification_details): <p>The verification details for the target domain, including the verification token and instructions.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_target_domain::CreateTargetDomainOutput::created_at): <p>The date and time the target domain was created, in UTC format.</p>
    ///   - [`verified_at(Option<DateTime>)`](crate::operation::create_target_domain::CreateTargetDomainOutput::verified_at): <p>The date and time the target domain was verified, in UTC format.</p>
    /// - On failure, responds with [`SdkError<CreateTargetDomainError>`](crate::operation::create_target_domain::CreateTargetDomainError)
    pub fn create_target_domain(&self) -> crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder {
        crate::operation::create_target_domain::builders::CreateTargetDomainFluentBuilder::new(self.handle.clone())
    }
}