Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
Synopsis
- 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:
uspDomainName
- Undocumented member.uspScalingParameters
- Undocumented member.
data UpdateScalingParameters Source #
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 Source #
Undocumented member.
uspScalingParameters :: Lens' UpdateScalingParameters ScalingParameters Source #
Undocumented member.
Destructuring the Response
updateScalingParametersResponse Source #
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 Source #
The result of a UpdateScalingParameters
request. Contains the status of the newly-configured scaling parameters.
See: updateScalingParametersResponse
smart constructor.
Instances
Response Lenses
usprsResponseStatus :: Lens' UpdateScalingParametersResponse Int Source #
- - | The response status code.
usprsScalingParameters :: Lens' UpdateScalingParametersResponse ScalingParametersStatus Source #
Undocumented member.