AWS SDK

AWS SDK

rev. aa190e630077955f0bc8f58dee6a16530c1e0578 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/_target_preview.rs

@@ -0,1 +0,153 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// <p>Information about the resources that would be included in the actual runbook execution, if it were to be run.</p>
           4  +
#[non_exhaustive]
           5  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
           6  +
pub struct TargetPreview {
           7  +
    /// <p>The number of resources of a certain type included in an execution preview.</p>
           8  +
    pub count: i32,
           9  +
    /// <p>A type of resource that was included in the execution preview.</p>
          10  +
    pub target_type: ::std::option::Option<::std::string::String>,
          11  +
}
          12  +
impl TargetPreview {
          13  +
    /// <p>The number of resources of a certain type included in an execution preview.</p>
          14  +
    pub fn count(&self) -> i32 {
          15  +
        self.count
          16  +
    }
          17  +
    /// <p>A type of resource that was included in the execution preview.</p>
          18  +
    pub fn target_type(&self) -> ::std::option::Option<&str> {
          19  +
        self.target_type.as_deref()
          20  +
    }
          21  +
}
          22  +
static TARGETPREVIEW_MEMBER_COUNT: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          23  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#TargetPreview$Count", "com.amazonaws.ssm", "TargetPreview"),
          24  +
    ::aws_smithy_schema::ShapeType::Integer,
          25  +
    "Count",
          26  +
    0,
          27  +
);
          28  +
static TARGETPREVIEW_MEMBER_TARGET_TYPE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          29  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#TargetPreview$TargetType", "com.amazonaws.ssm", "TargetPreview"),
          30  +
    ::aws_smithy_schema::ShapeType::String,
          31  +
    "TargetType",
          32  +
    1,
          33  +
);
          34  +
static TARGETPREVIEW_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
          35  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#TargetPreview", "com.amazonaws.ssm", "TargetPreview"),
          36  +
    ::aws_smithy_schema::ShapeType::Structure,
          37  +
    &[&TARGETPREVIEW_MEMBER_COUNT, &TARGETPREVIEW_MEMBER_TARGET_TYPE],
          38  +
);
          39  +
impl TargetPreview {
          40  +
    /// The schema for this shape.
          41  +
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &TARGETPREVIEW_SCHEMA;
          42  +
}
          43  +
impl ::aws_smithy_schema::serde::SerializableStruct for TargetPreview {
          44  +
    #[allow(unused_variables, clippy::diverging_sub_expression)]
          45  +
    fn serialize_members(
          46  +
        &self,
          47  +
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
          48  +
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
          49  +
        {
          50  +
            let val = &self.count;
          51  +
            ser.write_integer(&TARGETPREVIEW_MEMBER_COUNT, *val)?;
          52  +
        }
          53  +
        if let Some(ref val) = self.target_type {
          54  +
            ser.write_string(&TARGETPREVIEW_MEMBER_TARGET_TYPE, val)?;
          55  +
        }
          56  +
        Ok(())
          57  +
    }
          58  +
}
          59  +
impl TargetPreview {
          60  +
    /// Deserializes this structure from a [`ShapeDeserializer`].
          61  +
    pub fn deserialize(
          62  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          63  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          64  +
        #[allow(unused_variables, unused_mut)]
          65  +
        let mut builder = Self::builder();
          66  +
        #[allow(
          67  +
            unused_variables,
          68  +
            unreachable_code,
          69  +
            clippy::single_match,
          70  +
            clippy::match_single_binding,
          71  +
            clippy::diverging_sub_expression
          72  +
        )]
          73  +
        deserializer.read_struct(&TARGETPREVIEW_SCHEMA, &mut |member, deser| {
          74  +
            match member.member_index() {
          75  +
                Some(0) => {
          76  +
                    builder.count = Some(deser.read_integer(member)?);
          77  +
                }
          78  +
                Some(1) => {
          79  +
                    if deser.is_null() {
          80  +
                        deser.read_null()?;
          81  +
                    } else {
          82  +
                        builder.target_type = Some(deser.read_string(member)?);
          83  +
                    }
          84  +
                }
          85  +
                _ => {}
          86  +
            }
          87  +
            Ok(())
          88  +
        })?;
          89  +
        Ok(builder.build())
          90  +
    }
          91  +
}
          92  +
impl TargetPreview {
          93  +
    /// Deserializes this structure from a body deserializer and HTTP response.
          94  +
    pub fn deserialize_with_response(
          95  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          96  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
          97  +
        _status: u16,
          98  +
        _body: &[u8],
          99  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         100  +
        Self::deserialize(deserializer)
         101  +
    }
         102  +
}
         103  +
impl TargetPreview {
         104  +
    /// Creates a new builder-style object to manufacture [`TargetPreview`](crate::types::TargetPreview).
         105  +
    pub fn builder() -> crate::types::builders::TargetPreviewBuilder {
         106  +
        crate::types::builders::TargetPreviewBuilder::default()
         107  +
    }
         108  +
}
         109  +
         110  +
/// A builder for [`TargetPreview`](crate::types::TargetPreview).
         111  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         112  +
#[non_exhaustive]
         113  +
pub struct TargetPreviewBuilder {
         114  +
    pub(crate) count: ::std::option::Option<i32>,
         115  +
    pub(crate) target_type: ::std::option::Option<::std::string::String>,
         116  +
}
         117  +
impl TargetPreviewBuilder {
         118  +
    /// <p>The number of resources of a certain type included in an execution preview.</p>
         119  +
    pub fn count(mut self, input: i32) -> Self {
         120  +
        self.count = ::std::option::Option::Some(input);
         121  +
        self
         122  +
    }
         123  +
    /// <p>The number of resources of a certain type included in an execution preview.</p>
         124  +
    pub fn set_count(mut self, input: ::std::option::Option<i32>) -> Self {
         125  +
        self.count = input;
         126  +
        self
         127  +
    }
         128  +
    /// <p>The number of resources of a certain type included in an execution preview.</p>
         129  +
    pub fn get_count(&self) -> &::std::option::Option<i32> {
         130  +
        &self.count
         131  +
    }
         132  +
    /// <p>A type of resource that was included in the execution preview.</p>
         133  +
    pub fn target_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         134  +
        self.target_type = ::std::option::Option::Some(input.into());
         135  +
        self
         136  +
    }
         137  +
    /// <p>A type of resource that was included in the execution preview.</p>
         138  +
    pub fn set_target_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         139  +
        self.target_type = input;
         140  +
        self
         141  +
    }
         142  +
    /// <p>A type of resource that was included in the execution preview.</p>
         143  +
    pub fn get_target_type(&self) -> &::std::option::Option<::std::string::String> {
         144  +
        &self.target_type
         145  +
    }
         146  +
    /// Consumes the builder and constructs a [`TargetPreview`](crate::types::TargetPreview).
         147  +
    pub fn build(self) -> crate::types::TargetPreview {
         148  +
        crate::types::TargetPreview {
         149  +
            count: self.count.unwrap_or_default(),
         150  +
            target_type: self.target_type,
         151  +
        }
         152  +
    }
         153  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/_validation_finding.rs

@@ -0,1 +0,280 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// <p>A validation finding from a cloud connector validation check.</p>
           4  +
#[non_exhaustive]
           5  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
           6  +
pub struct ValidationFinding {
           7  +
    /// <p>The type of the validation finding.</p>
           8  +
    pub r#type: ::std::option::Option<crate::types::ValidationFindingType>,
           9  +
    /// <p>A code that identifies the specific validation finding.</p>
          10  +
    pub code: ::std::option::Option<crate::types::ValidationFindingCode>,
          11  +
    /// <p>A message that describes the validation finding.</p>
          12  +
    pub message: ::std::option::Option<::std::string::String>,
          13  +
    /// <p>A message from the third-party cloud provider related to the validation finding.</p>
          14  +
    pub provider_message: ::std::option::Option<::std::string::String>,
          15  +
    /// <p>The scope of the validation finding, identifying the specific resource affected.</p>
          16  +
    pub scope: ::std::option::Option<crate::types::ValidationFindingScope>,
          17  +
}
          18  +
