pub struct CreateProfilingGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProfilingGroup
.
Creates a profiling group.
Implementations§
source§impl CreateProfilingGroup
impl CreateProfilingGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateProfilingGroup, AwsResponseRetryClassifier>, SdkError<CreateProfilingGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateProfilingGroup, AwsResponseRetryClassifier>, SdkError<CreateProfilingGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError>>
pub async fn send(
self
) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn profiling_group_name(self, input: impl Into<String>) -> Self
pub fn profiling_group_name(self, input: impl Into<String>) -> Self
The name of the profiling group to create.
sourcepub fn set_profiling_group_name(self, input: Option<String>) -> Self
pub fn set_profiling_group_name(self, input: Option<String>) -> Self
The name of the profiling group to create.
sourcepub fn compute_platform(self, input: ComputePlatform) -> Self
pub fn compute_platform(self, input: ComputePlatform) -> Self
The compute platform of the profiling group. Use AWSLambda
if your application runs on AWS Lambda. Use Default
if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, Default
is used.
sourcepub fn set_compute_platform(self, input: Option<ComputePlatform>) -> Self
pub fn set_compute_platform(self, input: Option<ComputePlatform>) -> Self
The compute platform of the profiling group. Use AWSLambda
if your application runs on AWS Lambda. Use Default
if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, Default
is used.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
sourcepub fn agent_orchestration_config(self, input: AgentOrchestrationConfig) -> Self
pub fn agent_orchestration_config(self, input: AgentOrchestrationConfig) -> Self
Specifies whether profiling is enabled or disabled for the created profiling group.
sourcepub fn set_agent_orchestration_config(
self,
input: Option<AgentOrchestrationConfig>
) -> Self
pub fn set_agent_orchestration_config(
self,
input: Option<AgentOrchestrationConfig>
) -> Self
Specifies whether profiling is enabled or disabled for the created profiling group.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of tags to add to the created profiling group.
A list of tags to add to the created profiling group.
Trait Implementations§
source§impl Clone for CreateProfilingGroup
impl Clone for CreateProfilingGroup
source§fn clone(&self) -> CreateProfilingGroup
fn clone(&self) -> CreateProfilingGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more