Skip to main content

aws_sdk_bedrockagentcorecontrol/client/
create_browser_profile.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`CreateBrowserProfile`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::set_name):<br>required: **true**<br><p>The name of the browser profile. The name must be unique within your account and can contain alphanumeric characters and underscores.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::set_description):<br>required: **false**<br><p>A description of the browser profile. Use this field to describe the purpose or contents of the profile.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.</p><br>
9    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::set_tags):<br>required: **false**<br><p>A map of tag keys and values to assign to the browser profile. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p><br>
10    /// - On success, responds with [`CreateBrowserProfileOutput`](crate::operation::create_browser_profile::CreateBrowserProfileOutput) with field(s):
11    ///   - [`profile_id(String)`](crate::operation::create_browser_profile::CreateBrowserProfileOutput::profile_id): <p>The unique identifier of the created browser profile.</p>
12    ///   - [`profile_arn(String)`](crate::operation::create_browser_profile::CreateBrowserProfileOutput::profile_arn): <p>The Amazon Resource Name (ARN) of the created browser profile.</p>
13    ///   - [`created_at(DateTime)`](crate::operation::create_browser_profile::CreateBrowserProfileOutput::created_at): <p>The timestamp when the browser profile was created.</p>
14    ///   - [`status(BrowserProfileStatus)`](crate::operation::create_browser_profile::CreateBrowserProfileOutput::status): <p>The current status of the browser profile.</p>
15    /// - On failure, responds with [`SdkError<CreateBrowserProfileError>`](crate::operation::create_browser_profile::CreateBrowserProfileError)
16    pub fn create_browser_profile(&self) -> crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder {
17        crate::operation::create_browser_profile::builders::CreateBrowserProfileFluentBuilder::new(self.handle.clone())
18    }
19}