impl ValidationFinding {
          19  +
    /// <p>The type of the validation finding.</p>
          20  +
    pub fn r#type(&self) -> ::std::option::Option<&crate::types::ValidationFindingType> {
          21  +
        self.r#type.as_ref()
          22  +
    }
          23  +
    /// <p>A code that identifies the specific validation finding.</p>
          24  +
    pub fn code(&self) -> ::std::option::Option<&crate::types::ValidationFindingCode> {
          25  +
        self.code.as_ref()
          26  +
    }
          27  +
    /// <p>A message that describes the validation finding.</p>
          28  +
    pub fn message(&self) -> ::std::option::Option<&str> {
          29  +
        self.message.as_deref()
          30  +
    }
          31  +
    /// <p>A message from the third-party cloud provider related to the validation finding.</p>
          32  +
    pub fn provider_message(&self) -> ::std::option::Option<&str> {
          33  +
        self.provider_message.as_deref()
          34  +
    }
          35  +
    /// <p>The scope of the validation finding, identifying the specific resource affected.</p>
          36  +
    pub fn scope(&self) -> ::std::option::Option<&crate::types::ValidationFindingScope> {
          37  +
        self.scope.as_ref()
          38  +
    }
          39  +
}
          40  +
static VALIDATIONFINDING_MEMBER_TYPE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          41  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#ValidationFinding$Type", "com.amazonaws.ssm", "ValidationFinding"),
          42  +
    ::aws_smithy_schema::ShapeType::String,
          43  +
    "Type",
          44  +
    0,
          45  +
);
          46  +
static VALIDATIONFINDING_MEMBER_CODE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          47  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#ValidationFinding$Code", "com.amazonaws.ssm", "ValidationFinding"),
          48  +
    ::aws_smithy_schema::ShapeType::String,
          49  +
    "Code",
          50  +
    1,
          51  +
);
          52  +
static VALIDATIONFINDING_MEMBER_MESSAGE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          53  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#ValidationFinding$Message", "com.amazonaws.ssm", "ValidationFinding"),
          54  +
    ::aws_smithy_schema::ShapeType::String,
          55  +
    "Message",
          56  +
    2,
          57  +
);
          58  +
static VALIDATIONFINDING_MEMBER_PROVIDER_MESSAGE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          59  +
    ::aws_smithy_schema::ShapeId::from_parts(
          60  +
        "com.amazonaws.ssm#ValidationFinding$ProviderMessage",
          61  +
        "com.amazonaws.ssm",
          62  +
        "ValidationFinding",
          63  +
    ),
          64  +
    ::aws_smithy_schema::ShapeType::String,
          65  +
    "ProviderMessage",
          66  +
    3,
          67  +
);
          68  +
static VALIDATIONFINDING_MEMBER_SCOPE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          69  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#ValidationFinding$Scope", "com.amazonaws.ssm", "ValidationFinding"),
          70  +
    ::aws_smithy_schema::ShapeType::Structure,
          71  +
    "Scope",
          72  +
    4,
          73  +
);
          74  +
static VALIDATIONFINDING_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
          75  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#ValidationFinding", "com.amazonaws.ssm", "ValidationFinding"),
          76  +
    ::aws_smithy_schema::ShapeType::Structure,
          77  +
    &[
          78  +
        &VALIDATIONFINDING_MEMBER_TYPE,
          79  +
        &VALIDATIONFINDING_MEMBER_CODE,
          80  +
        &VALIDATIONFINDING_MEMBER_MESSAGE,
          81  +
        &VALIDATIONFINDING_MEMBER_PROVIDER_MESSAGE,
          82  +
        &VALIDATIONFINDING_MEMBER_SCOPE,
          83  +
    ],
          84  +
);
          85  +
impl ValidationFinding {
          86  +
    /// The schema for this shape.
          87  +
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &VALIDATIONFINDING_SCHEMA;
          88  +
}
          89  +
impl ::aws_smithy_schema::serde::SerializableStruct for ValidationFinding {
          90  +
    #[allow(unused_variables, clippy::diverging_sub_expression)]
          91  +
    fn serialize_members(
          92  +
        &self,
          93  +
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
          94  +
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
          95  +
        if let Some(ref val) = self.r#type {
          96  +
            ser.write_string(&VALIDATIONFINDING_MEMBER_TYPE, val.as_str())?;
          97  +
        }
          98  +
        if let Some(ref val) = self.code {
          99  +
            ser.write_string(&VALIDATIONFINDING_MEMBER_CODE, val.as_str())?;
         100  +
        }
         101  +
        if let Some(ref val) = self.message {
         102  +
            ser.write_string(&VALIDATIONFINDING_MEMBER_MESSAGE, val)?;
         103  +
        }
         104  +
        if let Some(ref val) = self.provider_message {
         105  +
            ser.write_string(&VALIDATIONFINDING_MEMBER_PROVIDER_MESSAGE, val)?;
         106  +
        }
         107  +
        if let Some(ref val) = self.scope {
         108  +
            ser.write_struct(&VALIDATIONFINDING_MEMBER_SCOPE, val)?;
         109  +
        }
         110  +
        Ok(())
         111  +
    }
         112  +
}
         113  +
impl ValidationFinding {
         114  +
    /// Deserializes this structure from a [`ShapeDeserializer`].
         115  +
    pub fn deserialize(
         116  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         117  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         118  +
        #[allow(unused_variables, unused_mut)]
         119  +
        let mut builder = Self::builder();
         120  +
        #[allow(
         121  +
            unused_variables,
         122  +
            unreachable_code,
         123  +
            clippy::single_match,
         124  +
            clippy::match_single_binding,
         125  +
            clippy::diverging_sub_expression
         126  +
        )]
         127  +
        deserializer.read_struct(&VALIDATIONFINDING_SCHEMA, &mut |member, deser| {
         128  +
            match member.member_index() {
         129  +
                Some(0) => {
         130  +
                    if deser.is_null() {
         131  +
                        deser.read_null()?;
         132  +
                    } else {
         133  +
                        builder.r#type = Some(crate::types::ValidationFindingType::from(deser.read_string(member)?.as_str()));
         134  +
                    }
         135  +
                }
         136  +
                Some(1) => {
         137  +
                    if deser.is_null() {
         138  +
                        deser.read_null()?;
         139  +
                    } else {
         140  +
                        builder.code = Some(crate::types::ValidationFindingCode::from(deser.read_string(member)?.as_str()));
         141  +
                    }
         142  +
                }
         143  +
                Some(2) => {
         144  +
                    if deser.is_null() {
         145  +
                        deser.read_null()?;
         146  +
                    } else {
         147  +
                        builder.message = Some(deser.read_string(member)?);
         148  +
                    }
         149  +
                }
         150  +
                Some(3) => {
         151  +
                    if deser.is_null() {
         152  +
                        deser.read_null()?;
         153  +
                    } else {
         154  +
                        builder.provider_message = Some(deser.read_string(member)?);
         155  +
                    }
         156  +
                }
         157  +
                Some(4) => {
         158  +
                    if deser.is_null() {
         159  +
                        deser.read_null()?;
         160  +
                    } else {
         161  +
                        builder.scope = Some(crate::types::ValidationFindingScope::deserialize(deser)?);
         162  +
                    }
         163  +
                }
         164  +
                _ => {}
         165  +
            }
         166  +
            Ok(())
         167  +
        })?;
         168  +
        Ok(builder.build())
         169  +
    }
         170  +
}
         171  +
impl ValidationFinding {
         172  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         173  +
    pub fn deserialize_with_response(
         174  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         175  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         176  +
        _status: u16,
         177  +
        _body: &[u8],
         178  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         179  +
        Self::deserialize(deserializer)
         180  +
    }
         181  +
}
         182  +
impl ValidationFinding {
         183  +
    /// Creates a new builder-style object to manufacture [`ValidationFinding`](crate::types::ValidationFinding).
         184  +
    pub fn builder() -> crate::types::builders::ValidationFindingBuilder {
         185  +
        crate::types::builders::ValidationFindingBuilder::default()
         186  +
    }
         187  +
}
         188  +
         189  +
/// A builder for [`ValidationFinding`](crate::types::ValidationFinding).
         190  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         191  +
#[non_exhaustive]
         192  +
pub struct ValidationFindingBuilder {
         193  +
    pub(crate) r#type: ::std::option::Option<crate::types::ValidationFindingType>,
         194  +
    pub(crate) code: ::std::option::Option<crate::types::ValidationFindingCode>,
         195  +
    pub(crate) message: ::std::option::Option<::std::string::String>,
         196  +
    pub(crate) provider_message: ::std::option::Option<::std::string::String>,
         197  +
    pub(crate) scope: ::std::option::Option<crate::types::ValidationFindingScope>,
         198  +
}
         199  +
