Closed stevemao closed 1 year ago
That docstring will have been pulled from botocore, so don't expect it to necessarily say anything sensible (though it's often pretty handy).
I see a couple of options here:
config/annexes/apigatewaymanagementapi.json
, which gets merged with the service definition from botocore.requestUri
field on each endpoint definition to reference the new parameter.nix-shell
, run scripts/generate --commit apigatewaymanagementapi
to regenerate and commit the service binding. (For config changes which regenerate all service bindings, I like to do them in a second PR to keep the diff clean, but when it's only one service I think it's fine to do them on the same branch.)
This will give you a change similar to your PR #865 but will require manual intervention whenever AWS updates their management API.Endpoint
s so that we can store more than a DNS name in the host :: ByteString
field.basePath
field to the Endpoint
record in amazonka/lib/amazonka-core/src/Amazonka/Types.hs
and default it to some sort of empty value. Not sure whether this should be a ByteString
, [ByteString]
, or something else.I like options 2 and 3 best, because they're less maintenance and might also allow people to mount non-S3 object stores at a path under a domain, which could be nice. I'm more inclined to go for option 3, because then we don't have to worry about base paths leaking into a host:
header.
What are your thoughts?
I like option 3 for the same reason.
I'm reading the document:
But it doesn't say how we can change the endpoint.
The closet I can find is
serviceEndpoint
But this only changes the domain. The
stage
part needs to be a part of the path. TheconnectionId
is also on the path so stage needs to be prefixed. Is there a way to achieve this?