AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581 (ignoring whitespace)

Files changed:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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