impl ValidationFindingBuilder {
         200  +
    /// <p>The type of the validation finding.</p>
         201  +
    pub fn r#type(mut self, input: crate::types::ValidationFindingType) -> Self {
         202  +
        self.r#type = ::std::option::Option::Some(input);
         203  +
        self
         204  +
    }
         205  +
    /// <p>The type of the validation finding.</p>
         206  +
    pub fn set_type(mut self, input: ::std::option::Option<crate::types::ValidationFindingType>) -> Self {
         207  +
        self.r#type = input;
         208  +
        self
         209  +
    }
         210  +
    /// <p>The type of the validation finding.</p>
         211  +
    pub fn get_type(&self) -> &::std::option::Option<crate::types::ValidationFindingType> {
         212  +
        &self.r#type
         213  +
    }
         214  +
    /// <p>A code that identifies the specific validation finding.</p>
         215  +
    pub fn code(mut self, input: crate::types::ValidationFindingCode) -> Self {
         216  +
        self.code = ::std::option::Option::Some(input);
         217  +
        self
         218  +
    }
         219  +
    /// <p>A code that identifies the specific validation finding.</p>
         220  +
    pub fn set_code(mut self, input: ::std::option::Option<crate::types::ValidationFindingCode>) -> Self {
         221  +
        self.code = input;
         222  +
        self
         223  +
    }
         224  +
    /// <p>A code that identifies the specific validation finding.</p>
         225  +
    pub fn get_code(&self) -> &::std::option::Option<crate::types::ValidationFindingCode> {
         226  +
        &self.code
         227  +
    }
         228  +
    /// <p>A message that describes the validation finding.</p>
         229  +
    pub fn message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         230  +
        self.message = ::std::option::Option::Some(input.into());
         231  +
        self
         232  +
    }
         233  +
    /// <p>A message that describes the validation finding.</p>
         234  +
    pub fn set_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         235  +
        self.message = input;
         236  +
        self
         237  +
    }
         238  +
    /// <p>A message that describes the validation finding.</p>
         239  +
    pub fn get_message(&self) -> &::std::option::Option<::std::string::String> {
         240  +
        &self.message
         241  +
    }
         242  +
    /// <p>A message from the third-party cloud provider related to the validation finding.</p>
         243  +
    pub fn provider_message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         244  +
        self.provider_message = ::std::option::Option::Some(input.into());
         245  +
        self
         246  +
    }
         247  +
    /// <p>A message from the third-party cloud provider related to the validation finding.</p>
         248  +
    pub fn set_provider_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         249  +
        self.provider_message = input;
         250  +
        self
         251  +
    }
         252  +
    /// <p>A message from the third-party cloud provider related to the validation finding.</p>
         253  +
    pub fn get_provider_message(&self) -> &::std::option::Option<::std::string::String> {
         254  +
        &self.provider_message
         255  +
    }
         256  +
    /// <p>The scope of the validation finding, identifying the specific resource affected.</p>
         257  +
    pub fn scope(mut self, input: crate::types::ValidationFindingScope) -> Self {
         258  +
        self.scope = ::std::option::Option::Some(input);
         259  +
        self
         260  +
    }
         261  +
    /// <p>The scope of the validation finding, identifying the specific resource affected.</p>
         262  +
    pub fn set_scope(mut self, input: ::std::option::Option<crate::types::ValidationFindingScope>) -> Self {
         263  +
        self.scope = input;
         264  +
        self
         265  +
    }
         266  +
    /// <p>The scope of the validation finding, identifying the specific resource affected.</p>
         267  +
    pub fn get_scope(&self) -> &::std::option::Option<crate::types::ValidationFindingScope> {
         268  +
        &self.scope
         269  +
    }
         270  +
    /// Consumes the builder and constructs a [`ValidationFinding`](crate::types::ValidationFinding).
         271  +
    pub fn build(self) -> crate::types::ValidationFinding {
         272  +
        crate::types::ValidationFinding {
         273  +
            r#type: self.r#type,
         274  +
            code: self.code,
         275  +
            message: self.message,
         276  +
            provider_message: self.provider_message,
         277  +
            scope: self.scope,
         278  +
        }
         279  +
    }
         280  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/_validation_finding_code.rs

@@ -0,1 +0,160 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// When writing a match expression against `ValidationFindingCode`, it is important to ensure
           4  +
/// your code is forward-compatible. That is, if a match arm handles a case for a
           5  +
/// feature that is supported by the service but has not been represented as an enum
           6  +
/// variant in a current version of SDK, your code should continue to work when you
           7  +
/// upgrade SDK to a future version in which the enum does include a variant for that
           8  +
/// feature.
           9  +
///
          10  +
/// Here is an example of how you can make a match expression forward-compatible:
          11  +
///
          12  +
/// ```text
          13  +
/// # let validationfindingcode = unimplemented!();
          14  +
/// match validationfindingcode {
          15  +
///     ValidationFindingCode::AwsRoleAssumptionFailed => { /* ... */ },
          16  +
///     ValidationFindingCode::OutboundWebIdentityFederationDisabled => { /* ... */ },
          17  +
///     ValidationFindingCode::ProviderCredentialCreationFailed => { /* ... */ },
          18  +
///     ValidationFindingCode::SubscriptionAccessible => { /* ... */ },
          19  +
///     ValidationFindingCode::TargetInaccessible => { /* ... */ },
          20  +
///     ValidationFindingCode::TargetStateWarning => { /* ... */ },
          21  +
///     ValidationFindingCode::TargetUnusable => { /* ... */ },
          22  +
///     ValidationFindingCode::TenantSummary => { /* ... */ },
          23  +
///     ValidationFindingCode::WebIdentityTokenFailed => { /* ... */ },
          24  +
///     other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
          25  +
///     _ => { /* ... */ },
          26  +
/// }
          27  +
/// ```
          28  +
/// The above code demonstrates that when `validationfindingcode` represents
          29  +
/// `NewFeature`, the execution path will lead to the second last match arm,
          30  +
/// even though the enum does not contain a variant `ValidationFindingCode::NewFeature`
          31  +
/// in the current version of SDK. The reason is that the variable `other`,
          32  +
/// created by the `@` operator, is bound to
          33  +
/// `ValidationFindingCode::Unknown(UnknownVariantValue("NewFeature".to_owned()))`
          34  +
/// and calling `as_str` on it yields `"NewFeature"`.
          35  +
/// This match expression is forward-compatible when executed with a newer
          36  +
/// version of SDK where the variant `ValidationFindingCode::NewFeature` is defined.
          37  +
/// Specifically, when `validationfindingcode` represents `NewFeature`,
          38  +
/// the execution path will hit the second last match arm as before by virtue of
          39  +
/// calling `as_str` on `ValidationFindingCode::NewFeature` also yielding `"NewFeature"`.
          40  +
///
          41  +
/// Explicitly matching on the `Unknown` variant should
          42  +
/// be avoided for two reasons:
          43  +
/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted.
          44  +
/// - It might inadvertently shadow other intended match arms.
          45  +
///
          46  +
#[allow(missing_docs)] // documentation missing in model
          47  +
#[non_exhaustive]
          48  +
#[derive(
          49  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash,
          50  +
)]
          51  +
pub enum ValidationFindingCode {
          52  +
    #[allow(missing_docs)] // documentation missing in model
          53  +
    AwsRoleAssumptionFailed,
          54  +
    #[allow(missing_docs)] // documentation missing in model
          55  +
    OutboundWebIdentityFederationDisabled,
          56  +
    #[allow(missing_docs)] // documentation missing in model
          57  +
    ProviderCredentialCreationFailed,
          58  +
    #[allow(missing_docs)] // documentation missing in model
          59  +
    SubscriptionAccessible,
          60  +
    #[allow(missing_docs)] // documentation missing in model
          61  +
    TargetInaccessible,
          62  +
    #[allow(missing_docs)] // documentation missing in model
          63  +
    TargetStateWarning,
          64  +
    #[allow(missing_docs)] // documentation missing in model
          65  +
    TargetUnusable,
          66  +
    #[allow(missing_docs)] // documentation missing in model
          67  +
    TenantSummary,
          68  +
    #[allow(missing_docs)] // documentation missing in model
          69  +
    WebIdentityTokenFailed,
          70  +
    /// `Unknown` contains new variants that have been added since this code was generated.
          71  +
    #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")]
          72  +
    Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue),
          73  +
}
          74  +
impl ::std::convert::From<&str> for ValidationFindingCode {
          75  +
    fn from(s: &str) -> Self {
          76  +
        match s {
          77  +
            "AwsRoleAssumptionFailed" => ValidationFindingCode::AwsRoleAssumptionFailed,
          78  +
            "OutboundWebIdentityFederationDisabled" => ValidationFindingCode::OutboundWebIdentityFederationDisabled,
          79  +
            "ProviderCredentialCreationFailed" => ValidationFindingCode::ProviderCredentialCreationFailed,
          80  +
            "SubscriptionAccessible" => ValidationFindingCode::SubscriptionAccessible,
          81  +
            "TargetInaccessible" => ValidationFindingCode::TargetInaccessible,
          82  +
            "TargetStateWarning" => ValidationFindingCode::TargetStateWarning,
          83  +
            "TargetUnusable" => ValidationFindingCode::TargetUnusable,
          84  +
            "TenantSummary" => ValidationFindingCode::TenantSummary,
          85  +
            "WebIdentityTokenFailed" => ValidationFindingCode::WebIdentityTokenFailed,
          86  +
            other => ValidationFindingCode::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
          87  +
        }
          88  +
    }
          89  +
}
          90  +
impl ::std::str::FromStr for ValidationFindingCode {
          91  +
    type Err = ::std::convert::Infallible;
          92  +
          93  +
    fn from_str(s: &str) -> ::std::result::Result<Self, <Self as ::std::str::FromStr>::Err> {
          94  +
        ::std::result::Result::Ok(ValidationFindingCode::from(s))
          95  +
    }
          96  +
}
          97  +
impl ValidationFindingCode {
          98  +
    /// Returns the `&str` value of the enum member.
          99  +
    pub fn as_str(&self) -> &str {
         100  +
        match self {
         101  +
            ValidationFindingCode::AwsRoleAssumptionFailed => "AwsRoleAssumptionFailed",
         102  +
            ValidationFindingCode::OutboundWebIdentityFederationDisabled => "OutboundWebIdentityFederationDisabled",
         103  +
            ValidationFindingCode::ProviderCredentialCreationFailed => "ProviderCredentialCreationFailed",
         104  +
            ValidationFindingCode::SubscriptionAccessible => "SubscriptionAccessible",
         105  +
            ValidationFindingCode::TargetInaccessible => "TargetInaccessible",
         106  +
            ValidationFindingCode::TargetStateWarning => "TargetStateWarning",
         107  +
            ValidationFindingCode::TargetUnusable => "TargetUnusable",
         108  +
            ValidationFindingCode::TenantSummary => "TenantSummary",
         109  +
            ValidationFindingCode::WebIdentityTokenFailed => "WebIdentityTokenFailed",
         110  +
            ValidationFindingCode::Unknown(value) => value.as_str(),
         111  +
        }
         112  +
    }
         113  +
    /// Returns all the `&str` representations of the enum members.
         114  +
    pub const fn values() -> &'static [&'static str] {
         115  +
        &[
         116  +
            "AwsRoleAssumptionFailed",
         117  +
            "OutboundWebIdentityFederationDisabled",
         118  +
            "ProviderCredentialCreationFailed",
         119  +
            "SubscriptionAccessible",
         120  +
            "TargetInaccessible",
         121  +
            "TargetStateWarning",
         122  +
            "TargetUnusable",
         123  +
            "TenantSummary",
         124  +
            "WebIdentityTokenFailed",
         125  +
        ]
         126  +
    }
         127  +
}
         128  +
impl ::std::convert::AsRef<str> for ValidationFindingCode {
         129  +
    fn as_ref(&self) -> &str {
         130  +
        self.as_str()
         131  +
    }
         132  +
}
         133  +
impl ValidationFindingCode {
         134  +
    /// Parses the enum value while disallowing unknown variants.
         135  +
    ///
         136  +
    /// Unknown variants will result in an error.
         137  +
    pub fn try_parse(value: &str) -> ::std::result::Result<Self, crate::error::UnknownVariantError> {
         138  +
        match Self::from(value) {
         139  +
            #[allow(deprecated)]
         140  +
            Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)),
         141  +
            known => Ok(known),
         142  +
        }
         143  +
    }
         144  +
}
         145  +
impl ::std::fmt::Display for ValidationFindingCode {
         146  +
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
         147  +
        match self {
         148  +
            ValidationFindingCode::AwsRoleAssumptionFailed => write!(f, "AwsRoleAssumptionFailed"),
         149  +
            ValidationFindingCode::OutboundWebIdentityFederationDisabled => write!(f, "OutboundWebIdentityFederationDisabled"),
         150  +
            ValidationFindingCode::ProviderCredentialCreationFailed => write!(f, "ProviderCredentialCreationFailed"),
         151  +
            ValidationFindingCode::SubscriptionAccessible => write!(f, "SubscriptionAccessible"),
         152  +
            ValidationFindingCode::TargetInaccessible => write!(f, "TargetInaccessible"),
         153  +
            ValidationFindingCode::TargetStateWarning => write!(f, "TargetStateWarning"),
         154  +
            ValidationFindingCode::TargetUnusable => write!(f, "TargetUnusable"),
         155  +
            ValidationFindingCode::TenantSummary => write!(f, "TenantSummary"),
         156  +
            ValidationFindingCode::WebIdentityTokenFailed => write!(f, "WebIdentityTokenFailed"),
         157  +
            ValidationFindingCode::Unknown(value) => write!(f, "{value}"),
         158  +
        }
         159  +
    }
         160  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/_validation_finding_scope.rs

@@ -0,1 +0,164 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// <p>Identifies the specific resource scope of a validation finding.</p>
           4  +
#[non_exhaustive]
           5  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
           6  +
pub struct ValidationFindingScope {
           7  +
    /// <p>The type of the resource scope.</p>
           8  +
    pub r#type: ::std::option::Option<crate::types::ValidationFindingScopeType>,
           9  +
    /// <p>The ID of the resource within the scope.</p>
          10  +
    pub id: ::std::option::Option<::std::string::String>,
          11  +
}
          12  +
impl ValidationFindingScope {
          13  +
    /// <p>The type of the resource scope.</p>
          14  +
    pub fn r#type(&self) -> ::std::option::Option<&crate::types::ValidationFindingScopeType> {
          15  +
        self.r#type.as_ref()
          16  +
    }
          17  +
    /// <p>The ID of the resource within the scope.</p>
          18  +
    pub fn id(&self) -> ::std::option::Option<&str> {
          19  +
        self.id.as_deref()
          20  +
    }
          21  +
}
          22  +
static VALIDATIONFINDINGSCOPE_MEMBER_TYPE: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          23  +
    ::aws_smithy_schema::ShapeId::from_parts(
          24  +
        "com.amazonaws.ssm#ValidationFindingScope$Type",
          25  +
        "com.amazonaws.ssm",
          26  +
        "ValidationFindingScope",
          27  +
    ),
          28  +
    ::aws_smithy_schema::ShapeType::String,
          29  +
    "Type",
          30  +
    0,
          31  +
);
          32  +
static VALIDATIONFINDINGSCOPE_MEMBER_ID: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_member(
          33  +
    ::aws_smithy_schema::ShapeId::from_parts(
          34  +
        "com.amazonaws.ssm#ValidationFindingScope$Id",
          35  +
        "com.amazonaws.ssm",
          36  +
        "ValidationFindingScope",
          37  +
    ),
          38  +
    ::aws_smithy_schema::ShapeType::String,
          39  +
    "Id",
          40  +
    1,
          41  +
);
          42  +
static VALIDATIONFINDINGSCOPE_SCHEMA: ::aws_smithy_schema::Schema<'static> = ::aws_smithy_schema::Schema::new_struct(
          43  +
    ::aws_smithy_schema::ShapeId::from_parts("com.amazonaws.ssm#ValidationFindingScope", "com.amazonaws.ssm", "ValidationFindingScope"),
          44  +
    ::aws_smithy_schema::ShapeType::Structure,
          45  +
    &[&VALIDATIONFINDINGSCOPE_MEMBER_TYPE, &VALIDATIONFINDINGSCOPE_MEMBER_ID],
          46  +
);
          47  +
impl ValidationFindingScope {
          48  +
    /// The schema for this shape.
          49  +
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema<'static> = &VALIDATIONFINDINGSCOPE_SCHEMA;
          50  +
}
          51  +
impl ::aws_smithy_schema::serde::SerializableStruct for ValidationFindingScope {
          52  +
    #[allow(unused_variables, clippy::diverging_sub_expression)]
          53  +
    fn serialize_members(
          54  +
        &self,
          55  +
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
          56  +
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
          57  +
        if let Some(ref val) = self.r#type {
          58  +
            ser.write_string(&VALIDATIONFINDINGSCOPE_MEMBER_TYPE, val.as_str())?;
          59  +
        }
          60  +
        if let Some(ref val) = self.id {
          61  +
            ser.write_string(&VALIDATIONFINDINGSCOPE_MEMBER_ID, val)?;
          62  +
        }
          63  +
        Ok(())
          64  +
    }
          65  +
}
          66  +
impl ValidationFindingScope {
          67  +
    /// Deserializes this structure from a [`ShapeDeserializer`].
          68  +
    pub fn deserialize(
          69  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          70  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          71  +
        #[allow(unused_variables, unused_mut)]
          72  +
        let mut builder = Self::builder();
          73  +
        #[allow(
          74  +
            unused_variables,
          75  +
            unreachable_code,
          76  +
            clippy::single_match,
          77  +
            clippy::match_single_binding,
          78  +
            clippy::diverging_sub_expression
          79  +
        )]
          80  +
        deserializer.read_struct(&VALIDATIONFINDINGSCOPE_SCHEMA, &mut |member, deser| {
          81  +
            match member.member_index() {
          82  +
                Some(0) => {
          83  +
                    if deser.is_null() {
          84  +
                        deser.read_null()?;
          85  +
                    } else {
          86  +
                        builder.r#type = Some(crate::types::ValidationFindingScopeType::from(deser.read_string(member)?.as_str()));
          87  +
                    }
          88  +
                }
          89  +
                Some(1) => {
          90  +
                    if deser.is_null() {
          91  +
                        deser.read_null()?;
          92  +
                    } else {
          93  +
                        builder.id = Some(deser.read_string(member)?);
          94  +
                    }
          95  +
                }
          96  +
                _ => {}
          97  +
            }
          98  +
            Ok(())
          99  +
        })?;
         100  +
        Ok(builder.build())
         101  +
    }
         102  +
}
         103  +
impl ValidationFindingScope {
         104  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         105  +
    pub fn deserialize_with_response(
         106  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         107  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         108  +
        _status: u16,
         109  +
        _body: &[u8],
         110  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         111  +
        Self::deserialize(deserializer)
         112  +
    }
         113  +
}
         114  +
impl ValidationFindingScope {
         115  +
    /// Creates a new builder-style object to manufacture [`ValidationFindingScope`](crate::types::ValidationFindingScope).
         116  +
    pub fn builder() -> crate::types::builders::ValidationFindingScopeBuilder {
         117  +
        crate::types::builders::ValidationFindingScopeBuilder::default()
         118  +
    }
         119  +
}
         120  +
         121  +
/// A builder for [`ValidationFindingScope`](crate::types::ValidationFindingScope).
         122  +
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         123  +
#[non_exhaustive]
         124  +
pub struct ValidationFindingScopeBuilder {
         125  +
    pub(crate) r#type: ::std::option::Option<crate::types::ValidationFindingScopeType>,
         126  +
    pub(crate) id: ::std::option::Option<::std::string::String>,
         127  +
}
         128  +
impl ValidationFindingScopeBuilder {
         129  +
    /// <p>The type of the resource scope.</p>
         130  +
    pub fn r#type(mut self, input: crate::types::ValidationFindingScopeType) -> Self {
         131  +
        self.r#type = ::std::option::Option::Some(input);
         132  +
        self
         133  +
    }
         134  +
    /// <p>The type of the resource scope.</p>
         135  +
    pub fn set_type(mut self, input: ::std::option::Option<crate::types::ValidationFindingScopeType>) -> Self {
         136  +
        self.r#type = input;
         137  +
        self
         138  +
    }
         139  +
    /// <p>The type of the resource scope.</p>
         140  +
    pub fn get_type(&self) -> &::std::option::Option<crate::types::ValidationFindingScopeType> {
         141  +
        &self.r#type
         142  +
    }
         143  +
    /// <p>The ID of the resource within the scope.</p>
         144  +
    pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         145  +
        self.id = ::std::option::Option::Some(input.into());
         146  +
        self
         147  +
    }
         148  +
    /// <p>The ID of the resource within the scope.</p>
         149  +
    pub fn set_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         150  +
        self.id = input;
         151  +
        self
         152  +
    }
         153  +
    /// <p>The ID of the resource within the scope.</p>
         154  +
    pub fn get_id(&self) -> &::std::option::Option<::std::string::String> {
         155  +
        &self.id
         156  +
    }
         157  +
    /// Consumes the builder and constructs a [`ValidationFindingScope`](crate::types::ValidationFindingScope).
         158  +
    pub fn build(self) -> crate::types::ValidationFindingScope {
         159  +
        crate::types::ValidationFindingScope {
         160  +
            r#type: self.r#type,
         161  +
            id: self.id,
         162  +
        }
         163  +
    }
         164  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/_validation_finding_scope_type.rs

@@ -0,1 +0,108 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// When writing a match expression against `ValidationFindingScopeType`, it is important to ensure
           4  +
/// your code is forward-compatible. That is, if a match arm handles a case for a
           5  +
/// feature that is supported by the service but has not been represented as an enum
           6  +
/// variant in a current version of SDK, your code should continue to work when you
           7  +
/// upgrade SDK to a future version in which the enum does include a variant for that
           8  +
/// feature.
           9  +
///
          10  +
/// Here is an example of how you can make a match expression forward-compatible:
          11  +
///
          12  +
/// ```text
          13  +
/// # let validationfindingscopetype = unimplemented!();
          14  +
/// match validationfindingscopetype {
          15  +
///     ValidationFindingScopeType::AzureSubscription => { /* ... */ },
          16  +
///     ValidationFindingScopeType::AzureTenant => { /* ... */ },
          17  +
///     other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
          18  +
///     _ => { /* ... */ },
          19  +
/// }
          20  +
/// ```
          21  +
/// The above code demonstrates that when `validationfindingscopetype` represents
          22  +
/// `NewFeature`, the execution path will lead to the second last match arm,
          23  +
/// even though the enum does not contain a variant `ValidationFindingScopeType::NewFeature`
          24  +
/// in the current version of SDK. The reason is that the variable `other`,
          25  +
/// created by the `@` operator, is bound to
          26  +
/// `ValidationFindingScopeType::Unknown(UnknownVariantValue("NewFeature".to_owned()))`
          27  +
/// and calling `as_str` on it yields `"NewFeature"`.
          28  +
/// This match expression is forward-compatible when executed with a newer
          29  +
/// version of SDK where the variant `ValidationFindingScopeType::NewFeature` is defined.
          30  +
/// Specifically, when `validationfindingscopetype` represents `NewFeature`,
          31  +
/// the execution path will hit the second last match arm as before by virtue of
          32  +
/// calling `as_str` on `ValidationFindingScopeType::NewFeature` also yielding `"NewFeature"`.
          33  +
///
          34  +
/// Explicitly matching on the `Unknown` variant should
          35  +
/// be avoided for two reasons:
          36  +
/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted.
          37  +
/// - It might inadvertently shadow other intended match arms.
          38  +
///
          39  +
#[allow(missing_docs)] // documentation missing in model
          40  +
#[non_exhaustive]
          41  +
#[derive(
          42  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash,
          43  +
)]
          44  +
pub enum ValidationFindingScopeType {
          45  +
    #[allow(missing_docs)] // documentation missing in model
          46  +
    AzureSubscription,
          47  +
    #[allow(missing_docs)] // documentation missing in model
          48  +
    AzureTenant,
          49  +
    /// `Unknown` contains new variants that have been added since this code was generated.
          50  +
    #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")]
          51  +
    Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue),
          52  +
}
          53  +
impl ::std::convert::From<&str> for ValidationFindingScopeType {
          54  +
    fn from(s: &str) -> Self {
          55  +
        match s {
          56  +
            "azure:subscription" => ValidationFindingScopeType::AzureSubscription,
          57  +
            "azure:tenant" => ValidationFindingScopeType::AzureTenant,
          58  +
            other => ValidationFindingScopeType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
          59  +
        }
          60  +
    }
          61  +
}
          62  +
impl ::std::str::FromStr for ValidationFindingScopeType {
          63  +
    type Err = ::std::convert::Infallible;
          64  +
          65  +
    fn from_str(s: &str) -> ::std::result::Result<Self, <Self as ::std::str::FromStr>::Err> {
          66  +
        ::std::result::Result::Ok(ValidationFindingScopeType::from(s))
          67  +
    }
          68  +
}
          69  +
impl ValidationFindingScopeType {
          70  +
    /// Returns the `&str` value of the enum member.
          71  +
    pub fn as_str(&self) -> &str {
          72  +
        match self {
          73  +
            ValidationFindingScopeType::AzureSubscription => "azure:subscription",
          74  +
            ValidationFindingScopeType::AzureTenant => "azure:tenant",
          75  +
            ValidationFindingScopeType::Unknown(value) => value.as_str(),
          76  +
        }
          77  +
    }
          78  +
    /// Returns all the `&str` representations of the enum members.
          79  +
    pub const fn values() -> &'static [&'static str] {
          80  +
        &["azure:subscription", "azure:tenant"]
          81  +
    }
          82  +
}
          83  +
impl ::std::convert::AsRef<str> for ValidationFindingScopeType {
          84  +
    fn as_ref(&self) -> &str {
          85  +
        self.as_str()
          86  +
    }
          87  +
}
          88  +
impl ValidationFindingScopeType {
          89  +
    /// Parses the enum value while disallowing unknown variants.
          90  +
    ///
          91  +
    /// Unknown variants will result in an error.
          92  +
    pub fn try_parse(value: &str) -> ::std::result::Result<Self, crate::error::UnknownVariantError> {
          93  +
        match Self::from(value) {
          94  +
            #[allow(deprecated)]
          95  +
            Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)),
          96  +
            known => Ok(known),
          97  +
        }
          98  +
    }
          99  +
}
         100  +
impl ::std::fmt::Display for ValidationFindingScopeType {
         101  +
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
         102  +
        match self {
         103  +
            ValidationFindingScopeType::AzureSubscription => write!(f, "azure:subscription"),
         104  +
            ValidationFindingScopeType::AzureTenant => write!(f, "azure:tenant"),
         105  +
            ValidationFindingScopeType::Unknown(value) => write!(f, "{value}"),
         106  +
        }
         107  +
    }
         108  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/_validation_finding_type.rs

@@ -0,1 +0,114 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
           3  +
/// When writing a match expression against `ValidationFindingType`, it is important to ensure
           4  +
/// your code is forward-compatible. That is, if a match arm handles a case for a
           5  +
/// feature that is supported by the service but has not been represented as an enum
           6  +
/// variant in a current version of SDK, your code should continue to work when you
           7  +
/// upgrade SDK to a future version in which the enum does include a variant for that
           8  +
/// feature.
           9  +
///
          10  +
/// Here is an example of how you can make a match expression forward-compatible:
          11  +
///
          12  +
/// ```text
          13  +
/// # let validationfindingtype = unimplemented!();
          14  +
/// match validationfindingtype {
          15  +
///     ValidationFindingType::Error => { /* ... */ },
          16  +
///     ValidationFindingType::Info => { /* ... */ },
          17  +
///     ValidationFindingType::Warn => { /* ... */ },
          18  +
///     other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
          19  +
///     _ => { /* ... */ },
          20  +
/// }
          21  +
/// ```
          22  +
/// The above code demonstrates that when `validationfindingtype` represents
          23  +
/// `NewFeature`, the execution path will lead to the second last match arm,
          24  +
/// even though the enum does not contain a variant `ValidationFindingType::NewFeature`
          25  +
/// in the current version of SDK. The reason is that the variable `other`,
          26  +
/// created by the `@` operator, is bound to
          27  +
/// `ValidationFindingType::Unknown(UnknownVariantValue("NewFeature".to_owned()))`
          28  +
/// and calling `as_str` on it yields `"NewFeature"`.
          29  +
/// This match expression is forward-compatible when executed with a newer
          30  +
/// version of SDK where the variant `ValidationFindingType::NewFeature` is defined.
          31  +
/// Specifically, when `validationfindingtype` represents `NewFeature`,
          32  +
/// the execution path will hit the second last match arm as before by virtue of
          33  +
/// calling `as_str` on `ValidationFindingType::NewFeature` also yielding `"NewFeature"`.
          34  +
///
          35  +
/// Explicitly matching on the `Unknown` variant should
          36  +
/// be avoided for two reasons:
          37  +
/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted.
          38  +
/// - It might inadvertently shadow other intended match arms.
          39  +
///
          40  +
#[allow(missing_docs)] // documentation missing in model
          41  +
#[non_exhaustive]
          42  +
#[derive(
          43  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash,
          44  +
)]
          45  +
pub enum ValidationFindingType {
          46  +
    #[allow(missing_docs)] // documentation missing in model
          47  +
    Error,
          48  +
    #[allow(missing_docs)] // documentation missing in model
          49  +
    Info,
          50  +
    #[allow(missing_docs)] // documentation missing in model
          51  +
    Warn,
          52  +
    /// `Unknown` contains new variants that have been added since this code was generated.
          53  +
    #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")]
          54  +
    Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue),
          55  +
}
          56  +
impl ::std::convert::From<&str> for ValidationFindingType {
          57  +
    fn from(s: &str) -> Self {
          58  +
        match s {
          59  +
            "ERROR" => ValidationFindingType::Error,
          60  +
            "INFO" => ValidationFindingType::Info,
          61  +
            "WARN" => ValidationFindingType::Warn,
          62  +
            other => ValidationFindingType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())),
          63  +
        }
          64  +
    }
          65  +
}
          66  +
impl ::std::str::FromStr for ValidationFindingType {
          67  +
    type Err = ::std::convert::Infallible;
          68  +
          69  +
    fn from_str(s: &str) -> ::std::result::Result<Self, <Self as ::std::str::FromStr>::Err> {
          70  +
        ::std::result::Result::Ok(ValidationFindingType::from(s))
          71  +
    }
          72  +
}
          73  +
impl ValidationFindingType {
          74  +
    /// Returns the `&str` value of the enum member.
          75  +
    pub fn as_str(&self) -> &str {
          76  +
        match self {
          77  +
            ValidationFindingType::Error => "ERROR",
          78  +
            ValidationFindingType::Info => "INFO",
          79  +
            ValidationFindingType::Warn => "WARN",
          80  +
            ValidationFindingType::Unknown(value) => value.as_str(),
          81  +
        }
          82  +
    }
          83  +
    /// Returns all the `&str` representations of the enum members.
          84  +
    pub const fn values() -> &'static [&'static str] {
          85  +
        &["ERROR", "INFO", "WARN"]
          86  +
    }
          87  +
}
          88  +
impl ::std::convert::AsRef<str> for ValidationFindingType {
          89  +
    fn as_ref(&self) -> &str {
          90  +
        self.as_str()
          91  +
    }
          92  +
}
          93  +
impl ValidationFindingType {
          94  +
    /// Parses the enum value while disallowing unknown variants.
          95  +
    ///
          96  +
    /// Unknown variants will result in an error.
          97  +
    pub fn try_parse(value: &str) -> ::std::result::Result<Self, crate::error::UnknownVariantError> {
          98  +
        match Self::from(value) {
          99  +
            #[allow(deprecated)]
         100  +
            Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)),
         101  +
            known => Ok(known),
         102  +
        }
         103  +
    }
         104  +
}
         105  +
impl ::std::fmt::Display for ValidationFindingType {
         106  +
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
         107  +
        match self {
         108  +
            ValidationFindingType::Error => write!(f, "ERROR"),
         109  +
            ValidationFindingType::Info => write!(f, "INFO"),
         110  +
            ValidationFindingType::Warn => write!(f, "WARN"),
         111  +
            ValidationFindingType::Unknown(value) => write!(f, "{value}"),
         112  +
        }
         113  +
    }
         114  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/types/builders.rs

@@ -0,1 +0,344 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
pub use crate::types::_instance_association_output_location::InstanceAssociationOutputLocationBuilder;
           3  +
           4  +
pub use crate::types::_alarm_configuration::AlarmConfigurationBuilder;
           5  +
           6  +
pub use crate::types::_association_description::AssociationDescriptionBuilder;
           7  +
           8  +
pub use crate::types::_document_description::DocumentDescriptionBuilder;
           9  +
          10  +
pub use crate::types::_patch_filter_group::PatchFilterGroupBuilder;
          11  +
          12  +
pub use crate::types::_patch_rule_group::PatchRuleGroupBuilder;
          13  +
          14  +
pub use crate::types::_resource_data_sync_s3_destination::ResourceDataSyncS3DestinationBuilder;
          15  +
          16  +
pub use crate::types::_resource_data_sync_source::ResourceDataSyncSourceBuilder;
          17  +
          18  +
pub use crate::types::_inventory_deletion_summary::InventoryDeletionSummaryBuilder;
          19  +
          20  +
pub use crate::types::_credentials::CredentialsBuilder;
          21  +
          22  +
pub use crate::types::_automation_execution::AutomationExecutionBuilder;
          23  +
          24  +
