Struct: kms.EndpointParameters
Overview
EndpointParameters provides the parameters that influence how endpoints are resolved.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
-
Endpoint *string
Override the endpoint used to send this request.
-
Region *string
The AWS region used to dispatch the request.
-
UseDualStack *bool
When true, use the dual-stack endpoint.
-
UseFIPS *bool
When true, send this request to the FIPS-compliant regional endpoint.
Method Summary collapse
-
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
-
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
Structure Field Details
Endpoint *string
Override the endpoint used to send this request
Parameter is required.
SDK::Endpoint
Region *string
The AWS region used to dispatch the request.
Parameter is required.
AWS::Region
UseDualStack *bool
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
Defaults to false if no value is provided.
AWS::UseDualStack
UseFIPS *bool
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
Defaults to false if no value is provided.
AWS::UseFIPS
Method Details
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
266 267 268 269 270 271 272 273 274 275 276 |
// File 'service/kms/endpoints.go', line 266
|
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
280 281 282 283 284 285 286 287 288 289 |
// File 'service/kms/endpoints.go', line 280
|