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 |
Updates network settings.
Synopsis
- data UpdateNetworkSettings = UpdateNetworkSettings' {}
- newUpdateNetworkSettings :: Text -> UpdateNetworkSettings
- updateNetworkSettings_clientToken :: Lens' UpdateNetworkSettings (Maybe Text)
- updateNetworkSettings_securityGroupIds :: Lens' UpdateNetworkSettings (Maybe (NonEmpty Text))
- updateNetworkSettings_subnetIds :: Lens' UpdateNetworkSettings (Maybe (NonEmpty Text))
- updateNetworkSettings_vpcId :: Lens' UpdateNetworkSettings (Maybe Text)
- updateNetworkSettings_networkSettingsArn :: Lens' UpdateNetworkSettings Text
- data UpdateNetworkSettingsResponse = UpdateNetworkSettingsResponse' {}
- newUpdateNetworkSettingsResponse :: Int -> NetworkSettings -> UpdateNetworkSettingsResponse
- updateNetworkSettingsResponse_httpStatus :: Lens' UpdateNetworkSettingsResponse Int
- updateNetworkSettingsResponse_networkSettings :: Lens' UpdateNetworkSettingsResponse NetworkSettings
Creating a Request
data UpdateNetworkSettings Source #
See: newUpdateNetworkSettings
smart constructor.
UpdateNetworkSettings' | |
|
Instances
newUpdateNetworkSettings Source #
Create a value of UpdateNetworkSettings
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:clientToken:UpdateNetworkSettings'
, updateNetworkSettings_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. Idempotency ensures that an API request
completes only once. With an idempotent request, if the original request
completes successfully, subsequent retries with the same client token
return the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
UpdateNetworkSettings
, updateNetworkSettings_securityGroupIds
- One or more security groups used to control access from streaming
instances to your VPC.
UpdateNetworkSettings
, updateNetworkSettings_subnetIds
- The subnets in which network interfaces are created to connect streaming
instances to your VPC. At least two of these subnets must be in
different availability zones.
UpdateNetworkSettings
, updateNetworkSettings_vpcId
- The VPC that streaming instances will connect to.
UpdateNetworkSettings
, updateNetworkSettings_networkSettingsArn
- The ARN of the network settings.
Request Lenses
updateNetworkSettings_clientToken :: Lens' UpdateNetworkSettings (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
updateNetworkSettings_securityGroupIds :: Lens' UpdateNetworkSettings (Maybe (NonEmpty Text)) Source #
One or more security groups used to control access from streaming instances to your VPC.
updateNetworkSettings_subnetIds :: Lens' UpdateNetworkSettings (Maybe (NonEmpty Text)) Source #
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
updateNetworkSettings_vpcId :: Lens' UpdateNetworkSettings (Maybe Text) Source #
The VPC that streaming instances will connect to.
updateNetworkSettings_networkSettingsArn :: Lens' UpdateNetworkSettings Text Source #
The ARN of the network settings.
Destructuring the Response
data UpdateNetworkSettingsResponse Source #
See: newUpdateNetworkSettingsResponse
smart constructor.
UpdateNetworkSettingsResponse' | |
|
Instances
newUpdateNetworkSettingsResponse Source #
Create a value of UpdateNetworkSettingsResponse
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:httpStatus:UpdateNetworkSettingsResponse'
, updateNetworkSettingsResponse_httpStatus
- The response's http status code.
$sel:networkSettings:UpdateNetworkSettingsResponse'
, updateNetworkSettingsResponse_networkSettings
- The network settings.
Response Lenses
updateNetworkSettingsResponse_httpStatus :: Lens' UpdateNetworkSettingsResponse Int Source #
The response's http status code.
updateNetworkSettingsResponse_networkSettings :: Lens' UpdateNetworkSettingsResponse NetworkSettings Source #
The network settings.