Documentation ¶
Overview ¶
Package awsendpointdiscoverytest provides the client and types for making API requests to AwsEndpointDiscoveryTest.
See awsendpointdiscoverytest package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/awsendpointdiscoverytest/
Using the Client ¶
To contact AwsEndpointDiscoveryTest with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AwsEndpointDiscoveryTest client AwsEndpointDiscoveryTest for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/awsendpointdiscoverytest/#New
Index ¶
- Constants
- type AwsEndpointDiscoveryTest
- func (c *AwsEndpointDiscoveryTest) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error)
- func (c *AwsEndpointDiscoveryTest) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput)
- func (c *AwsEndpointDiscoveryTest) DescribeEndpointsWithContext(ctx aws.Context, input *DescribeEndpointsInput, opts ...request.Option) (*DescribeEndpointsOutput, error)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequired(input *TestDiscoveryIdentifiersRequiredInput) (*TestDiscoveryIdentifiersRequiredOutput, error)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequiredRequest(input *TestDiscoveryIdentifiersRequiredInput) (req *request.Request, output *TestDiscoveryIdentifiersRequiredOutput)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequiredWithContext(ctx aws.Context, input *TestDiscoveryIdentifiersRequiredInput, ...) (*TestDiscoveryIdentifiersRequiredOutput, error)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryOptional(input *TestDiscoveryOptionalInput) (*TestDiscoveryOptionalOutput, error)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryOptionalRequest(input *TestDiscoveryOptionalInput) (req *request.Request, output *TestDiscoveryOptionalOutput)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryOptionalWithContext(ctx aws.Context, input *TestDiscoveryOptionalInput, opts ...request.Option) (*TestDiscoveryOptionalOutput, error)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryRequired(input *TestDiscoveryRequiredInput) (*TestDiscoveryRequiredOutput, error)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryRequiredRequest(input *TestDiscoveryRequiredInput) (req *request.Request, output *TestDiscoveryRequiredOutput)
- func (c *AwsEndpointDiscoveryTest) TestDiscoveryRequiredWithContext(ctx aws.Context, input *TestDiscoveryRequiredInput, opts ...request.Option) (*TestDiscoveryRequiredOutput, error)
- type DescribeEndpointsInput
- type DescribeEndpointsOutput
- type Endpoint
- type TestDiscoveryIdentifiersRequiredInput
- type TestDiscoveryIdentifiersRequiredOutput
- type TestDiscoveryOptionalInput
- type TestDiscoveryOptionalOutput
- type TestDiscoveryRequiredInput
- type TestDiscoveryRequiredOutput
Constants ¶
const ( ServiceName = "AwsEndpointDiscoveryTest" // Name of service. EndpointsID = "awsendpointdiscoverytestservice" // ID to lookup a service endpoint with. ServiceID = "AwsEndpointDiscoveryTest" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsEndpointDiscoveryTest ¶
AwsEndpointDiscoveryTest provides the API operation methods for making requests to AwsEndpointDiscoveryTest. See this package's package overview docs for details on the service.
AwsEndpointDiscoveryTest methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *AwsEndpointDiscoveryTest
New creates a new instance of the AwsEndpointDiscoveryTest client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a AwsEndpointDiscoveryTest client from just a session. svc := awsendpointdiscoverytest.New(mySession) // Create a AwsEndpointDiscoveryTest client with additional configuration svc := awsendpointdiscoverytest.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*AwsEndpointDiscoveryTest) DescribeEndpoints ¶
func (c *AwsEndpointDiscoveryTest) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error)
DescribeEndpoints API operation for AwsEndpointDiscoveryTest.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AwsEndpointDiscoveryTest's API operation DescribeEndpoints for usage and error information.
func (*AwsEndpointDiscoveryTest) DescribeEndpointsRequest ¶
func (c *AwsEndpointDiscoveryTest) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput)
DescribeEndpointsRequest generates a "aws/request.Request" representing the client's request for the DescribeEndpoints operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeEndpoints for more information on using the DescribeEndpoints API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeEndpointsRequest method. req, resp := client.DescribeEndpointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*AwsEndpointDiscoveryTest) DescribeEndpointsWithContext ¶
func (c *AwsEndpointDiscoveryTest) DescribeEndpointsWithContext(ctx aws.Context, input *DescribeEndpointsInput, opts ...request.Option) (*DescribeEndpointsOutput, error)
DescribeEndpointsWithContext is the same as DescribeEndpoints with the addition of the ability to pass a context and additional request options.
See DescribeEndpoints for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequired ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequired(input *TestDiscoveryIdentifiersRequiredInput) (*TestDiscoveryIdentifiersRequiredOutput, error)
TestDiscoveryIdentifiersRequired API operation for AwsEndpointDiscoveryTest.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AwsEndpointDiscoveryTest's API operation TestDiscoveryIdentifiersRequired for usage and error information.
func (*AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequiredRequest ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequiredRequest(input *TestDiscoveryIdentifiersRequiredInput) (req *request.Request, output *TestDiscoveryIdentifiersRequiredOutput)
TestDiscoveryIdentifiersRequiredRequest generates a "aws/request.Request" representing the client's request for the TestDiscoveryIdentifiersRequired operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TestDiscoveryIdentifiersRequired for more information on using the TestDiscoveryIdentifiersRequired API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TestDiscoveryIdentifiersRequiredRequest method. req, resp := client.TestDiscoveryIdentifiersRequiredRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequiredWithContext ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequiredWithContext(ctx aws.Context, input *TestDiscoveryIdentifiersRequiredInput, opts ...request.Option) (*TestDiscoveryIdentifiersRequiredOutput, error)
TestDiscoveryIdentifiersRequiredWithContext is the same as TestDiscoveryIdentifiersRequired with the addition of the ability to pass a context and additional request options.
See TestDiscoveryIdentifiersRequired for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AwsEndpointDiscoveryTest) TestDiscoveryOptional ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryOptional(input *TestDiscoveryOptionalInput) (*TestDiscoveryOptionalOutput, error)
TestDiscoveryOptional API operation for AwsEndpointDiscoveryTest.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AwsEndpointDiscoveryTest's API operation TestDiscoveryOptional for usage and error information.
func (*AwsEndpointDiscoveryTest) TestDiscoveryOptionalRequest ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryOptionalRequest(input *TestDiscoveryOptionalInput) (req *request.Request, output *TestDiscoveryOptionalOutput)
TestDiscoveryOptionalRequest generates a "aws/request.Request" representing the client's request for the TestDiscoveryOptional operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TestDiscoveryOptional for more information on using the TestDiscoveryOptional API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TestDiscoveryOptionalRequest method. req, resp := client.TestDiscoveryOptionalRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*AwsEndpointDiscoveryTest) TestDiscoveryOptionalWithContext ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryOptionalWithContext(ctx aws.Context, input *TestDiscoveryOptionalInput, opts ...request.Option) (*TestDiscoveryOptionalOutput, error)
TestDiscoveryOptionalWithContext is the same as TestDiscoveryOptional with the addition of the ability to pass a context and additional request options.
See TestDiscoveryOptional for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*AwsEndpointDiscoveryTest) TestDiscoveryRequired ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryRequired(input *TestDiscoveryRequiredInput) (*TestDiscoveryRequiredOutput, error)
TestDiscoveryRequired API operation for AwsEndpointDiscoveryTest.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AwsEndpointDiscoveryTest's API operation TestDiscoveryRequired for usage and error information.
func (*AwsEndpointDiscoveryTest) TestDiscoveryRequiredRequest ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryRequiredRequest(input *TestDiscoveryRequiredInput) (req *request.Request, output *TestDiscoveryRequiredOutput)
TestDiscoveryRequiredRequest generates a "aws/request.Request" representing the client's request for the TestDiscoveryRequired operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TestDiscoveryRequired for more information on using the TestDiscoveryRequired API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TestDiscoveryRequiredRequest method. req, resp := client.TestDiscoveryRequiredRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*AwsEndpointDiscoveryTest) TestDiscoveryRequiredWithContext ¶
func (c *AwsEndpointDiscoveryTest) TestDiscoveryRequiredWithContext(ctx aws.Context, input *TestDiscoveryRequiredInput, opts ...request.Option) (*TestDiscoveryRequiredOutput, error)
TestDiscoveryRequiredWithContext is the same as TestDiscoveryRequired with the addition of the ability to pass a context and additional request options.
See TestDiscoveryRequired for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type DescribeEndpointsInput ¶
type DescribeEndpointsInput struct { Operation *string `type:"string"` // contains filtered or unexported fields }
func (DescribeEndpointsInput) GoString ¶
func (s DescribeEndpointsInput) GoString() string
GoString returns the string representation
func (*DescribeEndpointsInput) SetOperation ¶
func (s *DescribeEndpointsInput) SetOperation(v string) *DescribeEndpointsInput
SetOperation sets the Operation field's value.
func (DescribeEndpointsInput) String ¶
func (s DescribeEndpointsInput) String() string
String returns the string representation
type DescribeEndpointsOutput ¶
type DescribeEndpointsOutput struct { // Endpoints is a required field Endpoints []*Endpoint `type:"list" required:"true"` // contains filtered or unexported fields }
func (DescribeEndpointsOutput) GoString ¶
func (s DescribeEndpointsOutput) GoString() string
GoString returns the string representation
func (*DescribeEndpointsOutput) SetEndpoints ¶
func (s *DescribeEndpointsOutput) SetEndpoints(v []*Endpoint) *DescribeEndpointsOutput
SetEndpoints sets the Endpoints field's value.
func (DescribeEndpointsOutput) String ¶
func (s DescribeEndpointsOutput) String() string
String returns the string representation
type Endpoint ¶
type Endpoint struct { // Address is a required field Address *string `type:"string" required:"true"` // CachePeriodInMinutes is a required field CachePeriodInMinutes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
func (*Endpoint) SetAddress ¶
SetAddress sets the Address field's value.
func (*Endpoint) SetCachePeriodInMinutes ¶
SetCachePeriodInMinutes sets the CachePeriodInMinutes field's value.
type TestDiscoveryIdentifiersRequiredInput ¶
type TestDiscoveryIdentifiersRequiredInput struct { // Sdk is a required field Sdk *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (TestDiscoveryIdentifiersRequiredInput) GoString ¶
func (s TestDiscoveryIdentifiersRequiredInput) GoString() string
GoString returns the string representation
func (*TestDiscoveryIdentifiersRequiredInput) SetSdk ¶
func (s *TestDiscoveryIdentifiersRequiredInput) SetSdk(v string) *TestDiscoveryIdentifiersRequiredInput
SetSdk sets the Sdk field's value.
func (TestDiscoveryIdentifiersRequiredInput) String ¶
func (s TestDiscoveryIdentifiersRequiredInput) String() string
String returns the string representation
func (*TestDiscoveryIdentifiersRequiredInput) Validate ¶
func (s *TestDiscoveryIdentifiersRequiredInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TestDiscoveryIdentifiersRequiredOutput ¶
type TestDiscoveryIdentifiersRequiredOutput struct { RequestSuccessful *bool `type:"boolean"` // contains filtered or unexported fields }
func (TestDiscoveryIdentifiersRequiredOutput) GoString ¶
func (s TestDiscoveryIdentifiersRequiredOutput) GoString() string
GoString returns the string representation
func (*TestDiscoveryIdentifiersRequiredOutput) SetRequestSuccessful ¶
func (s *TestDiscoveryIdentifiersRequiredOutput) SetRequestSuccessful(v bool) *TestDiscoveryIdentifiersRequiredOutput
SetRequestSuccessful sets the RequestSuccessful field's value.
func (TestDiscoveryIdentifiersRequiredOutput) String ¶
func (s TestDiscoveryIdentifiersRequiredOutput) String() string
String returns the string representation
type TestDiscoveryOptionalInput ¶
type TestDiscoveryOptionalInput struct { Sdk *string `type:"string"` // contains filtered or unexported fields }
func (TestDiscoveryOptionalInput) GoString ¶
func (s TestDiscoveryOptionalInput) GoString() string
GoString returns the string representation
func (*TestDiscoveryOptionalInput) SetSdk ¶
func (s *TestDiscoveryOptionalInput) SetSdk(v string) *TestDiscoveryOptionalInput
SetSdk sets the Sdk field's value.
func (TestDiscoveryOptionalInput) String ¶
func (s TestDiscoveryOptionalInput) String() string
String returns the string representation
type TestDiscoveryOptionalOutput ¶
type TestDiscoveryOptionalOutput struct { RequestSuccessful *bool `type:"boolean"` // contains filtered or unexported fields }
func (TestDiscoveryOptionalOutput) GoString ¶
func (s TestDiscoveryOptionalOutput) GoString() string
GoString returns the string representation
func (*TestDiscoveryOptionalOutput) SetRequestSuccessful ¶
func (s *TestDiscoveryOptionalOutput) SetRequestSuccessful(v bool) *TestDiscoveryOptionalOutput
SetRequestSuccessful sets the RequestSuccessful field's value.
func (TestDiscoveryOptionalOutput) String ¶
func (s TestDiscoveryOptionalOutput) String() string
String returns the string representation
type TestDiscoveryRequiredInput ¶
type TestDiscoveryRequiredInput struct { Sdk *string `type:"string"` // contains filtered or unexported fields }
func (TestDiscoveryRequiredInput) GoString ¶
func (s TestDiscoveryRequiredInput) GoString() string
GoString returns the string representation
func (*TestDiscoveryRequiredInput) SetSdk ¶
func (s *TestDiscoveryRequiredInput) SetSdk(v string) *TestDiscoveryRequiredInput
SetSdk sets the Sdk field's value.
func (TestDiscoveryRequiredInput) String ¶
func (s TestDiscoveryRequiredInput) String() string
String returns the string representation
type TestDiscoveryRequiredOutput ¶
type TestDiscoveryRequiredOutput struct { RequestSuccessful *bool `type:"boolean"` // contains filtered or unexported fields }
func (TestDiscoveryRequiredOutput) GoString ¶
func (s TestDiscoveryRequiredOutput) GoString() string
GoString returns the string representation
func (*TestDiscoveryRequiredOutput) SetRequestSuccessful ¶
func (s *TestDiscoveryRequiredOutput) SetRequestSuccessful(v bool) *TestDiscoveryRequiredOutput
SetRequestSuccessful sets the RequestSuccessful field's value.
func (TestDiscoveryRequiredOutput) String ¶
func (s TestDiscoveryRequiredOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package awsendpointdiscoverytestiface provides an interface to enable mocking the AwsEndpointDiscoveryTest service client for testing your code.
|
Package awsendpointdiscoverytestiface provides an interface to enable mocking the AwsEndpointDiscoveryTest service client for testing your code. |