{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Schemas.DescribeRegistry
-- 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)
--
-- Describes the registry.
module Amazonka.Schemas.DescribeRegistry
  ( -- * Creating a Request
    DescribeRegistry (..),
    newDescribeRegistry,

    -- * Request Lenses
    describeRegistry_registryName,

    -- * Destructuring the Response
    DescribeRegistryResponse (..),
    newDescribeRegistryResponse,

    -- * Response Lenses
    describeRegistryResponse_registryName,
    describeRegistryResponse_registryArn,
    describeRegistryResponse_description,
    describeRegistryResponse_tags,
    describeRegistryResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.Schemas.Types

-- | /See:/ 'newDescribeRegistry' smart constructor.
data DescribeRegistry = DescribeRegistry'
  { -- | The name of the registry.
    DescribeRegistry -> Text
registryName :: Prelude.Text
  }
  deriving (DescribeRegistry -> DescribeRegistry -> Bool
(DescribeRegistry -> DescribeRegistry -> Bool)
-> (DescribeRegistry -> DescribeRegistry -> Bool)
-> Eq DescribeRegistry
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeRegistry -> DescribeRegistry -> Bool
$c/= :: DescribeRegistry -> DescribeRegistry -> Bool
== :: DescribeRegistry -> DescribeRegistry -> Bool
$c== :: DescribeRegistry -> DescribeRegistry -> Bool
Prelude.Eq, ReadPrec [DescribeRegistry]
ReadPrec DescribeRegistry
Int -> ReadS DescribeRegistry
ReadS [DescribeRegistry]
(Int -> ReadS DescribeRegistry)
-> ReadS [DescribeRegistry]
-> ReadPrec DescribeRegistry
-> ReadPrec [DescribeRegistry]
-> Read DescribeRegistry
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeRegistry]
$creadListPrec :: ReadPrec [DescribeRegistry]
readPrec :: ReadPrec DescribeRegistry
$creadPrec :: ReadPrec DescribeRegistry
readList :: ReadS [DescribeRegistry]
$creadList :: ReadS [DescribeRegistry]
readsPrec :: Int -> ReadS DescribeRegistry
$creadsPrec :: Int -> ReadS DescribeRegistry
Prelude.Read, Int -> DescribeRegistry -> ShowS
[DescribeRegistry] -> ShowS
DescribeRegistry -> String
(Int -> DescribeRegistry -> ShowS)
-> (DescribeRegistry -> String)
-> ([DescribeRegistry] -> ShowS)
-> Show DescribeRegistry
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeRegistry] -> ShowS
$cshowList :: [DescribeRegistry] -> ShowS
show :: DescribeRegistry -> String
$cshow :: DescribeRegistry -> String
showsPrec :: Int -> DescribeRegistry -> ShowS
$cshowsPrec :: Int -> DescribeRegistry -> ShowS
Prelude.Show, (forall x. DescribeRegistry -> Rep DescribeRegistry x)
-> (forall x. Rep DescribeRegistry x -> DescribeRegistry)
-> Generic DescribeRegistry
forall x. Rep DescribeRegistry x -> DescribeRegistry
forall x. DescribeRegistry -> Rep DescribeRegistry x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeRegistry x -> DescribeRegistry
$cfrom :: forall x. DescribeRegistry -> Rep DescribeRegistry x
Prelude.Generic)

-- |
-- Create a value of 'DescribeRegistry' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'registryName', 'describeRegistry_registryName' - The name of the registry.
newDescribeRegistry ::
  -- | 'registryName'
  Prelude.Text ->
  DescribeRegistry
newDescribeRegistry :: Text -> DescribeRegistry
newDescribeRegistry Text
pRegistryName_ =
  DescribeRegistry' :: Text -> DescribeRegistry
DescribeRegistry' {$sel:registryName:DescribeRegistry' :: Text
registryName = Text
pRegistryName_}

-- | The name of the registry.
describeRegistry_registryName :: Lens.Lens' DescribeRegistry Prelude.Text
describeRegistry_registryName :: (Text -> f Text) -> DescribeRegistry -> f DescribeRegistry
describeRegistry_registryName = (DescribeRegistry -> Text)
-> (DescribeRegistry -> Text -> DescribeRegistry)
-> Lens DescribeRegistry DescribeRegistry Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRegistry' {Text
registryName :: Text
$sel:registryName:DescribeRegistry' :: DescribeRegistry -> Text
registryName} -> Text
registryName) (\s :: DescribeRegistry
s@DescribeRegistry' {} Text
a -> DescribeRegistry
s {$sel:registryName:DescribeRegistry' :: Text
registryName = Text
a} :: DescribeRegistry)

instance Core.AWSRequest DescribeRegistry where
  type
    AWSResponse DescribeRegistry =
      DescribeRegistryResponse
  request :: DescribeRegistry -> Request DescribeRegistry
request = Service -> DescribeRegistry -> Request DescribeRegistry
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeRegistry
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeRegistry)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeRegistry))
-> Logger
-> Service
-> Proxy DescribeRegistry
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeRegistry)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> DescribeRegistryResponse
DescribeRegistryResponse'
            (Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe (HashMap Text Text)
 -> Int
 -> DescribeRegistryResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe Text
      -> Maybe (HashMap Text Text)
      -> Int
      -> DescribeRegistryResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RegistryName")
            Either
  String
  (Maybe Text
   -> Maybe Text
   -> Maybe (HashMap Text Text)
   -> Int
   -> DescribeRegistryResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe Text
      -> Maybe (HashMap Text Text) -> Int -> DescribeRegistryResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RegistryArn")
            Either
  String
  (Maybe Text
   -> Maybe (HashMap Text Text) -> Int -> DescribeRegistryResponse)
-> Either String (Maybe Text)
-> Either
     String
     (Maybe (HashMap Text Text) -> Int -> DescribeRegistryResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Description")
            Either
  String
  (Maybe (HashMap Text Text) -> Int -> DescribeRegistryResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either String (Int -> DescribeRegistryResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tags" Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty)
            Either String (Int -> DescribeRegistryResponse)
-> Either String Int -> Either String DescribeRegistryResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable DescribeRegistry

instance Prelude.NFData DescribeRegistry

instance Core.ToHeaders DescribeRegistry where
  toHeaders :: DescribeRegistry -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeRegistry -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToPath DescribeRegistry where
  toPath :: DescribeRegistry -> ByteString
toPath DescribeRegistry' {Text
registryName :: Text
$sel:registryName:DescribeRegistry' :: DescribeRegistry -> Text
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"/v1/registries/name/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
registryName]

instance Core.ToQuery DescribeRegistry where
  toQuery :: DescribeRegistry -> QueryString
toQuery = QueryString -> DescribeRegistry -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newDescribeRegistryResponse' smart constructor.
data DescribeRegistryResponse = DescribeRegistryResponse'
  { -- | The name of the registry.
    DescribeRegistryResponse -> Maybe Text
registryName :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the registry.
    DescribeRegistryResponse -> Maybe Text
registryArn :: Prelude.Maybe Prelude.Text,
    -- | The description of the registry.
    DescribeRegistryResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | Tags associated with the registry.
    DescribeRegistryResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | The response's http status code.
    DescribeRegistryResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeRegistryResponse -> DescribeRegistryResponse -> Bool
(DescribeRegistryResponse -> DescribeRegistryResponse -> Bool)
-> (DescribeRegistryResponse -> DescribeRegistryResponse -> Bool)
-> Eq DescribeRegistryResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeRegistryResponse -> DescribeRegistryResponse -> Bool
$c/= :: DescribeRegistryResponse -> DescribeRegistryResponse -> Bool
== :: DescribeRegistryResponse -> DescribeRegistryResponse -> Bool
$c== :: DescribeRegistryResponse -> DescribeRegistryResponse -> Bool
Prelude.Eq, ReadPrec [DescribeRegistryResponse]
ReadPrec DescribeRegistryResponse
Int -> ReadS DescribeRegistryResponse
ReadS [DescribeRegistryResponse]
(Int -> ReadS DescribeRegistryResponse)
-> ReadS [DescribeRegistryResponse]
-> ReadPrec DescribeRegistryResponse
-> ReadPrec [DescribeRegistryResponse]
-> Read DescribeRegistryResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeRegistryResponse]
$creadListPrec :: ReadPrec [DescribeRegistryResponse]
readPrec :: ReadPrec DescribeRegistryResponse
$creadPrec :: ReadPrec DescribeRegistryResponse
readList :: ReadS [DescribeRegistryResponse]
$creadList :: ReadS [DescribeRegistryResponse]
readsPrec :: Int -> ReadS DescribeRegistryResponse
$creadsPrec :: Int -> ReadS DescribeRegistryResponse
Prelude.Read, Int -> DescribeRegistryResponse -> ShowS
[DescribeRegistryResponse] -> ShowS
DescribeRegistryResponse -> String
(Int -> DescribeRegistryResponse -> ShowS)
-> (DescribeRegistryResponse -> String)
-> ([DescribeRegistryResponse] -> ShowS)
-> Show DescribeRegistryResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeRegistryResponse] -> ShowS
$cshowList :: [DescribeRegistryResponse] -> ShowS
show :: DescribeRegistryResponse -> String
$cshow :: DescribeRegistryResponse -> String
showsPrec :: Int -> DescribeRegistryResponse -> ShowS
$cshowsPrec :: Int -> DescribeRegistryResponse -> ShowS
Prelude.Show, (forall x.
 DescribeRegistryResponse -> Rep DescribeRegistryResponse x)
-> (forall x.
    Rep DescribeRegistryResponse x -> DescribeRegistryResponse)
-> Generic DescribeRegistryResponse
forall x.
Rep DescribeRegistryResponse x -> DescribeRegistryResponse
forall x.
DescribeRegistryResponse -> Rep DescribeRegistryResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeRegistryResponse x -> DescribeRegistryResponse
$cfrom :: forall x.
DescribeRegistryResponse -> Rep DescribeRegistryResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeRegistryResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'registryName', 'describeRegistryResponse_registryName' - The name of the registry.
--
-- 'registryArn', 'describeRegistryResponse_registryArn' - The ARN of the registry.
--
-- 'description', 'describeRegistryResponse_description' - The description of the registry.
--
-- 'tags', 'describeRegistryResponse_tags' - Tags associated with the registry.
--
-- 'httpStatus', 'describeRegistryResponse_httpStatus' - The response's http status code.
newDescribeRegistryResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeRegistryResponse
newDescribeRegistryResponse :: Int -> DescribeRegistryResponse
newDescribeRegistryResponse Int
pHttpStatus_ =
  DescribeRegistryResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> DescribeRegistryResponse
DescribeRegistryResponse'
    { $sel:registryName:DescribeRegistryResponse' :: Maybe Text
registryName =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:registryArn:DescribeRegistryResponse' :: Maybe Text
registryArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:description:DescribeRegistryResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:tags:DescribeRegistryResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeRegistryResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The name of the registry.
describeRegistryResponse_registryName :: Lens.Lens' DescribeRegistryResponse (Prelude.Maybe Prelude.Text)
describeRegistryResponse_registryName :: (Maybe Text -> f (Maybe Text))
-> DescribeRegistryResponse -> f DescribeRegistryResponse
describeRegistryResponse_registryName = (DescribeRegistryResponse -> Maybe Text)
-> (DescribeRegistryResponse
    -> Maybe Text -> DescribeRegistryResponse)
-> Lens
     DescribeRegistryResponse
     DescribeRegistryResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRegistryResponse' {Maybe Text
registryName :: Maybe Text
$sel:registryName:DescribeRegistryResponse' :: DescribeRegistryResponse -> Maybe Text
registryName} -> Maybe Text
registryName) (\s :: DescribeRegistryResponse
s@DescribeRegistryResponse' {} Maybe Text
a -> DescribeRegistryResponse
s {$sel:registryName:DescribeRegistryResponse' :: Maybe Text
registryName = Maybe Text
a} :: DescribeRegistryResponse)

-- | The ARN of the registry.
describeRegistryResponse_registryArn :: Lens.Lens' DescribeRegistryResponse (Prelude.Maybe Prelude.Text)
describeRegistryResponse_registryArn :: (Maybe Text -> f (Maybe Text))
-> DescribeRegistryResponse -> f DescribeRegistryResponse
describeRegistryResponse_registryArn = (DescribeRegistryResponse -> Maybe Text)
-> (DescribeRegistryResponse
    -> Maybe Text -> DescribeRegistryResponse)
-> Lens
     DescribeRegistryResponse
     DescribeRegistryResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRegistryResponse' {Maybe Text
registryArn :: Maybe Text
$sel:registryArn:DescribeRegistryResponse' :: DescribeRegistryResponse -> Maybe Text
registryArn} -> Maybe Text
registryArn) (\s :: DescribeRegistryResponse
s@DescribeRegistryResponse' {} Maybe Text
a -> DescribeRegistryResponse
s {$sel:registryArn:DescribeRegistryResponse' :: Maybe Text
registryArn = Maybe Text
a} :: DescribeRegistryResponse)

-- | The description of the registry.
describeRegistryResponse_description :: Lens.Lens' DescribeRegistryResponse (Prelude.Maybe Prelude.Text)
describeRegistryResponse_description :: (Maybe Text -> f (Maybe Text))
-> DescribeRegistryResponse -> f DescribeRegistryResponse
describeRegistryResponse_description = (DescribeRegistryResponse -> Maybe Text)
-> (DescribeRegistryResponse
    -> Maybe Text -> DescribeRegistryResponse)
-> Lens
     DescribeRegistryResponse
     DescribeRegistryResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRegistryResponse' {Maybe Text
description :: Maybe Text
$sel:description:DescribeRegistryResponse' :: DescribeRegistryResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: DescribeRegistryResponse
s@DescribeRegistryResponse' {} Maybe Text
a -> DescribeRegistryResponse
s {$sel:description:DescribeRegistryResponse' :: Maybe Text
description = Maybe Text
a} :: DescribeRegistryResponse)

-- | Tags associated with the registry.
describeRegistryResponse_tags :: Lens.Lens' DescribeRegistryResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
describeRegistryResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeRegistryResponse -> f DescribeRegistryResponse
describeRegistryResponse_tags = (DescribeRegistryResponse -> Maybe (HashMap Text Text))
-> (DescribeRegistryResponse
    -> Maybe (HashMap Text Text) -> DescribeRegistryResponse)
-> Lens
     DescribeRegistryResponse
     DescribeRegistryResponse
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRegistryResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DescribeRegistryResponse' :: DescribeRegistryResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DescribeRegistryResponse
s@DescribeRegistryResponse' {} Maybe (HashMap Text Text)
a -> DescribeRegistryResponse
s {$sel:tags:DescribeRegistryResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DescribeRegistryResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
 -> DescribeRegistryResponse -> f DescribeRegistryResponse)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
    -> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeRegistryResponse
-> f DescribeRegistryResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
-> Iso
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
     (Maybe (HashMap Text Text))
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
  (HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The response's http status code.
describeRegistryResponse_httpStatus :: Lens.Lens' DescribeRegistryResponse Prelude.Int
describeRegistryResponse_httpStatus :: (Int -> f Int)
-> DescribeRegistryResponse -> f DescribeRegistryResponse
describeRegistryResponse_httpStatus = (DescribeRegistryResponse -> Int)
-> (DescribeRegistryResponse -> Int -> DescribeRegistryResponse)
-> Lens DescribeRegistryResponse DescribeRegistryResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRegistryResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeRegistryResponse' :: DescribeRegistryResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeRegistryResponse
s@DescribeRegistryResponse' {} Int
a -> DescribeRegistryResponse
s {$sel:httpStatus:DescribeRegistryResponse' :: Int
httpStatus = Int
a} :: DescribeRegistryResponse)

instance Prelude.NFData DescribeRegistryResponse