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 site.
Synopsis
- data CreateNetworkSite = CreateNetworkSite' {}
- newCreateNetworkSite :: Text -> Text -> CreateNetworkSite
- createNetworkSite_availabilityZone :: Lens' CreateNetworkSite (Maybe Text)
- createNetworkSite_availabilityZoneId :: Lens' CreateNetworkSite (Maybe Text)
- createNetworkSite_clientToken :: Lens' CreateNetworkSite (Maybe Text)
- createNetworkSite_description :: Lens' CreateNetworkSite (Maybe Text)
- createNetworkSite_pendingPlan :: Lens' CreateNetworkSite (Maybe SitePlan)
- createNetworkSite_tags :: Lens' CreateNetworkSite (Maybe (HashMap Text Text))
- createNetworkSite_networkArn :: Lens' CreateNetworkSite Text
- createNetworkSite_networkSiteName :: Lens' CreateNetworkSite Text
- data CreateNetworkSiteResponse = CreateNetworkSiteResponse' {
- networkSite :: Maybe NetworkSite
- tags :: Maybe (Sensitive (HashMap Text Text))
- httpStatus :: Int
- newCreateNetworkSiteResponse :: Int -> CreateNetworkSiteResponse
- createNetworkSiteResponse_networkSite :: Lens' CreateNetworkSiteResponse (Maybe NetworkSite)
- createNetworkSiteResponse_tags :: Lens' CreateNetworkSiteResponse (Maybe (HashMap Text Text))
- createNetworkSiteResponse_httpStatus :: Lens' CreateNetworkSiteResponse Int
Creating a Request
data CreateNetworkSite Source #
See: newCreateNetworkSite
smart constructor.
CreateNetworkSite' | |
|
Instances
Create a value of CreateNetworkSite
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:
CreateNetworkSite
, createNetworkSite_availabilityZone
- The Availability Zone that is the parent of this site. You can't change
the Availability Zone after you create the site.
CreateNetworkSite
, createNetworkSite_availabilityZoneId
- The ID of the Availability Zone that is the parent of this site. You
can't change the Availability Zone after you create the site.
$sel:clientToken:CreateNetworkSite'
, createNetworkSite_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
CreateNetworkSite
, createNetworkSite_description
- The description of the site.
CreateNetworkSite
, createNetworkSite_pendingPlan
- Information about the pending plan for this site.
CreateNetworkSite
, createNetworkSite_tags
- The tags to apply to the network site.
CreateNetworkSite
, createNetworkSite_networkArn
- The Amazon Resource Name (ARN) of the network.
CreateNetworkSite
, createNetworkSite_networkSiteName
- The name of the site. You can't change the name after you create the
site.
Request Lenses
createNetworkSite_availabilityZone :: Lens' CreateNetworkSite (Maybe Text) Source #
The Availability Zone that is the parent of this site. You can't change the Availability Zone after you create the site.
createNetworkSite_availabilityZoneId :: Lens' CreateNetworkSite (Maybe Text) Source #
The ID of the Availability Zone that is the parent of this site. You can't change the Availability Zone after you create the site.
createNetworkSite_clientToken :: Lens' CreateNetworkSite (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
createNetworkSite_description :: Lens' CreateNetworkSite (Maybe Text) Source #
The description of the site.
createNetworkSite_pendingPlan :: Lens' CreateNetworkSite (Maybe SitePlan) Source #
Information about the pending plan for this site.
createNetworkSite_tags :: Lens' CreateNetworkSite (Maybe (HashMap Text Text)) Source #
The tags to apply to the network site.
createNetworkSite_networkArn :: Lens' CreateNetworkSite Text Source #
The Amazon Resource Name (ARN) of the network.
createNetworkSite_networkSiteName :: Lens' CreateNetworkSite Text Source #
The name of the site. You can't change the name after you create the site.
Destructuring the Response
data CreateNetworkSiteResponse Source #
See: newCreateNetworkSiteResponse
smart constructor.
CreateNetworkSiteResponse' | |
|
Instances
newCreateNetworkSiteResponse Source #
Create a value of CreateNetworkSiteResponse
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:
CreateNetworkSiteResponse
, createNetworkSiteResponse_networkSite
- Information about the network site.
CreateNetworkSite
, createNetworkSiteResponse_tags
- The network site tags.
$sel:httpStatus:CreateNetworkSiteResponse'
, createNetworkSiteResponse_httpStatus
- The response's http status code.
Response Lenses
createNetworkSiteResponse_networkSite :: Lens' CreateNetworkSiteResponse (Maybe NetworkSite) Source #
Information about the network site.
createNetworkSiteResponse_tags :: Lens' CreateNetworkSiteResponse (Maybe (HashMap Text Text)) Source #
The network site tags.
createNetworkSiteResponse_httpStatus :: Lens' CreateNetworkSiteResponse Int Source #
The response's http status code.