Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the artifact info that corresponds to an artifact id.
Synopsis
- data GetArtifactUrl = GetArtifactUrl' {
- artifactId :: Text
- newGetArtifactUrl :: Text -> GetArtifactUrl
- getArtifactUrl_artifactId :: Lens' GetArtifactUrl Text
- data GetArtifactUrlResponse = GetArtifactUrlResponse' {
- httpStatus :: Int
- artifactId :: Text
- artifactUrl :: Text
- newGetArtifactUrlResponse :: Int -> Text -> Text -> GetArtifactUrlResponse
- getArtifactUrlResponse_httpStatus :: Lens' GetArtifactUrlResponse Int
- getArtifactUrlResponse_artifactId :: Lens' GetArtifactUrlResponse Text
- getArtifactUrlResponse_artifactUrl :: Lens' GetArtifactUrlResponse Text
Creating a Request
data GetArtifactUrl Source #
Returns the request structure for the get artifact request.
See: newGetArtifactUrl
smart constructor.
GetArtifactUrl' | |
|
Instances
Create a value of GetArtifactUrl
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:artifactId:GetArtifactUrl'
, getArtifactUrl_artifactId
- The unique ID for an artifact.
Request Lenses
getArtifactUrl_artifactId :: Lens' GetArtifactUrl Text Source #
The unique ID for an artifact.
Destructuring the Response
data GetArtifactUrlResponse Source #
Returns the result structure for the get artifact request.
See: newGetArtifactUrlResponse
smart constructor.
GetArtifactUrlResponse' | |
|
Instances
newGetArtifactUrlResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> GetArtifactUrlResponse |
Create a value of GetArtifactUrlResponse
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:GetArtifactUrlResponse'
, getArtifactUrlResponse_httpStatus
- The response's http status code.
$sel:artifactId:GetArtifactUrl'
, getArtifactUrlResponse_artifactId
- The unique ID for an artifact.
$sel:artifactUrl:GetArtifactUrlResponse'
, getArtifactUrlResponse_artifactUrl
- The presigned URL for the artifact.
Response Lenses
getArtifactUrlResponse_httpStatus :: Lens' GetArtifactUrlResponse Int Source #
The response's http status code.
getArtifactUrlResponse_artifactId :: Lens' GetArtifactUrlResponse Text Source #
The unique ID for an artifact.
getArtifactUrlResponse_artifactUrl :: Lens' GetArtifactUrlResponse Text Source #
The presigned URL for the artifact.