amazonka-codecommit-1.4.5: Amazon CodeCommit SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 # 
Data GetRepository Source # 

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 # 
Show GetRepository Source # 
Generic GetRepository Source # 

Associated Types

type Rep GetRepository :: * -> * #

Hashable GetRepository Source # 
ToJSON GetRepository Source # 
NFData GetRepository Source # 

Methods

rnf :: GetRepository -> () #

AWSRequest GetRepository Source # 
ToPath GetRepository Source # 
ToHeaders GetRepository Source # 
ToQuery GetRepository Source # 
type Rep GetRepository Source # 
type Rep GetRepository = D1 (MetaData "GetRepository" "Network.AWS.CodeCommit.GetRepository" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" True) (C1 (MetaCons "GetRepository'" PrefixI True) (S1 (MetaSel (Just Symbol "_grRepositoryName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetRepository Source # 

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 # 
Data GetRepositoryResponse Source # 

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 # 
Show GetRepositoryResponse Source # 
Generic GetRepositoryResponse Source # 
NFData GetRepositoryResponse Source # 

Methods

rnf :: GetRepositoryResponse -> () #

type Rep GetRepositoryResponse Source # 
type Rep GetRepositoryResponse = D1 (MetaData "GetRepositoryResponse" "Network.AWS.CodeCommit.GetRepository" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" False) (C1 (MetaCons "GetRepositoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grrsRepositoryMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RepositoryMetadata))) (S1 (MetaSel (Just Symbol "_grrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

grrsResponseStatus :: Lens' GetRepositoryResponse Int Source #

  • - | The response status code.