Copyright | (c) 2013-2021 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 |
Creates a network profile.
Synopsis
- data CreateNetworkProfile = CreateNetworkProfile' {
- uplinkJitterMs :: Maybe Integer
- uplinkLossPercent :: Maybe Natural
- downlinkJitterMs :: Maybe Integer
- downlinkLossPercent :: Maybe Natural
- type' :: Maybe NetworkProfileType
- uplinkDelayMs :: Maybe Integer
- uplinkBandwidthBits :: Maybe Integer
- description :: Maybe Text
- downlinkDelayMs :: Maybe Integer
- downlinkBandwidthBits :: Maybe Integer
- projectArn :: Text
- name :: Text
- newCreateNetworkProfile :: Text -> Text -> CreateNetworkProfile
- createNetworkProfile_uplinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer)
- createNetworkProfile_uplinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural)
- createNetworkProfile_downlinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer)
- createNetworkProfile_downlinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural)
- createNetworkProfile_type :: Lens' CreateNetworkProfile (Maybe NetworkProfileType)
- createNetworkProfile_uplinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer)
- createNetworkProfile_uplinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer)
- createNetworkProfile_description :: Lens' CreateNetworkProfile (Maybe Text)
- createNetworkProfile_downlinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer)
- createNetworkProfile_downlinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer)
- createNetworkProfile_projectArn :: Lens' CreateNetworkProfile Text
- createNetworkProfile_name :: Lens' CreateNetworkProfile Text
- data CreateNetworkProfileResponse = CreateNetworkProfileResponse' {}
- newCreateNetworkProfileResponse :: Int -> CreateNetworkProfileResponse
- createNetworkProfileResponse_networkProfile :: Lens' CreateNetworkProfileResponse (Maybe NetworkProfile)
- createNetworkProfileResponse_httpStatus :: Lens' CreateNetworkProfileResponse Int
Creating a Request
data CreateNetworkProfile Source #
See: newCreateNetworkProfile
smart constructor.
CreateNetworkProfile' | |
|
Instances
newCreateNetworkProfile Source #
:: Text | |
-> Text | |
-> CreateNetworkProfile |
Create a value of CreateNetworkProfile
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:uplinkJitterMs:CreateNetworkProfile'
, createNetworkProfile_uplinkJitterMs
- Time variation in the delay of received packets in milliseconds as an
integer from 0 to 2000.
$sel:uplinkLossPercent:CreateNetworkProfile'
, createNetworkProfile_uplinkLossPercent
- Proportion of transmitted packets that fail to arrive from 0 to 100
percent.
$sel:downlinkJitterMs:CreateNetworkProfile'
, createNetworkProfile_downlinkJitterMs
- Time variation in the delay of received packets in milliseconds as an
integer from 0 to 2000.
$sel:downlinkLossPercent:CreateNetworkProfile'
, createNetworkProfile_downlinkLossPercent
- Proportion of received packets that fail to arrive from 0 to 100
percent.
$sel:type':CreateNetworkProfile'
, createNetworkProfile_type
- The type of network profile to create. Valid values are listed here.
$sel:uplinkDelayMs:CreateNetworkProfile'
, createNetworkProfile_uplinkDelayMs
- Delay time for all packets to destination in milliseconds as an integer
from 0 to 2000.
$sel:uplinkBandwidthBits:CreateNetworkProfile'
, createNetworkProfile_uplinkBandwidthBits
- The data throughput rate in bits per second, as an integer from 0 to
104857600.
$sel:description:CreateNetworkProfile'
, createNetworkProfile_description
- The description of the network profile.
$sel:downlinkDelayMs:CreateNetworkProfile'
, createNetworkProfile_downlinkDelayMs
- Delay time for all packets to destination in milliseconds as an integer
from 0 to 2000.
$sel:downlinkBandwidthBits:CreateNetworkProfile'
, createNetworkProfile_downlinkBandwidthBits
- The data throughput rate in bits per second, as an integer from 0 to
104857600.
$sel:projectArn:CreateNetworkProfile'
, createNetworkProfile_projectArn
- The Amazon Resource Name (ARN) of the project for which you want to
create a network profile.
$sel:name:CreateNetworkProfile'
, createNetworkProfile_name
- The name for the new network profile.
Request Lenses
createNetworkProfile_uplinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
createNetworkProfile_uplinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural) Source #
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
createNetworkProfile_downlinkJitterMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
createNetworkProfile_downlinkLossPercent :: Lens' CreateNetworkProfile (Maybe Natural) Source #
Proportion of received packets that fail to arrive from 0 to 100 percent.
createNetworkProfile_type :: Lens' CreateNetworkProfile (Maybe NetworkProfileType) Source #
The type of network profile to create. Valid values are listed here.
createNetworkProfile_uplinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
createNetworkProfile_uplinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer) Source #
The data throughput rate in bits per second, as an integer from 0 to 104857600.
createNetworkProfile_description :: Lens' CreateNetworkProfile (Maybe Text) Source #
The description of the network profile.
createNetworkProfile_downlinkDelayMs :: Lens' CreateNetworkProfile (Maybe Integer) Source #
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
createNetworkProfile_downlinkBandwidthBits :: Lens' CreateNetworkProfile (Maybe Integer) Source #
The data throughput rate in bits per second, as an integer from 0 to 104857600.
createNetworkProfile_projectArn :: Lens' CreateNetworkProfile Text Source #
The Amazon Resource Name (ARN) of the project for which you want to create a network profile.
createNetworkProfile_name :: Lens' CreateNetworkProfile Text Source #
The name for the new network profile.
Destructuring the Response
data CreateNetworkProfileResponse Source #
See: newCreateNetworkProfileResponse
smart constructor.
CreateNetworkProfileResponse' | |
|
Instances
newCreateNetworkProfileResponse Source #
Create a value of CreateNetworkProfileResponse
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:networkProfile:CreateNetworkProfileResponse'
, createNetworkProfileResponse_networkProfile
- The network profile that is returned by the create network profile
request.
$sel:httpStatus:CreateNetworkProfileResponse'
, createNetworkProfileResponse_httpStatus
- The response's http status code.
Response Lenses
createNetworkProfileResponse_networkProfile :: Lens' CreateNetworkProfileResponse (Maybe NetworkProfile) Source #
The network profile that is returned by the create network profile request.
createNetworkProfileResponse_httpStatus :: Lens' CreateNetworkProfileResponse Int Source #
The response's http status code.