From 4f42fd0bdeb95e763648efc8250ce2bf25ef5848 Mon Sep 17 00:00:00 2001 From: awsmobilesdk Date: Thu, 28 Dec 2023 19:30:36 +0000 Subject: [PATCH] feat(aws-android-sdk-kinesisvideo-archivedmedia): update models to latest --- .../AWSKinesisVideoArchivedMedia.java | 3 +- .../AWSKinesisVideoArchivedMediaClient.java | 3 +- .../model/GetImagesRequest.java | 79 ++++++------------- .../model/ListFragmentsRequest.java | 42 ++++++++++ .../model/NoDataRetentionException.java | 2 +- 5 files changed, 69 insertions(+), 60 deletions(-) diff --git a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMedia.java b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMedia.java index 34f721142c..286656d354 100644 --- a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMedia.java +++ b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMedia.java @@ -707,7 +707,7 @@ GetHLSStreamingSessionURLResult getHLSStreamingSessionURL( /** *

- * Retrieves a list of Images corresponding to each timestamp for a given + * Retrieves a list of images corresponding to each timestamp for a given * time range, sampling interval, and image format configuration. *

* @@ -718,6 +718,7 @@ GetHLSStreamingSessionURLResult getHLSStreamingSessionURL( * @throws InvalidArgumentException * @throws ClientLimitExceededException * @throws NotAuthorizedException + * @throws NoDataRetentionException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is diff --git a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMediaClient.java b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMediaClient.java index 0e30f40832..42062a98aa 100644 --- a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMediaClient.java +++ b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/AWSKinesisVideoArchivedMediaClient.java @@ -1062,7 +1062,7 @@ public GetHLSStreamingSessionURLResult getHLSStreamingSessionURL( /** *

- * Retrieves a list of Images corresponding to each timestamp for a given + * Retrieves a list of images corresponding to each timestamp for a given * time range, sampling interval, and image format configuration. *

* @@ -1073,6 +1073,7 @@ public GetHLSStreamingSessionURLResult getHLSStreamingSessionURL( * @throws InvalidArgumentException * @throws ClientLimitExceededException * @throws NotAuthorizedException + * @throws NoDataRetentionException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is diff --git a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/GetImagesRequest.java b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/GetImagesRequest.java index 5ea93618ee..e17b450456 100644 --- a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/GetImagesRequest.java +++ b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/GetImagesRequest.java @@ -21,7 +21,7 @@ /** *

- * Retrieves a list of Images corresponding to each timestamp for a given time + * Retrieves a list of images corresponding to each timestamp for a given time * range, sampling interval, and image format configuration. *

*/ @@ -86,16 +86,11 @@ public class GetImagesRequest extends AmazonWebServiceRequest implements Seriali /** *

* The time interval in milliseconds (ms) at which the images need to be - * generated from the stream, with a default of 3000 ms. The minimum value - * that can be provided is 200 ms. If the timestamp range is less than the - * sampling interval, the Image from the startTimestamp will be + * generated from the stream. The minimum value that can be provided is 200 + * ms (5 images per second). If the timestamp range is less than the + * sampling interval, the image from the startTimestamp will be * returned if available. *

- * - *

- * The minimum value of 200 ms is a hard limit. - *

- *
*/ private Integer samplingInterval; @@ -561,29 +556,19 @@ public GetImagesRequest withEndTimestamp(java.util.Date endTimestamp) { /** *

* The time interval in milliseconds (ms) at which the images need to be - * generated from the stream, with a default of 3000 ms. The minimum value - * that can be provided is 200 ms. If the timestamp range is less than the - * sampling interval, the Image from the startTimestamp will be + * generated from the stream. The minimum value that can be provided is 200 + * ms (5 images per second). If the timestamp range is less than the + * sampling interval, the image from the startTimestamp will be * returned if available. *

- * - *

- * The minimum value of 200 ms is a hard limit. - *

- *
* * @return

* The time interval in milliseconds (ms) at which the images need - * to be generated from the stream, with a default of 3000 ms. The - * minimum value that can be provided is 200 ms. If the timestamp - * range is less than the sampling interval, the Image from the + * to be generated from the stream. The minimum value that can be + * provided is 200 ms (5 images per second). If the timestamp range + * is less than the sampling interval, the image from the * startTimestamp will be returned if available. *

- * - *

- * The minimum value of 200 ms is a hard limit. - *

- *
*/ public Integer getSamplingInterval() { return samplingInterval; @@ -592,30 +577,20 @@ public Integer getSamplingInterval() { /** *

* The time interval in milliseconds (ms) at which the images need to be - * generated from the stream, with a default of 3000 ms. The minimum value - * that can be provided is 200 ms. If the timestamp range is less than the - * sampling interval, the Image from the startTimestamp will be + * generated from the stream. The minimum value that can be provided is 200 + * ms (5 images per second). If the timestamp range is less than the + * sampling interval, the image from the startTimestamp will be * returned if available. *

- * - *

- * The minimum value of 200 ms is a hard limit. - *

- *
* * @param samplingInterval

* The time interval in milliseconds (ms) at which the images - * need to be generated from the stream, with a default of 3000 - * ms. The minimum value that can be provided is 200 ms. If the - * timestamp range is less than the sampling interval, the Image + * need to be generated from the stream. The minimum value that + * can be provided is 200 ms (5 images per second). If the + * timestamp range is less than the sampling interval, the image * from the startTimestamp will be returned if * available. *

- * - *

- * The minimum value of 200 ms is a hard limit. - *

- *
*/ public void setSamplingInterval(Integer samplingInterval) { this.samplingInterval = samplingInterval; @@ -624,33 +599,23 @@ public void setSamplingInterval(Integer samplingInterval) { /** *

* The time interval in milliseconds (ms) at which the images need to be - * generated from the stream, with a default of 3000 ms. The minimum value - * that can be provided is 200 ms. If the timestamp range is less than the - * sampling interval, the Image from the startTimestamp will be + * generated from the stream. The minimum value that can be provided is 200 + * ms (5 images per second). If the timestamp range is less than the + * sampling interval, the image from the startTimestamp will be * returned if available. *

- * - *

- * The minimum value of 200 ms is a hard limit. - *

- *
*

* Returns a reference to this object so that method calls can be chained * together. * * @param samplingInterval

* The time interval in milliseconds (ms) at which the images - * need to be generated from the stream, with a default of 3000 - * ms. The minimum value that can be provided is 200 ms. If the - * timestamp range is less than the sampling interval, the Image + * need to be generated from the stream. The minimum value that + * can be provided is 200 ms (5 images per second). If the + * timestamp range is less than the sampling interval, the image * from the startTimestamp will be returned if * available. *

- * - *

- * The minimum value of 200 ms is a hard limit. - *

- *
* @return A reference to this updated object so that method calls can be * chained together. */ diff --git a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/ListFragmentsRequest.java b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/ListFragmentsRequest.java index e966f37588..d40862d51a 100644 --- a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/ListFragmentsRequest.java +++ b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/ListFragmentsRequest.java @@ -132,6 +132,12 @@ public class ListFragmentsRequest extends AmazonWebServiceRequest implements Ser * Describes the timestamp range and timestamp origin for the range of * fragments to return. *

+ * + *

+ * This is only required when the NextToken isn't passed in the + * API. + *

+ *
*/ private FragmentSelector fragmentSelector; @@ -425,11 +431,23 @@ public ListFragmentsRequest withNextToken(String nextToken) { * Describes the timestamp range and timestamp origin for the range of * fragments to return. *

+ * + *

+ * This is only required when the NextToken isn't passed in the + * API. + *

+ *
* * @return

* Describes the timestamp range and timestamp origin for the range * of fragments to return. *

+ * + *

+ * This is only required when the NextToken isn't + * passed in the API. + *

+ *
*/ public FragmentSelector getFragmentSelector() { return fragmentSelector; @@ -440,11 +458,23 @@ public FragmentSelector getFragmentSelector() { * Describes the timestamp range and timestamp origin for the range of * fragments to return. *

+ * + *

+ * This is only required when the NextToken isn't passed in the + * API. + *

+ *
* * @param fragmentSelector

* Describes the timestamp range and timestamp origin for the * range of fragments to return. *

+ * + *

+ * This is only required when the NextToken isn't + * passed in the API. + *

+ *
*/ public void setFragmentSelector(FragmentSelector fragmentSelector) { this.fragmentSelector = fragmentSelector; @@ -455,6 +485,12 @@ public void setFragmentSelector(FragmentSelector fragmentSelector) { * Describes the timestamp range and timestamp origin for the range of * fragments to return. *

+ * + *

+ * This is only required when the NextToken isn't passed in the + * API. + *

+ *
*

* Returns a reference to this object so that method calls can be chained * together. @@ -463,6 +499,12 @@ public void setFragmentSelector(FragmentSelector fragmentSelector) { * Describes the timestamp range and timestamp origin for the * range of fragments to return. *

+ * + *

+ * This is only required when the NextToken isn't + * passed in the API. + *

+ *
* @return A reference to this updated object so that method calls can be * chained together. */ diff --git a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/NoDataRetentionException.java b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/NoDataRetentionException.java index 20b69d31b0..16978b791c 100644 --- a/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/NoDataRetentionException.java +++ b/aws-android-sdk-kinesisvideo-archivedmedia/src/main/java/com/amazonaws/services/kinesisvideoarchivedmedia/model/NoDataRetentionException.java @@ -19,7 +19,7 @@ /** *

- * A streaming session was requested for a stream that does not retain data + * GetImages was requested for a stream that does not retain data * (that is, has a DataRetentionInHours of 0). *

*/