AWS StepFunctions 的端点 url 是什么?
What is the endpoint url for AWS StepFunctions?
The documentation 定义 endpoint
这样:
endpoint (String) — The endpoint URI to send requests to. The default endpoint is built from the configured region
. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com'
.
我认为服务名称是 StepFunctions
并且我正在使用区域 us-east-1
因此 url 应该是:
https://stepfunctions.us-east-1.amazonaws.com
但这似乎不对,此服务的实际端点是什么 url?
编辑:(答案)
https://states.us-east-1.amazonaws.com
我认为您不应该手动编辑服务端点,但是,对于 StepFunctions
,{service}
参数实际上是 states
服务。
以下应该是您的端点属性:
Endpoint {
protocol: 'https:',
host: 'states.us-east-1.amazonaws.com',
port: 443,
hostname: 'states.us-east-1.amazonaws.com',
pathname: '/',
path: '/',
href: 'https://states.us-east-1.amazonaws.com/' }
The documentation 定义 endpoint
这样:
endpoint (String) — The endpoint URI to send requests to. The default endpoint is built from the configured
region
. The endpoint should be a string like'https://{service}.{region}.amazonaws.com'
.
我认为服务名称是 StepFunctions
并且我正在使用区域 us-east-1
因此 url 应该是:
https://stepfunctions.us-east-1.amazonaws.com
但这似乎不对,此服务的实际端点是什么 url?
编辑:(答案)
https://states.us-east-1.amazonaws.com
我认为您不应该手动编辑服务端点,但是,对于 StepFunctions
,{service}
参数实际上是 states
服务。
以下应该是您的端点属性:
Endpoint {
protocol: 'https:',
host: 'states.us-east-1.amazonaws.com',
port: 443,
hostname: 'states.us-east-1.amazonaws.com',
pathname: '/',
path: '/',
href: 'https://states.us-east-1.amazonaws.com/' }