Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data GetRepositorySyncStatus = GetRepositorySyncStatus' {}
- newGetRepositorySyncStatus :: Text -> Text -> RepositoryProvider -> SyncType -> GetRepositorySyncStatus
- getRepositorySyncStatus_branch :: Lens' GetRepositorySyncStatus Text
- getRepositorySyncStatus_repositoryName :: Lens' GetRepositorySyncStatus Text
- getRepositorySyncStatus_repositoryProvider :: Lens' GetRepositorySyncStatus RepositoryProvider
- getRepositorySyncStatus_syncType :: Lens' GetRepositorySyncStatus SyncType
- data GetRepositorySyncStatusResponse = GetRepositorySyncStatusResponse' {}
- newGetRepositorySyncStatusResponse :: Int -> GetRepositorySyncStatusResponse
- getRepositorySyncStatusResponse_latestSync :: Lens' GetRepositorySyncStatusResponse (Maybe RepositorySyncAttempt)
- getRepositorySyncStatusResponse_httpStatus :: Lens' GetRepositorySyncStatusResponse Int
Creating a Request
data GetRepositorySyncStatus Source #
See: newGetRepositorySyncStatus
smart constructor.
Constructors
GetRepositorySyncStatus' | |
Fields
|
Instances
newGetRepositorySyncStatus Source #
Arguments
:: Text | |
-> Text | |
-> RepositoryProvider | |
-> SyncType | |
-> GetRepositorySyncStatus |
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
getRepositorySyncStatus_branch :: Lens' GetRepositorySyncStatus Text Source #
The repository branch.
getRepositorySyncStatus_repositoryName :: Lens' GetRepositorySyncStatus Text Source #
The repository name.
getRepositorySyncStatus_repositoryProvider :: Lens' GetRepositorySyncStatus RepositoryProvider Source #
The repository provider.
getRepositorySyncStatus_syncType :: Lens' GetRepositorySyncStatus SyncType Source #
The repository sync type.
Destructuring the Response
data GetRepositorySyncStatusResponse Source #
See: newGetRepositorySyncStatusResponse
smart constructor.
Constructors
GetRepositorySyncStatusResponse' | |
Fields
|
Instances
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.
getRepositorySyncStatusResponse_httpStatus :: Lens' GetRepositorySyncStatusResponse Int Source #
The response's http status code.