#[non_exhaustive]pub struct CreateProfilingGroupInput {
pub profiling_group_name: Option<String>,
pub compute_platform: Option<ComputePlatform>,
pub client_token: Option<String>,
pub agent_orchestration_config: Option<AgentOrchestrationConfig>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
The structure representing the createProfiliingGroupRequest.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.profiling_group_name: Option<String>
The name of the profiling group to create.
compute_platform: Option<ComputePlatform>
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.
client_token: Option<String>
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
agent_orchestration_config: Option<AgentOrchestrationConfig>
Specifies whether profiling is enabled or disabled for the created profiling group.
A list of tags to add to the created profiling group.
Implementations
sourceimpl CreateProfilingGroupInput
impl CreateProfilingGroupInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateProfilingGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateProfilingGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateProfilingGroup
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateProfilingGroupInput
sourceimpl CreateProfilingGroupInput
impl CreateProfilingGroupInput
sourcepub fn profiling_group_name(&self) -> Option<&str>
pub fn profiling_group_name(&self) -> Option<&str>
The name of the profiling group to create.
sourcepub fn compute_platform(&self) -> Option<&ComputePlatform>
pub fn compute_platform(&self) -> Option<&ComputePlatform>
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) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
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) -> Option<&AgentOrchestrationConfig>
pub fn agent_orchestration_config(&self) -> Option<&AgentOrchestrationConfig>
Specifies whether profiling is enabled or disabled for the created profiling group.
A list of tags to add to the created profiling group.
Trait Implementations
sourceimpl Clone for CreateProfilingGroupInput
impl Clone for CreateProfilingGroupInput
sourcefn clone(&self) -> CreateProfilingGroupInput
fn clone(&self) -> CreateProfilingGroupInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateProfilingGroupInput
impl Debug for CreateProfilingGroupInput
sourceimpl PartialEq<CreateProfilingGroupInput> for CreateProfilingGroupInput
impl PartialEq<CreateProfilingGroupInput> for CreateProfilingGroupInput
sourcefn eq(&self, other: &CreateProfilingGroupInput) -> bool
fn eq(&self, other: &CreateProfilingGroupInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateProfilingGroupInput) -> bool
fn ne(&self, other: &CreateProfilingGroupInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateProfilingGroupInput
Auto Trait Implementations
impl RefUnwindSafe for CreateProfilingGroupInput
impl Send for CreateProfilingGroupInput
impl Sync for CreateProfilingGroupInput
impl Unpin for CreateProfilingGroupInput
impl UnwindSafe for CreateProfilingGroupInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more