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 reference store.
Synopsis
- data CreateReferenceStore = CreateReferenceStore' {}
- newCreateReferenceStore :: Text -> CreateReferenceStore
- createReferenceStore_clientToken :: Lens' CreateReferenceStore (Maybe Text)
- createReferenceStore_description :: Lens' CreateReferenceStore (Maybe Text)
- createReferenceStore_sseConfig :: Lens' CreateReferenceStore (Maybe SseConfig)
- createReferenceStore_tags :: Lens' CreateReferenceStore (Maybe (HashMap Text Text))
- createReferenceStore_name :: Lens' CreateReferenceStore Text
- data CreateReferenceStoreResponse = CreateReferenceStoreResponse' {}
- newCreateReferenceStoreResponse :: Int -> Text -> UTCTime -> Text -> CreateReferenceStoreResponse
- createReferenceStoreResponse_description :: Lens' CreateReferenceStoreResponse (Maybe Text)
- createReferenceStoreResponse_name :: Lens' CreateReferenceStoreResponse (Maybe Text)
- createReferenceStoreResponse_sseConfig :: Lens' CreateReferenceStoreResponse (Maybe SseConfig)
- createReferenceStoreResponse_httpStatus :: Lens' CreateReferenceStoreResponse Int
- createReferenceStoreResponse_arn :: Lens' CreateReferenceStoreResponse Text
- createReferenceStoreResponse_creationTime :: Lens' CreateReferenceStoreResponse UTCTime
- createReferenceStoreResponse_id :: Lens' CreateReferenceStoreResponse Text
Creating a Request
data CreateReferenceStore Source #
See: newCreateReferenceStore
smart constructor.
CreateReferenceStore' | |
|
Instances
newCreateReferenceStore Source #
Create a value of CreateReferenceStore
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:CreateReferenceStore'
, createReferenceStore_clientToken
- To ensure that requests don't run multiple times, specify a unique
token for each request.
CreateReferenceStore
, createReferenceStore_description
- A description for the store.
CreateReferenceStore
, createReferenceStore_sseConfig
- Server-side encryption (SSE) settings for the store.
CreateReferenceStore
, createReferenceStore_tags
- Tags for the store.
CreateReferenceStore
, createReferenceStore_name
- A name for the store.
Request Lenses
createReferenceStore_clientToken :: Lens' CreateReferenceStore (Maybe Text) Source #
To ensure that requests don't run multiple times, specify a unique token for each request.
createReferenceStore_description :: Lens' CreateReferenceStore (Maybe Text) Source #
A description for the store.
createReferenceStore_sseConfig :: Lens' CreateReferenceStore (Maybe SseConfig) Source #
Server-side encryption (SSE) settings for the store.
createReferenceStore_tags :: Lens' CreateReferenceStore (Maybe (HashMap Text Text)) Source #
Tags for the store.
createReferenceStore_name :: Lens' CreateReferenceStore Text Source #
A name for the store.
Destructuring the Response
data CreateReferenceStoreResponse Source #
See: newCreateReferenceStoreResponse
smart constructor.
Instances
newCreateReferenceStoreResponse Source #
:: Int | |
-> Text | |
-> UTCTime | |
-> Text | |
-> CreateReferenceStoreResponse |
Create a value of CreateReferenceStoreResponse
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:
CreateReferenceStore
, createReferenceStoreResponse_description
- The store's description.
CreateReferenceStore
, createReferenceStoreResponse_name
- The store's name.
CreateReferenceStore
, createReferenceStoreResponse_sseConfig
- The store's SSE settings.
$sel:httpStatus:CreateReferenceStoreResponse'
, createReferenceStoreResponse_httpStatus
- The response's http status code.
CreateReferenceStoreResponse
, createReferenceStoreResponse_arn
- The store's ARN.
CreateReferenceStoreResponse
, createReferenceStoreResponse_creationTime
- When the store was created.
CreateReferenceStoreResponse
, createReferenceStoreResponse_id
- The store's ID.
Response Lenses
createReferenceStoreResponse_description :: Lens' CreateReferenceStoreResponse (Maybe Text) Source #
The store's description.
createReferenceStoreResponse_name :: Lens' CreateReferenceStoreResponse (Maybe Text) Source #
The store's name.
createReferenceStoreResponse_sseConfig :: Lens' CreateReferenceStoreResponse (Maybe SseConfig) Source #
The store's SSE settings.
createReferenceStoreResponse_httpStatus :: Lens' CreateReferenceStoreResponse Int Source #
The response's http status code.
createReferenceStoreResponse_arn :: Lens' CreateReferenceStoreResponse Text Source #
The store's ARN.
createReferenceStoreResponse_creationTime :: Lens' CreateReferenceStoreResponse UTCTime Source #
When the store was created.
createReferenceStoreResponse_id :: Lens' CreateReferenceStoreResponse Text Source #
The store's ID.