aws_sdk_ivs/client/get_stream_key.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetStreamKey`](crate::operation::get_stream_key::builders::GetStreamKeyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::get_stream_key::builders::GetStreamKeyFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_stream_key::builders::GetStreamKeyFluentBuilder::set_arn):<br>required: **true**<br><p>ARN for the stream key to be retrieved.</p><br>
7 /// - On success, responds with [`GetStreamKeyOutput`](crate::operation::get_stream_key::GetStreamKeyOutput) with field(s):
8 /// - [`stream_key(Option<StreamKey>)`](crate::operation::get_stream_key::GetStreamKeyOutput::stream_key): (undocumented)
9 /// - On failure, responds with [`SdkError<GetStreamKeyError>`](crate::operation::get_stream_key::GetStreamKeyError)
10 pub fn get_stream_key(&self) -> crate::operation::get_stream_key::builders::GetStreamKeyFluentBuilder {
11 crate::operation::get_stream_key::builders::GetStreamKeyFluentBuilder::new(self.handle.clone())
12 }
13}