| 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.Amplify.GetArtifactUrl
Description
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.
Constructors
| GetArtifactUrl' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetArtifactUrl |
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:
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.
Constructors
| GetArtifactUrlResponse' | |
Fields
| |
Instances
newGetArtifactUrlResponse Source #
Arguments
| :: 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.
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.