aws-sdk-bedrockagentcorecontrol 1.4.0

AWS SDK for Amazon Bedrock Agent Core Control Plane Fronting Layer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateApiKeyCredentialProvider`](crate::operation::create_api_key_credential_provider::builders::CreateApiKeyCredentialProviderFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_api_key_credential_provider::builders::CreateApiKeyCredentialProviderFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_api_key_credential_provider::builders::CreateApiKeyCredentialProviderFluentBuilder::set_name):<br>required: **true**<br><p>The name of the API key credential provider. The name must be unique within your account.</p><br>
    ///   - [`api_key(impl Into<String>)`](crate::operation::create_api_key_credential_provider::builders::CreateApiKeyCredentialProviderFluentBuilder::api_key) / [`set_api_key(Option<String>)`](crate::operation::create_api_key_credential_provider::builders::CreateApiKeyCredentialProviderFluentBuilder::set_api_key):<br>required: **true**<br><p>The API key to use for authentication. This value is encrypted and stored securely.</p><br>
    /// - On success, responds with [`CreateApiKeyCredentialProviderOutput`](crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderOutput) with field(s):
    ///   - [`api_key_secret_arn(Option<Secret>)`](crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderOutput::api_key_secret_arn): <p>The Amazon Resource Name (ARN) of the secret containing the API key.</p>
    ///   - [`name(String)`](crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderOutput::name): <p>The name of the created API key credential provider.</p>
    ///   - [`credential_provider_arn(String)`](crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderOutput::credential_provider_arn): <p>The Amazon Resource Name (ARN) of the created API key credential provider.</p>
    /// - On failure, responds with [`SdkError<CreateApiKeyCredentialProviderError>`](crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError)
    pub fn create_api_key_credential_provider(
        &self,
    ) -> crate::operation::create_api_key_credential_provider::builders::CreateApiKeyCredentialProviderFluentBuilder {
        crate::operation::create_api_key_credential_provider::builders::CreateApiKeyCredentialProviderFluentBuilder::new(self.handle.clone())
    }
}