packages feed

amazonka-efs 1.3.1 → 1.3.2

raw patch · 6 files changed

+53/−38 lines, 6 filesdep ~amazonka-coredep ~amazonka-efsdep ~amazonka-testPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: amazonka-core, amazonka-efs, amazonka-test

API changes (from Hackage documentation)

- Network.AWS.EFS.DeleteMountTarget: dmtMountTargetId :: Lens' DeleteMountTarget Text
+ Network.AWS.EFS.DeleteMountTarget: dMountTargetId :: Lens' DeleteMountTarget Text
+ Network.AWS.EFS.DescribeMountTargets: dmtMountTargetId :: Lens' DescribeMountTargets (Maybe Text)
+ Network.AWS.EFS.DescribeMountTargets: instance Selector S1_0_3DescribeMountTargets
- Network.AWS.EFS.DescribeMountTargets: describeMountTargets :: Text -> DescribeMountTargets
+ Network.AWS.EFS.DescribeMountTargets: describeMountTargets :: DescribeMountTargets
- Network.AWS.EFS.DescribeMountTargets: dmtFileSystemId :: Lens' DescribeMountTargets Text
+ Network.AWS.EFS.DescribeMountTargets: dmtFileSystemId :: Lens' DescribeMountTargets (Maybe Text)

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.3.1`+`1.3.2`   ## Description
amazonka-efs.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-efs-version:               1.3.1+version:               1.3.2 synopsis:              Amazon Elastic File System SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -60,7 +60,7 @@         , Network.AWS.EFS.Types.Sum      build-depends:-          amazonka-core == 1.3.1.*+          amazonka-core == 1.3.2.*         , base          >= 4.7     && < 5  test-suite amazonka-efs-test@@ -80,9 +80,9 @@         , Test.AWS.EFS.Internal      build-depends:-          amazonka-core == 1.3.1.*-        , amazonka-test == 1.3.1.*-        , amazonka-efs == 1.3.1.*+          amazonka-core == 1.3.2.*+        , amazonka-test == 1.3.2.*+        , amazonka-efs == 1.3.2.*         , base         , bytestring         , lens
gen/Network/AWS/EFS/CreateMountTarget.hs view
@@ -49,7 +49,7 @@ -- mount target\'s DNS name when mounting the file system. The EC2 instance -- on which you mount the file system via the mount target can resolve the -- mount target\'s DNS name to its IP address. For more information, see--- <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation How it Works: Implementation Overview>+-- <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation How it Works: Implementation Overview>. -- -- Note that you can create mount targets for a file system in only one -- VPC, and there can be only one mount target per Availability Zone. That@@ -104,7 +104,7 @@ -- <http://aws.amazon.com/efs/ Amazon EFS> product detail page. In -- addition, by always using a mount target local to the instance\'s -- Availability Zone, you eliminate a partial failure scenario; if the--- Availablity Zone in which your mount target is created goes down, then+-- Availability Zone in which your mount target is created goes down, then -- you won\'t be able to access your file system through that mount target. -- -- This operation requires permission for the following action on the file
gen/Network/AWS/EFS/DeleteMountTarget.hs view
@@ -52,7 +52,7 @@       deleteMountTarget     , DeleteMountTarget     -- * Request Lenses-    , dmtMountTargetId+    , dMountTargetId      -- * Destructuring the Response     , deleteMountTargetResponse@@ -67,25 +67,25 @@  -- | /See:/ 'deleteMountTarget' smart constructor. newtype DeleteMountTarget = DeleteMountTarget'-    { _dmtMountTargetId :: Text+    { _dMountTargetId :: Text     } deriving (Eq,Read,Show,Data,Typeable,Generic)  -- | Creates a value of 'DeleteMountTarget' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmtMountTargetId'+-- * 'dMountTargetId' deleteMountTarget-    :: Text -- ^ 'dmtMountTargetId'+    :: Text -- ^ 'dMountTargetId'     -> DeleteMountTarget deleteMountTarget pMountTargetId_ =     DeleteMountTarget'-    { _dmtMountTargetId = pMountTargetId_+    { _dMountTargetId = pMountTargetId_     }  -- | String. The ID of the mount target to delete.-dmtMountTargetId :: Lens' DeleteMountTarget Text-dmtMountTargetId = lens _dmtMountTargetId (\ s a -> s{_dmtMountTargetId = a});+dMountTargetId :: Lens' DeleteMountTarget Text+dMountTargetId = lens _dMountTargetId (\ s a -> s{_dMountTargetId = a});  instance AWSRequest DeleteMountTarget where         type Rs DeleteMountTarget = DeleteMountTargetResponse@@ -98,8 +98,7 @@ instance ToPath DeleteMountTarget where         toPath DeleteMountTarget'{..}           = mconcat-              ["/2015-02-01/mount-targets/",-               toBS _dmtMountTargetId]+              ["/2015-02-01/mount-targets/", toBS _dMountTargetId]  instance ToQuery DeleteMountTarget where         toQuery = const mempty
gen/Network/AWS/EFS/DescribeMountTargets.hs view
@@ -18,12 +18,15 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the descriptions of the current mount targets for a file system.--- The order of mount targets returned in the response is unspecified.+-- Returns the descriptions of all the current mount targets, or a specific+-- mount target, for a file system. When requesting all of the current+-- mount targets, the order of mount targets returned in the response is+-- unspecified. -- -- This operation requires permission for the--- 'elasticfilesystem:DescribeMountTargets' action on the file system--- 'FileSystemId'.+-- 'elasticfilesystem:DescribeMountTargets' action, on either the file+-- system id that you specify in 'FileSystemId', or on the file system of+-- the mount target that you specify in 'MountTargetId'. -- -- /See:/ <http://docs.aws.amazon.com/directoryservice/latest/devguide/API_DescribeMountTargets.html AWS API Reference> for DescribeMountTargets. module Network.AWS.EFS.DescribeMountTargets@@ -32,9 +35,10 @@       describeMountTargets     , DescribeMountTargets     -- * Request Lenses+    , dmtFileSystemId     , dmtMarker     , dmtMaxItems-    , dmtFileSystemId+    , dmtMountTargetId      -- * Destructuring the Response     , describeMountTargetsResponse@@ -54,30 +58,39 @@  -- | /See:/ 'describeMountTargets' smart constructor. data DescribeMountTargets = DescribeMountTargets'-    { _dmtMarker       :: !(Maybe Text)-    , _dmtMaxItems     :: !(Maybe Nat)-    , _dmtFileSystemId :: !Text+    { _dmtFileSystemId  :: !(Maybe Text)+    , _dmtMarker        :: !(Maybe Text)+    , _dmtMaxItems      :: !(Maybe Nat)+    , _dmtMountTargetId :: !(Maybe Text)     } deriving (Eq,Read,Show,Data,Typeable,Generic)  -- | Creates a value of 'DescribeMountTargets' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'dmtFileSystemId'+-- -- * 'dmtMarker' -- -- * 'dmtMaxItems' ----- * 'dmtFileSystemId'+-- * 'dmtMountTargetId' describeMountTargets-    :: Text -- ^ 'dmtFileSystemId'-    -> DescribeMountTargets-describeMountTargets pFileSystemId_ =+    :: DescribeMountTargets+describeMountTargets =     DescribeMountTargets'-    { _dmtMarker = Nothing+    { _dmtFileSystemId = Nothing+    , _dmtMarker = Nothing     , _dmtMaxItems = Nothing-    , _dmtFileSystemId = pFileSystemId_+    , _dmtMountTargetId = Nothing     } +-- | Optional. String. The ID of the file system whose mount targets you want+-- to list. It must be included in your request if 'MountTargetId' is not+-- included.+dmtFileSystemId :: Lens' DescribeMountTargets (Maybe Text)+dmtFileSystemId = lens _dmtFileSystemId (\ s a -> s{_dmtFileSystemId = a});+ -- | Optional. String. Opaque pagination token returned from a previous -- 'DescribeMountTargets' operation. If present, it specifies to continue -- the list from where the previous returning call left off.@@ -89,9 +102,11 @@ dmtMaxItems :: Lens' DescribeMountTargets (Maybe Natural) dmtMaxItems = lens _dmtMaxItems (\ s a -> s{_dmtMaxItems = a}) . mapping _Nat; --- | String. The ID of the file system whose mount targets you want to list.-dmtFileSystemId :: Lens' DescribeMountTargets Text-dmtFileSystemId = lens _dmtFileSystemId (\ s a -> s{_dmtFileSystemId = a});+-- | Optional. String. The ID of the mount target that you want to have+-- described. It must be included in your request if 'FileSystemId' is not+-- included.+dmtMountTargetId :: Lens' DescribeMountTargets (Maybe Text)+dmtMountTargetId = lens _dmtMountTargetId (\ s a -> s{_dmtMountTargetId = a});  instance AWSRequest DescribeMountTargets where         type Rs DescribeMountTargets =@@ -115,8 +130,9 @@ instance ToQuery DescribeMountTargets where         toQuery DescribeMountTargets'{..}           = mconcat-              ["Marker" =: _dmtMarker, "MaxItems" =: _dmtMaxItems,-               "FileSystemId" =: _dmtFileSystemId]+              ["FileSystemId" =: _dmtFileSystemId,+               "Marker" =: _dmtMarker, "MaxItems" =: _dmtMaxItems,+               "MountTargetId" =: _dmtMountTargetId]  -- | /See:/ 'describeMountTargetsResponse' smart constructor. data DescribeMountTargetsResponse = DescribeMountTargetsResponse'
gen/Network/AWS/EFS/Types.hs view
@@ -110,8 +110,8 @@       | has (hasStatus 509) e = Just "limit_exceeded"       | otherwise = Nothing --- | Returned if there is no mount target with the specified ID is found in--- the caller\'s account.+-- | Returned if there is no mount target with the specified ID found in the+-- caller\'s account. _MountTargetNotFound :: AsError a => Getting (First ServiceError) a ServiceError _MountTargetNotFound =     _ServiceError . hasStatus 404 . hasCode "MountTargetNotFound"