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 |
Create a new multiplex.
Synopsis
- data CreateMultiplex' = CreateMultiplex'' {
- tags :: Maybe (HashMap Text Text)
- requestId :: Text
- multiplexSettings :: MultiplexSettings
- availabilityZones :: [Text]
- name :: Text
- newCreateMultiplex' :: Text -> MultiplexSettings -> Text -> CreateMultiplex'
- createMultiplex'_tags :: Lens' CreateMultiplex' (Maybe (HashMap Text Text))
- createMultiplex'_requestId :: Lens' CreateMultiplex' Text
- createMultiplex'_multiplexSettings :: Lens' CreateMultiplex' MultiplexSettings
- createMultiplex'_availabilityZones :: Lens' CreateMultiplex' [Text]
- createMultiplex'_name :: Lens' CreateMultiplex' Text
- data CreateMultiplexResponse = CreateMultiplexResponse' {
- multiplex :: Maybe Multiplex
- httpStatus :: Int
- newCreateMultiplexResponse :: Int -> CreateMultiplexResponse
- createMultiplexResponse_multiplex :: Lens' CreateMultiplexResponse (Maybe Multiplex)
- createMultiplexResponse_httpStatus :: Lens' CreateMultiplexResponse Int
Creating a Request
data CreateMultiplex' Source #
A request to create a multiplex.
See: newCreateMultiplex'
smart constructor.
CreateMultiplex'' | |
|
Instances
:: Text | |
-> MultiplexSettings | |
-> Text | |
-> CreateMultiplex' |
Create a value of CreateMultiplex'
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:
CreateMultiplex'
, createMultiplex'_tags
- A collection of key-value pairs.
$sel:requestId:CreateMultiplex''
, createMultiplex'_requestId
- Unique request ID. This prevents retries from creating multiple
resources.
CreateMultiplex'
, createMultiplex'_multiplexSettings
- Configuration for a multiplex event.
CreateMultiplex'
, createMultiplex'_availabilityZones
- A list of availability zones for the multiplex. You must specify exactly
two.
CreateMultiplex'
, createMultiplex'_name
- Name of multiplex.
Request Lenses
createMultiplex'_tags :: Lens' CreateMultiplex' (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs.
createMultiplex'_requestId :: Lens' CreateMultiplex' Text Source #
Unique request ID. This prevents retries from creating multiple resources.
createMultiplex'_multiplexSettings :: Lens' CreateMultiplex' MultiplexSettings Source #
Configuration for a multiplex event.
createMultiplex'_availabilityZones :: Lens' CreateMultiplex' [Text] Source #
A list of availability zones for the multiplex. You must specify exactly two.
createMultiplex'_name :: Lens' CreateMultiplex' Text Source #
Name of multiplex.
Destructuring the Response
data CreateMultiplexResponse Source #
Placeholder documentation for CreateMultiplexResponse
See: newCreateMultiplexResponse
smart constructor.
CreateMultiplexResponse' | |
|
Instances
newCreateMultiplexResponse Source #
Create a value of CreateMultiplexResponse
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:multiplex:CreateMultiplexResponse'
, createMultiplexResponse_multiplex
- The newly created multiplex.
$sel:httpStatus:CreateMultiplexResponse'
, createMultiplexResponse_httpStatus
- The response's http status code.
Response Lenses
createMultiplexResponse_multiplex :: Lens' CreateMultiplexResponse (Maybe Multiplex) Source #
The newly created multiplex.
createMultiplexResponse_httpStatus :: Lens' CreateMultiplexResponse Int Source #
The response's http status code.