Struct aws_sdk_honeycode::input::GetScreenDataInput
source · #[non_exhaustive]pub struct GetScreenDataInput { /* private fields */ }Implementations§
source§impl GetScreenDataInput
impl GetScreenDataInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetScreenData, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetScreenData, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetScreenData>
Examples found in repository?
928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetScreenData,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetScreenDataError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::GetScreenDataOutput,
aws_smithy_http::result::SdkError<crate::error::GetScreenDataError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetScreenDataInput.
source§impl GetScreenDataInput
impl GetScreenDataInput
sourcepub fn workbook_id(&self) -> Option<&str>
pub fn workbook_id(&self) -> Option<&str>
The ID of the workbook that contains the screen.
sourcepub fn variables(&self) -> Option<&HashMap<String, VariableValue>>
pub fn variables(&self) -> Option<&HashMap<String, VariableValue>>
Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100.
This parameter is optional. If you don't specify this parameter, the default page size is 100.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
This parameter is optional. If a nextToken is not specified, the API returns the first page of data.
Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.
Trait Implementations§
source§impl Clone for GetScreenDataInput
impl Clone for GetScreenDataInput
source§fn clone(&self) -> GetScreenDataInput
fn clone(&self) -> GetScreenDataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more