/** * <p> * Runs deployment or stack commands. For more information, see <a * href="http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html">Deploying Apps</a> and <a * href="http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-commands.html">Run Stack Commands</a>. * </p> * <p> * <b>Required Permissions</b>: To use this action, an IAM user must have a Deploy or Manage permissions level for * the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, * see <a href="http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User * Permissions</a>. * </p> * * @param createDeploymentRequest * @return Result of the CreateDeployment operation returned by the service. * @throws ValidationException * Indicates that a request was not valid. * @throws ResourceNotFoundException * Indicates that a resource was not found. * @sample AWSOpsWorks.CreateDeployment * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment" target="_top">AWS API * Documentation</a> */ @Override public CreateDeploymentResult createDeployment(CreateDeploymentRequest request) { request = beforeClientExecution(request); return executeCreateDeployment(request); }
/** * <p> * Runs deployment or stack commands. For more information, see <a * href="http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html">Deploying Apps</a> and <a * href="http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-commands.html">Run Stack Commands</a>. * </p> * <p> * <b>Required Permissions</b>: To use this action, an IAM user must have a Deploy or Manage permissions level for * the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, * see <a href="http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User * Permissions</a>. * </p> * * @param createDeploymentRequest * @return Result of the CreateDeployment operation returned by the service. * @throws ValidationException * Indicates that a request was not valid. * @throws ResourceNotFoundException * Indicates that a resource was not found. * @sample AWSOpsWorks.CreateDeployment * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment" target="_top">AWS API * Documentation</a> */ @Override public CreateDeploymentResult createDeployment(CreateDeploymentRequest request) { request = beforeClientExecution(request); return executeCreateDeployment(request); }