AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_transit_gateway_multicast_domain_associations.rs

@@ -220,220 +281,283 @@
  240    240   
  241    241   
        let params = crate::config::endpoint::Params::builder()
  242    242   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  243    243   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  244    244   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  245    245   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  246    246   
            .build()
  247    247   
            .map_err(|err| {
  248    248   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  249    249   
            })?;
         250  +
  250    251   
        cfg.interceptor_state()
  251    252   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         253  +
  252    254   
        ::std::result::Result::Ok(())
  253    255   
    }
  254    256   
}
  255    257   
  256    258   
// The get_* functions below are generated from JMESPath expressions in the
  257    259   
// operationContextParams trait. They target the operation's input shape.
  258    260   
  259    261   
/// Error type for the `GetTransitGatewayMulticastDomainAssociationsError` operation.
  260    262   
#[non_exhaustive]
  261    263   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_transit_gateway_policy_table_associations.rs

@@ -224,224 +285,287 @@
  244    244   
  245    245   
        let params = crate::config::endpoint::Params::builder()
  246    246   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  247    247   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  248    248   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  249    249   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  250    250   
            .build()
  251    251   
            .map_err(|err| {
  252    252   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  253    253   
            })?;
         254  +
  254    255   
        cfg.interceptor_state()
  255    256   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         257  +
  256    258   
        ::std::result::Result::Ok(())
  257    259   
    }
  258    260   
}
  259    261   
  260    262   
// The get_* functions below are generated from JMESPath expressions in the
  261    263   
// operationContextParams trait. They target the operation's input shape.
  262    264   
  263    265   
/// Error type for the `GetTransitGatewayPolicyTableAssociationsError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_transit_gateway_policy_table_entries.rs

@@ -224,224 +285,287 @@
  244    244   
  245    245   
        let params = crate::config::endpoint::Params::builder()
  246    246   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  247    247   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  248    248   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  249    249   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  250    250   
            .build()
  251    251   
            .map_err(|err| {
  252    252   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  253    253   
            })?;
         254  +
  254    255   
        cfg.interceptor_state()
  255    256   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         257  +
  256    258   
        ::std::result::Result::Ok(())
  257    259   
    }
  258    260   
}
  259    261   
  260    262   
// The get_* functions below are generated from JMESPath expressions in the
  261    263   
// operationContextParams trait. They target the operation's input shape.
  262    264   
  263    265   
/// Error type for the `GetTransitGatewayPolicyTableEntriesError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_transit_gateway_prefix_list_references.rs

@@ -224,224 +285,287 @@
  244    244   
  245    245   
        let params = crate::config::endpoint::Params::builder()
  246    246   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  247    247   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  248    248   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  249    249   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  250    250   
            .build()
  251    251   
            .map_err(|err| {
  252    252   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  253    253   
            })?;
         254  +
  254    255   
        cfg.interceptor_state()
  255    256   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         257  +
  256    258   
        ::std::result::Result::Ok(())
  257    259   
    }
  258    260   
}
  259    261   
  260    262   
// The get_* functions below are generated from JMESPath expressions in the
  261    263   
// operationContextParams trait. They target the operation's input shape.
  262    264   
  263    265   
/// Error type for the `GetTransitGatewayPrefixListReferencesError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_transit_gateway_route_table_associations.rs

@@ -224,224 +285,287 @@
  244    244   
  245    245   
        let params = crate::config::endpoint::Params::builder()
  246    246   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  247    247   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  248    248   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  249    249   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  250    250   
            .build()
  251    251   
            .map_err(|err| {
  252    252   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  253    253   
            })?;
         254  +
  254    255   
        cfg.interceptor_state()
  255    256   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         257  +
  256    258   
        ::std::result::Result::Ok(())
  257    259   
    }
  258    260   
}
  259    261   
  260    262   
// The get_* functions below are generated from JMESPath expressions in the
  261    263   
// operationContextParams trait. They target the operation's input shape.
  262    264   
  263    265   
/// Error type for the `GetTransitGatewayRouteTableAssociationsError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_transit_gateway_route_table_propagations.rs

@@ -224,224 +285,287 @@
  244    244   
  245    245   
        let params = crate::config::endpoint::Params::builder()
  246    246   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  247    247   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  248    248   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  249    249   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  250    250   
            .build()
  251    251   
            .map_err(|err| {
  252    252   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  253    253   
            })?;
         254  +
  254    255   
        cfg.interceptor_state()
  255    256   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         257  +
  256    258   
        ::std::result::Result::Ok(())
  257    259   
    }
  258    260   
}
  259    261   
  260    262   
// The get_* functions below are generated from JMESPath expressions in the
  261    263   
// operationContextParams trait. They target the operation's input shape.
  262    264   
  263    265   
/// Error type for the `GetTransitGatewayRouteTablePropagationsError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_verified_access_endpoint_policy.rs

@@ -226,226 +287,289 @@
  246    246   
  247    247   
        let params = crate::config::endpoint::Params::builder()
  248    248   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  249    249   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  250    250   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  251    251   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  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 `GetVerifiedAccessEndpointPolicyError` operation.
  266    268   
#[non_exhaustive]
  267    269   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_verified_access_group_policy.rs

@@ -216,216 +277,279 @@
  236    236   
  237    237   
        let params = crate::config::endpoint::Params::builder()
  238    238   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  239    239   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  240    240   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  241    241   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  242    242   
            .build()
  243    243   
            .map_err(|err| {
  244    244   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  245    245   
            })?;
         246  +
  246    247   
        cfg.interceptor_state()
  247    248   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         249  +
  248    250   
        ::std::result::Result::Ok(())
  249    251   
    }
  250    252   
}
  251    253   
  252    254   
// The get_* functions below are generated from JMESPath expressions in the
  253    255   
// operationContextParams trait. They target the operation's input shape.
  254    256   
  255    257   
/// Error type for the `GetVerifiedAccessGroupPolicyError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_vpn_connection_device_sample_configuration.rs

@@ -224,224 +285,287 @@
  244    244   
  245    245   
        let params = crate::config::endpoint::Params::builder()
  246    246   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  247    247   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  248    248   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  249    249   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  250    250   
            .build()
  251    251   
            .map_err(|err| {
  252    252   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  253    253   
            })?;
         254  +
  254    255   
        cfg.interceptor_state()
  255    256   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         257  +
  256    258   
        ::std::result::Result::Ok(())
  257    259   
    }
  258    260   
}
  259    261   
  260    262   
// The get_* functions below are generated from JMESPath expressions in the
  261    263   
// operationContextParams trait. They target the operation's input shape.
  262    264   
  263    265   
/// Error type for the `GetVpnConnectionDeviceSampleConfigurationError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_vpn_connection_device_types.rs

@@ -216,216 +277,279 @@
  236    236   
  237    237   
        let params = crate::config::endpoint::Params::builder()
  238    238   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  239    239   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  240    240   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  241    241   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  242    242   
            .build()
  243    243   
            .map_err(|err| {
  244    244   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  245    245   
            })?;
         246  +
  246    247   
        cfg.interceptor_state()
  247    248   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         249  +
  248    250   
        ::std::result::Result::Ok(())
  249    251   
    }
  250    252   
}
  251    253   
  252    254   
// The get_* functions below are generated from JMESPath expressions in the
  253    255   
// operationContextParams trait. They target the operation's input shape.
  254    256   
  255    257   
/// Error type for the `GetVpnConnectionDeviceTypesError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/get_vpn_tunnel_replacement_status.rs

@@ -216,216 +277,279 @@
  236    236   
  237    237   
        let params = crate::config::endpoint::Params::builder()
  238    238   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  239    239   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  240    240   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  241    241   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  242    242   
            .build()
  243    243   
            .map_err(|err| {
  244    244   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  245    245   
            })?;
         246  +
  246    247   
        cfg.interceptor_state()
  247    248   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         249  +
  248    250   
        ::std::result::Result::Ok(())
  249    251   
    }
  250    252   
}
  251    253   
  252    254   
// The get_* functions below are generated from JMESPath expressions in the
  253    255   
// operationContextParams trait. They target the operation's input shape.
  254    256   
  255    257   
