aws_sdk_vpclattice/client/
update_service.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateService`](crate::operation::update_service::builders::UpdateServiceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_identifier(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::service_identifier) / [`set_service_identifier(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_service_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the service.</p><br>
    ///   - [`certificate_arn(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::certificate_arn) / [`set_certificate_arn(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_certificate_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the certificate.</p><br>
    ///   - [`auth_type(AuthType)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::auth_type) / [`set_auth_type(Option<AuthType>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_auth_type):<br>required: **false**<br><p>The type of IAM policy.</p> <ul>  <li>   <p><code>NONE</code>: The resource does not use an IAM policy. This is the default.</p></li>  <li>   <p><code>AWS_IAM</code>: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.</p></li> </ul><br>
    /// - On success, responds with [`UpdateServiceOutput`](crate::operation::update_service::UpdateServiceOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::update_service::UpdateServiceOutput::id): <p>The ID of the service.</p>
    ///   - [`arn(Option<String>)`](crate::operation::update_service::UpdateServiceOutput::arn): <p>The Amazon Resource Name (ARN) of the service.</p>
    ///   - [`name(Option<String>)`](crate::operation::update_service::UpdateServiceOutput::name): <p>The name of the service.</p>
    ///   - [`custom_domain_name(Option<String>)`](crate::operation::update_service::UpdateServiceOutput::custom_domain_name): <p>The custom domain name of the service.</p>
    ///   - [`certificate_arn(Option<String>)`](crate::operation::update_service::UpdateServiceOutput::certificate_arn): <p>The Amazon Resource Name (ARN) of the certificate.</p>
    ///   - [`auth_type(Option<AuthType>)`](crate::operation::update_service::UpdateServiceOutput::auth_type): <p>The type of IAM policy.</p>
    /// - On failure, responds with [`SdkError<UpdateServiceError>`](crate::operation::update_service::UpdateServiceError)
    pub fn update_service(&self) -> crate::operation::update_service::builders::UpdateServiceFluentBuilder {
        crate::operation::update_service::builders::UpdateServiceFluentBuilder::new(self.handle.clone())
    }
}