pub fn is_provisioned_throughput_exceeded_exception(&self) -> bool {
        matches!(
            &self.kind,
            GetCelebrityInfoErrorKind::ProvisionedThroughputExceededException(_)
        )
    }
/// Returns `true` if the error kind is `GetCelebrityInfoErrorKind::ProvisionedThroughputExceededException`.
Returns `true` if the error kind is `GetCelebrityInfoErrorKind::ProvisionedThroughputExceededException`.
Returns ` true ` if the error kind is ` GetCelebrityInfoErrorKind :: ProvisionedThroughputExceededException ` .
pub fn is_provisioned_throughput_exceeded_exception(&self) -> bool {
        matches!(
            &self.kind,
            GetCelebrityInfoErrorKind::ProvisionedThroughputExceededException(_)
        )
    }
pub fn is_provisioned_throughput_exceeded_exception ( & self ) -> bool { matches ! ( self kind GetCelebrityInfoErrorKind ProvisionedThroughputExceededException ( ) ) }
Returns `true` if the error kind is `GetCelebrityInfoErrorKind::ProvisionedThroughputExceededException`.
Returns ` true ` if the error kind is ` GetCelebrityInfoErrorKind :: ProvisionedThroughputExceededException ` .
&self
&self