Skip to content

Commit

Permalink
run the generator for moving client.DetermineServiceOperationEndpoint…
Browse files Browse the repository at this point in the history
… to clientConfig.DetermineServiceOperationEndpoint
  • Loading branch information
muhammad-othman committed May 2, 2024
1 parent 00e5ac1 commit 9a60607
Show file tree
Hide file tree
Showing 1,162 changed files with 8,819 additions and 8,023 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions sdk/src/Services/ACMPCA/Generated/AmazonACMPCAConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.ACMPCA.Internal;

namespace Amazon.ACMPCA
Expand Down Expand Up @@ -89,5 +90,24 @@ public override string UserAgent
}
}

/// <summary>
/// Returns the endpoint that will be used for a particular request.
/// </summary>
/// <param name="request">Request for the desired service operation.</param>
/// <returns>The resolved endpoint for the given request.</returns>
public override Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, new AWS4Signer())
{
ClientConfig = this,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonACMPCAEndpointResolver();
return resolver.GetEndpoint(executionContext);
}

}
}
11 changes: 1 addition & 10 deletions sdk/src/Services/ACMPCA/Generated/_bcl/AmazonACMPCAClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3257,16 +3257,7 @@ public virtual UpdateCertificateAuthorityResponse UpdateCertificateAuthority(Upd
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonACMPCAEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2093,16 +2093,7 @@ internal virtual UpdateCertificateAuthorityResponse UpdateCertificateAuthority(U
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonACMPCAEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
20 changes: 20 additions & 0 deletions sdk/src/Services/APIGateway/Generated/AmazonAPIGatewayConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.APIGateway.Internal;

namespace Amazon.APIGateway
Expand Down Expand Up @@ -89,5 +90,24 @@ public override string UserAgent
}
}

/// <summary>
/// Returns the endpoint that will be used for a particular request.
/// </summary>
/// <param name="request">Request for the desired service operation.</param>
/// <returns>The resolved endpoint for the given request.</returns>
public override Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, new AWS4Signer())
{
ClientConfig = this,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAPIGatewayEndpointResolver();
return resolver.GetEndpoint(executionContext);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9109,16 +9109,7 @@ public virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request)
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAPIGatewayEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6318,16 +6318,7 @@ internal virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest reques
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAPIGatewayEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.ARCZonalShift.Internal;

namespace Amazon.ARCZonalShift
Expand Down Expand Up @@ -89,5 +90,24 @@ public override string UserAgent
}
}

/// <summary>
/// Returns the endpoint that will be used for a particular request.
/// </summary>
/// <param name="request">Request for the desired service operation.</param>
/// <returns>The resolved endpoint for the given request.</returns>
public override Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, new AWS4Signer())
{
ClientConfig = this,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonARCZonalShiftEndpointResolver();
return resolver.GetEndpoint(executionContext);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1286,16 +1286,7 @@ public virtual UpdateZonalShiftResponse UpdateZonalShift(UpdateZonalShiftRequest
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonARCZonalShiftEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,16 +952,7 @@ internal virtual UpdateZonalShiftResponse UpdateZonalShift(UpdateZonalShiftReque
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonARCZonalShiftEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
20 changes: 20 additions & 0 deletions sdk/src/Services/AWSHealth/Generated/AmazonAWSHealthConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.AWSHealth.Internal;

namespace Amazon.AWSHealth
Expand Down Expand Up @@ -89,5 +90,24 @@ public override string UserAgent
}
}

/// <summary>
/// Returns the endpoint that will be used for a particular request.
/// </summary>
/// <param name="request">Request for the desired service operation.</param>
/// <returns>The resolved endpoint for the given request.</returns>
public override Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, new AWS4Signer())
{
ClientConfig = this,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAWSHealthEndpointResolver();
return resolver.GetEndpoint(executionContext);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1559,16 +1559,7 @@ public virtual EnableHealthServiceAccessForOrganizationResponse EnableHealthServ
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAWSHealthEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1141,16 +1141,7 @@ internal virtual EnableHealthServiceAccessForOrganizationResponse EnableHealthSe
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAWSHealthEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.AWSMarketplaceCommerceAnalytics.Internal;

namespace Amazon.AWSMarketplaceCommerceAnalytics
Expand Down Expand Up @@ -89,5 +90,24 @@ public override string UserAgent
}
}

/// <summary>
/// Returns the endpoint that will be used for a particular request.
/// </summary>
/// <param name="request">Request for the desired service operation.</param>
/// <returns>The resolved endpoint for the given request.</returns>
public override Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, new AWS4Signer())
{
ClientConfig = this,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAWSMarketplaceCommerceAnalyticsEndpointResolver();
return resolver.GetEndpoint(executionContext);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -384,16 +384,7 @@ public virtual StartSupportDataExportResponse StartSupportDataExport(StartSuppor
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAWSMarketplaceCommerceAnalyticsEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,16 +350,7 @@ internal virtual StartSupportDataExportResponse StartSupportDataExport(StartSupp
/// <returns>The resolved endpoint for the given request.</returns>
public Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, CreateSigner())
{
ClientConfig = Config,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceMetadata.ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAWSMarketplaceCommerceAnalyticsEndpointResolver();
return resolver.GetEndpoint(executionContext);
return Config.DetermineServiceOperationEndpoint(request);
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.AWSMarketplaceMetering.Internal;

namespace Amazon.AWSMarketplaceMetering
Expand Down Expand Up @@ -89,5 +90,24 @@ public override string UserAgent
}
}

/// <summary>
/// Returns the endpoint that will be used for a particular request.
/// </summary>
/// <param name="request">Request for the desired service operation.</param>
/// <returns>The resolved endpoint for the given request.</returns>
public override Amazon.Runtime.Endpoints.Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
{
var requestContext = new RequestContext(false, new AWS4Signer())
{
ClientConfig = this,
OriginalRequest = request,
Request = new DefaultRequest(request, ServiceId)
};

var executionContext = new Amazon.Runtime.Internal.ExecutionContext(requestContext, null);
var resolver = new AmazonAWSMarketplaceMeteringEndpointResolver();
return resolver.GetEndpoint(executionContext);
}

}
}
Loading

0 comments on commit 9a60607

Please sign in to comment.