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 the resource set.
An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.
Synopsis
- data PutResourceSet = PutResourceSet' {
- tagList :: Maybe [Tag]
- resourceSet :: ResourceSet
- newPutResourceSet :: ResourceSet -> PutResourceSet
- putResourceSet_tagList :: Lens' PutResourceSet (Maybe [Tag])
- putResourceSet_resourceSet :: Lens' PutResourceSet ResourceSet
- data PutResourceSetResponse = PutResourceSetResponse' {}
- newPutResourceSetResponse :: Int -> ResourceSet -> Text -> PutResourceSetResponse
- putResourceSetResponse_httpStatus :: Lens' PutResourceSetResponse Int
- putResourceSetResponse_resourceSet :: Lens' PutResourceSetResponse ResourceSet
- putResourceSetResponse_resourceSetArn :: Lens' PutResourceSetResponse Text
Creating a Request
data PutResourceSet Source #
See: newPutResourceSet
smart constructor.
PutResourceSet' | |
|
Instances
Create a value of PutResourceSet
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:tagList:PutResourceSet'
, putResourceSet_tagList
- Retrieves the tags associated with the specified resource set. Tags are
key:value pairs that you can use to categorize and manage your
resources, for purposes like billing. For example, you might set the tag
key to "customer" and the value to the customer name or ID. You can
specify one or more tags to add to each Amazon Web Services resource, up
to 50 tags for a resource.
PutResourceSet
, putResourceSet_resourceSet
- Details about the resource set to be created or updated.>
Request Lenses
putResourceSet_tagList :: Lens' PutResourceSet (Maybe [Tag]) Source #
Retrieves the tags associated with the specified resource set. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.
putResourceSet_resourceSet :: Lens' PutResourceSet ResourceSet Source #
Details about the resource set to be created or updated.>
Destructuring the Response
data PutResourceSetResponse Source #
See: newPutResourceSetResponse
smart constructor.
PutResourceSetResponse' | |
|
Instances
newPutResourceSetResponse Source #
:: Int | |
-> ResourceSet | |
-> Text | |
-> PutResourceSetResponse |
Create a value of PutResourceSetResponse
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:PutResourceSetResponse'
, putResourceSetResponse_httpStatus
- The response's http status code.
PutResourceSet
, putResourceSetResponse_resourceSet
- Details about the resource set.
$sel:resourceSetArn:PutResourceSetResponse'
, putResourceSetResponse_resourceSetArn
- The Amazon Resource Name (ARN) of the resource set.
Response Lenses
putResourceSetResponse_httpStatus :: Lens' PutResourceSetResponse Int Source #
The response's http status code.
putResourceSetResponse_resourceSet :: Lens' PutResourceSetResponse ResourceSet Source #
Details about the resource set.
putResourceSetResponse_resourceSetArn :: Lens' PutResourceSetResponse Text Source #
The Amazon Resource Name (ARN) of the resource set.