Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates port settings for a fleet. To update settings, specify the fleet ID to be updated and list the permissions you want to update. List the permissions you want to add in InboundPermissionAuthorizations
, and permissions you want to remove in InboundPermissionRevocations
. Permissions to be removed must match existing fleet permissions. If successful, the fleet ID for the updated fleet is returned.
- updateFleetPortSettings :: Text -> UpdateFleetPortSettings
- data UpdateFleetPortSettings
- ufpsInboundPermissionRevocations :: Lens' UpdateFleetPortSettings [IPPermission]
- ufpsInboundPermissionAuthorizations :: Lens' UpdateFleetPortSettings [IPPermission]
- ufpsFleetId :: Lens' UpdateFleetPortSettings Text
- updateFleetPortSettingsResponse :: Int -> UpdateFleetPortSettingsResponse
- data UpdateFleetPortSettingsResponse
- ufpsrsFleetId :: Lens' UpdateFleetPortSettingsResponse (Maybe Text)
- ufpsrsResponseStatus :: Lens' UpdateFleetPortSettingsResponse Int
Creating a Request
updateFleetPortSettings Source #
Creates a value of UpdateFleetPortSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ufpsInboundPermissionRevocations
- Collection of port settings to be removed from the fleet record.ufpsInboundPermissionAuthorizations
- Collection of port settings to be added to the fleet record.ufpsFleetId
- Unique identifier for the fleet you want to update port settings for.
data UpdateFleetPortSettings Source #
Represents the input for a request action.
See: updateFleetPortSettings
smart constructor.
Request Lenses
ufpsInboundPermissionRevocations :: Lens' UpdateFleetPortSettings [IPPermission] Source #
Collection of port settings to be removed from the fleet record.
ufpsInboundPermissionAuthorizations :: Lens' UpdateFleetPortSettings [IPPermission] Source #
Collection of port settings to be added to the fleet record.
ufpsFleetId :: Lens' UpdateFleetPortSettings Text Source #
Unique identifier for the fleet you want to update port settings for.
Destructuring the Response
updateFleetPortSettingsResponse Source #
Creates a value of UpdateFleetPortSettingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ufpsrsFleetId
- Unique identifier for the updated fleet.ufpsrsResponseStatus
- -- | The response status code.
data UpdateFleetPortSettingsResponse Source #
Represents the returned data in response to a request action.
See: updateFleetPortSettingsResponse
smart constructor.
Response Lenses
ufpsrsFleetId :: Lens' UpdateFleetPortSettingsResponse (Maybe Text) Source #
Unique identifier for the updated fleet.
ufpsrsResponseStatus :: Lens' UpdateFleetPortSettingsResponse Int Source #
- - | The response status code.