amazonka-proton-2.0: Amazon Proton SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Proton.GetRepositorySyncStatus

Description

Get the sync status of a repository used for Proton template sync. For more information about template sync, see .

A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC).

For more information about ABAC, see ABAC in the Proton User Guide.

Synopsis

Creating a Request

data GetRepositorySyncStatus Source #

See: newGetRepositorySyncStatus smart constructor.

Constructors

GetRepositorySyncStatus' 

Fields

Instances

Instances details
ToJSON GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

ToHeaders GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

ToPath GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

ToQuery GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

AWSRequest GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Generic GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Associated Types

type Rep GetRepositorySyncStatus :: Type -> Type #

Read GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Show GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

NFData GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Methods

rnf :: GetRepositorySyncStatus -> () #

Eq GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Hashable GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

type AWSResponse GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

type Rep GetRepositorySyncStatus Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

type Rep GetRepositorySyncStatus = D1 ('MetaData "GetRepositorySyncStatus" "Amazonka.Proton.GetRepositorySyncStatus" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "GetRepositorySyncStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "repositoryProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RepositoryProvider) :*: S1 ('MetaSel ('Just "syncType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SyncType))))

newGetRepositorySyncStatus Source #

Create a value of GetRepositorySyncStatus 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:

GetRepositorySyncStatus, getRepositorySyncStatus_branch - The repository branch.

GetRepositorySyncStatus, getRepositorySyncStatus_repositoryName - The repository name.

GetRepositorySyncStatus, getRepositorySyncStatus_repositoryProvider - The repository provider.

$sel:syncType:GetRepositorySyncStatus', getRepositorySyncStatus_syncType - The repository sync type.

Request Lenses

Destructuring the Response

data GetRepositorySyncStatusResponse Source #

See: newGetRepositorySyncStatusResponse smart constructor.

Constructors

GetRepositorySyncStatusResponse' 

Fields

Instances

Instances details
Generic GetRepositorySyncStatusResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Associated Types

type Rep GetRepositorySyncStatusResponse :: Type -> Type #

Read GetRepositorySyncStatusResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Show GetRepositorySyncStatusResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

NFData GetRepositorySyncStatusResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

Eq GetRepositorySyncStatusResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

type Rep GetRepositorySyncStatusResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepositorySyncStatus

type Rep GetRepositorySyncStatusResponse = D1 ('MetaData "GetRepositorySyncStatusResponse" "Amazonka.Proton.GetRepositorySyncStatus" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "GetRepositorySyncStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "latestSync") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositorySyncAttempt)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetRepositorySyncStatusResponse Source #

Create a value of GetRepositorySyncStatusResponse 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:latestSync:GetRepositorySyncStatusResponse', getRepositorySyncStatusResponse_latestSync - The repository sync status detail data that's returned by Proton.

$sel:httpStatus:GetRepositorySyncStatusResponse', getRepositorySyncStatusResponse_httpStatus - The response's http status code.

Response Lenses

getRepositorySyncStatusResponse_latestSync :: Lens' GetRepositorySyncStatusResponse (Maybe RepositorySyncAttempt) Source #

The repository sync status detail data that's returned by Proton.