| Copyright | (c) 2013-2015 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.
See: AWS API Reference for UpdateScalingParameters.
- 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
updateScalingParameters Source
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:
data UpdateScalingParameters Source
Container for the parameters to the UpdateScalingParameters operation.
Specifies the name of the domain you want to update and the scaling
parameters you want to configure.
See: updateScalingParameters smart constructor.
Instances
Request Lenses
uspDomainName :: Lens' UpdateScalingParameters Text Source
Undocumented member.
uspScalingParameters :: Lens' UpdateScalingParameters ScalingParameters Source
Undocumented member.
Destructuring the Response
updateScalingParametersResponse Source
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:
data UpdateScalingParametersResponse Source
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 Source
The response status code.
usprsScalingParameters :: Lens' UpdateScalingParametersResponse ScalingParametersStatus Source
Undocumented member.