AWS SDK

AWS SDK

rev. a23878c81aa229b05ce2d03d6aa4e35b4eb4ed5a (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_configuration_recorder_summaries.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_configuration_recorder_summary::de_configuration_recorder_summary(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_conformance_pack_compliance_scores.rs

@@ -1,1 +37,41 @@
   17     17   
                match tokens.peek() {
   18     18   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   19     19   
                        tokens.next().transpose().unwrap();
   20     20   
                        break;
   21     21   
                    }
   22     22   
                    _ => {
   23     23   
                        let value =
   24     24   
                            crate::protocol_serde::shape_conformance_pack_compliance_score::de_conformance_pack_compliance_score(tokens, _value)?;
   25     25   
                        if let Some(value) = value {
   26     26   
                            items.push(value);
          27  +
                        } else {
          28  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          29  +
                                "dense list cannot contain null values",
          30  +
                            ));
   27     31   
                        }
   28     32   
                    }
   29     33   
                }
   30     34   
            }
   31     35   
            Ok(Some(items))
   32     36   
        }
   33     37   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   34     38   
            "expected start array or null",
   35     39   
        )),
   36     40   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_conformance_pack_compliance_summary_list.rs

@@ -1,1 +37,41 @@
   17     17   
                match tokens.peek() {
   18     18   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   19     19   
                        tokens.next().transpose().unwrap();
   20     20   
                        break;
   21     21   
                    }
   22     22   
                    _ => {
   23     23   
                        let value =
   24     24   
                            crate::protocol_serde::shape_conformance_pack_compliance_summary::de_conformance_pack_compliance_summary(tokens, _value)?;
   25     25   
                        if let Some(value) = value {
   26     26   
                            items.push(value);
          27  +
                        } else {
          28  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          29  +
                                "dense list cannot contain null values",
          30  +
                            ));
   27     31   
                        }
   28     32   
                    }
   29     33   
                }
   30     34   
            }
   31     35   
            Ok(Some(items))
   32     36   
        }
   33     37   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   34     38   
            "expected start array or null",
   35     39   
        )),
   36     40   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_conformance_pack_detail_list.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_conformance_pack_detail::de_conformance_pack_detail(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_conformance_pack_input_parameters.rs

@@ -1,1 +37,41 @@
   17     17   
                match tokens.peek() {
   18     18   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   19     19   
                        tokens.next().transpose().unwrap();
   20     20   
                        break;
   21     21   
                    }
   22     22   
                    _ => {
   23     23   
                        let value =
   24     24   
                            crate::protocol_serde::shape_conformance_pack_input_parameter::de_conformance_pack_input_parameter(tokens, _value)?;
   25     25   
                        if let Some(value) = value {
   26     26   
                            items.push(value);
          27  +
                        } else {
          28  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          29  +
                                "dense list cannot contain null values",
          30  +
                            ));
   27     31   
                        }
   28     32   
                    }
   29     33   
                }
   30     34   
            }
   31     35   
            Ok(Some(items))
   32     36   
        }
   33     37   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   34     38   
            "expected start array or null",
   35     39   
        )),
   36     40   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_conformance_pack_rule_compliance_list.rs

@@ -1,1 +37,41 @@
   17     17   
                match tokens.peek() {
   18     18   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   19     19   
                        tokens.next().transpose().unwrap();
   20     20   
                        break;
   21     21   
                    }
   22     22   
                    _ => {
   23     23   
                        let value =
   24     24   
                            crate::protocol_serde::shape_conformance_pack_rule_compliance::de_conformance_pack_rule_compliance(tokens, _value)?;
   25     25   
                        if let Some(value) = value {
   26     26   
                            items.push(value);
          27  +
                        } else {
          28  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          29  +
                                "dense list cannot contain null values",
          30  +
                            ));
   27     31   
                        }
   28     32   
                    }
   29     33   
                }
   30     34   
            }
   31     35   
            Ok(Some(items))
   32     36   
        }
   33     37   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   34     38   
            "expected start array or null",
   35     39   
        )),
   36     40   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_conformance_pack_rule_evaluation_results_list.rs

@@ -1,1 +37,41 @@
   17     17   
                match tokens.peek() {
   18     18   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   19     19   
                        tokens.next().transpose().unwrap();
   20     20   
                        break;
   21     21   
                    }
   22     22   
                    _ => {
   23     23   
                        let value =
   24     24   
                            crate::protocol_serde::shape_conformance_pack_evaluation_result::de_conformance_pack_evaluation_result(tokens, _value)?;
   25     25   
                        if let Some(value) = value {
   26     26   
                            items.push(value);
          27  +
                        } else {
          28  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          29  +
                                "dense list cannot contain null values",
          30  +
                            ));
   27     31   
                        }
   28     32   
                    }
   29     33   
                }
   30     34   
            }
   31     35   
            Ok(Some(items))
   32     36   
        }
   33     37   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   34     38   
            "expected start array or null",
   35     39   
        )),
   36     40   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_conformance_pack_status_details_list.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_conformance_pack_status_detail::de_conformance_pack_status_detail(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_controls_list.rs

@@ -1,1 +35,39 @@
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())?
   21     21   
                            .map(|s| s.to_unescaped().map(|u| u.into_owned()))
   22     22   
                            .transpose()?;
   23     23   
                        if let Some(value) = value {
   24     24   
                            items.push(value);
          25  +
                        } else {
          26  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          27  +
                                "dense list cannot contain null values",
          28  +
                            ));
   25     29   
                        }
   26     30   
                    }
   27     31   
                }
   28     32   
            }
   29     33   
            Ok(Some(items))
   30     34   
        }
   31     35   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   32     36   
            "expected start array or null",
   33     37   
        )),
   34     38   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_debug_log_delivery_accounts.rs

@@ -1,1 +35,39 @@
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())?
   21     21   
                            .map(|s| s.to_unescaped().map(|u| u.into_owned()))
   22     22   
                            .transpose()?;
   23     23   
                        if let Some(value) = value {
   24     24   
                            items.push(value);
          25  +
                        } else {
          26  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          27  +
                                "dense list cannot contain null values",
          28  +
                            ));
   25     29   
                        }
   26     30   
                    }
   27     31   
                }
   28     32   
            }
   29     33   
            Ok(Some(items))
   30     34   
        }
   31     35   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   32     36   
            "expected start array or null",
   33     37   
        )),
   34     38   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_delivery_channel_list.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_delivery_channel::de_delivery_channel(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_delivery_channel_status_list.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_delivery_channel_status::de_delivery_channel_status(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_discovered_resource_identifier_list.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_aggregate_resource_identifier::de_aggregate_resource_identifier(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_evaluation_modes.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_evaluation_mode_configuration::de_evaluation_mode_configuration(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_evaluation_results.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_evaluation_result::de_evaluation_result(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde/shape_evaluations.rs

@@ -1,1 +33,37 @@
   13     13   
            loop {
   14     14   
                match tokens.peek() {
   15     15   
                    Some(Ok(::aws_smithy_json::deserialize::Token::EndArray { .. })) => {
   16     16   
                        tokens.next().transpose().unwrap();
   17     17   
                        break;
   18     18   
                    }
   19     19   
                    _ => {
   20     20   
                        let value = crate::protocol_serde::shape_evaluation::de_evaluation(tokens, _value)?;
   21     21   
                        if let Some(value) = value {
   22     22   
                            items.push(value);
          23  +
                        } else {
          24  +
                            return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
          25  +
                                "dense list cannot contain null values",
          26  +
                            ));
   23     27   
                        }
   24     28   
                    }
   25     29   
                }
   26     30   
            }
   27     31   
            Ok(Some(items))
   28     32   
        }
   29     33   
        _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(
   30     34   
            "expected start array or null",
   31     35   
        )),
   32     36   
    }