Skip to content

Commit aae329c

Browse files
authored
feat(aws-android-sdk-kinesisvideo): update models to latest (#2885)
1 parent b1d0be7 commit aae329c

File tree

168 files changed

+5576
-534
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+5576
-534
lines changed

aws-android-sdk-kinesisvideo/src/main/java/com/amazonaws/services/kinesisvideo/AWSKinesisVideo.java

Lines changed: 130 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -176,6 +176,7 @@ CreateStreamResult createStream(CreateStreamRequest createStreamRequest)
176176
* @throws ResourceNotFoundException
177177
* @throws AccessDeniedException
178178
* @throws VersionMismatchException
179+
* @throws ResourceInUseException
179180
* @throws AmazonClientException If any internal errors are encountered
180181
* inside the client while attempting to make the request or
181182
* handle the response. For example if a network connection is
@@ -218,6 +219,7 @@ DeleteSignalingChannelResult deleteSignalingChannel(
218219
* @throws ResourceNotFoundException
219220
* @throws NotAuthorizedException
220221
* @throws VersionMismatchException
222+
* @throws ResourceInUseException
221223
* @throws AmazonClientException If any internal errors are encountered
222224
* inside the client while attempting to make the request or
223225
* handle the response. For example if a network connection is
@@ -229,11 +231,63 @@ DeleteSignalingChannelResult deleteSignalingChannel(
229231
DeleteStreamResult deleteStream(DeleteStreamRequest deleteStreamRequest)
230232
throws AmazonClientException, AmazonServiceException;
231233

234+
/**
235+
* <p>
236+
* Gets the <code>ImageGenerationConfiguration</code> for a given Kinesis
237+
* video stream.
238+
* </p>
239+
*
240+
* @param describeImageGenerationConfigurationRequest
241+
* @return describeImageGenerationConfigurationResult The response from the
242+
* DescribeImageGenerationConfiguration service method, as returned
243+
* by AWSKinesisVideoFrontend.
244+
* @throws InvalidArgumentException
245+
* @throws ClientLimitExceededException
246+
* @throws ResourceNotFoundException
247+
* @throws AccessDeniedException
248+
* @throws AmazonClientException If any internal errors are encountered
249+
* inside the client while attempting to make the request or
250+
* handle the response. For example if a network connection is
251+
* not available.
252+
* @throws AmazonServiceException If an error response is returned by
253+
* AWSKinesisVideoFrontend indicating either a problem with the
254+
* data in the request, or a server side issue.
255+
*/
256+
DescribeImageGenerationConfigurationResult describeImageGenerationConfiguration(
257+
DescribeImageGenerationConfigurationRequest describeImageGenerationConfigurationRequest)
258+
throws AmazonClientException, AmazonServiceException;
259+
260+
/**
261+
* <p>
262+
* Gets the <code>NotificationConfiguration</code> for a given Kinesis video
263+
* stream.
264+
* </p>
265+
*
266+
* @param describeNotificationConfigurationRequest
267+
* @return describeNotificationConfigurationResult The response from the
268+
* DescribeNotificationConfiguration service method, as returned by
269+
* AWSKinesisVideoFrontend.
270+
* @throws InvalidArgumentException
271+
* @throws ClientLimitExceededException
272+
* @throws ResourceNotFoundException
273+
* @throws AccessDeniedException
274+
* @throws AmazonClientException If any internal errors are encountered
275+
* inside the client while attempting to make the request or
276+
* handle the response. For example if a network connection is
277+
* not available.
278+
* @throws AmazonServiceException If an error response is returned by
279+
* AWSKinesisVideoFrontend indicating either a problem with the
280+
* data in the request, or a server side issue.
281+
*/
282+
DescribeNotificationConfigurationResult describeNotificationConfiguration(
283+
DescribeNotificationConfigurationRequest describeNotificationConfigurationRequest)
284+
throws AmazonClientException, AmazonServiceException;
285+
232286
/**
233287
* <p>
234288
* Returns the most current information about the signaling channel. You
235-
* must specify either the name or the ARN of the channel that you want to
236-
* describe.
289+
* must specify either the name or the Amazon Resource Name (ARN) of the
290+
* channel that you want to describe.
237291
* </p>
238292
*
239293
* @param describeSignalingChannelRequest
@@ -326,10 +380,9 @@ GetDataEndpointResult getDataEndpoint(GetDataEndpointRequest getDataEndpointRequ
326380
* </p>
327381
* <p>
328382
* <code>Protocols</code> is used to determine the communication mechanism.
329-
* For example, specifying <code>WSS</code> as the protocol, results in this
330-
* API producing a secure websocket endpoint, and specifying
331-
* <code>HTTPS</code> as the protocol, results in this API generating an
332-
* HTTPS endpoint.
383+
* For example, if you specify <code>WSS</code> as the protocol, this API
384+
* produces a secure websocket endpoint. If you specify <code>HTTPS</code>
385+
* as the protocol, this API generates an HTTPS endpoint.
333386
* </p>
334387
* <p>
335388
* <code>Role</code> determines the messaging permissions. A
@@ -466,13 +519,13 @@ ListTagsForStreamResult listTagsForStream(ListTagsForStreamRequest listTagsForSt
466519
/**
467520
* <p>
468521
* Adds one or more tags to a signaling channel. A <i>tag</i> is a key-value
469-
* pair (the value is optional) that you can define and assign to AWS
470-
* resources. If you specify a tag that already exists, the tag value is
471-
* replaced with the value that you specify in the request. For more
472-
* information, see <a href=
522+
* pair (the value is optional) that you can define and assign to Amazon Web
523+
* Services resources. If you specify a tag that already exists, the tag
524+
* value is replaced with the value that you specify in the request. For
525+
* more information, see <a href=
473526
* "https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html"
474-
* >Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management
475-
* User Guide</i>.
527+
* >Using Cost Allocation Tags</a> in the <i>Billing and Cost Management and
528+
* Cost Management User Guide</i>.
476529
* </p>
477530
*
478531
* @param tagResourceRequest
@@ -497,12 +550,13 @@ TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
497550
/**
498551
* <p>
499552
* Adds one or more tags to a stream. A <i>tag</i> is a key-value pair (the
500-
* value is optional) that you can define and assign to AWS resources. If
501-
* you specify a tag that already exists, the tag value is replaced with the
502-
* value that you specify in the request. For more information, see <a href=
553+
* value is optional) that you can define and assign to Amazon Web Services
554+
* resources. If you specify a tag that already exists, the tag value is
555+
* replaced with the value that you specify in the request. For more
556+
* information, see <a href=
503557
* "https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html"
504-
* >Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management
505-
* User Guide</i>.
558+
* >Using Cost Allocation Tags</a> in the <i>Billing and Cost Management and
559+
* Cost Management User Guide</i>.
506560
* </p>
507561
* <p>
508562
* You must provide either the <code>StreamName</code> or the
@@ -513,7 +567,7 @@ TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
513567
* <code>KinesisVideo:TagStream</code> action.
514568
* </p>
515569
* <p>
516-
* Kinesis video streams support up to 50 tags.
570+
* A Kinesis video stream can support up to 50 tags.
517571
* </p>
518572
*
519573
* @param tagStreamRequest
@@ -653,15 +707,70 @@ UpdateDataRetentionResult updateDataRetention(
653707
UpdateDataRetentionRequest updateDataRetentionRequest) throws AmazonClientException,
654708
AmazonServiceException;
655709

710+
/**
711+
* <p>
712+
* Updates the <code>StreamInfo</code> and
713+
* <code>ImageProcessingConfiguration</code> fields.
714+
* </p>
715+
*
716+
* @param updateImageGenerationConfigurationRequest
717+
* @return updateImageGenerationConfigurationResult The response from the
718+
* UpdateImageGenerationConfiguration service method, as returned by
719+
* AWSKinesisVideoFrontend.
720+
* @throws InvalidArgumentException
721+
* @throws ClientLimitExceededException
722+
* @throws ResourceNotFoundException
723+
* @throws AccessDeniedException
724+
* @throws ResourceInUseException
725+
* @throws NoDataRetentionException
726+
* @throws AmazonClientException If any internal errors are encountered
727+
* inside the client while attempting to make the request or
728+
* handle the response. For example if a network connection is
729+
* not available.
730+
* @throws AmazonServiceException If an error response is returned by
731+
* AWSKinesisVideoFrontend indicating either a problem with the
732+
* data in the request, or a server side issue.
733+
*/
734+
UpdateImageGenerationConfigurationResult updateImageGenerationConfiguration(
735+
UpdateImageGenerationConfigurationRequest updateImageGenerationConfigurationRequest)
736+
throws AmazonClientException, AmazonServiceException;
737+
738+
/**
739+
* <p>
740+
* Updates the notification information for a stream.
741+
* </p>
742+
*
743+
* @param updateNotificationConfigurationRequest
744+
* @return updateNotificationConfigurationResult The response from the
745+
* UpdateNotificationConfiguration service method, as returned by
746+
* AWSKinesisVideoFrontend.
747+
* @throws InvalidArgumentException
748+
* @throws ClientLimitExceededException
749+
* @throws ResourceNotFoundException
750+
* @throws AccessDeniedException
751+
* @throws ResourceInUseException
752+
* @throws NoDataRetentionException
753+
* @throws AmazonClientException If any internal errors are encountered
754+
* inside the client while attempting to make the request or
755+
* handle the response. For example if a network connection is
756+
* not available.
757+
* @throws AmazonServiceException If an error response is returned by
758+
* AWSKinesisVideoFrontend indicating either a problem with the
759+
* data in the request, or a server side issue.
760+
*/
761+
UpdateNotificationConfigurationResult updateNotificationConfiguration(
762+
UpdateNotificationConfigurationRequest updateNotificationConfigurationRequest)
763+
throws AmazonClientException, AmazonServiceException;
764+
656765
/**
657766
* <p>
658767
* Updates the existing signaling channel. This is an asynchronous operation
659768
* and takes time to complete.
660769
* </p>
661770
* <p>
662771
* If the <code>MessageTtlSeconds</code> value is updated (either increased
663-
* or reduced), then it only applies to new messages sent via this channel
664-
* after it's been updated. Existing messages are still expire as per the
772+
* or reduced), it only applies to new messages sent via this channel after
773+
* it's been updated. Existing messages are still expired as per the
665774
* previous <code>MessageTtlSeconds</code> value.
666775
* </p>
667776
*

0 commit comments

Comments
 (0)