public class AmazonCloudFrontClient extends AmazonWebServiceClient implements AmazonCloudFront
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected java.util.List<com.amazonaws.transform.Unmarshaller<AmazonServiceException,org.w3c.dom.Node>> |
exceptionUnmarshallers
List of exception unmarshallers for all AmazonCloudFront exceptions.
|
client, clientConfiguration, endpoint, requestHandlers, timeOffset, version| コンストラクタと説明 |
|---|
AmazonCloudFrontClient()
Constructs a new client to invoke service methods on
AmazonCloudFront.
|
AmazonCloudFrontClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials.
|
AmazonCloudFrontClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials
and client configuration options.
|
AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials provider.
|
AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AmazonCloudFront using the specified AWS account credentials
provider and client configuration options.
|
AmazonCloudFrontClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on
AmazonCloudFront.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
CreateCloudFrontOriginAccessIdentityResult |
createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
Create a new origin access identity.
|
CreateDistributionResult |
createDistribution(CreateDistributionRequest createDistributionRequest)
Create a new distribution.
|
CreateInvalidationResult |
createInvalidation(CreateInvalidationRequest createInvalidationRequest)
Create a new invalidation.
|
CreateStreamingDistributionResult |
createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest)
Create a new streaming distribution.
|
void |
deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
Delete an origin access identity.
|
void |
deleteDistribution(DeleteDistributionRequest deleteDistributionRequest)
Delete a distribution.
|
void |
deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
Delete a streaming distribution.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for
debugging issues where a service isn't acting as expected.
|
GetCloudFrontOriginAccessIdentityResult |
getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
Get the information about an origin access identity.
|
GetCloudFrontOriginAccessIdentityConfigResult |
getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
Get the configuration information about an origin access identity.
|
GetDistributionResult |
getDistribution(GetDistributionRequest getDistributionRequest)
Get the information about a distribution.
|
GetDistributionConfigResult |
getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest)
Get the configuration information about a distribution.
|
GetInvalidationResult |
getInvalidation(GetInvalidationRequest getInvalidationRequest)
Get the information about an invalidation.
|
protected java.lang.String |
getServiceAbbreviation()
リージョンによるサービスエンドポイントを特定するために、このサービスに対する
略称を返します
|
GetStreamingDistributionResult |
getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest)
Get the information about a streaming distribution.
|
GetStreamingDistributionConfigResult |
getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
Get the configuration information about a streaming distribution.
|
ListCloudFrontOriginAccessIdentitiesResult |
listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
List origin access identities.
|
ListDistributionsResult |
listDistributions(ListDistributionsRequest listDistributionsRequest)
List distributions.
|
ListInvalidationsResult |
listInvalidations(ListInvalidationsRequest listInvalidationsRequest)
List invalidation batches.
|
ListStreamingDistributionsResult |
listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
List streaming distributions.
|
void |
setEndpoint(java.lang.String endpoint,
java.lang.String serviceName,
java.lang.String regionId)
Overrides the default endpoint for this client ("https://cloudfront.amazonaws.com/") and explicitly provides
an AWS region ID and AWS service name to use when the client calculates a signature
for requests.
|
UpdateCloudFrontOriginAccessIdentityResult |
updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
Update an origin access identity.
|
UpdateDistributionResult |
updateDistribution(UpdateDistributionRequest updateDistributionRequest)
Update a distribution.
|
UpdateStreamingDistributionResult |
updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
Update a streaming distribution.
|
addRequestHandler, convertToHttpRequest, createExecutionContext, getTimeOffset, getVersion, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, setVersion, shutdown, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdownprotected final java.util.List<com.amazonaws.transform.Unmarshaller<AmazonServiceException,org.w3c.dom.Node>> exceptionUnmarshallers
public AmazonCloudFrontClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderpublic AmazonCloudFrontClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AmazonCloudFront
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderpublic AmazonCloudFrontClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonCloudFrontClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this
client connects to AmazonCloudFront
(ex: proxy settings, retry counts, etc.).public AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonCloudFrontClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this
client connects to AmazonCloudFront
(ex: proxy settings, retry counts, etc.).public GetDistributionResult getDistribution(GetDistributionRequest getDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a distribution.
getDistribution インタフェース内 AmazonCloudFrontgetDistributionRequest - Container for the necessary parameters
to execute the GetDistribution service method on AmazonCloudFront.NoSuchDistributionExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public void deleteDistribution(DeleteDistributionRequest deleteDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a distribution.
deleteDistribution インタフェース内 AmazonCloudFrontdeleteDistributionRequest - Container for the necessary
parameters to execute the DeleteDistribution service method on
AmazonCloudFront.InvalidIfMatchVersionExceptionNoSuchDistributionExceptionDistributionNotDisabledExceptionPreconditionFailedExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest getDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a distribution.
getDistributionConfig インタフェース内 AmazonCloudFrontgetDistributionConfigRequest - Container for the necessary
parameters to execute the GetDistributionConfig service method on
AmazonCloudFront.NoSuchDistributionExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public GetStreamingDistributionResult getStreamingDistribution(GetStreamingDistributionRequest getStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a streaming distribution.
getStreamingDistribution インタフェース内 AmazonCloudFrontgetStreamingDistributionRequest - Container for the necessary
parameters to execute the GetStreamingDistribution service method on
AmazonCloudFront.NoSuchStreamingDistributionExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Update an origin access identity.
updateCloudFrontOriginAccessIdentity インタフェース内 AmazonCloudFrontupdateCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
UpdateCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.InvalidIfMatchVersionExceptionIllegalUpdateExceptionMissingBodyExceptionNoSuchCloudFrontOriginAccessIdentityExceptionPreconditionFailedExceptionAccessDeniedExceptionInvalidArgumentExceptionInconsistentQuantitiesExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a streaming distribution.
getStreamingDistributionConfig インタフェース内 AmazonCloudFrontgetStreamingDistributionConfigRequest - Container for the
necessary parameters to execute the GetStreamingDistributionConfig
service method on AmazonCloudFront.NoSuchStreamingDistributionExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public ListDistributionsResult listDistributions(ListDistributionsRequest listDistributionsRequest) throws AmazonServiceException, AmazonClientException
List distributions.
listDistributions インタフェース内 AmazonCloudFrontlistDistributionsRequest - Container for the necessary parameters
to execute the ListDistributions service method on AmazonCloudFront.InvalidArgumentExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public GetInvalidationResult getInvalidation(GetInvalidationRequest getInvalidationRequest) throws AmazonServiceException, AmazonClientException
Get the information about an invalidation.
getInvalidation インタフェース内 AmazonCloudFrontgetInvalidationRequest - Container for the necessary parameters
to execute the GetInvalidation service method on AmazonCloudFront.NoSuchInvalidationExceptionNoSuchDistributionExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public GetCloudFrontOriginAccessIdentityResult getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Get the information about an origin access identity.
getCloudFrontOriginAccessIdentity インタフェース内 AmazonCloudFrontgetCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the GetCloudFrontOriginAccessIdentity
service method on AmazonCloudFront.NoSuchCloudFrontOriginAccessIdentityExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public CreateDistributionResult createDistribution(CreateDistributionRequest createDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new distribution.
createDistribution インタフェース内 AmazonCloudFrontcreateDistributionRequest - Container for the necessary
parameters to execute the CreateDistribution service method on
AmazonCloudFront.TooManyCookieNamesInWhiteListExceptionInvalidDefaultRootObjectExceptionMissingBodyExceptionTooManyDistributionCNAMEsExceptionInvalidForwardCookiesExceptionTooManyDistributionsExceptionNoSuchOriginExceptionInconsistentQuantitiesExceptionCNAMEAlreadyExistsExceptionInvalidArgumentExceptionInvalidOriginAccessIdentityExceptionTrustedSignerDoesNotExistExceptionInvalidOriginExceptionTooManyCertificatesExceptionTooManyCacheBehaviorsExceptionTooManyTrustedSignersExceptionInvalidViewerCertificateExceptionAccessDeniedExceptionTooManyOriginsExceptionDistributionAlreadyExistsExceptionInvalidRequiredProtocolExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public ListInvalidationsResult listInvalidations(ListInvalidationsRequest listInvalidationsRequest) throws AmazonServiceException, AmazonClientException
List invalidation batches.
listInvalidations インタフェース内 AmazonCloudFrontlistInvalidationsRequest - Container for the necessary parameters
to execute the ListInvalidations service method on AmazonCloudFront.NoSuchDistributionExceptionInvalidArgumentExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public void deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Delete an origin access identity.
deleteCloudFrontOriginAccessIdentity インタフェース内 AmazonCloudFrontdeleteCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
DeleteCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.InvalidIfMatchVersionExceptionCloudFrontOriginAccessIdentityInUseExceptionNoSuchCloudFrontOriginAccessIdentityExceptionPreconditionFailedExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public CreateInvalidationResult createInvalidation(CreateInvalidationRequest createInvalidationRequest) throws AmazonServiceException, AmazonClientException
Create a new invalidation.
createInvalidation インタフェース内 AmazonCloudFrontcreateInvalidationRequest - Container for the necessary
parameters to execute the CreateInvalidation service method on
AmazonCloudFront.TooManyInvalidationsInProgressExceptionMissingBodyExceptionNoSuchDistributionExceptionBatchTooLargeExceptionAccessDeniedExceptionInvalidArgumentExceptionInconsistentQuantitiesExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public UpdateDistributionResult updateDistribution(UpdateDistributionRequest updateDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a distribution.
updateDistribution インタフェース内 AmazonCloudFrontupdateDistributionRequest - Container for the necessary
parameters to execute the UpdateDistribution service method on
AmazonCloudFront.TooManyCookieNamesInWhiteListExceptionInvalidDefaultRootObjectExceptionInvalidIfMatchVersionExceptionIllegalUpdateExceptionMissingBodyExceptionTooManyDistributionCNAMEsExceptionInvalidForwardCookiesExceptionNoSuchOriginExceptionPreconditionFailedExceptionInconsistentQuantitiesExceptionCNAMEAlreadyExistsExceptionInvalidArgumentExceptionTrustedSignerDoesNotExistExceptionInvalidOriginAccessIdentityExceptionTooManyCertificatesExceptionTooManyCacheBehaviorsExceptionTooManyTrustedSignersExceptionNoSuchDistributionExceptionInvalidViewerCertificateExceptionAccessDeniedExceptionTooManyOriginsExceptionInvalidRequiredProtocolExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public ListStreamingDistributionsResult listStreamingDistributions(ListStreamingDistributionsRequest listStreamingDistributionsRequest) throws AmazonServiceException, AmazonClientException
List streaming distributions.
listStreamingDistributions インタフェース内 AmazonCloudFrontlistStreamingDistributionsRequest - Container for the necessary
parameters to execute the ListStreamingDistributions service method on
AmazonCloudFront.InvalidArgumentExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public GetCloudFrontOriginAccessIdentityConfigResult getCloudFrontOriginAccessIdentityConfig(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfig インタフェース内 AmazonCloudFrontgetCloudFrontOriginAccessIdentityConfigRequest - Container for
the necessary parameters to execute the
GetCloudFrontOriginAccessIdentityConfig service method on
AmazonCloudFront.NoSuchCloudFrontOriginAccessIdentityExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public CreateStreamingDistributionResult createStreamingDistribution(CreateStreamingDistributionRequest createStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new streaming distribution.
createStreamingDistribution インタフェース内 AmazonCloudFrontcreateStreamingDistributionRequest - Container for the necessary
parameters to execute the CreateStreamingDistribution service method
on AmazonCloudFront.TooManyTrustedSignersExceptionMissingBodyExceptionTooManyStreamingDistributionCNAMEsExceptionStreamingDistributionAlreadyExistsExceptionCNAMEAlreadyExistsExceptionAccessDeniedExceptionTooManyStreamingDistributionsExceptionInvalidArgumentExceptionInconsistentQuantitiesExceptionInvalidOriginAccessIdentityExceptionTrustedSignerDoesNotExistExceptionInvalidOriginExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public ListCloudFrontOriginAccessIdentitiesResult listCloudFrontOriginAccessIdentities(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest) throws AmazonServiceException, AmazonClientException
List origin access identities.
listCloudFrontOriginAccessIdentities インタフェース内 AmazonCloudFrontlistCloudFrontOriginAccessIdentitiesRequest - Container for the
necessary parameters to execute the
ListCloudFrontOriginAccessIdentities service method on
AmazonCloudFront.InvalidArgumentExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public void deleteStreamingDistribution(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a streaming distribution.
deleteStreamingDistribution インタフェース内 AmazonCloudFrontdeleteStreamingDistributionRequest - Container for the necessary
parameters to execute the DeleteStreamingDistribution service method
on AmazonCloudFront.InvalidIfMatchVersionExceptionNoSuchStreamingDistributionExceptionStreamingDistributionNotDisabledExceptionPreconditionFailedExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public UpdateStreamingDistributionResult updateStreamingDistribution(UpdateStreamingDistributionRequest updateStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a streaming distribution.
updateStreamingDistribution インタフェース内 AmazonCloudFrontupdateStreamingDistributionRequest - Container for the necessary
parameters to execute the UpdateStreamingDistribution service method
on AmazonCloudFront.InvalidIfMatchVersionExceptionIllegalUpdateExceptionMissingBodyExceptionPreconditionFailedExceptionCNAMEAlreadyExistsExceptionInvalidArgumentExceptionInconsistentQuantitiesExceptionInvalidOriginAccessIdentityExceptionTrustedSignerDoesNotExistExceptionTooManyTrustedSignersExceptionNoSuchStreamingDistributionExceptionTooManyStreamingDistributionCNAMEsExceptionAccessDeniedExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public CreateCloudFrontOriginAccessIdentityResult createCloudFrontOriginAccessIdentity(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Create a new origin access identity.
createCloudFrontOriginAccessIdentity インタフェース内 AmazonCloudFrontcreateCloudFrontOriginAccessIdentityRequest - Container for the
necessary parameters to execute the
CreateCloudFrontOriginAccessIdentity service method on
AmazonCloudFront.TooManyCloudFrontOriginAccessIdentitiesExceptionMissingBodyExceptionInvalidArgumentExceptionInconsistentQuantitiesExceptionCloudFrontOriginAccessIdentityAlreadyExistsExceptionAmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public void setEndpoint(java.lang.String endpoint,
java.lang.String serviceName,
java.lang.String regionId)
throws java.lang.IllegalArgumentException
This method is not threadsafe. Endpoints should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit.
Callers can pass in just the endpoint (ex: "cloudfront.amazonaws.com/") or a full
URL, including the protocol (ex: "https://cloudfront.amazonaws.com/"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
endpoint - The endpoint (ex: "cloudfront.amazonaws.com/") or a full URL,
including the protocol (ex: "https://cloudfront.amazonaws.com/") of
the region specific AWS endpoint this client will communicate
with.serviceName - The name of the AWS service to use when signing requests.regionId - The ID of the region in which this service resides.java.lang.IllegalArgumentException - If any problems are detected with the specified endpoint.protected java.lang.String getServiceAbbreviation()
AmazonWebServiceClientgetServiceAbbreviation クラス内 AmazonWebServiceClientServiceAbbreviationspublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata インタフェース内 AmazonCloudFrontrequest - The originally executed request