| Package | Description |
|---|---|
| org.jets3t.service |
Provides the main S3 Service interface, on which all JetS3t REST/HTTP or SOAP
implementations are based, and utilites applicable for all services.
|
| org.jets3t.service.impl.rest |
Contains utilties of use to any REST/HTTP S3 Service implementations, and specifically to
the HttpClient implementation provided with JetS3t.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
CloudFrontService.buildPolicyForSignedUrl(java.lang.String resourcePath,
java.util.Date epochDateLessThan,
java.lang.String limitToIpAddressCIDR,
java.util.Date epochDateGreaterThan)
Generate a policy document that describes custom access permissions to apply
via a private distribution's signed URL.
|
Distribution |
CloudFrontService.createDistribution(DistributionConfig config)
Create a public or private CloudFront distribution for an S3 bucket based
on a pre-configured
DistributionConfig. |
Distribution |
CloudFrontService.createDistribution(Origin origin)
Create a minimally-configured CloudFront distribution for an S3 bucket that will
be publicly available once created.
|
Distribution |
CloudFrontService.createDistribution(Origin origin,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus)
Create a public CloudFront distribution for an S3 bucket.
|
Distribution |
CloudFrontService.createDistribution(Origin origin,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
boolean trustedSignerSelf,
java.lang.String[] trustedSignerAwsAccountNumbers,
java.lang.String[] requiredProtocols,
java.lang.String defaultRootObject)
Create a public or private CloudFront distribution for an S3 bucket.
|
Distribution |
CloudFrontService.createDistribution(Origin origin,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
boolean trustedSignerSelf,
java.lang.String[] trustedSignerAwsAccountNumbers,
java.lang.String[] requiredProtocols,
java.lang.String defaultRootObject,
java.lang.Long minTTL)
Deprecated.
as of 2012-05-05 API version, use
CloudFrontService.createDistribution(DistributionConfig). |
protected Distribution |
CloudFrontService.createDistributionImpl(DistributionConfig config)
Create a streaming or non-streaming distribution.
|
OriginAccessIdentity |
CloudFrontService.createOriginAccessIdentity(java.lang.String callerReference,
java.lang.String comment)
Create a new Origin Access Identity
|
StreamingDistribution |
CloudFrontService.createStreamingDistribution(Origin origin,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus)
Deprecated.
as of 2012-05-05 API version, use
CloudFrontService.createDistribution(DistributionConfig). |
StreamingDistribution |
CloudFrontService.createStreamingDistribution(Origin origin,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
boolean trustedSignerSelf,
java.lang.String[] trustedSignerAwsAccountNumbers)
Deprecated.
as of 2012-05-05 API version, use
CloudFrontService.createDistribution(DistributionConfig). |
void |
CloudFrontService.deleteDistribution(java.lang.String id)
Delete a disabled distribution.
|
protected void |
CloudFrontService.deleteDistributionImpl(boolean isStreaming,
java.lang.String distributionId)
Delete a streaming or non-streaming distribution.
|
void |
CloudFrontService.deleteOriginAccessIdentity(java.lang.String id)
Delete an Origin Access Identity.
|
void |
CloudFrontService.deleteStreamingDistribution(java.lang.String id)
Delete a disabled streaming distribution.
|
void |
CloudFrontService.disableDistributionForDeletion(java.lang.String id)
Convenience method to disable a distribution that you intend to delete.
|
void |
CloudFrontService.disableStreamingDistributionForDeletion(java.lang.String id)
Convenience method to disable a streaming distribution that you intend to delete.
|
DistributionConfig |
CloudFrontService.getDistributionConfig(java.lang.String distributionId)
Lookup configuration information for a standard distribution.
|
protected DistributionConfig |
CloudFrontService.getDistributionConfigImpl(boolean isStreaming,
java.lang.String distributionId) |
Distribution |
CloudFrontService.getDistributionInfo(java.lang.String id)
Lookup information for a standard distribution.
|
protected Distribution |
CloudFrontService.getDistributionInfoImpl(boolean isStreaming,
java.lang.String distributionId) |
Invalidation |
CloudFrontService.getInvalidation(java.lang.String distributionId,
java.lang.String invalidationId) |
OriginAccessIdentity |
CloudFrontService.getOriginAccessIdentity(java.lang.String id)
Obtain the complete properties of an Origin Access Identity.
|
OriginAccessIdentityConfig |
CloudFrontService.getOriginAccessIdentityConfig(java.lang.String id)
Obtain the configuration properties of an Origin Access Identity.
|
java.util.List<OriginAccessIdentity> |
CloudFrontService.getOriginAccessIdentityList()
List the Origin Access Identities in a CloudFront account.
|
StreamingDistributionConfig |
CloudFrontService.getStreamingDistributionConfig(java.lang.String id)
Lookup configuration information for a streaming distribution.
|
StreamingDistribution |
CloudFrontService.getStreamingDistributionInfo(java.lang.String distributionId)
Lookup information for a streaming distribution.
|
Invalidation |
CloudFrontService.invalidateObjects(java.lang.String distributionId,
S3Object[] objects,
java.lang.String callerReference)
Remove distribution objects from a CloudFront edge server cache to force
a refresh of the object data from the S3 origin.
|
Invalidation |
CloudFrontService.invalidateObjects(java.lang.String distributionId,
java.lang.String[] objectKeys,
java.lang.String callerReference)
Remove distribution objects from a CloudFront edge server cache to force
a refresh of the object data from the S3 origin.
|
Distribution[] |
CloudFrontService.listDistributions()
List all your standard CloudFront distributions.
|
Distribution[] |
CloudFrontService.listDistributions(int pagingSize)
List all your standard CloudFront distributions, with a given maximum
number of Distribution items in each "page" of results.
|
Distribution[] |
CloudFrontService.listDistributions(java.lang.String bucketName)
List the distributions whose origin is the given S3 bucket name.
|
java.util.List<Distribution> |
CloudFrontService.listDistributionsByBucketName(boolean isStreaming,
java.lang.String bucketName)
List streaming or non-stream distributions whose origin is the given S3 bucket name.
|
protected java.util.List<Distribution> |
CloudFrontService.listDistributionsImpl(boolean isStreaming,
int pagingSize)
List streaming or non-streaming Distributions in a CloudFront account.
|
java.util.List<InvalidationSummary> |
CloudFrontService.listInvalidations(java.lang.String distributionId)
List all past invalidation summaries, ordered from most recent to oldest.
|
InvalidationList |
CloudFrontService.listInvalidations(java.lang.String distributionId,
java.lang.String nextMarker,
int pagingSize)
List a single page of up to pagingSize past invalidation summaries, ordered from
most recent to oldest.
|
StreamingDistribution[] |
CloudFrontService.listStreamingDistributions()
List all your streaming CloudFront distributions.
|
StreamingDistribution[] |
CloudFrontService.listStreamingDistributions(int pagingSize)
List all your streaming CloudFront distributions, with a given maximum
number of Distribution items in each "page" of results.
|
StreamingDistribution[] |
CloudFrontService.listStreamingDistributions(java.lang.String bucketName)
List the streaming distributions whose origin is the given S3 bucket name.
|
protected org.apache.http.HttpResponse |
CloudFrontService.performRestRequest(org.apache.http.client.methods.HttpRequestBase httpMethod,
int expectedResponseCode)
Performs an HTTP/S request by invoking the provided HttpMethod object.
|
static java.lang.String |
CloudFrontService.signUrl(java.lang.String resourceUrlOrPath,
java.lang.String keyPairId,
byte[] derPrivateKey,
java.lang.String policy)
Generate a signed URL that allows access to distribution and S3 objects by
applying access restrictions specified in a custom policy document.
|
static java.lang.String |
CloudFrontService.signUrlCanned(java.lang.String resourceUrlOrPath,
java.lang.String keyPairId,
byte[] derPrivateKey,
java.util.Date epochDateLessThan)
Generate a signed URL that allows access to a specific distribution and
S3 object by applying a access restrictions from a "canned" (simplified)
policy document.
|
DistributionConfig |
CloudFrontService.updateDistributionConfig(java.lang.String id,
DistributionConfig config)
Update the configuration of an existing distribution to change its properties
or public/private status.
|
DistributionConfig |
CloudFrontService.updateDistributionConfig(java.lang.String id,
Origin origin,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus)
Update the configuration of an existing distribution to change its properties.
|
DistributionConfig |
CloudFrontService.updateDistributionConfig(java.lang.String id,
Origin origin,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
boolean trustedSignerSelf,
java.lang.String[] trustedSignerAwsAccountNumbers,
java.lang.String[] requiredProtocols,
java.lang.String defaultRootObject)
Update the configuration of an existing distribution to change its properties
or public/private status.
|
DistributionConfig |
CloudFrontService.updateDistributionConfig(java.lang.String id,
Origin origin,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
boolean trustedSignerSelf,
java.lang.String[] trustedSignerAwsAccountNumbers,
java.lang.String[] requiredProtocols,
java.lang.String defaultRootObject,
java.lang.Long minTTL)
Deprecated.
as of 2012-05-05 API version, use
CloudFrontService.updateDistributionConfig(String, DistributionConfig). |
protected DistributionConfig |
CloudFrontService.updateDistributionConfigImpl(java.lang.String id,
DistributionConfig config)
Update a streaming or non-streaming distribution.
|
OriginAccessIdentityConfig |
CloudFrontService.updateOriginAccessIdentityConfig(java.lang.String id,
java.lang.String comment)
Update the properties of an Origin Access Identity.
|
StreamingDistributionConfig |
CloudFrontService.updateStreamingDistributionConfig(java.lang.String id,
Origin origin,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus)
Deprecated.
as of 2012-05-05 API version, use
CloudFrontService.updateDistributionConfig(String, DistributionConfig). |
StreamingDistributionConfig |
CloudFrontService.updateStreamingDistributionConfig(java.lang.String id,
Origin origin,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
boolean trustedSignerSelf,
java.lang.String[] trustedSignerAwsAccountNumbers)
Deprecated.
as of 2012-05-05 API version, use
CloudFrontService.updateDistributionConfig(String, DistributionConfig). |
| Modifier and Type | Method and Description |
|---|---|
CloudFrontXmlResponsesSaxParser.DistributionConfigHandler |
CloudFrontXmlResponsesSaxParser.parseDistributionConfigResponse(java.io.InputStream inputStream) |
CloudFrontXmlResponsesSaxParser.DistributionListHandler |
CloudFrontXmlResponsesSaxParser.parseDistributionListResponse(java.io.InputStream inputStream)
Parses a ListBucket response XML document from an input stream.
|
CloudFrontXmlResponsesSaxParser.DistributionHandler |
CloudFrontXmlResponsesSaxParser.parseDistributionResponse(java.io.InputStream inputStream) |
CloudFrontXmlResponsesSaxParser.ErrorHandler |
CloudFrontXmlResponsesSaxParser.parseErrorResponse(java.io.InputStream inputStream) |
CloudFrontXmlResponsesSaxParser.InvalidationListHandler |
CloudFrontXmlResponsesSaxParser.parseInvalidationListResponse(java.io.InputStream inputStream) |
CloudFrontXmlResponsesSaxParser.InvalidationHandler |
CloudFrontXmlResponsesSaxParser.parseInvalidationResponse(java.io.InputStream inputStream) |
CloudFrontXmlResponsesSaxParser.OriginAccessIdentityHandler |
CloudFrontXmlResponsesSaxParser.parseOriginAccessIdentity(java.io.InputStream inputStream) |
CloudFrontXmlResponsesSaxParser.OriginAccessIdentityConfigHandler |
CloudFrontXmlResponsesSaxParser.parseOriginAccessIdentityConfig(java.io.InputStream inputStream) |
CloudFrontXmlResponsesSaxParser.OriginAccessIdentityListHandler |
CloudFrontXmlResponsesSaxParser.parseOriginAccessIdentityListResponse(java.io.InputStream inputStream) |
protected void |
CloudFrontXmlResponsesSaxParser.parseXmlInputStream(org.xml.sax.helpers.DefaultHandler handler,
java.io.InputStream inputStream)
Parses an XML document from an input stream using a document handler.
|