AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Force the SDK to load and apply the given endpoints details (eg: an updated endpoints.json file). Service clients created after this call will be set up with endpoints based on this information. This function should only be used at application startup, before creating service clients. Known Caveats: * static readonly fields (eg: Amazon.RegionEndpoint.USEast1) are not updated. If you use this function, you should use Amazon.RegionEndpoint.GetEndpoint(System.String,System.String) with explicit region system names to ensure you work with RegionEndpoint objects containing the reloaded data. RegionEndpoint objects returned from GetEndpoint will generally fail Equality comparisons against the static fields. * Service clients created before calling Reload have no guarantee around which endpoint data will be used.
Namespace: Amazon
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public void Reload(
Stream stream
)
Stream containing an Endpoints manifest to reload in the SDK. Pass null in to reset the SDK, so that it uses its built-in manifest instead.
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5