@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface MediaPackageV2Client extends AwsClient
builder() method.
This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage Version 2 (v2) starting from May 2023. To get started with MediaPackage v2, create your MediaPackage resources. There isn't an automated process to migrate your resources from MediaPackage v1 to MediaPackage v2.
The names of the entities that you use to access this API, like URLs and ARNs, all have the versioning information added, like "v2", to distinguish from the prior version. If you used MediaPackage prior to this release, you can't use the MediaPackage v2 CLI or the MediaPackage v2 API to access any MediaPackage v1 resources.
If you created resources in MediaPackage v1, use video on demand (VOD) workflows, and aren't looking to migrate to MediaPackage v2 yet, see the MediaPackage v1 Live API Reference.
This is the AWS Elemental MediaPackage v2 Live REST API Reference. It describes all the MediaPackage API operations for live content in detail, and provides sample requests, responses, and errors for the supported web services protocols.
We assume that you have the IAM permissions that you need to use MediaPackage via the REST API. We also assume that you are familiar with the features and operations of MediaPackage, as described in the AWS Elemental MediaPackage User Guide.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static MediaPackageV2ClientBuilder |
builder()
Create a builder that can be used to configure and create a
MediaPackageV2Client. |
static MediaPackageV2Client |
create()
Create a
MediaPackageV2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateChannelResponse |
createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest)
Create a channel to start receiving content streams.
|
default CreateChannelResponse |
createChannel(CreateChannelRequest createChannelRequest)
Create a channel to start receiving content streams.
|
default CreateChannelGroupResponse |
createChannelGroup(Consumer<CreateChannelGroupRequest.Builder> createChannelGroupRequest)
Create a channel group to group your channels and origin endpoints.
|
default CreateChannelGroupResponse |
createChannelGroup(CreateChannelGroupRequest createChannelGroupRequest)
Create a channel group to group your channels and origin endpoints.
|
default CreateOriginEndpointResponse |
createOriginEndpoint(Consumer<CreateOriginEndpointRequest.Builder> createOriginEndpointRequest)
The endpoint is attached to a channel, and represents the output of the live content.
|
default CreateOriginEndpointResponse |
createOriginEndpoint(CreateOriginEndpointRequest createOriginEndpointRequest)
The endpoint is attached to a channel, and represents the output of the live content.
|
default DeleteChannelResponse |
deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest)
Delete a channel to stop AWS Elemental MediaPackage from receiving further content.
|
default DeleteChannelResponse |
deleteChannel(DeleteChannelRequest deleteChannelRequest)
Delete a channel to stop AWS Elemental MediaPackage from receiving further content.
|
default DeleteChannelGroupResponse |
deleteChannelGroup(Consumer<DeleteChannelGroupRequest.Builder> deleteChannelGroupRequest)
Delete a channel group.
|
default DeleteChannelGroupResponse |
deleteChannelGroup(DeleteChannelGroupRequest deleteChannelGroupRequest)
Delete a channel group.
|
default DeleteChannelPolicyResponse |
deleteChannelPolicy(Consumer<DeleteChannelPolicyRequest.Builder> deleteChannelPolicyRequest)
Delete a channel policy.
|
default DeleteChannelPolicyResponse |
deleteChannelPolicy(DeleteChannelPolicyRequest deleteChannelPolicyRequest)
Delete a channel policy.
|
default DeleteOriginEndpointResponse |
deleteOriginEndpoint(Consumer<DeleteOriginEndpointRequest.Builder> deleteOriginEndpointRequest)
Origin endpoints can serve content until they're deleted.
|
default DeleteOriginEndpointResponse |
deleteOriginEndpoint(DeleteOriginEndpointRequest deleteOriginEndpointRequest)
Origin endpoints can serve content until they're deleted.
|
default DeleteOriginEndpointPolicyResponse |
deleteOriginEndpointPolicy(Consumer<DeleteOriginEndpointPolicyRequest.Builder> deleteOriginEndpointPolicyRequest)
Delete an origin endpoint policy.
|
default DeleteOriginEndpointPolicyResponse |
deleteOriginEndpointPolicy(DeleteOriginEndpointPolicyRequest deleteOriginEndpointPolicyRequest)
Delete an origin endpoint policy.
|
default GetChannelResponse |
getChannel(Consumer<GetChannelRequest.Builder> getChannelRequest)
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints
that are associated with it.
|
default GetChannelResponse |
getChannel(GetChannelRequest getChannelRequest)
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints
that are associated with it.
|
default GetChannelGroupResponse |
getChannelGroup(Consumer<GetChannelGroupRequest.Builder> getChannelGroupRequest)
Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and
origin endpoints that are associated with it.
|
default GetChannelGroupResponse |
getChannelGroup(GetChannelGroupRequest getChannelGroupRequest)
Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and
origin endpoints that are associated with it.
|
default GetChannelPolicyResponse |
getChannelPolicy(Consumer<GetChannelPolicyRequest.Builder> getChannelPolicyRequest)
Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage.
|
default GetChannelPolicyResponse |
getChannelPolicy(GetChannelPolicyRequest getChannelPolicyRequest)
Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage.
|
default GetOriginEndpointResponse |
getOriginEndpoint(Consumer<GetOriginEndpointRequest.Builder> getOriginEndpointRequest)
Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback
URL and to view the packaging settings that it's currently using.
|
default GetOriginEndpointResponse |
getOriginEndpoint(GetOriginEndpointRequest getOriginEndpointRequest)
Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback
URL and to view the packaging settings that it's currently using.
|
default GetOriginEndpointPolicyResponse |
getOriginEndpointPolicy(Consumer<GetOriginEndpointPolicyRequest.Builder> getOriginEndpointPolicyRequest)
Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
|
default GetOriginEndpointPolicyResponse |
getOriginEndpointPolicy(GetOriginEndpointPolicyRequest getOriginEndpointPolicyRequest)
Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
|
default ListChannelGroupsResponse |
listChannelGroups(Consumer<ListChannelGroupsRequest.Builder> listChannelGroupsRequest)
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin
endpoints that are associated with it.
|
default ListChannelGroupsResponse |
listChannelGroups(ListChannelGroupsRequest listChannelGroupsRequest)
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin
endpoints that are associated with it.
|
default ListChannelGroupsIterable |
listChannelGroupsPaginator(Consumer<ListChannelGroupsRequest.Builder> listChannelGroupsRequest)
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin
endpoints that are associated with it.
|
default ListChannelGroupsIterable |
listChannelGroupsPaginator(ListChannelGroupsRequest listChannelGroupsRequest)
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin
endpoints that are associated with it.
|
default ListChannelsResponse |
listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including
the origin endpoints that are associated with it.
|
default ListChannelsResponse |
listChannels(ListChannelsRequest listChannelsRequest)
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including
the origin endpoints that are associated with it.
|
default ListChannelsIterable |
listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including
the origin endpoints that are associated with it.
|
default ListChannelsIterable |
listChannelsPaginator(ListChannelsRequest listChannelsRequest)
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including
the origin endpoints that are associated with it.
|
default ListOriginEndpointsResponse |
listOriginEndpoints(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest)
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
|
default ListOriginEndpointsResponse |
listOriginEndpoints(ListOriginEndpointsRequest listOriginEndpointsRequest)
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
|
default ListOriginEndpointsIterable |
listOriginEndpointsPaginator(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest)
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
|
default ListOriginEndpointsIterable |
listOriginEndpointsPaginator(ListOriginEndpointsRequest listOriginEndpointsRequest)
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags assigned to a resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags assigned to a resource.
|
default PutChannelPolicyResponse |
putChannelPolicy(Consumer<PutChannelPolicyRequest.Builder> putChannelPolicyRequest)
Attaches an IAM policy to the specified channel.
|
default PutChannelPolicyResponse |
putChannelPolicy(PutChannelPolicyRequest putChannelPolicyRequest)
Attaches an IAM policy to the specified channel.
|
default PutOriginEndpointPolicyResponse |
putOriginEndpointPolicy(Consumer<PutOriginEndpointPolicyRequest.Builder> putOriginEndpointPolicyRequest)
Attaches an IAM policy to the specified origin endpoint.
|
default PutOriginEndpointPolicyResponse |
putOriginEndpointPolicy(PutOriginEndpointPolicyRequest putOriginEndpointPolicyRequest)
Attaches an IAM policy to the specified origin endpoint.
|
default MediaPackageV2ServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from the specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from the specified resource.
|
default UpdateChannelResponse |
updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest)
Update the specified channel.
|
default UpdateChannelResponse |
updateChannel(UpdateChannelRequest updateChannelRequest)
Update the specified channel.
|
default UpdateChannelGroupResponse |
updateChannelGroup(Consumer<UpdateChannelGroupRequest.Builder> updateChannelGroupRequest)
Update the specified channel group.
|
default UpdateChannelGroupResponse |
updateChannelGroup(UpdateChannelGroupRequest updateChannelGroupRequest)
Update the specified channel group.
|
default UpdateOriginEndpointResponse |
updateOriginEndpoint(Consumer<UpdateOriginEndpointRequest.Builder> updateOriginEndpointRequest)
Update the specified origin endpoint.
|
default UpdateOriginEndpointResponse |
updateOriginEndpoint(UpdateOriginEndpointRequest updateOriginEndpointRequest)
Update the specified origin endpoint.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateChannelResponse createChannel(CreateChannelRequest createChannelRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Create a channel to start receiving content streams. The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that request the content. You can create only one channel with each request. We recommend that you spread out channels between channel groups, such as putting redundant channels in the same AWS Region in different channel groups.
createChannelRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateChannelResponse createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Create a channel to start receiving content streams. The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that request the content. You can create only one channel with each request. We recommend that you spread out channels between channel groups, such as putting redundant channels in the same AWS Region in different channel groups.
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.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateChannelGroupResponse createChannelGroup(CreateChannelGroupRequest createChannelGroupRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You can create only one channel group with each request.
createChannelGroupRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateChannelGroupResponse createChannelGroup(Consumer<CreateChannelGroupRequest.Builder> createChannelGroupRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You can create only one channel group with each request.
This is a convenience which creates an instance of the CreateChannelGroupRequest.Builder avoiding the
need to create one manually via CreateChannelGroupRequest.builder()
createChannelGroupRequest - A Consumer that will call methods on
CreateChannelGroupRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateOriginEndpointResponse createOriginEndpoint(CreateOriginEndpointRequest createOriginEndpointRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request.
createOriginEndpointRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateOriginEndpointResponse createOriginEndpoint(Consumer<CreateOriginEndpointRequest.Builder> createOriginEndpointRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request.
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.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelResponse deleteChannel(DeleteChannelRequest deleteChannelRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's origin endpoints before you can delete the channel.
deleteChannelRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelResponse deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's origin endpoints before you can delete the channel.
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.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelGroupResponse deleteChannelGroup(DeleteChannelGroupRequest deleteChannelGroupRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create a new channel group to replace it.
deleteChannelGroupRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelGroupResponse deleteChannelGroup(Consumer<DeleteChannelGroupRequest.Builder> deleteChannelGroupRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create a new channel group to replace it.
This is a convenience which creates an instance of the DeleteChannelGroupRequest.Builder avoiding the
need to create one manually via DeleteChannelGroupRequest.builder()
deleteChannelGroupRequest - A Consumer that will call methods on
DeleteChannelGroupRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelPolicyResponse deleteChannelPolicy(DeleteChannelPolicyRequest deleteChannelPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete a channel policy.
deleteChannelPolicyRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelPolicyResponse deleteChannelPolicy(Consumer<DeleteChannelPolicyRequest.Builder> deleteChannelPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete a channel policy.
This is a convenience which creates an instance of the DeleteChannelPolicyRequest.Builder avoiding the
need to create one manually via DeleteChannelPolicyRequest.builder()
deleteChannelPolicyRequest - A Consumer that will call methods on
DeleteChannelPolicyRequest.Builder to create
a request.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteOriginEndpointResponse deleteOriginEndpoint(DeleteOriginEndpointRequest deleteOriginEndpointRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to playback requests. You must delete all endpoints from a channel before you can delete the channel.
deleteOriginEndpointRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteOriginEndpointResponse deleteOriginEndpoint(Consumer<DeleteOriginEndpointRequest.Builder> deleteOriginEndpointRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to playback requests. You must delete all endpoints from a channel before you can delete the channel.
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.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteOriginEndpointPolicyResponse deleteOriginEndpointPolicy(DeleteOriginEndpointPolicyRequest deleteOriginEndpointPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete an origin endpoint policy.
deleteOriginEndpointPolicyRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteOriginEndpointPolicyResponse deleteOriginEndpointPolicy(Consumer<DeleteOriginEndpointPolicyRequest.Builder> deleteOriginEndpointPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Delete an origin endpoint policy.
This is a convenience which creates an instance of the DeleteOriginEndpointPolicyRequest.Builder avoiding
the need to create one manually via DeleteOriginEndpointPolicyRequest.builder()
deleteOriginEndpointPolicyRequest - A Consumer that will call methods on
DeleteOriginEndpointPolicyRequest.Builder to
create a request.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelResponse getChannel(GetChannelRequest getChannelRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
getChannelRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelResponse getChannel(Consumer<GetChannelRequest.Builder> getChannelRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
This is a convenience which creates an instance of the GetChannelRequest.Builder avoiding the need to
create one manually via GetChannelRequest.builder()
getChannelRequest - A Consumer that will call methods on
GetChannelRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelGroupResponse getChannelGroup(GetChannelGroupRequest getChannelGroupRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
getChannelGroupRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelGroupResponse getChannelGroup(Consumer<GetChannelGroupRequest.Builder> getChannelGroupRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
This is a convenience which creates an instance of the GetChannelGroupRequest.Builder avoiding the need
to create one manually via GetChannelGroupRequest.builder()
getChannelGroupRequest - A Consumer that will call methods on
GetChannelGroupRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelPolicyResponse getChannelPolicy(GetChannelPolicyRequest getChannelPolicyRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources.
getChannelPolicyRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelPolicyResponse getChannelPolicy(Consumer<GetChannelPolicyRequest.Builder> getChannelPolicyRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources.
This is a convenience which creates an instance of the GetChannelPolicyRequest.Builder avoiding the need
to create one manually via GetChannelPolicyRequest.builder()
getChannelPolicyRequest - A Consumer that will call methods on
GetChannelPolicyRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetOriginEndpointResponse getOriginEndpoint(GetOriginEndpointRequest getOriginEndpointRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback URL and to view the packaging settings that it's currently using.
getOriginEndpointRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetOriginEndpointResponse getOriginEndpoint(Consumer<GetOriginEndpointRequest.Builder> getOriginEndpointRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback URL and to view the packaging settings that it's currently using.
This is a convenience which creates an instance of the GetOriginEndpointRequest.Builder avoiding the need
to create one manually via GetOriginEndpointRequest.builder()
getOriginEndpointRequest - A Consumer that will call methods on
GetOriginEndpointRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetOriginEndpointPolicyResponse getOriginEndpointPolicy(GetOriginEndpointPolicyRequest getOriginEndpointPolicyRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
getOriginEndpointPolicyRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetOriginEndpointPolicyResponse getOriginEndpointPolicy(Consumer<GetOriginEndpointPolicyRequest.Builder> getOriginEndpointPolicyRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
This is a convenience which creates an instance of the GetOriginEndpointPolicyRequest.Builder avoiding
the need to create one manually via GetOriginEndpointPolicyRequest.builder()
getOriginEndpointPolicyRequest - A Consumer that will call methods on
GetOriginEndpointPolicyRequest.Builder to
create a request.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelGroupsResponse listChannelGroups(ListChannelGroupsRequest listChannelGroupsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
listChannelGroupsRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelGroupsResponse listChannelGroups(Consumer<ListChannelGroupsRequest.Builder> listChannelGroupsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
This is a convenience which creates an instance of the ListChannelGroupsRequest.Builder avoiding the need
to create one manually via ListChannelGroupsRequest.builder()
listChannelGroupsRequest - A Consumer that will call methods on
ListChannelGroupsRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelGroupsIterable listChannelGroupsPaginator(ListChannelGroupsRequest listChannelGroupsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
This is a variant of
listChannelGroups(software.amazon.awssdk.services.mediapackagev2.model.ListChannelGroupsRequest)
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.mediapackagev2.paginators.ListChannelGroupsIterable responses = client.listChannelGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediapackagev2.paginators.ListChannelGroupsIterable responses = client
.listChannelGroupsPaginator(request);
for (software.amazon.awssdk.services.mediapackagev2.model.ListChannelGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediapackagev2.paginators.ListChannelGroupsIterable responses = client.listChannelGroupsPaginator(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
listChannelGroups(software.amazon.awssdk.services.mediapackagev2.model.ListChannelGroupsRequest)
operation.
listChannelGroupsRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelGroupsIterable listChannelGroupsPaginator(Consumer<ListChannelGroupsRequest.Builder> listChannelGroupsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
This is a variant of
listChannelGroups(software.amazon.awssdk.services.mediapackagev2.model.ListChannelGroupsRequest)
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.mediapackagev2.paginators.ListChannelGroupsIterable responses = client.listChannelGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediapackagev2.paginators.ListChannelGroupsIterable responses = client
.listChannelGroupsPaginator(request);
for (software.amazon.awssdk.services.mediapackagev2.model.ListChannelGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediapackagev2.paginators.ListChannelGroupsIterable responses = client.listChannelGroupsPaginator(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
listChannelGroups(software.amazon.awssdk.services.mediapackagev2.model.ListChannelGroupsRequest)
operation.
This is a convenience which creates an instance of the ListChannelGroupsRequest.Builder avoiding the need
to create one manually via ListChannelGroupsRequest.builder()
listChannelGroupsRequest - A Consumer that will call methods on
ListChannelGroupsRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsResponse listChannels(ListChannelsRequest listChannelsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
listChannelsRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsResponse listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
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.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsIterable listChannelsPaginator(ListChannelsRequest listChannelsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
This is a variant of
listChannels(software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediapackagev2.paginators.ListChannelsIterable responses = client
.listChannelsPaginator(request);
for (software.amazon.awssdk.services.mediapackagev2.model.ListChannelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.model.ListChannelsRequest) operation.
listChannelsRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsIterable listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
This is a variant of
listChannels(software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediapackagev2.paginators.ListChannelsIterable responses = client
.listChannelsPaginator(request);
for (software.amazon.awssdk.services.mediapackagev2.model.ListChannelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.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.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOriginEndpointsResponse listOriginEndpoints(ListOriginEndpointsRequest listOriginEndpointsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
listOriginEndpointsRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOriginEndpointsResponse listOriginEndpoints(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
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.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOriginEndpointsIterable listOriginEndpointsPaginator(ListOriginEndpointsRequest listOriginEndpointsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
This is a variant of
listOriginEndpoints(software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediapackagev2.paginators.ListOriginEndpointsIterable responses = client
.listOriginEndpointsPaginator(request);
for (software.amazon.awssdk.services.mediapackagev2.model.ListOriginEndpointsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.model.ListOriginEndpointsRequest)
operation.
listOriginEndpointsRequest - ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOriginEndpointsIterable listOriginEndpointsPaginator(Consumer<ListOriginEndpointsRequest.Builder> listOriginEndpointsRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
This is a variant of
listOriginEndpoints(software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.paginators.ListOriginEndpointsIterable responses = client.listOriginEndpointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediapackagev2.paginators.ListOriginEndpointsIterable responses = client
.listOriginEndpointsPaginator(request);
for (software.amazon.awssdk.services.mediapackagev2.model.ListOriginEndpointsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediapackagev2.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.mediapackagev2.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.ThrottlingException - The request throughput limit was exceeded.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Lists the tags assigned to a resource.
listTagsForResourceRequest - ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Lists the tags assigned to a resource.
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.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutChannelPolicyResponse putChannelPolicy(PutChannelPolicyRequest putChannelPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources. You can attach only one policy with each request.
putChannelPolicyRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutChannelPolicyResponse putChannelPolicy(Consumer<PutChannelPolicyRequest.Builder> putChannelPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources. You can attach only one policy with each request.
This is a convenience which creates an instance of the PutChannelPolicyRequest.Builder avoiding the need
to create one manually via PutChannelPolicyRequest.builder()
putChannelPolicyRequest - A Consumer that will call methods on
PutChannelPolicyRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutOriginEndpointPolicyResponse putOriginEndpointPolicy(PutOriginEndpointPolicyRequest putOriginEndpointPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.
putOriginEndpointPolicyRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutOriginEndpointPolicyResponse putOriginEndpointPolicy(Consumer<PutOriginEndpointPolicyRequest.Builder> putOriginEndpointPolicyRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.
This is a convenience which creates an instance of the PutOriginEndpointPolicyRequest.Builder avoiding
the need to create one manually via PutOriginEndpointPolicyRequest.builder()
putOriginEndpointPolicyRequest - A Consumer that will call methods on
PutOriginEndpointPolicyRequest.Builder to
create a request.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
tagResourceRequest - ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
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.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Removes one or more tags from the specified resource.
untagResourceRequest - ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Removes one or more tags from the specified resource.
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.ValidationException - The input failed to meet the constraints specified by the AWS service.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateChannelResponse updateChannel(UpdateChannelRequest updateChannelRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You can't edit the name of the channel or CloudFront distribution details.
Any edits you make that impact the video output may not be reflected for a few minutes.
updateChannelRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateChannelResponse updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You can't edit the name of the channel or CloudFront distribution details.
Any edits you make that impact the video output may not be reflected for a few minutes.
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.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateChannelGroupResponse updateChannelGroup(UpdateChannelGroupRequest updateChannelGroupRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Update the specified channel group. You can edit the description on a channel group for easier identification later from the AWS Elemental MediaPackage console. You can't edit the name of the channel group.
Any edits you make that impact the video output may not be reflected for a few minutes.
updateChannelGroupRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateChannelGroupResponse updateChannelGroup(Consumer<UpdateChannelGroupRequest.Builder> updateChannelGroupRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Update the specified channel group. You can edit the description on a channel group for easier identification later from the AWS Elemental MediaPackage console. You can't edit the name of the channel group.
Any edits you make that impact the video output may not be reflected for a few minutes.
This is a convenience which creates an instance of the UpdateChannelGroupRequest.Builder avoiding the
need to create one manually via UpdateChannelGroupRequest.builder()
updateChannelGroupRequest - A Consumer that will call methods on
UpdateChannelGroupRequest.Builder to create a
request.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateOriginEndpointResponse updateOriginEndpoint(UpdateOriginEndpointRequest updateOriginEndpointRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing experience. You can't edit the name of the endpoint.
Any edits you make that impact the video output may not be reflected for a few minutes.
updateOriginEndpointRequest - ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateOriginEndpointResponse updateOriginEndpoint(Consumer<UpdateOriginEndpointRequest.Builder> updateOriginEndpointRequest) throws ThrottlingException, ConflictException, InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MediaPackageV2Exception
Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing experience. You can't edit the name of the endpoint.
Any edits you make that impact the video output may not be reflected for a few minutes.
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.ThrottlingException - The request throughput limit was exceeded.ConflictException - Updating or deleting this resource can cause an inconsistent state.InternalServerException - Indicates that an error from the service occurred while trying to process a request.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions. For
more information, see Access Management in the IAM User Guide.ValidationException - The input failed to meet the constraints specified by the AWS service.ResourceNotFoundException - The specified resource doesn't exist.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.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.MediaPackageV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic MediaPackageV2Client create()
MediaPackageV2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MediaPackageV2ClientBuilder builder()
MediaPackageV2Client.static ServiceMetadata serviceMetadata()
default MediaPackageV2ServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.