Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a new Resource Set.
Synopsis
- data CreateResourceSet = CreateResourceSet' {}
- newCreateResourceSet :: Text -> Text -> CreateResourceSet
- createResourceSet_tags :: Lens' CreateResourceSet (Maybe (HashMap Text Text))
- createResourceSet_resourceSetType :: Lens' CreateResourceSet Text
- createResourceSet_resourceSetName :: Lens' CreateResourceSet Text
- createResourceSet_resources :: Lens' CreateResourceSet [Resource]
- data CreateResourceSetResponse = CreateResourceSetResponse' {
- resourceSetName :: Maybe Text
- resourceSetType :: Maybe Text
- resources :: Maybe [Resource]
- resourceSetArn :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newCreateResourceSetResponse :: Int -> CreateResourceSetResponse
- createResourceSetResponse_resourceSetName :: Lens' CreateResourceSetResponse (Maybe Text)
- createResourceSetResponse_resourceSetType :: Lens' CreateResourceSetResponse (Maybe Text)
- createResourceSetResponse_resources :: Lens' CreateResourceSetResponse (Maybe [Resource])
- createResourceSetResponse_resourceSetArn :: Lens' CreateResourceSetResponse (Maybe Text)
- createResourceSetResponse_tags :: Lens' CreateResourceSetResponse (Maybe (HashMap Text Text))
- createResourceSetResponse_httpStatus :: Lens' CreateResourceSetResponse Int
Creating a Request
data CreateResourceSet Source #
The ResourceSet to create
See: newCreateResourceSet
smart constructor.
Instances
:: Text | |
-> Text | |
-> CreateResourceSet |
Create a value of CreateResourceSet
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:tags:CreateResourceSet'
, createResourceSet_tags
- Undocumented member.
$sel:resourceSetType:CreateResourceSet'
, createResourceSet_resourceSetType
- AWS Resource type of the resources in the ResourceSet
$sel:resourceSetName:CreateResourceSet'
, createResourceSet_resourceSetName
- The name of the ResourceSet to create
$sel:resources:CreateResourceSet'
, createResourceSet_resources
- A list of Resource objects
Request Lenses
createResourceSet_tags :: Lens' CreateResourceSet (Maybe (HashMap Text Text)) Source #
Undocumented member.
createResourceSet_resourceSetType :: Lens' CreateResourceSet Text Source #
AWS Resource type of the resources in the ResourceSet
createResourceSet_resourceSetName :: Lens' CreateResourceSet Text Source #
The name of the ResourceSet to create
createResourceSet_resources :: Lens' CreateResourceSet [Resource] Source #
A list of Resource objects
Destructuring the Response
data CreateResourceSetResponse Source #
See: newCreateResourceSetResponse
smart constructor.
CreateResourceSetResponse' | |
|
Instances
newCreateResourceSetResponse Source #
Create a value of CreateResourceSetResponse
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:resourceSetName:CreateResourceSet'
, createResourceSetResponse_resourceSetName
- The name of the ResourceSet
$sel:resourceSetType:CreateResourceSet'
, createResourceSetResponse_resourceSetType
- AWS Resource Type of the resources in the ResourceSet
$sel:resources:CreateResourceSet'
, createResourceSetResponse_resources
- A list of Resource objects
$sel:resourceSetArn:CreateResourceSetResponse'
, createResourceSetResponse_resourceSetArn
- The arn for the ResourceSet
$sel:tags:CreateResourceSet'
, createResourceSetResponse_tags
- Undocumented member.
$sel:httpStatus:CreateResourceSetResponse'
, createResourceSetResponse_httpStatus
- The response's http status code.
Response Lenses
createResourceSetResponse_resourceSetName :: Lens' CreateResourceSetResponse (Maybe Text) Source #
The name of the ResourceSet
createResourceSetResponse_resourceSetType :: Lens' CreateResourceSetResponse (Maybe Text) Source #
AWS Resource Type of the resources in the ResourceSet
createResourceSetResponse_resources :: Lens' CreateResourceSetResponse (Maybe [Resource]) Source #
A list of Resource objects
createResourceSetResponse_resourceSetArn :: Lens' CreateResourceSetResponse (Maybe Text) Source #
The arn for the ResourceSet
createResourceSetResponse_tags :: Lens' CreateResourceSetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createResourceSetResponse_httpStatus :: Lens' CreateResourceSetResponse Int Source #
The response's http status code.