| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudSearch.UpdateScalingParameters
Description
Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide .
- updateScalingParameters :: Text -> ScalingParameters -> UpdateScalingParameters
- data UpdateScalingParameters
- uspDomainName :: Lens' UpdateScalingParameters Text
- uspScalingParameters :: Lens' UpdateScalingParameters ScalingParameters
- updateScalingParametersResponse :: Int -> ScalingParametersStatus -> UpdateScalingParametersResponse
- data UpdateScalingParametersResponse
- usprsResponseStatus :: Lens' UpdateScalingParametersResponse Int
- usprsScalingParameters :: Lens' UpdateScalingParametersResponse ScalingParametersStatus
Creating a Request
Creates a value of UpdateScalingParameters with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uspDomainName- Undocumented member.uspScalingParameters- Undocumented member.
data UpdateScalingParameters #
Container for the parameters to the operation. Specifies the name of the domain you want to update and the scaling parameters you want to configure.UpdateScalingParameters
See: updateScalingParameters smart constructor.
Instances
Request Lenses
uspDomainName :: Lens' UpdateScalingParameters Text #
Undocumented member.
uspScalingParameters :: Lens' UpdateScalingParameters ScalingParameters #
Undocumented member.
Destructuring the Response
updateScalingParametersResponse #
Arguments
| :: Int | |
| -> ScalingParametersStatus | |
| -> UpdateScalingParametersResponse |
Creates a value of UpdateScalingParametersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usprsResponseStatus- -- | The response status code.usprsScalingParameters- Undocumented member.
data UpdateScalingParametersResponse #
The result of a UpdateScalingParameters request. Contains the status of the newly-configured scaling parameters.
See: updateScalingParametersResponse smart constructor.
Response Lenses
usprsResponseStatus :: Lens' UpdateScalingParametersResponse Int #
- - | The response status code.
usprsScalingParameters :: Lens' UpdateScalingParametersResponse ScalingParametersStatus #
Undocumented member.