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 space used for real time collaboration in a Domain.
Synopsis
- data CreateSpace = CreateSpace' {
- spaceSettings :: Maybe SpaceSettings
- tags :: Maybe [Tag]
- domainId :: Text
- spaceName :: Text
- newCreateSpace :: Text -> Text -> CreateSpace
- createSpace_spaceSettings :: Lens' CreateSpace (Maybe SpaceSettings)
- createSpace_tags :: Lens' CreateSpace (Maybe [Tag])
- createSpace_domainId :: Lens' CreateSpace Text
- createSpace_spaceName :: Lens' CreateSpace Text
- data CreateSpaceResponse = CreateSpaceResponse' {
- spaceArn :: Maybe Text
- httpStatus :: Int
- newCreateSpaceResponse :: Int -> CreateSpaceResponse
- createSpaceResponse_spaceArn :: Lens' CreateSpaceResponse (Maybe Text)
- createSpaceResponse_httpStatus :: Lens' CreateSpaceResponse Int
Creating a Request
data CreateSpace Source #
See: newCreateSpace
smart constructor.
CreateSpace' | |
|
Instances
Create a value of CreateSpace
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:spaceSettings:CreateSpace'
, createSpace_spaceSettings
- A collection of space settings.
CreateSpace
, createSpace_tags
- Tags to associated with the space. Each tag consists of a key and an
optional value. Tag keys must be unique for each resource. Tags are
searchable using the Search
API.
CreateSpace
, createSpace_domainId
- The ID of the associated Domain.
CreateSpace
, createSpace_spaceName
- The name of the space.
Request Lenses
createSpace_spaceSettings :: Lens' CreateSpace (Maybe SpaceSettings) Source #
A collection of space settings.
createSpace_tags :: Lens' CreateSpace (Maybe [Tag]) Source #
Tags to associated with the space. Each tag consists of a key and an
optional value. Tag keys must be unique for each resource. Tags are
searchable using the Search
API.
createSpace_domainId :: Lens' CreateSpace Text Source #
The ID of the associated Domain.
createSpace_spaceName :: Lens' CreateSpace Text Source #
The name of the space.
Destructuring the Response
data CreateSpaceResponse Source #
See: newCreateSpaceResponse
smart constructor.
CreateSpaceResponse' | |
|
Instances
newCreateSpaceResponse Source #
Create a value of CreateSpaceResponse
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:spaceArn:CreateSpaceResponse'
, createSpaceResponse_spaceArn
- The space's Amazon Resource Name (ARN).
$sel:httpStatus:CreateSpaceResponse'
, createSpaceResponse_httpStatus
- The response's http status code.
Response Lenses
createSpaceResponse_spaceArn :: Lens' CreateSpaceResponse (Maybe Text) Source #
The space's Amazon Resource Name (ARN).
createSpaceResponse_httpStatus :: Lens' CreateSpaceResponse Int Source #
The response's http status code.