PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` # Generated by default/object.tt package Paws::OpsWorks::DeploymentCommand; use Moose; has Args => (is => 'ro', isa => 'Paws::OpsWorks::DeploymentCommandArgs'); has Name => (is => 'ro', isa => 'Str', required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::OpsWorks::DeploymentCommand =head1 USAGE This class represents one of two things: =head3 Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::OpsWorks::DeploymentCommand object: $service_obj->Method(Att1 => { Args => $value, ..., Name => $value }); =head3 Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::DeploymentCommand object: $result = $service_obj->Method(...); $result->Att1->Args =head1 DESCRIPTION Used to specify a stack or deployment command. =head1 ATTRIBUTES =head2 Args => L The arguments of those commands that take arguments. It should be set to a JSON object with the following format: C<{"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2", ...], ...}> The C command takes two arguments: =over =item * C - Specifies the desired Amazon Linux version for instances whose OS you want to upgrade, such as C. You must also set the C argument to true. =item * C - Specifies whether to allow AWS OpsWorks Stacks to reboot the instances if necessary, after installing the updates. This argument can be set to either C or C. The default value is C. =back For example, to upgrade an instance to Amazon Linux 2016.09, set C to the following. C<{ "upgrade_os_to":["Amazon Linux 2016.09"], "allow_reboot":["true"] }> =head2 B Name => Str Specifies the operation. You can specify only one command. For stacks, the following commands are available: =over =item * C: Execute one or more recipes. To specify the recipes, set an C parameter named C to the list of recipes to be executed. For example, to execute C, set C to C<{"recipes":["phpapp::appsetup"]}>. =item * C: Install the stack's dependencies. =item * C: Update the stack's custom cookbooks. =item * C: Update the stack's dependencies. =back The update_dependencies and install_dependencies commands are supported only for Linux instances. You can run the commands successfully on Windows instances, but they do nothing. For apps, the following commands are available: =over =item * C: Deploy an app. Ruby on Rails apps have an optional C parameter named C. Set C to {"migrate":["true"]} to migrate the database. The default setting is {"migrate":["false"]}. =item * C Roll the app back to the previous version. When you update an app, AWS OpsWorks Stacks stores the previous version, up to a maximum of five versions. You can use this command to roll an app back as many as four versions. =item * C: Start the app's web or application server. =item * C: Stop the app's web or application server. =item * C: Restart the app's web or application server. =item * C: Undeploy the app. =back =head1 SEE ALSO This class forms part of L, describing an object used in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut