@Generated(value="software.amazon.awssdk:codegen") public interface MediaPackageClient extends SdkClient
builder()
method.
AWS Elemental MediaPackageModifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static MediaPackageClientBuilder |
builder()
Create a builder that can be used to configure and create a
MediaPackageClient . |
default ConfigureLogsResponse |
configureLogs(ConfigureLogsRequest configureLogsRequest)
Changes the Channel's properities to configure log subscription
|
default ConfigureLogsResponse |
configureLogs(Consumer<ConfigureLogsRequest.Builder> configureLogsRequest)
Changes the Channel's properities to configure log subscription
|
static MediaPackageClient |
create()
Create a
MediaPackageClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateChannelResponse |
createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest)
Creates a new Channel.
|
default CreateChannelResponse |
createChannel(CreateChannelRequest createChannelRequest)
Creates a new Channel.
|
default CreateHarvestJobResponse |
createHarvestJob(Consumer<CreateHarvestJobRequest.Builder> createHarvestJobRequest)
Creates a new HarvestJob record.
|
default CreateHarvestJobResponse |
createHarvestJob(CreateHarvestJobRequest createHarvestJobRequest)
Creates a new HarvestJob record.
|
default CreateOriginEndpointResponse |
createOriginEndpoint(Consumer<CreateOriginEndpointRequest.Builder> createOriginEndpointRequest)
Creates a new OriginEndpoint record.
|
default CreateOriginEndpointResponse |
createOriginEndpoint(CreateOriginEndpointRequest createOriginEndpointRequest)
Creates a new OriginEndpoint record.
|
default DeleteChannelResponse |
deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest)
Deletes an existing Channel.
|
default DeleteChannelResponse |
deleteChannel(DeleteChannelRequest deleteChannelRequest)
Deletes an existing Channel.
|
default DeleteOriginEndpointResponse |
deleteOriginEndpoint(Consumer<DeleteOriginEndpointRequest.Builder> deleteOriginEndpointRequest)
Deletes an existing OriginEndpoint.
|
default DeleteOriginEndpointResponse |
deleteOriginEndpoint(DeleteOriginEndpointRequest deleteOriginEndpointRequest)
Deletes an existing OriginEndpoint.
|
default DescribeChannelResponse |
describeChannel(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
Gets details about a Channel.
|
default DescribeChannelResponse |
describeChannel(DescribeChannelRequest describeChannelRequest)
Gets details about a Channel.
|
default DescribeHarvestJobResponse |
describeHarvestJob(Consumer<DescribeHarvestJobRequest.Builder> describeHarvestJobRequest)
Gets details about an existing HarvestJob.
|
default DescribeHarvestJobResponse |
describeHarvestJob(DescribeHarvestJobRequest describeHarvestJobRequest)
Gets details about an existing HarvestJob.
|
default DescribeOriginEndpointResponse |
describeOriginEndpoint(Consumer<DescribeOriginEndpointRequest.Builder> describeOriginEndpointRequest)
Gets details about an existing OriginEndpoint.
|
default DescribeOriginEndpointResponse |
describeOriginEndpoint(DescribeOriginEndpointRequest describeOriginEndpointRequest)
Gets details about an existing OriginEndpoint.
|
default ListChannelsResponse |
listChannels()
Returns a collection of Channels.
|
default ListChannelsResponse |
listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
Returns a collection of Channels.
|
default ListChannelsResponse |
listChannels(ListChannelsRequest listChannelsRequest)
Returns a collection of Channels.
|
default ListChannelsIterable |
listChannelsPaginator()
Returns a collection of Channels.
|
default ListChannelsIterable |
listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
Returns a collection of Channels.
|
default ListChannelsIterable |
listChannelsPaginator(ListChannelsRequest listChannelsRequest)
Returns a collection of Channels.
|
default ListHarvestJobsResponse |
listHarvestJobs(Consumer<ListHarvestJobsRequest.Builder> listHarvestJobsRequest)
Returns a collection of HarvestJob records.
|
default ListHarvestJobsResponse |
listHarvestJobs(ListHarvestJobsRequest listHarvestJobsRequest)
Returns a collection of HarvestJob records.
|
default ListHarvestJobsIterable |
listHarvestJobsPaginator(Consumer<ListHarvestJobsRequest.Builder> listHarvestJobsRequest)
Returns a collection of HarvestJob records.
|
default ListHarvestJobsIterable |
listHarvestJobsPaginator(ListHarvestJobsRequest listHarvestJobsRequest)
Returns a collection of HarvestJob records.
|
default ListOriginEndpointsResponse |
listOriginEndpoints()
Returns a collection of OriginEndpoint records.
|
default ListOriginEndpointsResponse |
listOriginEndpoints(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest)
Returns a collection of OriginEndpoint records.
|
default ListOriginEndpointsResponse |
listOriginEndpoints(ListOriginEndpointsRequest listOriginEndpointsRequest)
Returns a collection of OriginEndpoint records.
|
default ListOriginEndpointsIterable |
listOriginEndpointsPaginator()
Returns a collection of OriginEndpoint records.
|
default ListOriginEndpointsIterable |
listOriginEndpointsPaginator(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest)
Returns a collection of OriginEndpoint records.
|
default ListOriginEndpointsIterable |
listOriginEndpointsPaginator(ListOriginEndpointsRequest listOriginEndpointsRequest)
Returns a collection of OriginEndpoint records.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Invokes the ListTagsForResource operation.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Invokes the ListTagsForResource operation.
|
default RotateIngestEndpointCredentialsResponse |
rotateIngestEndpointCredentials(Consumer<RotateIngestEndpointCredentialsRequest.Builder> rotateIngestEndpointCredentialsRequest)
Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
|
default RotateIngestEndpointCredentialsResponse |
rotateIngestEndpointCredentials(RotateIngestEndpointCredentialsRequest rotateIngestEndpointCredentialsRequest)
Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Invokes the TagResource operation.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Invokes the TagResource operation.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Invokes the UntagResource operation.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Invokes the UntagResource operation.
|
default UpdateChannelResponse |
updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest)
Updates an existing Channel.
|
default UpdateChannelResponse |
updateChannel(UpdateChannelRequest updateChannelRequest)
Updates an existing Channel.
|
default UpdateOriginEndpointResponse |
updateOriginEndpoint(Consumer<UpdateOriginEndpointRequest.Builder> updateOriginEndpointRequest)
Updates an existing OriginEndpoint.
|
default UpdateOriginEndpointResponse |
updateOriginEndpoint(UpdateOriginEndpointRequest updateOriginEndpointRequest)
Updates an existing OriginEndpoint.
|
serviceName
close
static final String SERVICE_NAME
static MediaPackageClient create()
MediaPackageClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static MediaPackageClientBuilder builder()
MediaPackageClient
.default ConfigureLogsResponse configureLogs(ConfigureLogsRequest configureLogsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
configureLogsRequest
- the option to configure log subscription.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ConfigureLogsResponse configureLogs(Consumer<ConfigureLogsRequest.Builder> configureLogsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the ConfigureLogsRequest.Builder
avoiding the need to
create one manually via ConfigureLogsRequest.builder()
configureLogsRequest
- A Consumer
that will call methods on ConfigureLogsRequest.Builder
to create a request. the
option to configure log subscription.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateChannelResponse createChannel(CreateChannelRequest createChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
createChannelRequest
- A new Channel configuration.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateChannelResponse createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the CreateChannelRequest.Builder
avoiding the need to
create one manually via CreateChannelRequest.builder()
createChannelRequest
- A Consumer
that will call methods on CreateChannelRequest.Builder
to create a request. A
new Channel configuration.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateHarvestJobResponse createHarvestJob(CreateHarvestJobRequest createHarvestJobRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
createHarvestJobRequest
- Configuration parameters used to create a new HarvestJob.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateHarvestJobResponse createHarvestJob(Consumer<CreateHarvestJobRequest.Builder> createHarvestJobRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the CreateHarvestJobRequest.Builder
avoiding the need
to create one manually via CreateHarvestJobRequest.builder()
createHarvestJobRequest
- A Consumer
that will call methods on CreateHarvestJobRequest.Builder
to create a request.
Configuration parameters used to create a new HarvestJob.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateOriginEndpointResponse createOriginEndpoint(CreateOriginEndpointRequest createOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
createOriginEndpointRequest
- Configuration parameters used to create a new OriginEndpoint.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateOriginEndpointResponse createOriginEndpoint(Consumer<CreateOriginEndpointRequest.Builder> createOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the CreateOriginEndpointRequest.Builder
avoiding the
need to create one manually via CreateOriginEndpointRequest.builder()
createOriginEndpointRequest
- A Consumer
that will call methods on CreateOriginEndpointRequest.Builder
to create a
request. Configuration parameters used to create a new OriginEndpoint.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteChannelResponse deleteChannel(DeleteChannelRequest deleteChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
deleteChannelRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteChannelResponse deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the DeleteChannelRequest.Builder
avoiding the need to
create one manually via DeleteChannelRequest.builder()
deleteChannelRequest
- A Consumer
that will call methods on DeleteChannelRequest.Builder
to create a request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteOriginEndpointResponse deleteOriginEndpoint(DeleteOriginEndpointRequest deleteOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
deleteOriginEndpointRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteOriginEndpointResponse deleteOriginEndpoint(Consumer<DeleteOriginEndpointRequest.Builder> deleteOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the DeleteOriginEndpointRequest.Builder
avoiding the
need to create one manually via DeleteOriginEndpointRequest.builder()
deleteOriginEndpointRequest
- A Consumer
that will call methods on DeleteOriginEndpointRequest.Builder
to create a
request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeChannelResponse describeChannel(DescribeChannelRequest describeChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
describeChannelRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeChannelResponse describeChannel(Consumer<DescribeChannelRequest.Builder> describeChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the DescribeChannelRequest.Builder
avoiding the need
to create one manually via DescribeChannelRequest.builder()
describeChannelRequest
- A Consumer
that will call methods on DescribeChannelRequest.Builder
to create a request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeHarvestJobResponse describeHarvestJob(DescribeHarvestJobRequest describeHarvestJobRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
describeHarvestJobRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeHarvestJobResponse describeHarvestJob(Consumer<DescribeHarvestJobRequest.Builder> describeHarvestJobRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the DescribeHarvestJobRequest.Builder
avoiding the
need to create one manually via DescribeHarvestJobRequest.builder()
describeHarvestJobRequest
- A Consumer
that will call methods on DescribeHarvestJobRequest.Builder
to create a
request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeOriginEndpointResponse describeOriginEndpoint(DescribeOriginEndpointRequest describeOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
describeOriginEndpointRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeOriginEndpointResponse describeOriginEndpoint(Consumer<DescribeOriginEndpointRequest.Builder> describeOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the DescribeOriginEndpointRequest.Builder
avoiding the
need to create one manually via DescribeOriginEndpointRequest.builder()
describeOriginEndpointRequest
- A Consumer
that will call methods on DescribeOriginEndpointRequest.Builder
to create a
request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListChannelsResponse listChannels() throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listChannels(ListChannelsRequest)
,
AWS API
Documentationdefault ListChannelsResponse listChannels(ListChannelsRequest listChannelsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
listChannelsRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListChannelsResponse listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the ListChannelsRequest.Builder
avoiding the need to
create one manually via ListChannelsRequest.builder()
listChannelsRequest
- A Consumer
that will call methods on ListChannelsRequest.Builder
to create a request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListChannelsIterable listChannelsPaginator() throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listChannels(software.amazon.awssdk.services.mediapackage.model.ListChannelsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client .listChannelsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListChannelsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.mediapackage.model.ListChannelsRequest)
operation.
UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listChannelsPaginator(ListChannelsRequest)
,
AWS API
Documentationdefault ListChannelsIterable listChannelsPaginator(ListChannelsRequest listChannelsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listChannels(software.amazon.awssdk.services.mediapackage.model.ListChannelsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client .listChannelsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListChannelsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.mediapackage.model.ListChannelsRequest)
operation.
listChannelsRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListChannelsIterable listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listChannels(software.amazon.awssdk.services.mediapackage.model.ListChannelsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client .listChannelsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListChannelsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.mediapackage.model.ListChannelsRequest)
operation.
This is a convenience which creates an instance of the ListChannelsRequest.Builder
avoiding the need to
create one manually via ListChannelsRequest.builder()
listChannelsRequest
- A Consumer
that will call methods on ListChannelsRequest.Builder
to create a request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListHarvestJobsResponse listHarvestJobs(ListHarvestJobsRequest listHarvestJobsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
listHarvestJobsRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListHarvestJobsResponse listHarvestJobs(Consumer<ListHarvestJobsRequest.Builder> listHarvestJobsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the ListHarvestJobsRequest.Builder
avoiding the need
to create one manually via ListHarvestJobsRequest.builder()
listHarvestJobsRequest
- A Consumer
that will call methods on ListHarvestJobsRequest.Builder
to create a request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListHarvestJobsIterable listHarvestJobsPaginator(ListHarvestJobsRequest listHarvestJobsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listHarvestJobs(software.amazon.awssdk.services.mediapackage.model.ListHarvestJobsRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListHarvestJobsIterable responses = client.listHarvestJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListHarvestJobsIterable responses = client .listHarvestJobsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListHarvestJobsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListHarvestJobsIterable responses = client.listHarvestJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHarvestJobs(software.amazon.awssdk.services.mediapackage.model.ListHarvestJobsRequest)
operation.
listHarvestJobsRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListHarvestJobsIterable listHarvestJobsPaginator(Consumer<ListHarvestJobsRequest.Builder> listHarvestJobsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listHarvestJobs(software.amazon.awssdk.services.mediapackage.model.ListHarvestJobsRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListHarvestJobsIterable responses = client.listHarvestJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListHarvestJobsIterable responses = client .listHarvestJobsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListHarvestJobsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListHarvestJobsIterable responses = client.listHarvestJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHarvestJobs(software.amazon.awssdk.services.mediapackage.model.ListHarvestJobsRequest)
operation.
This is a convenience which creates an instance of the ListHarvestJobsRequest.Builder
avoiding the need
to create one manually via ListHarvestJobsRequest.builder()
listHarvestJobsRequest
- A Consumer
that will call methods on ListHarvestJobsRequest.Builder
to create a request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOriginEndpointsResponse listOriginEndpoints() throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOriginEndpoints(ListOriginEndpointsRequest)
,
AWS API Documentationdefault ListOriginEndpointsResponse listOriginEndpoints(ListOriginEndpointsRequest listOriginEndpointsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
listOriginEndpointsRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOriginEndpointsResponse listOriginEndpoints(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the ListOriginEndpointsRequest.Builder
avoiding the
need to create one manually via ListOriginEndpointsRequest.builder()
listOriginEndpointsRequest
- A Consumer
that will call methods on ListOriginEndpointsRequest.Builder
to create a
request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOriginEndpointsIterable listOriginEndpointsPaginator() throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listOriginEndpoints(software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client .listOriginEndpointsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOriginEndpoints(software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsRequest)
operation.
UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOriginEndpointsPaginator(ListOriginEndpointsRequest)
,
AWS API Documentationdefault ListOriginEndpointsIterable listOriginEndpointsPaginator(ListOriginEndpointsRequest listOriginEndpointsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listOriginEndpoints(software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client .listOriginEndpointsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOriginEndpoints(software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsRequest)
operation.
listOriginEndpointsRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOriginEndpointsIterable listOriginEndpointsPaginator(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a variant of
listOriginEndpoints(software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client .listOriginEndpointsPaginator(request); for (software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.mediapackage.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOriginEndpoints(software.amazon.awssdk.services.mediapackage.model.ListOriginEndpointsRequest)
operation.
This is a convenience which creates an instance of the ListOriginEndpointsRequest.Builder
avoiding the
need to create one manually via ListOriginEndpointsRequest.builder()
listOriginEndpointsRequest
- A Consumer
that will call methods on ListOriginEndpointsRequest.Builder
to create a
request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageException
listTagsForResourceRequest
- SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RotateIngestEndpointCredentialsResponse rotateIngestEndpointCredentials(RotateIngestEndpointCredentialsRequest rotateIngestEndpointCredentialsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
rotateIngestEndpointCredentialsRequest
- UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RotateIngestEndpointCredentialsResponse rotateIngestEndpointCredentials(Consumer<RotateIngestEndpointCredentialsRequest.Builder> rotateIngestEndpointCredentialsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the RotateIngestEndpointCredentialsRequest.Builder
avoiding the need to create one manually via RotateIngestEndpointCredentialsRequest.builder()
rotateIngestEndpointCredentialsRequest
- A Consumer
that will call methods on RotateIngestEndpointCredentialsRequest.Builder
to
create a request.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageException
tagResourceRequest
- SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- A Consumer
that will call methods on TagResourceRequest.Builder
to create a request.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageException
untagResourceRequest
- SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- A Consumer
that will call methods on UntagResourceRequest.Builder
to create a request.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateChannelResponse updateChannel(UpdateChannelRequest updateChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
updateChannelRequest
- Configuration parameters used to update the Channel.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateChannelResponse updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the UpdateChannelRequest.Builder
avoiding the need to
create one manually via UpdateChannelRequest.builder()
updateChannelRequest
- A Consumer
that will call methods on UpdateChannelRequest.Builder
to create a request.
Configuration parameters used to update the Channel.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateOriginEndpointResponse updateOriginEndpoint(UpdateOriginEndpointRequest updateOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
updateOriginEndpointRequest
- Configuration parameters used to update an existing OriginEndpoint.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateOriginEndpointResponse updateOriginEndpoint(Consumer<UpdateOriginEndpointRequest.Builder> updateOriginEndpointRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageException
This is a convenience which creates an instance of the UpdateOriginEndpointRequest.Builder
avoiding the
need to create one manually via UpdateOriginEndpointRequest.builder()
updateOriginEndpointRequest
- A Consumer
that will call methods on UpdateOriginEndpointRequest.Builder
to create a
request. Configuration parameters used to update an existing OriginEndpoint.UnprocessableEntityException
- The parameters sent in the request are not valid.InternalServerErrorException
- An unexpected error occurred.ForbiddenException
- The client is not authorized to access the requested resource.NotFoundException
- The requested resource does not exist.ServiceUnavailableException
- An unexpected error occurred.TooManyRequestsException
- The client has exceeded their resource or throttling limits.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.MediaPackageException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.