pub struct CreateProfilingGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProfilingGroup
.
Creates a profiling group.
Implementations
impl<C, M, R> CreateProfilingGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateProfilingGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError>> where
R::Policy: SmithyRetryPolicy<CreateProfilingGroupInputOperationOutputAlias, CreateProfilingGroupOutput, CreateProfilingGroupError, CreateProfilingGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError>> where
R::Policy: SmithyRetryPolicy<CreateProfilingGroupInputOperationOutputAlias, CreateProfilingGroupOutput, CreateProfilingGroupError, CreateProfilingGroupInputOperationRetryAlias>,
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.
The name of the profiling group to create.
The name of the profiling group to create.
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.
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.
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
Specifies whether profiling is enabled or disabled for the created profiling group.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateProfilingGroup<C, M, R>
impl<C, M, R> Send for CreateProfilingGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateProfilingGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateProfilingGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateProfilingGroup<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more