aws_sdk_connect/client/associate_security_key.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateSecurityKey`](crate::operation::associate_security_key::builders::AssociateSecurityKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::associate_security_key::builders::AssociateSecurityKeyFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_security_key::builders::AssociateSecurityKeyFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`key(impl Into<String>)`](crate::operation::associate_security_key::builders::AssociateSecurityKeyFluentBuilder::key) / [`set_key(Option<String>)`](crate::operation::associate_security_key::builders::AssociateSecurityKeyFluentBuilder::set_key):<br>required: **true**<br><p>A valid security key in PEM format as a String.</p><br>
/// - On success, responds with [`AssociateSecurityKeyOutput`](crate::operation::associate_security_key::AssociateSecurityKeyOutput) with field(s):
/// - [`association_id(Option<String>)`](crate::operation::associate_security_key::AssociateSecurityKeyOutput::association_id): <p>The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.</p>
/// - On failure, responds with [`SdkError<AssociateSecurityKeyError>`](crate::operation::associate_security_key::AssociateSecurityKeyError)
pub fn associate_security_key(&self) -> crate::operation::associate_security_key::builders::AssociateSecurityKeyFluentBuilder {
crate::operation::associate_security_key::builders::AssociateSecurityKeyFluentBuilder::new(self.handle.clone())
}
}