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 with the specified details.
Synopsis
- data CreateNetworkProfile = CreateNetworkProfile' {
- currentPassword :: Maybe (Sensitive Text)
- nextPassword :: Maybe (Sensitive Text)
- eapMethod :: Maybe NetworkEapMethod
- description :: Maybe Text
- trustAnchors :: Maybe (NonEmpty Text)
- certificateAuthorityArn :: Maybe Text
- tags :: Maybe [Tag]
- networkProfileName :: Text
- ssid :: Text
- securityType :: NetworkSecurityType
- clientRequestToken :: Text
- newCreateNetworkProfile :: Text -> Text -> NetworkSecurityType -> Text -> CreateNetworkProfile
- createNetworkProfile_currentPassword :: Lens' CreateNetworkProfile (Maybe Text)
- createNetworkProfile_nextPassword :: Lens' CreateNetworkProfile (Maybe Text)
- createNetworkProfile_eapMethod :: Lens' CreateNetworkProfile (Maybe NetworkEapMethod)
- createNetworkProfile_description :: Lens' CreateNetworkProfile (Maybe Text)
- createNetworkProfile_trustAnchors :: Lens' CreateNetworkProfile (Maybe (NonEmpty Text))
- createNetworkProfile_certificateAuthorityArn :: Lens' CreateNetworkProfile (Maybe Text)
- createNetworkProfile_tags :: Lens' CreateNetworkProfile (Maybe [Tag])
- createNetworkProfile_networkProfileName :: Lens' CreateNetworkProfile Text
- createNetworkProfile_ssid :: Lens' CreateNetworkProfile Text
- createNetworkProfile_securityType :: Lens' CreateNetworkProfile NetworkSecurityType
- createNetworkProfile_clientRequestToken :: Lens' CreateNetworkProfile Text
- data CreateNetworkProfileResponse = CreateNetworkProfileResponse' {}
- newCreateNetworkProfileResponse :: Int -> CreateNetworkProfileResponse
- createNetworkProfileResponse_networkProfileArn :: Lens' CreateNetworkProfileResponse (Maybe Text)
- createNetworkProfileResponse_httpStatus :: Lens' CreateNetworkProfileResponse Int
Creating a Request
data CreateNetworkProfile Source #
See: newCreateNetworkProfile
smart constructor.
CreateNetworkProfile' | |
|
Instances
newCreateNetworkProfile Source #
:: Text | |
-> Text | |
-> NetworkSecurityType | |
-> 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:currentPassword:CreateNetworkProfile'
, createNetworkProfile_currentPassword
- The current password of the Wi-Fi network.
$sel:nextPassword:CreateNetworkProfile'
, createNetworkProfile_nextPassword
- The next, or subsequent, password of the Wi-Fi network. This password is
asynchronously transmitted to the device and is used when the password
of the network changes to NextPassword.
$sel:eapMethod:CreateNetworkProfile'
, createNetworkProfile_eapMethod
- The authentication standard that is used in the EAP framework.
Currently, EAP_TLS is supported.
$sel:description:CreateNetworkProfile'
, createNetworkProfile_description
- Detailed information about a device's network profile.
$sel:trustAnchors:CreateNetworkProfile'
, createNetworkProfile_trustAnchors
- The root certificates of your authentication server that is installed on
your devices and used to trust your authentication server during EAP
negotiation.
$sel:certificateAuthorityArn:CreateNetworkProfile'
, createNetworkProfile_certificateAuthorityArn
- The ARN of the Private Certificate Authority (PCA) created in AWS
Certificate Manager (ACM). This is used to issue certificates to the
devices.
$sel:tags:CreateNetworkProfile'
, createNetworkProfile_tags
- The tags to be added to the specified resource. Do not provide system
tags.
$sel:networkProfileName:CreateNetworkProfile'
, createNetworkProfile_networkProfileName
- The name of the network profile associated with a device.
$sel:ssid:CreateNetworkProfile'
, createNetworkProfile_ssid
- The SSID of the Wi-Fi network.
$sel:securityType:CreateNetworkProfile'
, createNetworkProfile_securityType
- The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
WPA2_PSK, WPA_PSK, WEP, or OPEN.
$sel:clientRequestToken:CreateNetworkProfile'
, createNetworkProfile_clientRequestToken
- Undocumented member.
Request Lenses
createNetworkProfile_currentPassword :: Lens' CreateNetworkProfile (Maybe Text) Source #
The current password of the Wi-Fi network.
createNetworkProfile_nextPassword :: Lens' CreateNetworkProfile (Maybe Text) Source #
The next, or subsequent, password of the Wi-Fi network. This password is asynchronously transmitted to the device and is used when the password of the network changes to NextPassword.
createNetworkProfile_eapMethod :: Lens' CreateNetworkProfile (Maybe NetworkEapMethod) Source #
The authentication standard that is used in the EAP framework. Currently, EAP_TLS is supported.
createNetworkProfile_description :: Lens' CreateNetworkProfile (Maybe Text) Source #
Detailed information about a device's network profile.
createNetworkProfile_trustAnchors :: Lens' CreateNetworkProfile (Maybe (NonEmpty Text)) Source #
The root certificates of your authentication server that is installed on your devices and used to trust your authentication server during EAP negotiation.
createNetworkProfile_certificateAuthorityArn :: Lens' CreateNetworkProfile (Maybe Text) Source #
The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager (ACM). This is used to issue certificates to the devices.
createNetworkProfile_tags :: Lens' CreateNetworkProfile (Maybe [Tag]) Source #
The tags to be added to the specified resource. Do not provide system tags.
createNetworkProfile_networkProfileName :: Lens' CreateNetworkProfile Text Source #
The name of the network profile associated with a device.
createNetworkProfile_ssid :: Lens' CreateNetworkProfile Text Source #
The SSID of the Wi-Fi network.
createNetworkProfile_securityType :: Lens' CreateNetworkProfile NetworkSecurityType Source #
The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, WPA2_PSK, WPA_PSK, WEP, or OPEN.
createNetworkProfile_clientRequestToken :: Lens' CreateNetworkProfile Text Source #
Undocumented member.
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:networkProfileArn:CreateNetworkProfileResponse'
, createNetworkProfileResponse_networkProfileArn
- The ARN of the network profile associated with a device.
$sel:httpStatus:CreateNetworkProfileResponse'
, createNetworkProfileResponse_httpStatus
- The response's http status code.
Response Lenses
createNetworkProfileResponse_networkProfileArn :: Lens' CreateNetworkProfileResponse (Maybe Text) Source #
The ARN of the network profile associated with a device.
createNetworkProfileResponse_httpStatus :: Lens' CreateNetworkProfileResponse Int Source #
The response's http status code.