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 |
Update a hub.
Synopsis
- data UpdateHub = UpdateHub' {
- hubDescription :: Maybe Text
- hubDisplayName :: Maybe Text
- hubSearchKeywords :: Maybe [Text]
- hubName :: Text
- newUpdateHub :: Text -> UpdateHub
- updateHub_hubDescription :: Lens' UpdateHub (Maybe Text)
- updateHub_hubDisplayName :: Lens' UpdateHub (Maybe Text)
- updateHub_hubSearchKeywords :: Lens' UpdateHub (Maybe [Text])
- updateHub_hubName :: Lens' UpdateHub Text
- data UpdateHubResponse = UpdateHubResponse' {
- httpStatus :: Int
- hubArn :: Text
- newUpdateHubResponse :: Int -> Text -> UpdateHubResponse
- updateHubResponse_httpStatus :: Lens' UpdateHubResponse Int
- updateHubResponse_hubArn :: Lens' UpdateHubResponse Text
Creating a Request
See: newUpdateHub
smart constructor.
UpdateHub' | |
|
Instances
Create a value of UpdateHub
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:
UpdateHub
, updateHub_hubDescription
- A description of the updated hub.
UpdateHub
, updateHub_hubDisplayName
- The display name of the hub.
UpdateHub
, updateHub_hubSearchKeywords
- The searchable keywords for the hub.
UpdateHub
, updateHub_hubName
- The name of the hub to update.
Request Lenses
updateHub_hubSearchKeywords :: Lens' UpdateHub (Maybe [Text]) Source #
The searchable keywords for the hub.
Destructuring the Response
data UpdateHubResponse Source #
See: newUpdateHubResponse
smart constructor.
UpdateHubResponse' | |
|
Instances
Create a value of UpdateHubResponse
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:UpdateHubResponse'
, updateHubResponse_httpStatus
- The response's http status code.
UpdateHubResponse
, updateHubResponse_hubArn
- The Amazon Resource Name (ARN) of the updated hub.
Response Lenses
updateHubResponse_httpStatus :: Lens' UpdateHubResponse Int Source #
The response's http status code.
updateHubResponse_hubArn :: Lens' UpdateHubResponse Text Source #
The Amazon Resource Name (ARN) of the updated hub.