aws-sdk-dynamodbstreams 0.9.0

AWS SDK for Amazon DynamoDB Streams
// Code generated by DO NOT EDIT.
 * Copyright, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.

use aws_types::credentials::future;
use aws_types::credentials::{CredentialsError, ProvideCredentials};

/// Stub credentials provider for use when no credentials provider is used.
pub struct NoCredentials;

impl ProvideCredentials for NoCredentials {
    fn provide_credentials<'a>(&'a self) -> future::ProvideCredentials<'a>
        Self: 'a,
            "No credentials provider was enabled for the service. \
        hint: use aws-config to provide a credentials chain.",