1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutContainerRecipePolicy`](crate::operation::put_container_recipe_policy::builders::PutContainerRecipePolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`container_recipe_arn(impl Into<String>)`](crate::operation::put_container_recipe_policy::builders::PutContainerRecipePolicyFluentBuilder::container_recipe_arn) / [`set_container_recipe_arn(Option<String>)`](crate::operation::put_container_recipe_policy::builders::PutContainerRecipePolicyFluentBuilder::set_container_recipe_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.</p><br>
    ///   - [`policy(impl Into<String>)`](crate::operation::put_container_recipe_policy::builders::PutContainerRecipePolicyFluentBuilder::policy) / [`set_policy(Option<String>)`](crate::operation::put_container_recipe_policy::builders::PutContainerRecipePolicyFluentBuilder::set_policy):<br>required: **true**<br><p>The policy to apply to the container recipe.</p><br>
    /// - On success, responds with [`PutContainerRecipePolicyOutput`](crate::operation::put_container_recipe_policy::PutContainerRecipePolicyOutput) with field(s):
    ///   - [`request_id(Option<String>)`](crate::operation::put_container_recipe_policy::PutContainerRecipePolicyOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
    ///   - [`container_recipe_arn(Option<String>)`](crate::operation::put_container_recipe_policy::PutContainerRecipePolicyOutput::container_recipe_arn): <p>The Amazon Resource Name (ARN) of the container recipe that this policy was applied to.</p>
    /// - On failure, responds with [`SdkError<PutContainerRecipePolicyError>`](crate::operation::put_container_recipe_policy::PutContainerRecipePolicyError)
    pub fn put_container_recipe_policy(&self) -> crate::operation::put_container_recipe_policy::builders::PutContainerRecipePolicyFluentBuilder {
        crate::operation::put_container_recipe_policy::builders::PutContainerRecipePolicyFluentBuilder::new(self.handle.clone())
    }
}