aws_sdk_applicationsignals/client/list_service_operations.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 [`ListServiceOperations`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`start_time(DateTime)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::set_start_time):<br>required: **true**<br><p>The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: <code>1698778057</code></p> <p>Your requested start time will be rounded to the nearest hour.</p><br>
8 /// - [`end_time(DateTime)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::set_end_time):<br>required: **true**<br><p>The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: <code>1698778057</code></p> <p>Your requested end time will be rounded to the nearest hour.</p><br>
9 /// - [`key_attributes(impl Into<String>, impl Into<String>)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::key_attributes) / [`set_key_attributes(Option<HashMap::<String, String>>)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::set_key_attributes):<br>required: **true**<br><p>Use this field to specify which service you want to retrieve information for. You must specify at least the <code>Type</code>, <code>Name</code>, and <code>Environment</code> attributes.</p> <p>This is a string-to-string map. It can include the following fields.</p> <ul> <li> <p><code>Type</code> designates the type of object this is.</p></li> <li> <p><code>ResourceType</code> specifies the type of the resource. This field is used only when the value of the <code>Type</code> field is <code>Resource</code> or <code>AWS::Resource</code>.</p></li> <li> <p><code>Name</code> specifies the name of the object. This is used only if the value of the <code>Type</code> field is <code>Service</code>, <code>RemoteService</code>, or <code>AWS::Service</code>.</p></li> <li> <p><code>Identifier</code> identifies the resource objects of this resource. This is used only if the value of the <code>Type</code> field is <code>Resource</code> or <code>AWS::Resource</code>.</p></li> <li> <p><code>Environment</code> specifies the location where this object is hosted, or what it belongs to.</p></li> </ul><br>
10 /// - [`max_results(i32)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.</p><br>
11 /// - [`next_token(impl Into<String>)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::set_next_token):<br>required: **false**<br><p>Include this value, if it was returned by the previous operation, to get the next set of service operations.</p><br>
12 /// - On success, responds with [`ListServiceOperationsOutput`](crate::operation::list_service_operations::ListServiceOperationsOutput) with field(s):
13 /// - [`start_time(DateTime)`](crate::operation::list_service_operations::ListServiceOperationsOutput::start_time): <p>The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: <code>1698778057</code></p> <p>This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.</p>
14 /// - [`end_time(DateTime)`](crate::operation::list_service_operations::ListServiceOperationsOutput::end_time): <p>The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: <code>1698778057</code></p> <p>This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.</p>
15 /// - [`service_operations(Vec::<ServiceOperation>)`](crate::operation::list_service_operations::ListServiceOperationsOutput::service_operations): <p>An array of structures that each contain information about one operation of this service.</p>
16 /// - [`next_token(Option<String>)`](crate::operation::list_service_operations::ListServiceOperationsOutput::next_token): <p>Include this value in your next use of this API to get next set of service operations.</p>
17 /// - On failure, responds with [`SdkError<ListServiceOperationsError>`](crate::operation::list_service_operations::ListServiceOperationsError)
18 pub fn list_service_operations(&self) -> crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder {
19 crate::operation::list_service_operations::builders::ListServiceOperationsFluentBuilder::new(self.handle.clone())
20 }
21}