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 |
Creates a network settings resource that can be associated with a web portal. Once associated with a web portal, network settings define how streaming instances will connect with your specified VPC.
Synopsis
- data CreateNetworkSettings = CreateNetworkSettings' {}
- newCreateNetworkSettings :: NonEmpty Text -> NonEmpty Text -> Text -> CreateNetworkSettings
- createNetworkSettings_clientToken :: Lens' CreateNetworkSettings (Maybe Text)
- createNetworkSettings_tags :: Lens' CreateNetworkSettings (Maybe [Tag])
- createNetworkSettings_securityGroupIds :: Lens' CreateNetworkSettings (NonEmpty Text)
- createNetworkSettings_subnetIds :: Lens' CreateNetworkSettings (NonEmpty Text)
- createNetworkSettings_vpcId :: Lens' CreateNetworkSettings Text
- data CreateNetworkSettingsResponse = CreateNetworkSettingsResponse' {}
- newCreateNetworkSettingsResponse :: Int -> Text -> CreateNetworkSettingsResponse
- createNetworkSettingsResponse_httpStatus :: Lens' CreateNetworkSettingsResponse Int
- createNetworkSettingsResponse_networkSettingsArn :: Lens' CreateNetworkSettingsResponse Text
Creating a Request
data CreateNetworkSettings Source #
See: newCreateNetworkSettings
smart constructor.
CreateNetworkSettings' | |
|
Instances
newCreateNetworkSettings Source #
Create a value of CreateNetworkSettings
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:CreateNetworkSettings'
, createNetworkSettings_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
returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
$sel:tags:CreateNetworkSettings'
, createNetworkSettings_tags
- The tags to add to the network settings resource. A tag is a key-value
pair.
CreateNetworkSettings
, createNetworkSettings_securityGroupIds
- One or more security groups used to control access from streaming
instances to your VPC.
CreateNetworkSettings
, createNetworkSettings_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.
CreateNetworkSettings
, createNetworkSettings_vpcId
- The VPC that streaming instances will connect to.
Request Lenses
createNetworkSettings_clientToken :: Lens' CreateNetworkSettings (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 returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
createNetworkSettings_tags :: Lens' CreateNetworkSettings (Maybe [Tag]) Source #
The tags to add to the network settings resource. A tag is a key-value pair.
createNetworkSettings_securityGroupIds :: Lens' CreateNetworkSettings (NonEmpty Text) Source #
One or more security groups used to control access from streaming instances to your VPC.
createNetworkSettings_subnetIds :: Lens' CreateNetworkSettings (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.
createNetworkSettings_vpcId :: Lens' CreateNetworkSettings Text Source #
The VPC that streaming instances will connect to.
Destructuring the Response
data CreateNetworkSettingsResponse Source #
See: newCreateNetworkSettingsResponse
smart constructor.
CreateNetworkSettingsResponse' | |
|
Instances
newCreateNetworkSettingsResponse Source #
:: Int | |
-> Text | |
-> CreateNetworkSettingsResponse |
Create a value of CreateNetworkSettingsResponse
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:CreateNetworkSettingsResponse'
, createNetworkSettingsResponse_httpStatus
- The response's http status code.
CreateNetworkSettingsResponse
, createNetworkSettingsResponse_networkSettingsArn
- The ARN of the network settings.
Response Lenses
createNetworkSettingsResponse_httpStatus :: Lens' CreateNetworkSettingsResponse Int Source #
The response's http status code.
createNetworkSettingsResponse_networkSettingsArn :: Lens' CreateNetworkSettingsResponse Text Source #
The ARN of the network settings.