aws-sdk-serverlessapplicationrepository 1.93.0

AWS SDK for AWSServerlessApplicationRepository
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateCloudFormationChangeSet`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_application_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the application.</p><br>
    ///   - [`capabilities(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::capabilities) / [`set_capabilities(Option<Vec::<String>>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_capabilities):<br>required: **false**<br><p>A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.</p> <p>The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.</p> <p>The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html">AWS::IAM::Group</a>, <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>, <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html">AWS::IAM::Policy</a>, and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html">AWS::IAM::Role</a>. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.</p> <p>The following resources require you to specify CAPABILITY_RESOURCE_POLICY: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html">AWS::Lambda::Permission</a>, <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html">AWS::IAM:Policy</a>, <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html">AWS::ApplicationAutoScaling::ScalingPolicy</a>, <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html">AWS::S3::BucketPolicy</a>, <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html">AWS::SQS::QueuePolicy</a>, and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html">AWS::SNS:TopicPolicy</a>.</p> <p>Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.</p> <p>If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.</p><br>
    ///   - [`change_set_name(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::change_set_name) / [`set_change_set_name(Option<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_change_set_name):<br>required: **false**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_client_token):<br>required: **false**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_description):<br>required: **false**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`notification_arns(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::notification_arns) / [`set_notification_arns(Option<Vec::<String>>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_notification_arns):<br>required: **false**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`parameter_overrides(ParameterValue)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::parameter_overrides) / [`set_parameter_overrides(Option<Vec::<ParameterValue>>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_parameter_overrides):<br>required: **false**<br><p>A list of parameter values for the parameters of the application.</p><br>
    ///   - [`resource_types(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::resource_types) / [`set_resource_types(Option<Vec::<String>>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_resource_types):<br>required: **false**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`rollback_configuration(RollbackConfiguration)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::rollback_configuration) / [`set_rollback_configuration(Option<RollbackConfiguration>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_rollback_configuration):<br>required: **false**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`semantic_version(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::semantic_version) / [`set_semantic_version(Option<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_semantic_version):<br>required: **false**<br><p>The semantic version of the application:</p> <p><a href="https://semver.org/">https://semver.org/</a></p><br>
    ///   - [`stack_name(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_stack_name):<br>required: **true**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_tags):<br>required: **false**<br><p>This property corresponds to the parameter of the same name for the <i>AWS CloudFormation <a href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet">CreateChangeSet</a> </i> API.</p><br>
    ///   - [`template_id(impl Into<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::set_template_id):<br>required: **false**<br><p>The UUID returned by CreateCloudFormationTemplate.</p> <p>Pattern: \[0-9a-fA-F\]{8}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{12}</p><br>
    /// - On success, responds with [`CreateCloudFormationChangeSetOutput`](crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSetOutput) with field(s):
    ///   - [`application_id(Option<String>)`](crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSetOutput::application_id): <p>The application Amazon Resource Name (ARN).</p>
    ///   - [`change_set_id(Option<String>)`](crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSetOutput::change_set_id): <p>The Amazon Resource Name (ARN) of the change set.</p> <p>Length constraints: Minimum length of 1.</p> <p>Pattern: ARN:\[-a-zA-Z0-9:/\]*</p>
    ///   - [`semantic_version(Option<String>)`](crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSetOutput::semantic_version): <p>The semantic version of the application:</p> <p><a href="https://semver.org/">https://semver.org/</a></p>
    ///   - [`stack_id(Option<String>)`](crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSetOutput::stack_id): <p>The unique ID of the stack.</p>
    /// - On failure, responds with [`SdkError<CreateCloudFormationChangeSetError>`](crate::operation::create_cloud_formation_change_set::CreateCloudFormationChangeSetError)
    pub fn create_cloud_formation_change_set(
        &self,
    ) -> crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder {
        crate::operation::create_cloud_formation_change_set::builders::CreateCloudFormationChangeSetFluentBuilder::new(self.handle.clone())
    }
}