awsendpointdiscoverytest

package
v0.0.0-...-e4898a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 0

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

View Source
const (
	ServiceName = "AwsEndpointDiscoveryTest"        // Name of service.
	EndpointsID = "awsendpointdiscoverytestservice" // ID to lookup a service endpoint with.
	ServiceID   = "AwsEndpointDiscoveryTest"        // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsEndpointDiscoveryTest

type AwsEndpointDiscoveryTest struct {
	*client.Client
	// contains filtered or unexported fields
}

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

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:

mySession := session.Must(session.NewSession())

// 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

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

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

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

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointsInput) SetOperation

SetOperation sets the Operation field's value.

func (DescribeEndpointsInput) String

func (s DescribeEndpointsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointsOutput) SetEndpoints

SetEndpoints sets the Endpoints field's value.

func (DescribeEndpointsOutput) String

func (s DescribeEndpointsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) GoString

func (s Endpoint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Endpoint) SetAddress

func (s *Endpoint) SetAddress(v string) *Endpoint

SetAddress sets the Address field's value.

func (*Endpoint) SetCachePeriodInMinutes

func (s *Endpoint) SetCachePeriodInMinutes(v int64) *Endpoint

SetCachePeriodInMinutes sets the CachePeriodInMinutes field's value.

func (Endpoint) String

func (s Endpoint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestDiscoveryIdentifiersRequiredInput

type TestDiscoveryIdentifiersRequiredInput struct {

	// Sdk is a required field
	Sdk *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (TestDiscoveryIdentifiersRequiredInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestDiscoveryIdentifiersRequiredInput) SetSdk

SetSdk sets the Sdk field's value.

func (TestDiscoveryIdentifiersRequiredInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestDiscoveryIdentifiersRequiredInput) Validate

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

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestDiscoveryIdentifiersRequiredOutput) SetRequestSuccessful

SetRequestSuccessful sets the RequestSuccessful field's value.

func (TestDiscoveryIdentifiersRequiredOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestDiscoveryOptionalInput) SetSdk

SetSdk sets the Sdk field's value.

func (TestDiscoveryOptionalInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestDiscoveryOptionalOutput) SetRequestSuccessful

func (s *TestDiscoveryOptionalOutput) SetRequestSuccessful(v bool) *TestDiscoveryOptionalOutput

SetRequestSuccessful sets the RequestSuccessful field's value.

func (TestDiscoveryOptionalOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestDiscoveryRequiredInput) SetSdk

SetSdk sets the Sdk field's value.

func (TestDiscoveryRequiredInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestDiscoveryRequiredOutput) SetRequestSuccessful

func (s *TestDiscoveryRequiredOutput) SetRequestSuccessful(v bool) *TestDiscoveryRequiredOutput

SetRequestSuccessful sets the RequestSuccessful field's value.

func (TestDiscoveryRequiredOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL