Struct aws_sdk_config::input::PutConformancePackInput
source · [−]#[non_exhaustive]pub struct PutConformancePackInput {
pub conformance_pack_name: Option<String>,
pub template_s3_uri: Option<String>,
pub template_body: Option<String>,
pub delivery_s3_bucket: Option<String>,
pub delivery_s3_key_prefix: Option<String>,
pub conformance_pack_input_parameters: Option<Vec<ConformancePackInputParameter>>,
}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.conformance_pack_name: Option<String>Name of the conformance pack you want to create.
template_s3_uri: Option<String>Location of file containing the template body (s3://bucketname/prefix). The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack.
You must have access to read Amazon S3 bucket.
template_body: Option<String>A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).
delivery_s3_bucket: Option<String>The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
delivery_s3_key_prefix: Option<String>The prefix for the Amazon S3 bucket.
This field is optional.
conformance_pack_input_parameters: Option<Vec<ConformancePackInputParameter>>A list of ConformancePackInputParameter objects.
Implementations
sourceimpl PutConformancePackInput
impl PutConformancePackInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConformancePack, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConformancePack, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutConformancePack>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutConformancePackInput
sourceimpl PutConformancePackInput
impl PutConformancePackInput
sourcepub fn conformance_pack_name(&self) -> Option<&str>
pub fn conformance_pack_name(&self) -> Option<&str>
Name of the conformance pack you want to create.
sourcepub fn template_s3_uri(&self) -> Option<&str>
pub fn template_s3_uri(&self) -> Option<&str>
Location of file containing the template body (s3://bucketname/prefix). The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack.
You must have access to read Amazon S3 bucket.
sourcepub fn template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).
sourcepub fn delivery_s3_bucket(&self) -> Option<&str>
pub fn delivery_s3_bucket(&self) -> Option<&str>
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
sourcepub fn delivery_s3_key_prefix(&self) -> Option<&str>
pub fn delivery_s3_key_prefix(&self) -> Option<&str>
The prefix for the Amazon S3 bucket.
This field is optional.
sourcepub fn conformance_pack_input_parameters(
&self
) -> Option<&[ConformancePackInputParameter]>
pub fn conformance_pack_input_parameters(
&self
) -> Option<&[ConformancePackInputParameter]>
A list of ConformancePackInputParameter objects.
Trait Implementations
sourceimpl Clone for PutConformancePackInput
impl Clone for PutConformancePackInput
sourcefn clone(&self) -> PutConformancePackInput
fn clone(&self) -> PutConformancePackInput
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 PutConformancePackInput
impl Debug for PutConformancePackInput
sourceimpl PartialEq<PutConformancePackInput> for PutConformancePackInput
impl PartialEq<PutConformancePackInput> for PutConformancePackInput
sourcefn eq(&self, other: &PutConformancePackInput) -> bool
fn eq(&self, other: &PutConformancePackInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PutConformancePackInput) -> bool
fn ne(&self, other: &PutConformancePackInput) -> bool
This method tests for !=.
impl StructuralPartialEq for PutConformancePackInput
Auto Trait Implementations
impl RefUnwindSafe for PutConformancePackInput
impl Send for PutConformancePackInput
impl Sync for PutConformancePackInput
impl Unpin for PutConformancePackInput
impl UnwindSafe for PutConformancePackInput
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