/// Error type for the `GetVpnTunnelReplacementStatusError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/import_client_vpn_client_certificate_revocation_list.rs

@@ -216,216 +277,279 @@
  236    236   
  237    237   
        let params = crate::config::endpoint::Params::builder()
  238    238   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  239    239   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  240    240   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  241    241   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  242    242   
            .build()
  243    243   
            .map_err(|err| {
  244    244   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  245    245   
            })?;
         246  +
  246    247   
        cfg.interceptor_state()
  247    248   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         249  +
  248    250   
        ::std::result::Result::Ok(())
  249    251   
    }
  250    252   
}
  251    253   
  252    254   
// The get_* functions below are generated from JMESPath expressions in the
  253    255   
// operationContextParams trait. They target the operation's input shape.
  254    256   
  255    257   
/// Error type for the `ImportClientVpnClientCertificateRevocationListError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/import_image.rs

@@ -214,214 +275,277 @@
  234    234   
  235    235   
        let params = crate::config::endpoint::Params::builder()
  236    236   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  237    237   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  238    238   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  239    239   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  240    240   
            .build()
  241    241   
            .map_err(|err| {
  242    242   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  243    243   
            })?;
         244  +
  244    245   
        cfg.interceptor_state()
  245    246   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         247  +
  246    248   
        ::std::result::Result::Ok(())
  247    249   
    }
  248    250   
}
  249    251   
  250    252   
// The get_* functions below are generated from JMESPath expressions in the
  251    253   
// operationContextParams trait. They target the operation's input shape.
  252    254   
  253    255   
/// Error type for the `ImportImageError` operation.
  254    256   
#[non_exhaustive]
  255    257   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/import_instance.rs

@@ -214,214 +275,277 @@
  234    234   
  235    235   
        let params = crate::config::endpoint::Params::builder()
  236    236   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  237    237   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  238    238   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  239    239   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  240    240   
            .build()
  241    241   
            .map_err(|err| {
  242    242   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  243    243   
            })?;
         244  +
  244    245   
        cfg.interceptor_state()
  245    246   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         247  +
  246    248   
        ::std::result::Result::Ok(())
  247    249   
    }
  248    250   
}
  249    251   
  250    252   
// The get_* functions below are generated from JMESPath expressions in the
  251    253   
// operationContextParams trait. They target the operation's input shape.
  252    254   
  253    255   
/// Error type for the `ImportInstanceError` operation.
  254    256   
#[non_exhaustive]
  255    257   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/import_key_pair.rs

@@ -213,213 +274,276 @@
  233    233   
  234    234   
        let params = crate::config::endpoint::Params::builder()
  235    235   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  236    236   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  237    237   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  238    238   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  239    239   
            .build()
  240    240   
            .map_err(|err| {
  241    241   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  242    242   
            })?;
         243  +
  243    244   
        cfg.interceptor_state()
  244    245   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         246  +
  245    247   
        ::std::result::Result::Ok(())
  246    248   
    }
  247    249   
}
  248    250   
  249    251   
// The get_* functions below are generated from JMESPath expressions in the
  250    252   
// operationContextParams trait. They target the operation's input shape.
  251    253   
  252    254   
/// Error type for the `ImportKeyPairError` operation.
  253    255   
#[non_exhaustive]
  254    256   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/import_snapshot.rs

@@ -214,214 +275,277 @@
  234    234   
  235    235   
        let params = crate::config::endpoint::Params::builder()
  236    236   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  237    237   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  238    238   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  239    239   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  240    240   
            .build()
  241    241   
            .map_err(|err| {
  242    242   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  243    243   
            })?;
         244  +
  244    245   
        cfg.interceptor_state()
  245    246   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         247  +
  246    248   
        ::std::result::Result::Ok(())
  247    249   
    }
  248    250   
}
  249    251   
  250    252   
// The get_* functions below are generated from JMESPath expressions in the
  251    253   
// operationContextParams trait. They target the operation's input shape.
  252    254   
  253    255   
/// Error type for the `ImportSnapshotError` operation.
  254    256   
#[non_exhaustive]
  255    257   
#[derive(::std::fmt::Debug)]