AWS SDK

AWS SDK

rev. 27102829f69b2cfe3a9ca9e69ae64d1ea40f9865 (ignoring whitespace)

Files changed:

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

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

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/delete_access_grants_location.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 `DeleteAccessGrantsLocationError` operation.
  282    284   
#[non_exhaustive]
  283    285   
#[derive(::std::fmt::Debug)]

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/delete_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 `DeleteAccessPointPolicyError` operation.
  284    286   
#[non_exhaustive]
  285    287   
#[derive(::std::fmt::Debug)]

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

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

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

@@ -239,239 +300,302 @@
  259    259   
                _input
  260    260   
                    .name
  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("name", "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 `DeleteAccessPointScopeError` operation.
  279    281   
#[non_exhaustive]
  280    282   
#[derive(::std::fmt::Debug)]

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

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

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

@@ -250,250 +311,313 @@
  270    270   
                _input
  271    271   
                    .bucket
  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("bucket", "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 `DeleteBucketLifecycleConfigurationError` operation.
  290    292   
#[non_exhaustive]
  291    293   
#[derive(::std::fmt::Debug)]

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/delete_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 `DeleteBucketReplicationError` operation.
  284    286   
#[non_exhaustive]
  285    287   
#[derive(::std::fmt::Debug)]

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

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

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

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

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

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