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 |
Does the following:
- Adds new
Attributes
,Rules
, orObjectTypes
. - Updates existing
Attributes
,Rules
, orObjectTypes
. - Deletes existing
Attributes
,Rules
, orObjectTypes
.
Synopsis
- data UpdateFacet = UpdateFacet' {}
- newUpdateFacet :: Text -> Text -> UpdateFacet
- updateFacet_attributeUpdates :: Lens' UpdateFacet (Maybe [FacetAttributeUpdate])
- updateFacet_objectType :: Lens' UpdateFacet (Maybe ObjectType)
- updateFacet_schemaArn :: Lens' UpdateFacet Text
- updateFacet_name :: Lens' UpdateFacet Text
- data UpdateFacetResponse = UpdateFacetResponse' {
- httpStatus :: Int
- newUpdateFacetResponse :: Int -> UpdateFacetResponse
- updateFacetResponse_httpStatus :: Lens' UpdateFacetResponse Int
Creating a Request
data UpdateFacet Source #
See: newUpdateFacet
smart constructor.
UpdateFacet' | |
|
Instances
Create a value of UpdateFacet
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:
UpdateFacet
, updateFacet_attributeUpdates
- List of attributes that need to be updated in a given schema Facet. Each
attribute is followed by AttributeAction
, which specifies the type of
update operation to perform.
UpdateFacet
, updateFacet_objectType
- The object type that is associated with the facet. See
CreateFacetRequest$ObjectType for more details.
UpdateFacet
, updateFacet_schemaArn
- The Amazon Resource Name (ARN) that is associated with the Facet. For
more information, see arns.
UpdateFacet
, updateFacet_name
- The name of the facet.
Request Lenses
updateFacet_attributeUpdates :: Lens' UpdateFacet (Maybe [FacetAttributeUpdate]) Source #
List of attributes that need to be updated in a given schema Facet. Each
attribute is followed by AttributeAction
, which specifies the type of
update operation to perform.
updateFacet_objectType :: Lens' UpdateFacet (Maybe ObjectType) Source #
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
updateFacet_schemaArn :: Lens' UpdateFacet Text Source #
The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.
updateFacet_name :: Lens' UpdateFacet Text Source #
The name of the facet.
Destructuring the Response
data UpdateFacetResponse Source #
See: newUpdateFacetResponse
smart constructor.
UpdateFacetResponse' | |
|
Instances
newUpdateFacetResponse Source #
Create a value of UpdateFacetResponse
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:UpdateFacetResponse'
, updateFacetResponse_httpStatus
- The response's http status code.
Response Lenses
updateFacetResponse_httpStatus :: Lens' UpdateFacetResponse Int Source #
The response's http status code.