pub use crate::types::_cloud_watch_output_config::CloudWatchOutputConfigBuilder;
          25  +
          26  +
pub use crate::types::_baseline_override::BaselineOverrideBuilder;
          27  +
          28  +
pub use crate::types::_maintenance_window_task_invocation_parameters::MaintenanceWindowTaskInvocationParametersBuilder;
          29  +
          30  +
pub use crate::types::_logging_info::LoggingInfoBuilder;
          31  +
          32  +
pub use crate::types::_ops_item::OpsItemBuilder;
          33  +
          34  +
pub use crate::types::_parameter::ParameterBuilder;
          35  +
          36  +
pub use crate::types::_service_setting::ServiceSettingBuilder;
          37  +
          38  +
pub use crate::types::_document_metadata_response_info::DocumentMetadataResponseInfoBuilder;
          39  +
          40  +
pub use crate::types::_compliance_execution_summary::ComplianceExecutionSummaryBuilder;
          41  +
          42  +
pub use crate::types::_notification_config::NotificationConfigBuilder;
          43  +
          44  +
pub use crate::types::_command::CommandBuilder;
          45  +
          46  +
pub use crate::types::_association_status::AssociationStatusBuilder;
          47  +
          48  +
pub use crate::types::_document_default_version_description::DocumentDefaultVersionDescriptionBuilder;
          49  +
          50  +
pub use crate::types::_document_reviews::DocumentReviewsBuilder;
          51  +
          52  +
pub use crate::types::_tag::TagBuilder;
          53  +
          54  +
pub use crate::types::_registration_metadata_item::RegistrationMetadataItemBuilder;
          55  +
          56  +
pub use crate::types::_target::TargetBuilder;
          57  +
          58  +
pub use crate::types::_s3_output_location::S3OutputLocationBuilder;
          59  +
          60  +
pub use crate::types::_target_location::TargetLocationBuilder;
          61  +
          62  +
pub use crate::types::_association_overview::AssociationOverviewBuilder;
          63  +
          64  +
pub use crate::types::_create_association_batch_request_entry::CreateAssociationBatchRequestEntryBuilder;
          65  +
          66  +
pub use crate::types::_failed_create_association::FailedCreateAssociationBuilder;
          67  +
          68  +
pub use crate::types::_azure_configuration::AzureConfigurationBuilder;
          69  +
          70  +
pub use crate::types::_document_requires::DocumentRequiresBuilder;
          71  +
          72  +
pub use crate::types::_attachments_source::AttachmentsSourceBuilder;
          73  +
          74  +
pub use crate::types::_ops_item_data_value::OpsItemDataValueBuilder;
          75  +
          76  +
pub use crate::types::_ops_item_notification::OpsItemNotificationBuilder;
          77  +
          78  +
pub use crate::types::_related_ops_item::RelatedOpsItemBuilder;
          79  +
          80  +
pub use crate::types::_metadata_value::MetadataValueBuilder;
          81  +
          82  +
pub use crate::types::_patch_source::PatchSourceBuilder;
          83  +
          84  +
pub use crate::types::_resource_data_sync_destination_data_sharing::ResourceDataSyncDestinationDataSharingBuilder;
          85  +
          86  +
pub use crate::types::_resource_data_sync_aws_organizations_source::ResourceDataSyncAwsOrganizationsSourceBuilder;
          87  +
          88  +
pub use crate::types::_describe_activations_filter::DescribeActivationsFilterBuilder;
          89  +
          90  +
pub use crate::types::_activation::ActivationBuilder;
          91  +
          92  +
pub use crate::types::_association_execution_filter::AssociationExecutionFilterBuilder;
          93  +
          94  +
pub use crate::types::_association_execution::AssociationExecutionBuilder;
          95  +
          96  +
pub use crate::types::_association_execution_targets_filter::AssociationExecutionTargetsFilterBuilder;
          97  +
          98  +
pub use crate::types::_association_execution_target::AssociationExecutionTargetBuilder;
          99  +
         100  +
pub use crate::types::_automation_execution_filter::AutomationExecutionFilterBuilder;
         101  +
         102  +
pub use crate::types::_automation_execution_metadata::AutomationExecutionMetadataBuilder;
         103  +
         104  +
pub use crate::types::_step_execution_filter::StepExecutionFilterBuilder;
         105  +
         106  +
pub use crate::types::_step_execution::StepExecutionBuilder;
         107  +
         108  +
pub use crate::types::_patch_orchestrator_filter::PatchOrchestratorFilterBuilder;
         109  +
         110  +
pub use crate::types::_patch::PatchBuilder;
         111  +
         112  +
pub use crate::types::_account_sharing_info::AccountSharingInfoBuilder;
         113  +
         114  +
pub use crate::types::_instance_association::InstanceAssociationBuilder;
         115  +
         116  +
pub use crate::types::_effective_patch::EffectivePatchBuilder;
         117  +
         118  +
pub use crate::types::_instance_association_status_info::InstanceAssociationStatusInfoBuilder;
         119  +
         120  +
pub use crate::types::_instance_information_filter::InstanceInformationFilterBuilder;
         121  +
         122  +
pub use crate::types::_instance_information_string_filter::InstanceInformationStringFilterBuilder;
         123  +
         124  +
pub use crate::types::_instance_information::InstanceInformationBuilder;
         125  +
         126  +
pub use crate::types::_patch_compliance_data::PatchComplianceDataBuilder;
         127  +
         128  +
pub use crate::types::_instance_patch_state::InstancePatchStateBuilder;
         129  +
         130  +
pub use crate::types::_instance_patch_state_filter::InstancePatchStateFilterBuilder;
         131  +
         132  +
pub use crate::types::_instance_property_filter::InstancePropertyFilterBuilder;
         133  +
         134  +
pub use crate::types::_instance_property_string_filter::InstancePropertyStringFilterBuilder;
         135  +
         136  +
pub use crate::types::_instance_property::InstancePropertyBuilder;
         137  +
         138  +
pub use crate::types::_inventory_deletion_status_item::InventoryDeletionStatusItemBuilder;
         139  +
         140  +
pub use crate::types::_maintenance_window_filter::MaintenanceWindowFilterBuilder;
         141  +
         142  +
pub use crate::types::_maintenance_window_execution::MaintenanceWindowExecutionBuilder;
         143  +
         144  +
pub use crate::types::_maintenance_window_execution_task_invocation_identity::MaintenanceWindowExecutionTaskInvocationIdentityBuilder;
         145  +
         146  +
pub use crate::types::_maintenance_window_execution_task_identity::MaintenanceWindowExecutionTaskIdentityBuilder;
         147  +
         148  +
pub use crate::types::_maintenance_window_identity::MaintenanceWindowIdentityBuilder;
         149  +
         150  +
pub use crate::types::_scheduled_window_execution::ScheduledWindowExecutionBuilder;
         151  +
         152  +
pub use crate::types::_maintenance_window_identity_for_target::MaintenanceWindowIdentityForTargetBuilder;
         153  +
         154  +
pub use crate::types::_maintenance_window_target::MaintenanceWindowTargetBuilder;
         155  +
         156  +
pub use crate::types::_maintenance_window_task::MaintenanceWindowTaskBuilder;
         157  +
         158  +
pub use crate::types::_ops_item_filter::OpsItemFilterBuilder;
         159  +
         160  +
pub use crate::types::_ops_item_summary::OpsItemSummaryBuilder;
         161  +
         162  +
pub use crate::types::_parameters_filter::ParametersFilterBuilder;
         163  +
         164  +
pub use crate::types::_parameter_string_filter::ParameterStringFilterBuilder;
         165  +
         166  +
pub use crate::types::_parameter_metadata::ParameterMetadataBuilder;
         167  +
         168  +
pub use crate::types::_patch_baseline_identity::PatchBaselineIdentityBuilder;
         169  +
         170  +
pub use crate::types::_patch_group_patch_baseline_mapping::PatchGroupPatchBaselineMappingBuilder;
         171  +
         172  +
pub use crate::types::_session_filter::SessionFilterBuilder;
         173  +
         174  +
pub use crate::types::_session::SessionBuilder;
         175  +
         176  +
pub use crate::types::_resolved_targets::ResolvedTargetsBuilder;
         177  +
         178  +
pub use crate::types::_progress_counters::ProgressCountersBuilder;
         179  +
         180  +
pub use crate::types::_attachment_content::AttachmentContentBuilder;
         181  +
         182  +
pub use crate::types::_automation_execution_preview::AutomationExecutionPreviewBuilder;
         183  +
         184  +
