Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ElasticChannelConfiguration = ElasticChannelConfiguration' {}
- newElasticChannelConfiguration :: Natural -> Natural -> Natural -> ElasticChannelConfiguration
- elasticChannelConfiguration_maximumSubChannels :: Lens' ElasticChannelConfiguration Natural
- elasticChannelConfiguration_targetMembershipsPerSubChannel :: Lens' ElasticChannelConfiguration Natural
- elasticChannelConfiguration_minimumMembershipPercentage :: Lens' ElasticChannelConfiguration Natural
Documentation
data ElasticChannelConfiguration Source #
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
See: newElasticChannelConfiguration
smart constructor.
ElasticChannelConfiguration' | |
|
Instances
newElasticChannelConfiguration Source #
:: Natural | |
-> Natural |
|
-> Natural |
|
-> ElasticChannelConfiguration |
Create a value of ElasticChannelConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maximumSubChannels:ElasticChannelConfiguration'
, elasticChannelConfiguration_maximumSubChannels
- The maximum number of SubChannels that you want to allow in the elastic
channel.
$sel:targetMembershipsPerSubChannel:ElasticChannelConfiguration'
, elasticChannelConfiguration_targetMembershipsPerSubChannel
- The maximum number of members allowed in a SubChannel.
$sel:minimumMembershipPercentage:ElasticChannelConfiguration'
, elasticChannelConfiguration_minimumMembershipPercentage
- The minimum allowed percentage of TargetMembershipsPerSubChannel users.
Ceil of the calculated value is used in balancing members among
SubChannels of the elastic channel.
elasticChannelConfiguration_maximumSubChannels :: Lens' ElasticChannelConfiguration Natural Source #
The maximum number of SubChannels that you want to allow in the elastic channel.
elasticChannelConfiguration_targetMembershipsPerSubChannel :: Lens' ElasticChannelConfiguration Natural Source #
The maximum number of members allowed in a SubChannel.
elasticChannelConfiguration_minimumMembershipPercentage :: Lens' ElasticChannelConfiguration Natural Source #
The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.