aws_sdk_gameliftstreams/client/remove_stream_group_locations.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 [`RemoveStreamGroupLocations`](crate::operation::remove_stream_group_locations::builders::RemoveStreamGroupLocationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::remove_stream_group_locations::builders::RemoveStreamGroupLocationsFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::remove_stream_group_locations::builders::RemoveStreamGroupLocationsFluentBuilder::set_identifier):<br>required: **true**<br><p>A stream group to remove the specified locations from.</p> <p>This value is an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">Amazon Resource Name (ARN)</a> or ID that uniquely identifies the stream group resource. Example ARN: <code>arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4</code>. Example ID: <code>sg-1AB2C3De4</code>.</p><br>
7 /// - [`locations(impl Into<String>)`](crate::operation::remove_stream_group_locations::builders::RemoveStreamGroupLocationsFluentBuilder::locations) / [`set_locations(Option<Vec::<String>>)`](crate::operation::remove_stream_group_locations::builders::RemoveStreamGroupLocationsFluentBuilder::set_locations):<br>required: **true**<br><p>A set of locations to remove this stream group. For example, <code>us-east-1</code>.</p> <p>For a complete list of locations that Amazon GameLift Streams supports, refer to <a href="https://docs.aws.amazon.com/gameliftstreams/latest/developerguide/regions-quotas.html">Regions, quotas, and limitations</a> in the <i>Amazon GameLift Streams Developer Guide</i>.</p><br>
8 /// - On success, responds with [`RemoveStreamGroupLocationsOutput`](crate::operation::remove_stream_group_locations::RemoveStreamGroupLocationsOutput)
9 /// - On failure, responds with [`SdkError<RemoveStreamGroupLocationsError>`](crate::operation::remove_stream_group_locations::RemoveStreamGroupLocationsError)
10 pub fn remove_stream_group_locations(
11 &self,
12 ) -> crate::operation::remove_stream_group_locations::builders::RemoveStreamGroupLocationsFluentBuilder {
13 crate::operation::remove_stream_group_locations::builders::RemoveStreamGroupLocationsFluentBuilder::new(self.handle.clone())
14 }
15}