pub use crate::types::_inventory_filter::InventoryFilterBuilder;
         185  +
         186  +
pub use crate::types::_inventory_aggregator::InventoryAggregatorBuilder;
         187  +
         188  +
pub use crate::types::_result_attribute::ResultAttributeBuilder;
         189  +
         190  +
pub use crate::types::_inventory_result_entity::InventoryResultEntityBuilder;
         191  +
         192  +
pub use crate::types::_inventory_item_schema::InventoryItemSchemaBuilder;
         193  +
         194  +
pub use crate::types::_alarm_state_information::AlarmStateInformationBuilder;
         195  +
         196  +
pub use crate::types::_maintenance_window_task_parameter_value_expression::MaintenanceWindowTaskParameterValueExpressionBuilder;
         197  +
         198  +
pub use crate::types::_maintenance_window_run_command_parameters::MaintenanceWindowRunCommandParametersBuilder;
         199  +
         200  +
pub use crate::types::_maintenance_window_automation_parameters::MaintenanceWindowAutomationParametersBuilder;
         201  +
         202  +
pub use crate::types::_maintenance_window_step_functions_parameters::MaintenanceWindowStepFunctionsParametersBuilder;
         203  +
         204  +
pub use crate::types::_maintenance_window_lambda_parameters::MaintenanceWindowLambdaParametersBuilder;
         205  +
         206  +
pub use crate::types::_ops_filter::OpsFilterBuilder;
         207  +
         208  +
pub use crate::types::_ops_aggregator::OpsAggregatorBuilder;
         209  +
         210  +
pub use crate::types::_ops_result_attribute::OpsResultAttributeBuilder;
         211  +
         212  +
pub use crate::types::_ops_entity::OpsEntityBuilder;
         213  +
         214  +
pub use crate::types::_parameter_history::ParameterHistoryBuilder;
         215  +
         216  +
pub use crate::types::_get_resource_policies_response_entry::GetResourcePoliciesResponseEntryBuilder;
         217  +
         218  +
pub use crate::types::_association_filter::AssociationFilterBuilder;
         219  +
         220  +
pub use crate::types::_association::AssociationBuilder;
         221  +
         222  +
pub use crate::types::_association_version_info::AssociationVersionInfoBuilder;
         223  +
         224  +
pub use crate::types::_cloud_connector_filter::CloudConnectorFilterBuilder;
         225  +
         226  +
pub use crate::types::_cloud_connector_summary::CloudConnectorSummaryBuilder;
         227  +
         228  +
pub use crate::types::_command_filter::CommandFilterBuilder;
         229  +
         230  +
pub use crate::types::_command_invocation::CommandInvocationBuilder;
         231  +
         232  +
pub use crate::types::_compliance_string_filter::ComplianceStringFilterBuilder;
         233  +
         234  +
pub use crate::types::_compliance_item::ComplianceItemBuilder;
         235  +
         236  +
pub use crate::types::_compliance_summary_item::ComplianceSummaryItemBuilder;
         237  +
         238  +
pub use crate::types::_document_filter::DocumentFilterBuilder;
         239  +
         240  +
pub use crate::types::_document_key_values_filter::DocumentKeyValuesFilterBuilder;
         241  +
         242  +
pub use crate::types::_document_identifier::DocumentIdentifierBuilder;
         243  +
         244  +
pub use crate::types::_document_version_info::DocumentVersionInfoBuilder;
         245  +
         246  +
pub use crate::types::_node_filter::NodeFilterBuilder;
         247  +
         248  +
pub use crate::types::_node::NodeBuilder;
         249  +
         250  +
pub use crate::types::_node_aggregator::NodeAggregatorBuilder;
         251  +
         252  +
pub use crate::types::_ops_item_event_filter::OpsItemEventFilterBuilder;
         253  +
         254  +
pub use crate::types::_ops_item_event_summary::OpsItemEventSummaryBuilder;
         255  +
         256  +
pub use crate::types::_ops_item_related_items_filter::OpsItemRelatedItemsFilterBuilder;
         257  +
         258  +
pub use crate::types::_ops_item_related_item_summary::OpsItemRelatedItemSummaryBuilder;
         259  +
         260  +
pub use crate::types::_ops_metadata_filter::OpsMetadataFilterBuilder;
         261  +
         262  +
pub use crate::types::_ops_metadata::OpsMetadataBuilder;
         263  +
         264  +
pub use crate::types::_resource_compliance_summary_item::ResourceComplianceSummaryItemBuilder;
         265  +
         266  +
pub use crate::types::_resource_data_sync_item::ResourceDataSyncItemBuilder;
         267  +
         268  +
pub use crate::types::_compliance_item_entry::ComplianceItemEntryBuilder;
         269  +
         270  +
pub use crate::types::_inventory_item::InventoryItemBuilder;
         271  +
         272  +
pub use crate::types::_runbook::RunbookBuilder;
         273  +
         274  +
pub use crate::types::_automation_execution_inputs::AutomationExecutionInputsBuilder;
         275  +
         276  +
pub use crate::types::_validation_finding::ValidationFindingBuilder;
         277  +
         278  +
pub use crate::types::_alarm::AlarmBuilder;
         279  +
         280  +
pub use crate::types::_document_parameter::DocumentParameterBuilder;
         281  +
         282  +
pub use crate::types::_attachment_information::AttachmentInformationBuilder;
         283  +
         284  +
pub use crate::types::_review_information::ReviewInformationBuilder;
         285  +
         286  +
pub use crate::types::_patch_filter::PatchFilterBuilder;
         287  +
         288  +
pub use crate::types::_patch_rule::PatchRuleBuilder;
         289  +
         290  +
pub use crate::types::_inventory_deletion_summary_item::InventoryDeletionSummaryItemBuilder;
         291  +
         292  +
pub use crate::types::_output_source::OutputSourceBuilder;
         293  +
         294  +
pub use crate::types::_failure_details::FailureDetailsBuilder;
         295  +
         296  +
pub use crate::types::_parent_step_details::ParentStepDetailsBuilder;
         297  +
         298  +
pub use crate::types::_patch_status::PatchStatusBuilder;
         299  +
         300  +
pub use crate::types::_instance_association_output_url::InstanceAssociationOutputUrlBuilder;
         301  +
         302  +
pub use crate::types::_instance_aggregated_association_overview::InstanceAggregatedAssociationOverviewBuilder;
         303  +
         304  +
pub use crate::types::_session_manager_output_url::SessionManagerOutputUrlBuilder;
         305  +
         306  +
pub use crate::types::_compliant_summary::CompliantSummaryBuilder;
         307  +
         308  +
pub use crate::types::_non_compliant_summary::NonCompliantSummaryBuilder;
         309  +
         310  +
pub use crate::types::_document_reviewer_response_source::DocumentReviewerResponseSourceBuilder;
         311  +
         312  +
pub use crate::types::_node_owner_info::NodeOwnerInfoBuilder;
         313  +
         314  +
pub use crate::types::_ops_item_identity::OpsItemIdentityBuilder;
         315  +
         316  +
pub use crate::types::_resource_data_sync_source_with_state::ResourceDataSyncSourceWithStateBuilder;
         317  +
         318  +
pub use crate::types::_document_review_comment_source::DocumentReviewCommentSourceBuilder;
         319  +
         320  +
pub use crate::types::_validation_finding_scope::ValidationFindingScopeBuilder;
         321  +
         322  +
pub use crate::types::_resource_data_sync_organizational_unit::ResourceDataSyncOrganizationalUnitBuilder;
         323  +
         324  +
pub use crate::types::_s3_output_url::S3OutputUrlBuilder;
         325  +
         326  +
pub use crate::types::_parameter_inline_policy::ParameterInlinePolicyBuilder;
         327  +
         328  +
pub use crate::types::_target_preview::TargetPreviewBuilder;
         329  +
         330  +
pub use crate::types::_inventory_group::InventoryGroupBuilder;
         331  +
         332  +
pub use crate::types::_inventory_result_item::InventoryResultItemBuilder;
         333  +
         334  +
pub use crate::types::_inventory_item_attribute::InventoryItemAttributeBuilder;
         335  +
         336  +
pub use crate::types::_ops_entity_item::OpsEntityItemBuilder;
         337  +
         338  +
pub use crate::types::_command_plugin::CommandPluginBuilder;
         339  +
         340  +
pub use crate::types::_severity_summary::SeveritySummaryBuilder;
         341  +
         342  +
pub use crate::types::_instance_info::InstanceInfoBuilder;
         343  +
         344  +
pub use crate::types::_azure_subscription::AzureSubscriptionBuilder;