/** * <p> * Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first * be registered with the stack by calling <a>RegisterElasticIp</a>. For more information, see <a * href="http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>. * </p> * <p> * <b>Required Permissions</b>: To use this action, an IAM user must have a 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 associateElasticIpRequest * @return Result of the AssociateElasticIp 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.AssociateElasticIp * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp" target="_top">AWS * API Documentation</a> */ @Override public AssociateElasticIpResult associateElasticIp(AssociateElasticIpRequest request) { request = beforeClientExecution(request); return executeAssociateElasticIp(request); }
/** * <p> * Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first * be registered with the stack by calling <a>RegisterElasticIp</a>. For more information, see <a * href="http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>. * </p> * <p> * <b>Required Permissions</b>: To use this action, an IAM user must have a 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 associateElasticIpRequest * @return Result of the AssociateElasticIp 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.AssociateElasticIp * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp" target="_top">AWS * API Documentation</a> */ @Override public AssociateElasticIpResult associateElasticIp(AssociateElasticIpRequest request) { request = beforeClientExecution(request); return executeAssociateElasticIp(request); }