public class S3ArtifactResponse extends Object
Response to a request for a signed PUT URL that will allow you to upload an artifact to an S3 bucket managed by the queue.
See https://schemas.taskcluster.net/queue/v1/post-artifact-response.json#/oneOf[1]
Modifier and Type | Field and Description |
---|---|
String |
contentType
Artifact mime-type, must be specified as header when uploading with the signed
putUrl . |
Date |
expires
Date-time after which the signed
putUrl no longer worksSee https://schemas.taskcluster.net/queue/v1/post-artifact-response.json#/oneOf[1]/properties/expires |
String |
putUrl
URL to which a
PUT request can be made to upload the artifact requested. |
String |
storageType
Artifact storage type, in this case
's3' Possible values: * “s3”See https://schemas.taskcluster.net/queue/v1/post-artifact-response.json#/oneOf[1]/properties/storageType |
Constructor and Description |
---|
S3ArtifactResponse() |
public String contentType
Artifact mime-type, must be specified as header when uploading with the signed putUrl
.
Max length: 255
public Date expires
Date-time after which the signed putUrl
no longer works
See https://schemas.taskcluster.net/queue/v1/post-artifact-response.json#/oneOf[1]/properties/expires
public String putUrl
URL to which a PUT
request can be made to upload the artifact requested. Note, the Content-Length
must be specified correctly, and the ContentType
header must be set the value specified below.
See https://schemas.taskcluster.net/queue/v1/post-artifact-response.json#/oneOf[1]/properties/putUrl
public String storageType
Artifact storage type, in this case 's3'
Possible values: * “s3”
Copyright © 2014–2018 Mozilla. All rights reserved.