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

Amazonka.CodeCommit.GetBlob

Description

Returns the base-64 encoded content of an individual blob in a repository.

Synopsis

Creating a Request

data GetBlob Source #

Represents the input of a get blob operation.

See: newGetBlob smart constructor.

Constructors

GetBlob' 

Fields

Instances

Instances details
Eq GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Methods

(==) :: GetBlob -> GetBlob -> Bool #

(/=) :: GetBlob -> GetBlob -> Bool #

Read GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Show GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Generic GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Associated Types

type Rep GetBlob :: Type -> Type #

Methods

from :: GetBlob -> Rep GetBlob x #

to :: Rep GetBlob x -> GetBlob #

NFData GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Methods

rnf :: GetBlob -> () #

Hashable GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Methods

hashWithSalt :: Int -> GetBlob -> Int #

hash :: GetBlob -> Int #

ToJSON GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

AWSRequest GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Associated Types

type AWSResponse GetBlob #

ToHeaders GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Methods

toHeaders :: GetBlob -> [Header] #

ToPath GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Methods

toPath :: GetBlob -> ByteString #

ToQuery GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

type Rep GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

type Rep GetBlob = D1 ('MetaData "GetBlob" "Amazonka.CodeCommit.GetBlob" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "GetBlob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "blobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetBlob Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

newGetBlob Source #

Create a value of GetBlob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:repositoryName:GetBlob', getBlob_repositoryName - The name of the repository that contains the blob.

$sel:blobId:GetBlob', getBlob_blobId - The ID of the blob, which is its SHA-1 pointer.

Request Lenses

getBlob_repositoryName :: Lens' GetBlob Text Source #

The name of the repository that contains the blob.

getBlob_blobId :: Lens' GetBlob Text Source #

The ID of the blob, which is its SHA-1 pointer.

Destructuring the Response

data GetBlobResponse Source #

Represents the output of a get blob operation.

See: newGetBlobResponse smart constructor.

Constructors

GetBlobResponse' 

Fields

Instances

Instances details
Eq GetBlobResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Read GetBlobResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Show GetBlobResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Generic GetBlobResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Associated Types

type Rep GetBlobResponse :: Type -> Type #

NFData GetBlobResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

Methods

rnf :: GetBlobResponse -> () #

type Rep GetBlobResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetBlob

type Rep GetBlobResponse = D1 ('MetaData "GetBlobResponse" "Amazonka.CodeCommit.GetBlob" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "GetBlobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64)))

newGetBlobResponse Source #

Create a value of GetBlobResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:GetBlobResponse', getBlobResponse_httpStatus - The response's http status code.

$sel:content:GetBlobResponse', getBlobResponse_content - The content of the blob, usually a file.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

Response Lenses

getBlobResponse_httpStatus :: Lens' GetBlobResponse Int Source #

The response's http status code.

getBlobResponse_content :: Lens' GetBlobResponse ByteString Source #

The content of the blob, usually a file.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.