Skip to content

Commit 4f7d779

Browse files
Update SDK models
1 parent ab2478c commit 4f7d779

26 files changed

+377
-59
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/lambda",
5-
"examples/examples",
4+
"examples/cross_service",
65
"examples/test-utils",
76
"examples/webassembly",
8-
"examples/cross_service",
7+
"examples/examples",
8+
"examples/lambda",
99
"tests/no-default-features",
1010
"tests/webassembly"
1111
]

aws-models/mediatailor.json

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"StreamingMediaFileConditioning": {
128128
"target": "com.amazonaws.mediatailor#StreamingMediaFileConditioning",
129129
"traits": {
130-
"smithy.api#documentation": "<p>For ads that have media files with streaming delivery, indicates what transcoding action MediaTailor it first receives these ads from the ADS. <code>TRANSCODE</code> indicates that MediaTailor must transcode the ads. <code>NONE</code> indicates that you have already transcoded the ads outside of MediaTailor and don't need them transcoded as part of the ad insertion workflow. For more information about ad conditioning see <a href=\"https://docs.aws.amazon.com/precondition-ads.html\">https://docs.aws.amazon.com/precondition-ads.html</a>.</p>",
130+
"smithy.api#documentation": "<p>For ads that have media files with streaming delivery and supported file extensions, indicates what transcoding action MediaTailor takes when it first receives these ads from the ADS. \n <code>TRANSCODE</code> indicates that MediaTailor must transcode the ads. \n <code>NONE</code> indicates that you have already transcoded the ads outside of MediaTailor and don't need them transcoded as part of the ad insertion workflow. \n For more information about ad conditioning see <a href=\"https://docs.aws.amazon.com/precondition-ads.html\">https://docs.aws.amazon.com/precondition-ads.html</a>.</p>",
131131
"smithy.api#required": {}
132132
}
133133
}
@@ -754,6 +754,12 @@
754754
"smithy.api#documentation": "<p>The name of the playback configuration.</p>",
755755
"smithy.api#required": {}
756756
}
757+
},
758+
"EnabledLoggingStrategies": {
759+
"target": "com.amazonaws.mediatailor#__listOfLoggingStrategies",
760+
"traits": {
761+
"smithy.api#documentation": "<p>The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose <code>LEGACY_CLOUDWATCH</code>. To configure MediaTailor to \n send logs to CloudWatch, which then vends the logs to your destination of choice, choose <code>VENDED_LOGS</code>. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.</p>\n <p>To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions-V2\">Enable logging from AWS services, Logging that requires additional permissions [V2]</a>.</p>"
762+
}
757763
}
758764
},
759765
"traits": {
@@ -776,6 +782,12 @@
776782
"traits": {
777783
"smithy.api#documentation": "<p>The name of the playback configuration.</p>"
778784
}
785+
},
786+
"EnabledLoggingStrategies": {
787+
"target": "com.amazonaws.mediatailor#__listOfLoggingStrategies",
788+
"traits": {
789+
"smithy.api#documentation": "<p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream. </p>"
790+
}
779791
}
780792
}
781793
},
@@ -2731,7 +2743,7 @@
27312743
"AdConditioningConfiguration": {
27322744
"target": "com.amazonaws.mediatailor#AdConditioningConfiguration",
27332745
"traits": {
2734-
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns. </p>"
2746+
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>"
27352747
}
27362748
}
27372749
}
@@ -3577,6 +3589,12 @@
35773589
"smithy.api#documentation": "<p>The percentage of session logs that MediaTailor sends to your configured log destination. For example, if your playback configuration has 1000 sessions and <code>percentEnabled</code> is set to <code>60</code>, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href=\"https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html\">debug log mode</a>.</p>\n <p>Valid values: <code>0</code> - <code>100</code>\n </p>",
35783590
"smithy.api#required": {}
35793591
}
3592+
},
3593+
"EnabledLoggingStrategies": {
3594+
"target": "com.amazonaws.mediatailor#__listOfLoggingStrategies",
3595+
"traits": {
3596+
"smithy.api#documentation": "<p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream. </p>"
3597+
}
35803598
}
35813599
},
35823600
"traits": {
@@ -3614,6 +3632,23 @@
36143632
"target": "com.amazonaws.mediatailor#LogType"
36153633
}
36163634
},
3635+
"com.amazonaws.mediatailor#LoggingStrategy": {
3636+
"type": "enum",
3637+
"members": {
3638+
"VENDED_LOGS": {
3639+
"target": "smithy.api#Unit",
3640+
"traits": {
3641+
"smithy.api#enumValue": "VENDED_LOGS"
3642+
}
3643+
},
3644+
"LEGACY_CLOUDWATCH": {
3645+
"target": "smithy.api#Unit",
3646+
"traits": {
3647+
"smithy.api#enumValue": "LEGACY_CLOUDWATCH"
3648+
}
3649+
}
3650+
}
3651+
},
36173652
"com.amazonaws.mediatailor#ManifestProcessingRules": {
36183653
"type": "structure",
36193654
"members": {
@@ -4619,7 +4654,7 @@
46194654
"AdConditioningConfiguration": {
46204655
"target": "com.amazonaws.mediatailor#AdConditioningConfiguration",
46214656
"traits": {
4622-
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>"
4657+
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.</p>"
46234658
}
46244659
}
46254660
},
@@ -4999,7 +5034,7 @@
49995034
"AdConditioningConfiguration": {
50005035
"target": "com.amazonaws.mediatailor#AdConditioningConfiguration",
50015036
"traits": {
5002-
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>"
5037+
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>"
50035038
}
50045039
}
50055040
}
@@ -5132,7 +5167,7 @@
51325167
"AdConditioningConfiguration": {
51335168
"target": "com.amazonaws.mediatailor#AdConditioningConfiguration",
51345169
"traits": {
5135-
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>"
5170+
"smithy.api#documentation": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>"
51365171
}
51375172
}
51385173
}
@@ -6719,6 +6754,12 @@
67196754
"target": "com.amazonaws.mediatailor#LiveSource"
67206755
}
67216756
},
6757+
"com.amazonaws.mediatailor#__listOfLoggingStrategies": {
6758+
"type": "list",
6759+
"member": {
6760+
"target": "com.amazonaws.mediatailor#LoggingStrategy"
6761+
}
6762+
},
67226763
"com.amazonaws.mediatailor#__listOfPlaybackConfiguration": {
67236764
"type": "list",
67246765
"member": {

sdk/mediatailor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-mediatailor"
4-
version = "1.60.0"
4+
version = "1.61.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for AWS MediaTailor"
77
edition = "2021"

sdk/mediatailor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ your project, add the following to your **Cargo.toml** file:
1616
```toml
1717
[dependencies]
1818
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
19-
aws-sdk-mediatailor = "1.60.0"
19+
aws-sdk-mediatailor = "1.61.0"
2020
tokio = { version = "1", features = ["full"] }
2121
```
2222

sdk/mediatailor/src/client/configure_logs_for_playback_configuration.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ impl super::Client {
55
/// - The fluent builder is configurable:
66
/// - [`percent_enabled(i32)`](crate::operation::configure_logs_for_playback_configuration::builders::ConfigureLogsForPlaybackConfigurationFluentBuilder::percent_enabled) / [`set_percent_enabled(Option<i32>)`](crate::operation::configure_logs_for_playback_configuration::builders::ConfigureLogsForPlaybackConfigurationFluentBuilder::set_percent_enabled):<br>required: **true**<br><p>The percentage of session logs that MediaTailor sends to your CloudWatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to <code>60</code>, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html">debug log mode</a>.</p> <p>Valid values: <code>0</code> - <code>100</code></p><br>
77
/// - [`playback_configuration_name(impl Into<String>)`](crate::operation::configure_logs_for_playback_configuration::builders::ConfigureLogsForPlaybackConfigurationFluentBuilder::playback_configuration_name) / [`set_playback_configuration_name(Option<String>)`](crate::operation::configure_logs_for_playback_configuration::builders::ConfigureLogsForPlaybackConfigurationFluentBuilder::set_playback_configuration_name):<br>required: **true**<br><p>The name of the playback configuration.</p><br>
8+
/// - [`enabled_logging_strategies(LoggingStrategy)`](crate::operation::configure_logs_for_playback_configuration::builders::ConfigureLogsForPlaybackConfigurationFluentBuilder::enabled_logging_strategies) / [`set_enabled_logging_strategies(Option<Vec::<LoggingStrategy>>)`](crate::operation::configure_logs_for_playback_configuration::builders::ConfigureLogsForPlaybackConfigurationFluentBuilder::set_enabled_logging_strategies):<br>required: **false**<br><p>The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose <code>LEGACY_CLOUDWATCH</code>. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, choose <code>VENDED_LOGS</code>. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.</p> <p>To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions-V2">Enable logging from AWS services, Logging that requires additional permissions \[V2\]</a>.</p><br>
89
/// - On success, responds with [`ConfigureLogsForPlaybackConfigurationOutput`](crate::operation::configure_logs_for_playback_configuration::ConfigureLogsForPlaybackConfigurationOutput) with field(s):
910
/// - [`percent_enabled(i32)`](crate::operation::configure_logs_for_playback_configuration::ConfigureLogsForPlaybackConfigurationOutput::percent_enabled): <p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.</p>
1011
/// - [`playback_configuration_name(Option<String>)`](crate::operation::configure_logs_for_playback_configuration::ConfigureLogsForPlaybackConfigurationOutput::playback_configuration_name): <p>The name of the playback configuration.</p>
12+
/// - [`enabled_logging_strategies(Option<Vec::<LoggingStrategy>>)`](crate::operation::configure_logs_for_playback_configuration::ConfigureLogsForPlaybackConfigurationOutput::enabled_logging_strategies): <p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.</p>
1113
/// - On failure, responds with [`SdkError<ConfigureLogsForPlaybackConfigurationError>`](crate::operation::configure_logs_for_playback_configuration::ConfigureLogsForPlaybackConfigurationError)
1214
pub fn configure_logs_for_playback_configuration(
1315
&self,

sdk/mediatailor/src/client/get_playback_configuration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl super::Client {
2525
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_playback_configuration::GetPlaybackConfigurationOutput::tags): <p>The tags assigned to the playback configuration. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
2626
/// - [`transcode_profile_name(Option<String>)`](crate::operation::get_playback_configuration::GetPlaybackConfigurationOutput::transcode_profile_name): <p>The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.</p>
2727
/// - [`video_content_source_url(Option<String>)`](crate::operation::get_playback_configuration::GetPlaybackConfigurationOutput::video_content_source_url): <p>The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.</p>
28-
/// - [`ad_conditioning_configuration(Option<AdConditioningConfiguration>)`](crate::operation::get_playback_configuration::GetPlaybackConfigurationOutput::ad_conditioning_configuration): <p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>
28+
/// - [`ad_conditioning_configuration(Option<AdConditioningConfiguration>)`](crate::operation::get_playback_configuration::GetPlaybackConfigurationOutput::ad_conditioning_configuration): <p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.</p>
2929
/// - On failure, responds with [`SdkError<GetPlaybackConfigurationError>`](crate::operation::get_playback_configuration::GetPlaybackConfigurationError)
3030
pub fn get_playback_configuration(&self) -> crate::operation::get_playback_configuration::builders::GetPlaybackConfigurationFluentBuilder {
3131
crate::operation::get_playback_configuration::builders::GetPlaybackConfigurationFluentBuilder::new(self.handle.clone())

0 commit comments

Comments
 (0)