Copyright | (c) 2013-2018 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 |
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.
Fleet-related operations include:
CreateFleet
ListFleets
DeleteFleet
- Describe fleets:
DescribeFleetAttributes
DescribeFleetCapacity
DescribeFleetPortSettings
DescribeFleetUtilization
DescribeRuntimeConfiguration
DescribeEC2InstanceLimits
DescribeFleetEvents
- Update fleets:
UpdateFleetAttributes
UpdateFleetCapacity
UpdateFleetPortSettings
UpdateRuntimeConfiguration
- Manage fleet actions:
StartFleetActions
StopFleetActions
Synopsis
- 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 a fleet to update port settings for.
data UpdateFleetPortSettings Source #
Represents the input for a request action.
See: updateFleetPortSettings
smart constructor.
Instances
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 a fleet 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 a fleet that was updated.ufpsrsResponseStatus
- -- | The response status code.
data UpdateFleetPortSettingsResponse Source #
Represents the returned data in response to a request action.
See: updateFleetPortSettingsResponse
smart constructor.
Instances
Response Lenses
ufpsrsFleetId :: Lens' UpdateFleetPortSettingsResponse (Maybe Text) Source #
Unique identifier for a fleet that was updated.
ufpsrsResponseStatus :: Lens' UpdateFleetPortSettingsResponse Int Source #
- - | The response status code.