| 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 |
Amazonka.PrivateNetworks.ActivateNetworkSite
Description
Activates the specified network site.
Synopsis
- data ActivateNetworkSite = ActivateNetworkSite' {}
- newActivateNetworkSite :: Text -> Address -> ActivateNetworkSite
- activateNetworkSite_clientToken :: Lens' ActivateNetworkSite (Maybe Text)
- activateNetworkSite_networkSiteArn :: Lens' ActivateNetworkSite Text
- activateNetworkSite_shippingAddress :: Lens' ActivateNetworkSite Address
- data ActivateNetworkSiteResponse = ActivateNetworkSiteResponse' {}
- newActivateNetworkSiteResponse :: Int -> ActivateNetworkSiteResponse
- activateNetworkSiteResponse_networkSite :: Lens' ActivateNetworkSiteResponse (Maybe NetworkSite)
- activateNetworkSiteResponse_httpStatus :: Lens' ActivateNetworkSiteResponse Int
Creating a Request
data ActivateNetworkSite Source #
See: newActivateNetworkSite smart constructor.
Constructors
| ActivateNetworkSite' | |
Fields
| |
Instances
newActivateNetworkSite Source #
Arguments
| :: Text | |
| -> Address | |
| -> ActivateNetworkSite |
Create a value of ActivateNetworkSite 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:ActivateNetworkSite', activateNetworkSite_clientToken - Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
ActivateNetworkSite, activateNetworkSite_networkSiteArn - The Amazon Resource Name (ARN) of the network site.
ActivateNetworkSite, activateNetworkSite_shippingAddress - The shipping address of the network site.
Request Lenses
activateNetworkSite_clientToken :: Lens' ActivateNetworkSite (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.
activateNetworkSite_networkSiteArn :: Lens' ActivateNetworkSite Text Source #
The Amazon Resource Name (ARN) of the network site.
activateNetworkSite_shippingAddress :: Lens' ActivateNetworkSite Address Source #
The shipping address of the network site.
Destructuring the Response
data ActivateNetworkSiteResponse Source #
See: newActivateNetworkSiteResponse smart constructor.
Constructors
| ActivateNetworkSiteResponse' | |
Fields
| |
Instances
newActivateNetworkSiteResponse Source #
Create a value of ActivateNetworkSiteResponse 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:
ActivateNetworkSiteResponse, activateNetworkSiteResponse_networkSite - Information about the network site.
$sel:httpStatus:ActivateNetworkSiteResponse', activateNetworkSiteResponse_httpStatus - The response's http status code.
Response Lenses
activateNetworkSiteResponse_networkSite :: Lens' ActivateNetworkSiteResponse (Maybe NetworkSite) Source #
Information about the network site.
activateNetworkSiteResponse_httpStatus :: Lens' ActivateNetworkSiteResponse Int Source #
The response's http status code.