@Generated(value="software.amazon.awssdk:codegen") public interface MediaLiveAsyncClient extends SdkClient, SdkAutoCloseable
builder()
method.
API for AWS Elemental MediaLive| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static MediaLiveAsyncClient create()
MediaLiveAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MediaLiveAsyncClientBuilder builder()
MediaLiveAsyncClient.default CompletableFuture<CreateChannelResponse> createChannel(CreateChannelRequest createChannelRequest)
createChannelRequest - A request to create a channeldefault CompletableFuture<CreateChannelResponse> createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest)
This is a convenience which creates an instance of the CreateChannelRequest.Builder avoiding the need to
create one manually via CreateChannelRequest.builder()
createChannelRequest - A Consumer that will call methods on CreateChannelRequest.Builder to create a request. A
request to create a channeldefault CompletableFuture<CreateInputResponse> createInput(CreateInputRequest createInputRequest)
createInputRequest - The name of the inputdefault CompletableFuture<CreateInputResponse> createInput(Consumer<CreateInputRequest.Builder> createInputRequest)
This is a convenience which creates an instance of the CreateInputRequest.Builder avoiding the need to
create one manually via CreateInputRequest.builder()
createInputRequest - A Consumer that will call methods on CreateInputRequest.Builder to create a request. The
name of the inputdefault CompletableFuture<CreateInputSecurityGroupResponse> createInputSecurityGroup(CreateInputSecurityGroupRequest createInputSecurityGroupRequest)
createInputSecurityGroupRequest - The IPv4 CIDRs to whitelist for this Input Security Groupdefault CompletableFuture<CreateInputSecurityGroupResponse> createInputSecurityGroup(Consumer<CreateInputSecurityGroupRequest.Builder> createInputSecurityGroupRequest)
This is a convenience which creates an instance of the CreateInputSecurityGroupRequest.Builder avoiding
the need to create one manually via CreateInputSecurityGroupRequest.builder()
createInputSecurityGroupRequest - A Consumer that will call methods on CreateInputSecurityGroupRequest.Builder to create a
request. The IPv4 CIDRs to whitelist for this Input Security Groupdefault CompletableFuture<DeleteChannelResponse> deleteChannel(DeleteChannelRequest deleteChannelRequest)
deleteChannelRequest - Placeholder documentation for DeleteChannelRequestdefault CompletableFuture<DeleteChannelResponse> deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest)
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.
Placeholder documentation for DeleteChannelRequestdefault CompletableFuture<DeleteInputResponse> deleteInput(DeleteInputRequest deleteInputRequest)
deleteInputRequest - Placeholder documentation for DeleteInputRequestdefault CompletableFuture<DeleteInputResponse> deleteInput(Consumer<DeleteInputRequest.Builder> deleteInputRequest)
This is a convenience which creates an instance of the DeleteInputRequest.Builder avoiding the need to
create one manually via DeleteInputRequest.builder()
deleteInputRequest - A Consumer that will call methods on DeleteInputRequest.Builder to create a request.
Placeholder documentation for DeleteInputRequestdefault CompletableFuture<DeleteInputSecurityGroupResponse> deleteInputSecurityGroup(DeleteInputSecurityGroupRequest deleteInputSecurityGroupRequest)
deleteInputSecurityGroupRequest - Placeholder documentation for DeleteInputSecurityGroupRequestdefault CompletableFuture<DeleteInputSecurityGroupResponse> deleteInputSecurityGroup(Consumer<DeleteInputSecurityGroupRequest.Builder> deleteInputSecurityGroupRequest)
This is a convenience which creates an instance of the DeleteInputSecurityGroupRequest.Builder avoiding
the need to create one manually via DeleteInputSecurityGroupRequest.builder()
deleteInputSecurityGroupRequest - A Consumer that will call methods on DeleteInputSecurityGroupRequest.Builder to create a
request. Placeholder documentation for DeleteInputSecurityGroupRequestdefault CompletableFuture<DescribeChannelResponse> describeChannel(DescribeChannelRequest describeChannelRequest)
describeChannelRequest - Placeholder documentation for DescribeChannelRequestdefault CompletableFuture<DescribeChannelResponse> describeChannel(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
This is a convenience which creates an instance of the DescribeChannelRequest.Builder avoiding the need
to create one manually via DescribeChannelRequest.builder()
describeChannelRequest - A Consumer that will call methods on DescribeChannelRequest.Builder to create a request.
Placeholder documentation for DescribeChannelRequestdefault CompletableFuture<DescribeInputResponse> describeInput(DescribeInputRequest describeInputRequest)
describeInputRequest - Placeholder documentation for DescribeInputRequestdefault CompletableFuture<DescribeInputResponse> describeInput(Consumer<DescribeInputRequest.Builder> describeInputRequest)
This is a convenience which creates an instance of the DescribeInputRequest.Builder avoiding the need to
create one manually via DescribeInputRequest.builder()
describeInputRequest - A Consumer that will call methods on DescribeInputRequest.Builder to create a request.
Placeholder documentation for DescribeInputRequestdefault CompletableFuture<DescribeInputSecurityGroupResponse> describeInputSecurityGroup(DescribeInputSecurityGroupRequest describeInputSecurityGroupRequest)
describeInputSecurityGroupRequest - Placeholder documentation for DescribeInputSecurityGroupRequestdefault CompletableFuture<DescribeInputSecurityGroupResponse> describeInputSecurityGroup(Consumer<DescribeInputSecurityGroupRequest.Builder> describeInputSecurityGroupRequest)
This is a convenience which creates an instance of the DescribeInputSecurityGroupRequest.Builder avoiding
the need to create one manually via DescribeInputSecurityGroupRequest.builder()
describeInputSecurityGroupRequest - A Consumer that will call methods on DescribeInputSecurityGroupRequest.Builder to create a
request. Placeholder documentation for DescribeInputSecurityGroupRequestdefault CompletableFuture<ListChannelsResponse> listChannels(ListChannelsRequest listChannelsRequest)
listChannelsRequest - Placeholder documentation for ListChannelsRequestdefault CompletableFuture<ListChannelsResponse> listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
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.
Placeholder documentation for ListChannelsRequestdefault CompletableFuture<ListChannelsResponse> listChannels()
default ListChannelsPublisher listChannelsPaginator(ListChannelsRequest listChannelsRequest)
This is a variant of listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListChannelsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListChannelsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest) operation.
listChannelsRequest - Placeholder documentation for ListChannelsRequestdefault ListChannelsPublisher listChannelsPaginator()
This is a variant of listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListChannelsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListChannelsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest) operation.
default CompletableFuture<ListInputSecurityGroupsResponse> listInputSecurityGroups(ListInputSecurityGroupsRequest listInputSecurityGroupsRequest)
listInputSecurityGroupsRequest - Placeholder documentation for ListInputSecurityGroupsRequestdefault CompletableFuture<ListInputSecurityGroupsResponse> listInputSecurityGroups(Consumer<ListInputSecurityGroupsRequest.Builder> listInputSecurityGroupsRequest)
This is a convenience which creates an instance of the ListInputSecurityGroupsRequest.Builder avoiding
the need to create one manually via ListInputSecurityGroupsRequest.builder()
listInputSecurityGroupsRequest - A Consumer that will call methods on ListInputSecurityGroupsRequest.Builder to create a
request. Placeholder documentation for ListInputSecurityGroupsRequestdefault CompletableFuture<ListInputSecurityGroupsResponse> listInputSecurityGroups()
default ListInputSecurityGroupsPublisher listInputSecurityGroupsPaginator(ListInputSecurityGroupsRequest listInputSecurityGroupsRequest)
This is a variant of
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation.
listInputSecurityGroupsRequest - Placeholder documentation for ListInputSecurityGroupsRequestdefault ListInputSecurityGroupsPublisher listInputSecurityGroupsPaginator()
This is a variant of
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation.
default CompletableFuture<ListInputsResponse> listInputs(ListInputsRequest listInputsRequest)
listInputsRequest - Placeholder documentation for ListInputsRequestdefault CompletableFuture<ListInputsResponse> listInputs(Consumer<ListInputsRequest.Builder> listInputsRequest)
This is a convenience which creates an instance of the ListInputsRequest.Builder avoiding the need to
create one manually via ListInputsRequest.builder()
listInputsRequest - A Consumer that will call methods on ListInputsRequest.Builder to create a request.
Placeholder documentation for ListInputsRequestdefault CompletableFuture<ListInputsResponse> listInputs()
default ListInputsPublisher listInputsPaginator(ListInputsRequest listInputsRequest)
This is a variant of listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest) operation.
listInputsRequest - Placeholder documentation for ListInputsRequestdefault ListInputsPublisher listInputsPaginator()
This is a variant of listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest) operation.
default CompletableFuture<StartChannelResponse> startChannel(StartChannelRequest startChannelRequest)
startChannelRequest - Placeholder documentation for StartChannelRequestdefault CompletableFuture<StartChannelResponse> startChannel(Consumer<StartChannelRequest.Builder> startChannelRequest)
This is a convenience which creates an instance of the StartChannelRequest.Builder avoiding the need to
create one manually via StartChannelRequest.builder()
startChannelRequest - A Consumer that will call methods on StartChannelRequest.Builder to create a request.
Placeholder documentation for StartChannelRequestdefault CompletableFuture<StopChannelResponse> stopChannel(StopChannelRequest stopChannelRequest)
stopChannelRequest - Placeholder documentation for StopChannelRequestdefault CompletableFuture<StopChannelResponse> stopChannel(Consumer<StopChannelRequest.Builder> stopChannelRequest)
This is a convenience which creates an instance of the StopChannelRequest.Builder avoiding the need to
create one manually via StopChannelRequest.builder()
stopChannelRequest - A Consumer that will call methods on StopChannelRequest.Builder to create a request.
Placeholder documentation for StopChannelRequestCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.