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 |
Grants permission to create a site
Synopsis
- data CreateSite = CreateSite' {
- clientToken :: Maybe Text
- description :: Maybe Text
- name :: Text
- countryCode :: Text
- newCreateSite :: Text -> Text -> CreateSite
- createSite_clientToken :: Lens' CreateSite (Maybe Text)
- createSite_description :: Lens' CreateSite (Maybe Text)
- createSite_name :: Lens' CreateSite Text
- createSite_countryCode :: Lens' CreateSite Text
- data CreateSiteResponse = CreateSiteResponse' {}
- newCreateSiteResponse :: Int -> Text -> Text -> UTCTime -> UTCTime -> CreateSiteResponse
- createSiteResponse_httpStatus :: Lens' CreateSiteResponse Int
- createSiteResponse_arn :: Lens' CreateSiteResponse Text
- createSiteResponse_id :: Lens' CreateSiteResponse Text
- createSiteResponse_createdAt :: Lens' CreateSiteResponse UTCTime
- createSiteResponse_updatedAt :: Lens' CreateSiteResponse UTCTime
Creating a Request
data CreateSite Source #
See: newCreateSite
smart constructor.
CreateSite' | |
|
Instances
Create a value of CreateSite
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:CreateSite'
, createSite_clientToken
- Undocumented member.
$sel:description:CreateSite'
, createSite_description
- Undocumented member.
CreateSite
, createSite_name
- Undocumented member.
CreateSite
, createSite_countryCode
- Undocumented member.
Request Lenses
createSite_clientToken :: Lens' CreateSite (Maybe Text) Source #
Undocumented member.
createSite_description :: Lens' CreateSite (Maybe Text) Source #
Undocumented member.
createSite_name :: Lens' CreateSite Text Source #
Undocumented member.
createSite_countryCode :: Lens' CreateSite Text Source #
Undocumented member.
Destructuring the Response
data CreateSiteResponse Source #
See: newCreateSiteResponse
smart constructor.
Instances
newCreateSiteResponse Source #
Create a value of CreateSiteResponse
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:CreateSiteResponse'
, createSiteResponse_httpStatus
- The response's http status code.
CreateSiteResponse
, createSiteResponse_arn
- Undocumented member.
CreateSiteResponse
, createSiteResponse_id
- Undocumented member.
CreateSiteResponse
, createSiteResponse_createdAt
- Undocumented member.
CreateSiteResponse
, createSiteResponse_updatedAt
- Undocumented member.
Response Lenses
createSiteResponse_httpStatus :: Lens' CreateSiteResponse Int Source #
The response's http status code.
createSiteResponse_arn :: Lens' CreateSiteResponse Text Source #
Undocumented member.
createSiteResponse_id :: Lens' CreateSiteResponse Text Source #
Undocumented member.
createSiteResponse_createdAt :: Lens' CreateSiteResponse UTCTime Source #
Undocumented member.
createSiteResponse_updatedAt :: Lens' CreateSiteResponse UTCTime Source #
Undocumented member.