AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_access_grants_instance_resource_policy.rs

@@ -239,239 +300,302 @@
  259    259   
                _input
  260    260   
                    .account_id
  261    261   
                    .clone()
  262    262   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  263    263   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  264    264   
            ))
  265    265   
            .build()
  266    266   
            .map_err(|err| {
  267    267   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  268    268   
            })?;
         269  +
  269    270   
        cfg.interceptor_state()
  270    271   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         272  +
  271    273   
        ::std::result::Result::Ok(())
  272    274   
    }
  273    275   
}
  274    276   
  275    277   
// The get_* functions below are generated from JMESPath expressions in the
  276    278   
// operationContextParams trait. They target the operation's input shape.
  277    279   
  278    280   
/// Error type for the `PutAccessGrantsInstanceResourcePolicyError` operation.
  279    281   
#[non_exhaustive]
  280    282   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_access_point_configuration_for_object_lambda.rs

@@ -242,242 +303,305 @@
  262    262   
                _input
  263    263   
                    .account_id
  264    264   
                    .clone()
  265    265   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  266    266   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  267    267   
            ))
  268    268   
            .build()
  269    269   
            .map_err(|err| {
  270    270   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  271    271   
            })?;
         272  +
  272    273   
        cfg.interceptor_state()
  273    274   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         275  +
  274    276   
        ::std::result::Result::Ok(())
  275    277   
    }
  276    278   
}
  277    279   
  278    280   
// The get_* functions below are generated from JMESPath expressions in the
  279    281   
// operationContextParams trait. They target the operation's input shape.
  280    282   
  281    283   
/// Error type for the `PutAccessPointConfigurationForObjectLambdaError` operation.
  282    284   
#[non_exhaustive]
  283    285   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_access_point_policy.rs

@@ -244,244 +305,307 @@
  264    264   
                _input
  265    265   
                    .name
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("name", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
  274    275   
        cfg.interceptor_state()
  275    276   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         277  +
  276    278   
        ::std::result::Result::Ok(())
  277    279   
    }
  278    280   
}
  279    281   
  280    282   
// The get_* functions below are generated from JMESPath expressions in the
  281    283   
// operationContextParams trait. They target the operation's input shape.
  282    284   
  283    285   
/// Error type for the `PutAccessPointPolicyError` operation.
  284    286   
#[non_exhaustive]
  285    287   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_access_point_policy_for_object_lambda.rs

@@ -250,250 +311,313 @@
  270    270   
                _input
  271    271   
                    .account_id
  272    272   
                    .clone()
  273    273   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  274    274   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  275    275   
            ))
  276    276   
            .build()
  277    277   
            .map_err(|err| {
  278    278   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  279    279   
            })?;
         280  +
  280    281   
        cfg.interceptor_state()
  281    282   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         283  +
  282    284   
        ::std::result::Result::Ok(())
  283    285   
    }
  284    286   
}
  285    287   
  286    288   
// The get_* functions below are generated from JMESPath expressions in the
  287    289   
// operationContextParams trait. They target the operation's input shape.
  288    290   
  289    291   
/// Error type for the `PutAccessPointPolicyForObjectLambdaError` operation.
  290    292   
#[non_exhaustive]
  291    293   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_access_point_scope.rs

@@ -245,245 +306,308 @@
  265    265   
                _input
  266    266   
                    .name
  267    267   
                    .clone()
  268    268   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  269    269   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("name", "A required field was not set"))?,
  270    270   
            ))
  271    271   
            .build()
  272    272   
            .map_err(|err| {
  273    273   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  274    274   
            })?;
         275  +
  275    276   
        cfg.interceptor_state()
  276    277   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         278  +
  277    279   
        ::std::result::Result::Ok(())
  278    280   
    }
  279    281   
}
  280    282   
  281    283   
// The get_* functions below are generated from JMESPath expressions in the
  282    284   
// operationContextParams trait. They target the operation's input shape.
  283    285   
  284    286   
/// Error type for the `PutAccessPointScopeError` operation.
  285    287   
#[non_exhaustive]
  286    288   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_lifecycle_configuration.rs

