AWS SDK

AWS SDK

rev. 27102829f69b2cfe3a9ca9e69ae64d1ea40f9865 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_volume_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 `DescribeVolumeStatusError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_volumes.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 `DescribeVolumesError` operation.
  253    255   
#[non_exhaustive]
  254    256   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_volumes_modifications.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 `DescribeVolumesModificationsError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_attribute.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 `DescribeVpcAttributeError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_classic_link.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 `DescribeVpcClassicLinkError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

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

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

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_endpoint_service_configurations.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 `DescribeVpcEndpointServiceConfigurationsError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_endpoint_service_permissions.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 `DescribeVpcEndpointServicePermissionsError` operation.
  264    266   
#[non_exhaustive]
  265    267   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_endpoint_services.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 `DescribeVpcEndpointServicesError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_endpoints.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 `DescribeVpcEndpointsError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_peering_connections.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 `DescribeVpcPeeringConnectionsError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpcs.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 `DescribeVpcsError` operation.
  253    255   
#[non_exhaustive]
  254    256   
#[derive(::std::fmt::Debug)]

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpn_gateways.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 `DescribeVpnGatewaysError` operation.
  256    258   
#[non_exhaustive]
  257    259   
#[derive(::std::fmt::Debug)]