amazonka-codecommit-1.6.1: Amazon CodeCommit SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeCommit.GetRepository

Contents

Description

Returns information about a repository.

Synopsis

Creating a Request

getRepository Source #

Creates a value of GetRepository with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetRepository Source #

Represents the input of a get repository operation.

See: getRepository smart constructor.

Instances
Eq GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Data GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetRepository -> c GetRepository #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetRepository #

toConstr :: GetRepository -> Constr #

dataTypeOf :: GetRepository -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetRepository) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetRepository) #

gmapT :: (forall b. Data b => b -> b) -> GetRepository -> GetRepository #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetRepository -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetRepository -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetRepository -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetRepository -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetRepository -> m GetRepository #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRepository -> m GetRepository #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRepository -> m GetRepository #

Read GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Show GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Generic GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Associated Types

type Rep GetRepository :: Type -> Type #

Hashable GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

ToJSON GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

AWSRequest GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Associated Types

type Rs GetRepository :: Type #

ToHeaders GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

ToPath GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

ToQuery GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

NFData GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Methods

rnf :: GetRepository -> () #

type Rep GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

type Rep GetRepository = D1 (MetaData "GetRepository" "Network.AWS.CodeCommit.GetRepository" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" True) (C1 (MetaCons "GetRepository'" PrefixI True) (S1 (MetaSel (Just "_grRepositoryName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetRepository Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Request Lenses

grRepositoryName :: Lens' GetRepository Text Source #

The name of the repository to get information about.

Destructuring the Response

getRepositoryResponse Source #

Creates a value of GetRepositoryResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetRepositoryResponse Source #

Represents the output of a get repository operation.

See: getRepositoryResponse smart constructor.

Instances
Eq GetRepositoryResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Data GetRepositoryResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetRepositoryResponse -> c GetRepositoryResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetRepositoryResponse #

toConstr :: GetRepositoryResponse -> Constr #

dataTypeOf :: GetRepositoryResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetRepositoryResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetRepositoryResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetRepositoryResponse -> GetRepositoryResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetRepositoryResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetRepositoryResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetRepositoryResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetRepositoryResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetRepositoryResponse -> m GetRepositoryResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRepositoryResponse -> m GetRepositoryResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRepositoryResponse -> m GetRepositoryResponse #

Read GetRepositoryResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Show GetRepositoryResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Generic GetRepositoryResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Associated Types

type Rep GetRepositoryResponse :: Type -> Type #

NFData GetRepositoryResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

Methods

rnf :: GetRepositoryResponse -> () #

type Rep GetRepositoryResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetRepository

type Rep GetRepositoryResponse = D1 (MetaData "GetRepositoryResponse" "Network.AWS.CodeCommit.GetRepository" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "GetRepositoryResponse'" PrefixI True) (S1 (MetaSel (Just "_grrsRepositoryMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RepositoryMetadata)) :*: S1 (MetaSel (Just "_grrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

grrsResponseStatus :: Lens' GetRepositoryResponse Int Source #

  • - | The response status code.