The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Amplify::UpdateApp - Arguments for method UpdateApp on Paws::Amplify

DESCRIPTION

This class represents the parameters used for calling the method UpdateApp on the AWS Amplify service. Use the attributes of this class as arguments to method UpdateApp.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApp.

SYNOPSIS

    my $amplify = Paws->service('Amplify');
    my $UpdateAppResult = $amplify->UpdateApp(
      AppId                    => 'MyAppId',
      AutoBranchCreationConfig => {
        BasicAuthCredentials => 'MyBasicAuthCredentials',  # max: 2000; OPTIONAL
        BuildSpec            => 'MyBuildSpec',    # min: 1, max: 25000; OPTIONAL
        EnableAutoBuild      => 1,                # OPTIONAL
        EnableBasicAuth      => 1,                # OPTIONAL
        EnvironmentVariables => {
          'MyEnvKey' => 'MyEnvValue',    # key: max: 255, value: max: 1000
        },    # OPTIONAL
        Framework => 'MyFramework',    # max: 255; OPTIONAL
        Stage     => 'PRODUCTION'
        ,    # values: PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL; OPTIONAL
      },    # OPTIONAL
      AutoBranchCreationPatterns => [
        'MyAutoBranchCreationPattern', ...    # min: 1, max: 2048
      ],                                      # OPTIONAL
      BasicAuthCredentials => 'MyBasicAuthCredentials',    # OPTIONAL
      BuildSpec            => 'MyBuildSpec',               # OPTIONAL
      CustomRules          => [
        {
          Source    => 'MySource',       # min: 1, max: 2048
          Target    => 'MyTarget',       # min: 1, max: 2048
          Condition => 'MyCondition',    # min: 1, max: 2048; OPTIONAL
          Status    => 'MyStatus',       # min: 3, max: 3; OPTIONAL
        },
        ...
      ],                                 # OPTIONAL
      Description              => 'MyDescription',    # OPTIONAL
      EnableAutoBranchCreation => 1,                  # OPTIONAL
      EnableBasicAuth          => 1,                  # OPTIONAL
      EnableBranchAutoBuild    => 1,                  # OPTIONAL
      EnvironmentVariables     => {
        'MyEnvKey' => 'MyEnvValue',    # key: max: 255, value: max: 1000
      },    # OPTIONAL
      IamServiceRoleArn => 'MyServiceRoleArn',    # OPTIONAL
      Name              => 'MyName',              # OPTIONAL
      Platform          => 'WEB',                 # OPTIONAL
    );

    # Results:
    my $App = $UpdateAppResult->App;

    # Returns a L<Paws::Amplify::UpdateAppResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/amplify/UpdateApp

ATTRIBUTES

REQUIRED AppId => Str

Unique Id for an Amplify App.

AutoBranchCreationConfig => Paws::Amplify::AutoBranchCreationConfig

Automated branch creation config for the Amplify App.

AutoBranchCreationPatterns => ArrayRef[Str|Undef]

Automated branch creation glob patterns for the Amplify App.

BasicAuthCredentials => Str

Basic Authorization credentials for an Amplify App.

BuildSpec => Str

BuildSpec for an Amplify App.

CustomRules => ArrayRef[Paws::Amplify::CustomRule]

Custom redirect / rewrite rules for an Amplify App.

Description => Str

Description for an Amplify App.

EnableAutoBranchCreation => Bool

Enables automated branch creation for the Amplify App.

EnableBasicAuth => Bool

Enables Basic Authorization for an Amplify App.

EnableBranchAutoBuild => Bool

Enables branch auto-building for an Amplify App.

EnvironmentVariables => Paws::Amplify::EnvironmentVariables

Environment Variables for an Amplify App.

IamServiceRoleArn => Str

IAM service role for an Amplify App.

Name => Str

Name for an Amplify App.

Platform => Str

Platform for an Amplify App.

Valid values are: "WEB"

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateApp in Paws::Amplify

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues