{-# 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.EC2.DescribeIdentityIdFormat
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Describes the ID format settings for resources for the specified IAM
-- user, IAM role, or root user. For example, you can view the resource
-- types that are enabled for longer IDs. This request only returns
-- information about resource types whose ID formats can be modified; it
-- does not return information about other resource types. For more
-- information, see
-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html Resource IDs>
-- in the /Amazon Elastic Compute Cloud User Guide/.
--
-- The following resource types support longer IDs: @bundle@ |
-- @conversion-task@ | @customer-gateway@ | @dhcp-options@ |
-- @elastic-ip-allocation@ | @elastic-ip-association@ | @export-task@ |
-- @flow-log@ | @image@ | @import-task@ | @instance@ | @internet-gateway@ |
-- @network-acl@ | @network-acl-association@ | @network-interface@ |
-- @network-interface-attachment@ | @prefix-list@ | @reservation@ |
-- @route-table@ | @route-table-association@ | @security-group@ |
-- @snapshot@ | @subnet@ | @subnet-cidr-block-association@ | @volume@ |
-- @vpc@ | @vpc-cidr-block-association@ | @vpc-endpoint@ |
-- @vpc-peering-connection@ | @vpn-connection@ | @vpn-gateway@.
--
-- These settings apply to the principal specified in the request. They do
-- not apply to the principal that makes the request.
module Amazonka.EC2.DescribeIdentityIdFormat
  ( -- * Creating a Request
    DescribeIdentityIdFormat (..),
    newDescribeIdentityIdFormat,

    -- * Request Lenses
    describeIdentityIdFormat_resource,
    describeIdentityIdFormat_principalArn,

    -- * Destructuring the Response
    DescribeIdentityIdFormatResponse (..),
    newDescribeIdentityIdFormatResponse,

    -- * Response Lenses
    describeIdentityIdFormatResponse_statuses,
    describeIdentityIdFormatResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.EC2.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newDescribeIdentityIdFormat' smart constructor.
data DescribeIdentityIdFormat = DescribeIdentityIdFormat'
  { -- | The type of resource: @bundle@ | @conversion-task@ | @customer-gateway@
    -- | @dhcp-options@ | @elastic-ip-allocation@ | @elastic-ip-association@ |
    -- @export-task@ | @flow-log@ | @image@ | @import-task@ | @instance@ |
    -- @internet-gateway@ | @network-acl@ | @network-acl-association@ |
    -- @network-interface@ | @network-interface-attachment@ | @prefix-list@ |
    -- @reservation@ | @route-table@ | @route-table-association@ |
    -- @security-group@ | @snapshot@ | @subnet@ |
    -- @subnet-cidr-block-association@ | @volume@ | @vpc@ |
    -- @vpc-cidr-block-association@ | @vpc-endpoint@ | @vpc-peering-connection@
    -- | @vpn-connection@ | @vpn-gateway@
    DescribeIdentityIdFormat -> Maybe Text
resource :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the principal, which can be an IAM role, IAM user, or the
    -- root user.
    DescribeIdentityIdFormat -> Text
principalArn :: Prelude.Text
  }
  deriving (DescribeIdentityIdFormat -> DescribeIdentityIdFormat -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeIdentityIdFormat -> DescribeIdentityIdFormat -> Bool
$c/= :: DescribeIdentityIdFormat -> DescribeIdentityIdFormat -> Bool
== :: DescribeIdentityIdFormat -> DescribeIdentityIdFormat -> Bool
$c== :: DescribeIdentityIdFormat -> DescribeIdentityIdFormat -> Bool
Prelude.Eq, ReadPrec [DescribeIdentityIdFormat]
ReadPrec DescribeIdentityIdFormat
Int -> ReadS DescribeIdentityIdFormat
ReadS [DescribeIdentityIdFormat]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeIdentityIdFormat]
$creadListPrec :: ReadPrec [DescribeIdentityIdFormat]
readPrec :: ReadPrec DescribeIdentityIdFormat
$creadPrec :: ReadPrec DescribeIdentityIdFormat
readList :: ReadS [DescribeIdentityIdFormat]
$creadList :: ReadS [DescribeIdentityIdFormat]
readsPrec :: Int -> ReadS DescribeIdentityIdFormat
$creadsPrec :: Int -> ReadS DescribeIdentityIdFormat
Prelude.Read, Int -> DescribeIdentityIdFormat -> ShowS
[DescribeIdentityIdFormat] -> ShowS
DescribeIdentityIdFormat -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeIdentityIdFormat] -> ShowS
$cshowList :: [DescribeIdentityIdFormat] -> ShowS
show :: DescribeIdentityIdFormat -> String
$cshow :: DescribeIdentityIdFormat -> String
showsPrec :: Int -> DescribeIdentityIdFormat -> ShowS
$cshowsPrec :: Int -> DescribeIdentityIdFormat -> ShowS
Prelude.Show, forall x.
Rep DescribeIdentityIdFormat x -> DescribeIdentityIdFormat
forall x.
DescribeIdentityIdFormat -> Rep DescribeIdentityIdFormat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeIdentityIdFormat x -> DescribeIdentityIdFormat
$cfrom :: forall x.
DescribeIdentityIdFormat -> Rep DescribeIdentityIdFormat x
Prelude.Generic)

-- |
-- Create a value of 'DescribeIdentityIdFormat' 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:
--
-- 'resource', 'describeIdentityIdFormat_resource' - The type of resource: @bundle@ | @conversion-task@ | @customer-gateway@
-- | @dhcp-options@ | @elastic-ip-allocation@ | @elastic-ip-association@ |
-- @export-task@ | @flow-log@ | @image@ | @import-task@ | @instance@ |
-- @internet-gateway@ | @network-acl@ | @network-acl-association@ |
-- @network-interface@ | @network-interface-attachment@ | @prefix-list@ |
-- @reservation@ | @route-table@ | @route-table-association@ |
-- @security-group@ | @snapshot@ | @subnet@ |
-- @subnet-cidr-block-association@ | @volume@ | @vpc@ |
-- @vpc-cidr-block-association@ | @vpc-endpoint@ | @vpc-peering-connection@
-- | @vpn-connection@ | @vpn-gateway@
--
-- 'principalArn', 'describeIdentityIdFormat_principalArn' - The ARN of the principal, which can be an IAM role, IAM user, or the
-- root user.
newDescribeIdentityIdFormat ::
  -- | 'principalArn'
  Prelude.Text ->
  DescribeIdentityIdFormat
newDescribeIdentityIdFormat :: Text -> DescribeIdentityIdFormat
newDescribeIdentityIdFormat Text
pPrincipalArn_ =
  DescribeIdentityIdFormat'
    { $sel:resource:DescribeIdentityIdFormat' :: Maybe Text
resource =
        forall a. Maybe a
Prelude.Nothing,
      $sel:principalArn:DescribeIdentityIdFormat' :: Text
principalArn = Text
pPrincipalArn_
    }

-- | The type of resource: @bundle@ | @conversion-task@ | @customer-gateway@
-- | @dhcp-options@ | @elastic-ip-allocation@ | @elastic-ip-association@ |
-- @export-task@ | @flow-log@ | @image@ | @import-task@ | @instance@ |
-- @internet-gateway@ | @network-acl@ | @network-acl-association@ |
-- @network-interface@ | @network-interface-attachment@ | @prefix-list@ |
-- @reservation@ | @route-table@ | @route-table-association@ |
-- @security-group@ | @snapshot@ | @subnet@ |
-- @subnet-cidr-block-association@ | @volume@ | @vpc@ |
-- @vpc-cidr-block-association@ | @vpc-endpoint@ | @vpc-peering-connection@
-- | @vpn-connection@ | @vpn-gateway@
describeIdentityIdFormat_resource :: Lens.Lens' DescribeIdentityIdFormat (Prelude.Maybe Prelude.Text)
describeIdentityIdFormat_resource :: Lens' DescribeIdentityIdFormat (Maybe Text)
describeIdentityIdFormat_resource = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeIdentityIdFormat' {Maybe Text
resource :: Maybe Text
$sel:resource:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Maybe Text
resource} -> Maybe Text
resource) (\s :: DescribeIdentityIdFormat
s@DescribeIdentityIdFormat' {} Maybe Text
a -> DescribeIdentityIdFormat
s {$sel:resource:DescribeIdentityIdFormat' :: Maybe Text
resource = Maybe Text
a} :: DescribeIdentityIdFormat)

-- | The ARN of the principal, which can be an IAM role, IAM user, or the
-- root user.
describeIdentityIdFormat_principalArn :: Lens.Lens' DescribeIdentityIdFormat Prelude.Text
describeIdentityIdFormat_principalArn :: Lens' DescribeIdentityIdFormat Text
describeIdentityIdFormat_principalArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeIdentityIdFormat' {Text
principalArn :: Text
$sel:principalArn:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Text
principalArn} -> Text
principalArn) (\s :: DescribeIdentityIdFormat
s@DescribeIdentityIdFormat' {} Text
a -> DescribeIdentityIdFormat
s {$sel:principalArn:DescribeIdentityIdFormat' :: Text
principalArn = Text
a} :: DescribeIdentityIdFormat)

instance Core.AWSRequest DescribeIdentityIdFormat where
  type
    AWSResponse DescribeIdentityIdFormat =
      DescribeIdentityIdFormatResponse
  request :: (Service -> Service)
-> DescribeIdentityIdFormat -> Request DescribeIdentityIdFormat
request Service -> Service
overrides =
    forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy DescribeIdentityIdFormat
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeIdentityIdFormat)))
response =
    forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXML
      ( \Int
s ResponseHeaders
h [Node]
x ->
          Maybe [IdFormat] -> Int -> DescribeIdentityIdFormatResponse
DescribeIdentityIdFormatResponse'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( [Node]
x
                            forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"statusSet"
                            forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
                            forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (forall a. FromXML a => Text -> [Node] -> Either String [a]
Data.parseXMLList Text
"item")
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable DescribeIdentityIdFormat where
  hashWithSalt :: Int -> DescribeIdentityIdFormat -> Int
hashWithSalt Int
_salt DescribeIdentityIdFormat' {Maybe Text
Text
principalArn :: Text
resource :: Maybe Text
$sel:principalArn:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Text
$sel:resource:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
resource
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
principalArn

instance Prelude.NFData DescribeIdentityIdFormat where
  rnf :: DescribeIdentityIdFormat -> ()
rnf DescribeIdentityIdFormat' {Maybe Text
Text
principalArn :: Text
resource :: Maybe Text
$sel:principalArn:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Text
$sel:resource:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
resource
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
principalArn

instance Data.ToHeaders DescribeIdentityIdFormat where
  toHeaders :: DescribeIdentityIdFormat -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

instance Data.ToPath DescribeIdentityIdFormat where
  toPath :: DescribeIdentityIdFormat -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Data.ToQuery DescribeIdentityIdFormat where
  toQuery :: DescribeIdentityIdFormat -> QueryString
toQuery DescribeIdentityIdFormat' {Maybe Text
Text
principalArn :: Text
resource :: Maybe Text
$sel:principalArn:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Text
$sel:resource:DescribeIdentityIdFormat' :: DescribeIdentityIdFormat -> Maybe Text
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"DescribeIdentityIdFormat" :: Prelude.ByteString),
        ByteString
"Version"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2016-11-15" :: Prelude.ByteString),
        ByteString
"Resource" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
resource,
        ByteString
"PrincipalArn" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
principalArn
      ]

-- | /See:/ 'newDescribeIdentityIdFormatResponse' smart constructor.
data DescribeIdentityIdFormatResponse = DescribeIdentityIdFormatResponse'
  { -- | Information about the ID format for the resources.
    DescribeIdentityIdFormatResponse -> Maybe [IdFormat]
statuses :: Prelude.Maybe [IdFormat],
    -- | The response's http status code.
    DescribeIdentityIdFormatResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeIdentityIdFormatResponse
-> DescribeIdentityIdFormatResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeIdentityIdFormatResponse
-> DescribeIdentityIdFormatResponse -> Bool
$c/= :: DescribeIdentityIdFormatResponse
-> DescribeIdentityIdFormatResponse -> Bool
== :: DescribeIdentityIdFormatResponse
-> DescribeIdentityIdFormatResponse -> Bool
$c== :: DescribeIdentityIdFormatResponse
-> DescribeIdentityIdFormatResponse -> Bool
Prelude.Eq, ReadPrec [DescribeIdentityIdFormatResponse]
ReadPrec DescribeIdentityIdFormatResponse
Int -> ReadS DescribeIdentityIdFormatResponse
ReadS [DescribeIdentityIdFormatResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeIdentityIdFormatResponse]
$creadListPrec :: ReadPrec [DescribeIdentityIdFormatResponse]
readPrec :: ReadPrec DescribeIdentityIdFormatResponse
$creadPrec :: ReadPrec DescribeIdentityIdFormatResponse
readList :: ReadS [DescribeIdentityIdFormatResponse]
$creadList :: ReadS [DescribeIdentityIdFormatResponse]
readsPrec :: Int -> ReadS DescribeIdentityIdFormatResponse
$creadsPrec :: Int -> ReadS DescribeIdentityIdFormatResponse
Prelude.Read, Int -> DescribeIdentityIdFormatResponse -> ShowS
[DescribeIdentityIdFormatResponse] -> ShowS
DescribeIdentityIdFormatResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeIdentityIdFormatResponse] -> ShowS
$cshowList :: [DescribeIdentityIdFormatResponse] -> ShowS
show :: DescribeIdentityIdFormatResponse -> String
$cshow :: DescribeIdentityIdFormatResponse -> String
showsPrec :: Int -> DescribeIdentityIdFormatResponse -> ShowS
$cshowsPrec :: Int -> DescribeIdentityIdFormatResponse -> ShowS
Prelude.Show, forall x.
Rep DescribeIdentityIdFormatResponse x
-> DescribeIdentityIdFormatResponse
forall x.
DescribeIdentityIdFormatResponse
-> Rep DescribeIdentityIdFormatResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeIdentityIdFormatResponse x
-> DescribeIdentityIdFormatResponse
$cfrom :: forall x.
DescribeIdentityIdFormatResponse
-> Rep DescribeIdentityIdFormatResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeIdentityIdFormatResponse' 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:
--
-- 'statuses', 'describeIdentityIdFormatResponse_statuses' - Information about the ID format for the resources.
--
-- 'httpStatus', 'describeIdentityIdFormatResponse_httpStatus' - The response's http status code.
newDescribeIdentityIdFormatResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeIdentityIdFormatResponse
newDescribeIdentityIdFormatResponse :: Int -> DescribeIdentityIdFormatResponse
newDescribeIdentityIdFormatResponse Int
pHttpStatus_ =
  DescribeIdentityIdFormatResponse'
    { $sel:statuses:DescribeIdentityIdFormatResponse' :: Maybe [IdFormat]
statuses =
        forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeIdentityIdFormatResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Information about the ID format for the resources.
describeIdentityIdFormatResponse_statuses :: Lens.Lens' DescribeIdentityIdFormatResponse (Prelude.Maybe [IdFormat])
describeIdentityIdFormatResponse_statuses :: Lens' DescribeIdentityIdFormatResponse (Maybe [IdFormat])
describeIdentityIdFormatResponse_statuses = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeIdentityIdFormatResponse' {Maybe [IdFormat]
statuses :: Maybe [IdFormat]
$sel:statuses:DescribeIdentityIdFormatResponse' :: DescribeIdentityIdFormatResponse -> Maybe [IdFormat]
statuses} -> Maybe [IdFormat]
statuses) (\s :: DescribeIdentityIdFormatResponse
s@DescribeIdentityIdFormatResponse' {} Maybe [IdFormat]
a -> DescribeIdentityIdFormatResponse
s {$sel:statuses:DescribeIdentityIdFormatResponse' :: Maybe [IdFormat]
statuses = Maybe [IdFormat]
a} :: DescribeIdentityIdFormatResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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

instance
  Prelude.NFData
    DescribeIdentityIdFormatResponse
  where
  rnf :: DescribeIdentityIdFormatResponse -> ()
rnf DescribeIdentityIdFormatResponse' {Int
Maybe [IdFormat]
httpStatus :: Int
statuses :: Maybe [IdFormat]
$sel:httpStatus:DescribeIdentityIdFormatResponse' :: DescribeIdentityIdFormatResponse -> Int
$sel:statuses:DescribeIdentityIdFormatResponse' :: DescribeIdentityIdFormatResponse -> Maybe [IdFormat]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [IdFormat]
statuses
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus