Finding More Information in the Tools for PowerShell Core Documentation
After you use the Get-EMCEndpoint
Cmdlet to request an endpoint, send your requests to it as described in
Specifying a Custom or Nonstandard Endpoint in the Amazon Tools for PowerShell
User Guide. In brief, you specify your endpoint as a URL by adding the
-EndpointUrl
common parameter to your Amazon Tools for PowerShell
command.
In this example, replace
https://abcd1234.mediaconvert.us-west-1.amazonaws.com
with the
endpoint that you get back from your Get-EMCEndpoint Cmdlet
request:
AWS-PowerShellCmdlet -EndpointUrl "
https://abcd1234.mediaconvert.us-west-1.amazonaws.com.
" -Other -Parameters
Important
Make the DescribeEndpoints
call only once, then hardcode or cache your endpoint. This endpoint is specific to your Amazon Region and won't change.
Don't use DescribeEndpoints
to create your Amazon client each time that you make a request to MediaConvert. Otherwise, you will reach the throttle maximum on the public API endpoint.