aws_sdk_ram/client/reject_resource_share_invitation.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RejectResourceShareInvitation`](crate::operation::reject_resource_share_invitation::builders::RejectResourceShareInvitationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`resource_share_invitation_arn(impl Into<String>)`](crate::operation::reject_resource_share_invitation::builders::RejectResourceShareInvitationFluentBuilder::resource_share_invitation_arn) / [`set_resource_share_invitation_arn(Option<String>)`](crate::operation::reject_resource_share_invitation::builders::RejectResourceShareInvitationFluentBuilder::set_resource_share_invitation_arn):<br>required: **true**<br><p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the invitation that you want to reject.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::reject_resource_share_invitation::builders::RejectResourceShareInvitationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::reject_resource_share_invitation::builders::RejectResourceShareInvitationFluentBuilder::set_client_token):<br>required: **false**<br><p>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of value.</a>.</p> <p>If you don't provide this value, then Amazon Web Services generates a random one for you.</p> <p>If you retry the operation with the same <code>ClientToken</code>, but with different parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error.</p><br>
/// - On success, responds with [`RejectResourceShareInvitationOutput`](crate::operation::reject_resource_share_invitation::RejectResourceShareInvitationOutput) with field(s):
/// - [`resource_share_invitation(Option<ResourceShareInvitation>)`](crate::operation::reject_resource_share_invitation::RejectResourceShareInvitationOutput::resource_share_invitation): <p>An object that contains the details about the rejected invitation.</p>
/// - [`client_token(Option<String>)`](crate::operation::reject_resource_share_invitation::RejectResourceShareInvitationOutput::client_token): <p>The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the <code>clientToken</code> request parameter of that later call. All other parameters must also have the same values that you used in the first call.</p>
/// - On failure, responds with [`SdkError<RejectResourceShareInvitationError>`](crate::operation::reject_resource_share_invitation::RejectResourceShareInvitationError)
pub fn reject_resource_share_invitation(
&self,
) -> crate::operation::reject_resource_share_invitation::builders::RejectResourceShareInvitationFluentBuilder {
crate::operation::reject_resource_share_invitation::builders::RejectResourceShareInvitationFluentBuilder::new(self.handle.clone())
}
}