| 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 |
Amazonka.WorkLink.UpdateFleetMetadata
Description
Updates fleet metadata, such as DisplayName.
Synopsis
- data UpdateFleetMetadata = UpdateFleetMetadata' {}
- newUpdateFleetMetadata :: Text -> UpdateFleetMetadata
- updateFleetMetadata_optimizeForEndUserLocation :: Lens' UpdateFleetMetadata (Maybe Bool)
- updateFleetMetadata_displayName :: Lens' UpdateFleetMetadata (Maybe Text)
- updateFleetMetadata_fleetArn :: Lens' UpdateFleetMetadata Text
- data UpdateFleetMetadataResponse = UpdateFleetMetadataResponse' {
- httpStatus :: Int
- newUpdateFleetMetadataResponse :: Int -> UpdateFleetMetadataResponse
- updateFleetMetadataResponse_httpStatus :: Lens' UpdateFleetMetadataResponse Int
Creating a Request
data UpdateFleetMetadata Source #
See: newUpdateFleetMetadata smart constructor.
Constructors
| UpdateFleetMetadata' | |
Fields
| |
Instances
newUpdateFleetMetadata Source #
Arguments
| :: Text | |
| -> UpdateFleetMetadata |
Create a value of UpdateFleetMetadata 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:optimizeForEndUserLocation:UpdateFleetMetadata', updateFleetMetadata_optimizeForEndUserLocation - The option to optimize for better performance by routing traffic through
the closest AWS Region to users, which may be outside of your home
Region.
$sel:displayName:UpdateFleetMetadata', updateFleetMetadata_displayName - The fleet name to display. The existing DisplayName is unset if null is
passed.
$sel:fleetArn:UpdateFleetMetadata', updateFleetMetadata_fleetArn - The ARN of the fleet.
Request Lenses
updateFleetMetadata_optimizeForEndUserLocation :: Lens' UpdateFleetMetadata (Maybe Bool) Source #
The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.
updateFleetMetadata_displayName :: Lens' UpdateFleetMetadata (Maybe Text) Source #
The fleet name to display. The existing DisplayName is unset if null is passed.
updateFleetMetadata_fleetArn :: Lens' UpdateFleetMetadata Text Source #
The ARN of the fleet.
Destructuring the Response
data UpdateFleetMetadataResponse Source #
See: newUpdateFleetMetadataResponse smart constructor.
Constructors
| UpdateFleetMetadataResponse' | |
Fields
| |
Instances
newUpdateFleetMetadataResponse Source #
Create a value of UpdateFleetMetadataResponse 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:UpdateFleetMetadataResponse', updateFleetMetadataResponse_httpStatus - The response's http status code.
Response Lenses
updateFleetMetadataResponse_httpStatus :: Lens' UpdateFleetMetadataResponse Int Source #
The response's http status code.