@@ -255,255 +316,318 @@
  275    275   
                _input
  276    276   
                    .bucket
  277    277   
                    .clone()
  278    278   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  279    279   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  280    280   
            ))
  281    281   
            .build()
  282    282   
            .map_err(|err| {
  283    283   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  284    284   
            })?;
         285  +
  285    286   
        cfg.interceptor_state()
  286    287   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         288  +
  287    289   
        ::std::result::Result::Ok(())
  288    290   
    }
  289    291   
}
  290    292   
  291    293   
// The get_* functions below are generated from JMESPath expressions in the
  292    294   
// operationContextParams trait. They target the operation's input shape.
  293    295   
  294    296   
/// Error type for the `PutBucketLifecycleConfigurationError` operation.
  295    297   
#[non_exhaustive]
  296    298   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_policy.rs

@@ -242,242 +303,305 @@
  262    262   
                _input
  263    263   
                    .bucket
  264    264   
                    .clone()
  265    265   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  266    266   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  267    267   
            ))
  268    268   
            .build()
  269    269   
            .map_err(|err| {
  270    270   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  271    271   
            })?;
         272  +
  272    273   
        cfg.interceptor_state()
  273    274   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         275  +
  274    276   
        ::std::result::Result::Ok(())
  275    277   
    }
  276    278   
}
  277    279   
  278    280   
// The get_* functions below are generated from JMESPath expressions in the
  279    281   
// operationContextParams trait. They target the operation's input shape.
  280    282   
  281    283   
/// Error type for the `PutBucketPolicyError` operation.
  282    284   
#[non_exhaustive]
  283    285   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_replication.rs

@@ -244,244 +305,307 @@
  264    264   
                _input
  265    265   
                    .bucket
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
  274    275   
        cfg.interceptor_state()
  275    276   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         277  +
  276    278   
        ::std::result::Result::Ok(())
  277    279   
    }
  278    280   
}
  279    281   
  280    282   
// The get_* functions below are generated from JMESPath expressions in the
  281    283   
// operationContextParams trait. They target the operation's input shape.
  282    284   
  283    285   
/// Error type for the `PutBucketReplicationError` operation.
  284    286   
#[non_exhaustive]
  285    287   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_tagging.rs

@@ -244,244 +305,307 @@
  264    264   
                _input
  265    265   
                    .bucket
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
  274    275   
        cfg.interceptor_state()
  275    276   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         277  +
  276    278   
        ::std::result::Result::Ok(())
  277    279   
    }
  278    280   
}
  279    281   
  280    282   
// The get_* functions below are generated from JMESPath expressions in the
  281    283   
// operationContextParams trait. They target the operation's input shape.
  282    284   
  283    285   
/// Error type for the `PutBucketTaggingError` operation.
  284    286   
#[non_exhaustive]
  285    287   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_versioning.rs

@@ -244,244 +305,307 @@
  264    264   
                _input
  265    265   
                    .bucket
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
  274    275   
        cfg.interceptor_state()
  275    276   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         277  +
  276    278   
        ::std::result::Result::Ok(())
  277    279   
    }
  278    280   
}
  279    281   
  280    282   
// The get_* functions below are generated from JMESPath expressions in the
  281    283   
// operationContextParams trait. They target the operation's input shape.
  282    284   
  283    285   
/// Error type for the `PutBucketVersioningError` operation.
  284    286   
#[non_exhaustive]
  285    287   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_job_tagging.rs

@@ -235,235 +296,298 @@
  255    255   
                _input
  256    256   
                    .account_id
  257    257   
                    .clone()
  258    258   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  259    259   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  260    260   
            ))
  261    261   
            .build()
  262    262   
            .map_err(|err| {
  263    263   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  264    264   
            })?;
         265  +
  265    266   
        cfg.interceptor_state()
  266    267   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         268  +
  267    269   
        ::std::result::Result::Ok(())
  268    270   
    }
  269    271   
}
  270    272   
  271    273   
// The get_* functions below are generated from JMESPath expressions in the
  272    274   
// operationContextParams trait. They target the operation's input shape.
  273    275   
  274    276   
/// Error type for the `PutJobTaggingError` operation.
  275    277   
#[non_exhaustive]
  276    278   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_multi_region_access_point_policy.rs

@@ -248,248 +309,311 @@
  268    268   
                _input
  269    269   
                    .account_id
  270    270   
                    .clone()
  271    271   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  272    272   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  273    273   
            ))
  274    274   
            .build()
  275    275   
            .map_err(|err| {
  276    276   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  277    277   
            })?;
         278  +
  278    279   
        cfg.interceptor_state()
  279    280   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         281  +
  280    282   
        ::std::result::Result::Ok(())
  281    283   
    }
  282    284   
}
  283    285   
  284    286   
// The get_* functions below are generated from JMESPath expressions in the
  285    287   
// operationContextParams trait. They target the operation's input shape.
  286    288   
  287    289   
/// Error type for the `PutMultiRegionAccessPointPolicyError` operation.
  288    290   
#[non_exhaustive]
  289    291   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_public_access_block.rs

@@ -228,228 +289,291 @@
  248    248   
                _input
  249    249   
                    .account_id
  250    250   
                    .clone()
  251    251   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  252    252   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  253    253   
            ))
  254    254   
            .build()
  255    255   
            .map_err(|err| {
  256    256   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  257    257   
            })?;
         258  +
  258    259   
        cfg.interceptor_state()
  259    260   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         261  +
  260    262   
        ::std::result::Result::Ok(())
  261    263   
    }
  262    264   
}
  263    265   
  264    266   
// The get_* functions below are generated from JMESPath expressions in the
  265    267   
// operationContextParams trait. They target the operation's input shape.
  266    268   
  267    269   
/// Error type for the `PutPublicAccessBlockError` operation.
  268    270   
#[non_exhaustive]
  269    271   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_storage_lens_configuration.rs

@@ -244,244 +305,307 @@
  264    264   
                _input
  265    265   
                    .account_id
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
  274    275   
        cfg.interceptor_state()
  275    276   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         277  +
  276    278   
        ::std::result::Result::Ok(())
  277    279   
    }
  278    280   
}
  279    281   
  280    282   
// The get_* functions below are generated from JMESPath expressions in the
  281    283   
// operationContextParams trait. They target the operation's input shape.
  282    284   
  283    285   
/// Error type for the `PutStorageLensConfigurationError` operation.
  284    286   
#[non_exhaustive]
  285    287   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_storage_lens_configuration_tagging.rs

@@ -250,250 +311,313 @@
  270    270   
                _input
  271    271   
                    .account_id
  272    272   
                    .clone()
  273    273   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  274    274   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  275    275   
            ))
  276    276   
            .build()
  277    277   
            .map_err(|err| {
  278    278   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  279    279   
            })?;
         280  +
  280    281   
        cfg.interceptor_state()
  281    282   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         283  +
  282    284   
        ::std::result::Result::Ok(())
  283    285   
    }
  284    286   
}
  285    287   
  286    288   
// The get_* functions below are generated from JMESPath expressions in the
  287    289   
// operationContextParams trait. They target the operation's input shape.
  288    290   
  289    291   
/// Error type for the `PutStorageLensConfigurationTaggingError` operation.
  290    292   
#[non_exhaustive]
  291    293   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/submit_multi_region_access_point_routes.rs

@@ -250,250 +311,313 @@
  270    270   
                _input
  271    271   
                    .account_id
  272    272   
                    .clone()
  273    273   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  274    274   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("account_id", "A required field was not set"))?,
  275    275   
            ))
  276    276   
            .build()
  277    277   
            .map_err(|err| {
  278    278   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  279    279   
            })?;
         280  +
  280    281   
        cfg.interceptor_state()
  281    282   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         283  +
  282    284   
        ::std::result::Result::Ok(())
  283    285   
    }
  284    286   
}
  285    287   
  286    288   
// The get_* functions below are generated from JMESPath expressions in the
  287    289   
// operationContextParams trait. They target the operation's input shape.
  288    290   
  289    291   
/// Error type for the `SubmitMultiRegionAccessPointRoutesError` operation.
  290    292   
#[non_exhaustive]
  291    293   
#[derive(::std::fmt::Debug)]