Skip to content

What replaces GetEndPointForService? #2566

Answered by muhammad-othman
epitka-sg asked this question in Q&A
Discussion options

You must be logged in to vote

DetermineServiceOperationEndpoint method was added to all the service clients as part of v.3.7.624.0, this can be used to know the endpoint that request will use instead of GetEndpointForService.

For example:

            var endpoint = s3Client.DetermineServiceOperationEndpoint(new GetObjectRequest { 
                BucketName = bucketName 
            });

            var url = endpoint.URL;

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jdtsillas
Comment options

@muhammad-othman
Comment options

Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants