Skip to main content

aws_sdk_devopsagent/client/
allow_vended_log_delivery_for_resource.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`AllowVendedLogDeliveryForResource`](crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_arn_being_authorized(impl Into<String>)`](crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder::resource_arn_being_authorized) / [`set_resource_arn_being_authorized(Option<String>)`](crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder::set_resource_arn_being_authorized):<br>required: **true**<br>The ARN of the resource being authorized for vended log delivery.<br>
7    ///   - [`delivery_source_arn(impl Into<String>)`](crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder::delivery_source_arn) / [`set_delivery_source_arn(Option<String>)`](crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder::set_delivery_source_arn):<br>required: **true**<br>The ARN of the delivery source for vended log delivery.<br>
8    ///   - [`log_type(impl Into<String>)`](crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder::log_type) / [`set_log_type(Option<String>)`](crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder::set_log_type):<br>required: **false**<br>The type of log to be delivered.<br>
9    /// - On success, responds with [`AllowVendedLogDeliveryForResourceOutput`](crate::operation::allow_vended_log_delivery_for_resource::AllowVendedLogDeliveryForResourceOutput) with field(s):
10    ///   - [`message(Option<String>)`](crate::operation::allow_vended_log_delivery_for_resource::AllowVendedLogDeliveryForResourceOutput::message): A message describing the result of the authorization operation.
11    /// - On failure, responds with [`SdkError<AllowVendedLogDeliveryForResourceError>`](crate::operation::allow_vended_log_delivery_for_resource::AllowVendedLogDeliveryForResourceError)
12    pub fn allow_vended_log_delivery_for_resource(
13        &self,
14    ) -> crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder {
15        crate::operation::allow_vended_log_delivery_for_resource::builders::AllowVendedLogDeliveryForResourceFluentBuilder::new(self.handle.clone())
16    }
17}