Skip to content

Commit

Permalink
feat(AWSKinesisVideo): update models to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
awsmobilesdk committed Nov 17, 2023
1 parent d45ef7e commit cb128bc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions AWSKinesisVideo/AWSKinesisVideoModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ typedef NS_ENUM(NSInteger, AWSKinesisVideoUploaderStatus) {
@end

/**
<p>A structure that encapsulates, or contains, the media storage configuration properties.</p>
<p>A structure that encapsulates, or contains, the media storage configuration properties.</p><ul><li><p>If <code>StorageStatus</code> is enabled, the data will be stored in the <code>StreamARN</code> provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.</p></li><li><p>If <code>StorageStatus</code> is disabled, no data will be stored, and the <code>StreamARN</code> parameter will not be needed. </p></li></ul>
Required parameters: [Status]
*/
@interface AWSKinesisVideoMediaStorageConfiguration : AWSModel
Expand All @@ -1312,7 +1312,7 @@ typedef NS_ENUM(NSInteger, AWSKinesisVideoUploaderStatus) {
@property (nonatomic, assign) AWSKinesisVideoMediaStorageConfigurationStatus status;

/**
<p>The Amazon Resource Name (ARN) of the stream </p>
<p>The Amazon Resource Name (ARN) of the stream. </p>
*/
@property (nonatomic, strong) NSString * _Nullable streamARN;

Expand Down Expand Up @@ -1720,7 +1720,7 @@ typedef NS_ENUM(NSInteger, AWSKinesisVideoUploaderStatus) {
@property (nonatomic, strong) NSString * _Nullable currentVersion;

/**
<p>The retention period, in hours. The value you specify replaces the current value. The maximum value for this parameter is 87600 (ten years).</p>
<p>The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the <code>operation</code>.</p><p>The minimum value for data retention is 0 and the maximum value is 87600 (ten years).</p>
*/
@property (nonatomic, strong) NSNumber * _Nullable dataRetentionChangeInHours;

Expand Down
12 changes: 6 additions & 6 deletions AWSKinesisVideo/AWSKinesisVideoResources.m
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ - (NSString *)definitionString {
{\"shape\":\"AccessDeniedException\"},\
{\"shape\":\"ClientLimitExceededException\"}\
],\
\"documentation\":\"<important> <p>This API is related to <a href=\\\"https://docs.aws.amazon.com/kinesisvideostreams-webrtc-dg/latest/devguide/webrtc-ingestion.html\\\">WebRTC Ingestion</a> and is only available in the <code>us-west-2</code> region.</p> </important> <p>Returns the most current information about the channel. Specify the <code>ChannelName</code> or <code>ChannelARN</code> in the input.</p>\"\
\"documentation\":\"<p>Returns the most current information about the channel. Specify the <code>ChannelName</code> or <code>ChannelARN</code> in the input.</p>\"\
},\
\"DescribeNotificationConfiguration\":{\
\"name\":\"DescribeNotificationConfiguration\",\
Expand Down Expand Up @@ -484,7 +484,7 @@ - (NSString *)definitionString {
{\"shape\":\"NotAuthorizedException\"},\
{\"shape\":\"VersionMismatchException\"}\
],\
\"documentation\":\"<p> Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the <code>Operation</code> parameter in the request body. In the request, you must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p> <note> <p>The retention period that you specify replaces the current value.</p> </note> <p>This operation requires permission for the <code>KinesisVideo:UpdateDataRetention</code> action.</p> <p>Changing the data retention period affects the data in the stream as follows:</p> <ul> <li> <p>If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours.</p> </li> <li> <p>If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.</p> </li> </ul>\"\
\"documentation\":\"<p>Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the <code>Operation</code> parameter in the request body. In the request, you must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p> <p>This operation requires permission for the <code>KinesisVideo:UpdateDataRetention</code> action.</p> <p>Changing the data retention period affects the data in the stream as follows:</p> <ul> <li> <p>If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours.</p> </li> <li> <p>If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.</p> </li> </ul>\"\
},\
\"UpdateImageGenerationConfiguration\":{\
\"name\":\"UpdateImageGenerationConfiguration\",\
Expand Down Expand Up @@ -520,7 +520,7 @@ - (NSString *)definitionString {
{\"shape\":\"AccessDeniedException\"},\
{\"shape\":\"NoDataRetentionException\"}\
],\
\"documentation\":\"<important> <p>This API is related to <a href=\\\"https://docs.aws.amazon.com/kinesisvideostreams-webrtc-dg/latest/devguide/webrtc-ingestion.html\\\">WebRTC Ingestion</a> and is only available in the <code>us-west-2</code> region.</p> </important> <p>Associates a <code>SignalingChannel</code> to a stream to store the media. There are two signaling modes that can specified :</p> <ul> <li> <p>If the <code>StorageStatus</code> is disabled, no data will be stored, and the <code>StreamARN</code> parameter will not be needed. </p> </li> <li> <p>If the <code>StorageStatus</code> is enabled, the data will be stored in the <code>StreamARN</code> provided. </p> </li> </ul> <important> <p>If <code>StorageStatus</code> is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the <code>JoinStorageSession</code> API to trigger an SDP offer send and establish a connection between a peer and the storage session. </p> </important>\"\
\"documentation\":\"<p>Associates a <code>SignalingChannel</code> to a stream to store the media. There are two signaling modes that you can specify :</p> <ul> <li> <p>If <code>StorageStatus</code> is enabled, the data will be stored in the <code>StreamARN</code> provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.</p> </li> <li> <p>If <code>StorageStatus</code> is disabled, no data will be stored, and the <code>StreamARN</code> parameter will not be needed. </p> </li> </ul> <important> <p>If <code>StorageStatus</code> is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the <code>JoinStorageSession</code> API to trigger an SDP offer send and establish a connection between a peer and the storage session. </p> </important>\"\
},\
\"UpdateNotificationConfiguration\":{\
\"name\":\"UpdateNotificationConfiguration\",\
Expand Down Expand Up @@ -1645,14 +1645,14 @@ - (NSString *)definitionString {
\"members\":{\
\"StreamARN\":{\
\"shape\":\"ResourceARN\",\
\"documentation\":\"<p>The Amazon Resource Name (ARN) of the stream </p>\"\
\"documentation\":\"<p>The Amazon Resource Name (ARN) of the stream. </p>\"\
},\
\"Status\":{\
\"shape\":\"MediaStorageConfigurationStatus\",\
\"documentation\":\"<p>The status of the media storage configuration.</p>\"\
}\
},\
\"documentation\":\"<p>A structure that encapsulates, or contains, the media storage configuration properties.</p>\"\
\"documentation\":\"<p>A structure that encapsulates, or contains, the media storage configuration properties.</p> <ul> <li> <p>If <code>StorageStatus</code> is enabled, the data will be stored in the <code>StreamARN</code> provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.</p> </li> <li> <p>If <code>StorageStatus</code> is disabled, no data will be stored, and the <code>StreamARN</code> parameter will not be needed. </p> </li> </ul>\"\
},\
\"MediaStorageConfigurationStatus\":{\
\"type\":\"string\",\
Expand Down Expand Up @@ -2190,7 +2190,7 @@ - (NSString *)definitionString {
},\
\"DataRetentionChangeInHours\":{\
\"shape\":\"DataRetentionChangeInHours\",\
\"documentation\":\"<p>The retention period, in hours. The value you specify replaces the current value. The maximum value for this parameter is 87600 (ten years).</p>\"\
\"documentation\":\"<p>The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the <code>operation</code>.</p> <p>The minimum value for data retention is 0 and the maximum value is 87600 (ten years).</p>\"\
}\
}\
},\
Expand Down
Loading

0 comments on commit cb128bc

Please sign in to comment.