aws_sdk_cognitoidentity/client/unlink_identity.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 [`UnlinkIdentity`](crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identity_id(impl Into<String>)`](crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder::identity_id) / [`set_identity_id(Option<String>)`](crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder::set_identity_id):<br>required: **true**<br><p>A unique identifier in the format REGION:GUID.</p><br>
7 /// - [`logins(impl Into<String>, impl Into<String>)`](crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder::logins) / [`set_logins(Option<HashMap::<String, String>>)`](crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder::set_logins):<br>required: **true**<br><p>A set of optional name-value pairs that map provider names to provider tokens.</p><br>
8 /// - [`logins_to_remove(impl Into<String>)`](crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder::logins_to_remove) / [`set_logins_to_remove(Option<Vec::<String>>)`](crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder::set_logins_to_remove):<br>required: **true**<br><p>Provider names to unlink from this identity.</p><br>
9 /// - On success, responds with [`UnlinkIdentityOutput`](crate::operation::unlink_identity::UnlinkIdentityOutput)
10 /// - On failure, responds with [`SdkError<UnlinkIdentityError>`](crate::operation::unlink_identity::UnlinkIdentityError)
11 pub fn unlink_identity(&self) -> crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder {
12 crate::operation::unlink_identity::builders::UnlinkIdentityFluentBuilder::new(self.handle.clone())
13 }
14}