types

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The user does not have sufficient access to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AccessLogSubscriptionSummary

type AccessLogSubscriptionSummary struct {

	// The Amazon Resource Name (ARN) of the access log subscription
	//
	// This member is required.
	Arn *string

	// The date and time that the access log subscription was created, in ISO-8601
	// format.
	//
	// This member is required.
	CreatedAt *time.Time

	// The Amazon Resource Name (ARN) of the destination.
	//
	// This member is required.
	DestinationArn *string

	// The ID of the access log subscription.
	//
	// This member is required.
	Id *string

	// The date and time that the access log subscription was last updated, in
	// ISO-8601 format.
	//
	// This member is required.
	LastUpdatedAt *time.Time

	// The Amazon Resource Name (ARN) of the service or service network.
	//
	// This member is required.
	ResourceArn *string

	// The ID of the service or service network.
	//
	// This member is required.
	ResourceId *string

	// Log type of the service network.
	ServiceNetworkLogType ServiceNetworkLogType
	// contains filtered or unexported fields
}

Summary information about an access log subscription.

type ArnResource added in v1.13.0

type ArnResource struct {

	// The Amazon Resource Name (ARN) of the resource.
	Arn *string
	// contains filtered or unexported fields
}

The Amazon Resource Name (ARN) of the resource.

type AuthPolicyState

type AuthPolicyState string
const (
	AuthPolicyStateActive   AuthPolicyState = "Active"
	AuthPolicyStateInactive AuthPolicyState = "Inactive"
)

Enum values for AuthPolicyState

func (AuthPolicyState) Values

func (AuthPolicyState) Values() []AuthPolicyState

Values returns all known values for AuthPolicyState. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type AuthType

type AuthType string
const (
	AuthTypeNone   AuthType = "NONE"
	AuthTypeAwsIam AuthType = "AWS_IAM"
)

Enum values for AuthType

func (AuthType) Values

func (AuthType) Values() []AuthType

Values returns all known values for AuthType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ConflictException

type ConflictException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceId   *string
	ResourceType *string
	// contains filtered or unexported fields
}

The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.

func (*ConflictException) Error

func (e *ConflictException) Error() string

func (*ConflictException) ErrorCode

func (e *ConflictException) ErrorCode() string

func (*ConflictException) ErrorFault

func (e *ConflictException) ErrorFault() smithy.ErrorFault

func (*ConflictException) ErrorMessage

func (e *ConflictException) ErrorMessage() string

type DnsEntry

type DnsEntry struct {

	// The domain name of the service.
	DomainName *string

	// The ID of the hosted zone.
	HostedZoneId *string
	// contains filtered or unexported fields
}

Describes the DNS information of a service.

type DnsResource added in v1.13.0

type DnsResource struct {

	// The domain name of the resource.
	DomainName *string

	// The type of IP address.
	IpAddressType ResourceConfigurationIpAddressType
	// contains filtered or unexported fields
}

The DNS name of the resource.

type FixedResponseAction

type FixedResponseAction struct {

	// The HTTP response code.
	//
	// This member is required.
	StatusCode *int32
	// contains filtered or unexported fields
}

Describes an action that returns a custom HTTP response.

type ForwardAction

type ForwardAction struct {

	// The target groups. Traffic matching the rule is forwarded to the specified
	// target groups. With forward actions, you can assign a weight that controls the
	// prioritization and selection of each target group. This means that requests are
	// distributed to individual target groups based on their weights. For example, if
	// two target groups have the same weight, each target group receives half of the
	// traffic.
	//
	// The default value is 1. This means that if only one target group is provided,
	// there is no need to set the weight; 100% of the traffic goes to that target
	// group.
	//
	// This member is required.
	TargetGroups []WeightedTargetGroup
	// contains filtered or unexported fields
}

Describes a forward action. You can use forward actions to route requests to one or more target groups.

type HeaderMatch

type HeaderMatch struct {

	// The header match type.
	//
	// This member is required.
	Match HeaderMatchType

	// The name of the header.
	//
	// This member is required.
	Name *string

	// Indicates whether the match is case sensitive.
	CaseSensitive *bool
	// contains filtered or unexported fields
}

Describes the constraints for a header match. Matches incoming requests with rule based on request header value before applying rule action.

type HeaderMatchType

type HeaderMatchType interface {
	// contains filtered or unexported methods
}

Describes a header match type.

The following types satisfy this interface:

HeaderMatchTypeMemberContains
HeaderMatchTypeMemberExact
HeaderMatchTypeMemberPrefix
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/vpclattice/types"
)

func main() {
	var union types.HeaderMatchType
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.HeaderMatchTypeMemberContains:
		_ = v.Value // Value is string

	case *types.HeaderMatchTypeMemberExact:
		_ = v.Value // Value is string

	case *types.HeaderMatchTypeMemberPrefix:
		_ = v.Value // Value is string

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

type HeaderMatchTypeMemberContains

type HeaderMatchTypeMemberContains struct {
	Value string
	// contains filtered or unexported fields
}

A contains type match.

type HeaderMatchTypeMemberExact

type HeaderMatchTypeMemberExact struct {
	Value string
	// contains filtered or unexported fields
}

An exact type match.

type HeaderMatchTypeMemberPrefix

type HeaderMatchTypeMemberPrefix struct {
	Value string
	// contains filtered or unexported fields
}

A prefix type match. Matches the value with the prefix.

type HealthCheckConfig

type HealthCheckConfig struct {

	// Indicates whether health checking is enabled.
	Enabled *bool

	// The approximate amount of time, in seconds, between health checks of an
	// individual target. The range is 5–300 seconds. The default is 30 seconds.
	HealthCheckIntervalSeconds *int32

	// The amount of time, in seconds, to wait before reporting a target as unhealthy.
	// The range is 1–120 seconds. The default is 5 seconds.
	HealthCheckTimeoutSeconds *int32

	// The number of consecutive successful health checks required before considering
	// an unhealthy target healthy. The range is 2–10. The default is 5.
	HealthyThresholdCount *int32

	// The codes to use when checking for a successful response from a target.
	Matcher Matcher

	// The destination for health checks on the targets. If the protocol version is
	// HTTP/1.1 or HTTP/2 , specify a valid URI (for example, /path?query ). The
	// default path is / . Health checks are not supported if the protocol version is
	// gRPC , however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.
	Path *string

	// The port used when performing health checks on targets. The default setting is
	// the port that a target receives traffic on.
	Port *int32

	// The protocol used when performing health checks on targets. The possible
	// protocols are HTTP and HTTPS . The default is HTTP .
	Protocol TargetGroupProtocol

	// The protocol version used when performing health checks on targets. The
	// possible protocol versions are HTTP1 and HTTP2 .
	ProtocolVersion HealthCheckProtocolVersion

	// The number of consecutive failed health checks required before considering a
	// target unhealthy. The range is 2–10. The default is 2.
	UnhealthyThresholdCount *int32
	// contains filtered or unexported fields
}

Describes the health check configuration of a target group. Health check configurations aren't used for target groups of type LAMBDA or ALB .

type HealthCheckProtocolVersion

type HealthCheckProtocolVersion string
const (
	// Indicates use of HTTP/1.1 to send requests to target
	HealthCheckProtocolVersionHttp1 HealthCheckProtocolVersion = "HTTP1"
	// Indicates use of HTTP/2 to send requests to target
	HealthCheckProtocolVersionHttp2 HealthCheckProtocolVersion = "HTTP2"
)

Enum values for HealthCheckProtocolVersion

func (HealthCheckProtocolVersion) Values

Values returns all known values for HealthCheckProtocolVersion. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type HttpMatch

type HttpMatch struct {

	// The header matches. Matches incoming requests with rule based on request header
	// value before applying rule action.
	HeaderMatches []HeaderMatch

	// The HTTP method type.
	Method *string

	// The path match.
	PathMatch *PathMatch
	// contains filtered or unexported fields
}

Describes criteria that can be applied to incoming requests.

type InternalServerException

type InternalServerException struct {
	Message *string

	ErrorCodeOverride *string

	RetryAfterSeconds *int32
	// contains filtered or unexported fields
}

An unexpected error occurred while processing the request.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type IpAddressType

type IpAddressType string
const (
	// Indicates IPv4 address type
	IpAddressTypeIpv4 IpAddressType = "IPV4"
	// Indicates IPv6 address type
	IpAddressTypeIpv6 IpAddressType = "IPV6"
)

Enum values for IpAddressType

func (IpAddressType) Values

func (IpAddressType) Values() []IpAddressType

Values returns all known values for IpAddressType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type IpResource added in v1.13.0

type IpResource struct {

	// The IP address of the IP resource.
	IpAddress *string
	// contains filtered or unexported fields
}

Describes an IP resource.

type LambdaEventStructureVersion added in v1.2.0

type LambdaEventStructureVersion string
const (
	// This is the default lambda event structure version
	LambdaEventStructureVersionV1 LambdaEventStructureVersion = "V1"
	// Indicates use of lambda event structure version 2
	LambdaEventStructureVersionV2 LambdaEventStructureVersion = "V2"
)

Enum values for LambdaEventStructureVersion

func (LambdaEventStructureVersion) Values added in v1.2.0

Values returns all known values for LambdaEventStructureVersion. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ListenerProtocol

type ListenerProtocol string
const (
	// Indicates HTTP protocol
	ListenerProtocolHttp ListenerProtocol = "HTTP"
	// Indicates HTTPS protocol
	ListenerProtocolHttps ListenerProtocol = "HTTPS"
	// Indicates TLS_PASSTHROUGH protocol
	ListenerProtocolTlsPassthrough ListenerProtocol = "TLS_PASSTHROUGH"
)

Enum values for ListenerProtocol

func (ListenerProtocol) Values

Values returns all known values for ListenerProtocol. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ListenerSummary

type ListenerSummary struct {

	// The Amazon Resource Name (ARN) of the listener.
	Arn *string

	// The date and time that the listener was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The ID of the listener.
	Id *string

	// The date and time that the listener was last updated, in ISO-8601 format.
	LastUpdatedAt *time.Time

	// The name of the listener.
	Name *string

	// The listener port.
	Port *int32

	// The listener protocol.
	Protocol ListenerProtocol
	// contains filtered or unexported fields
}

Summary information about a listener.

type Matcher

type Matcher interface {
	// contains filtered or unexported methods
}

Describes the codes to use when checking for a successful response from a target for health checks.

The following types satisfy this interface:

MatcherMemberHttpCode
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/vpclattice/types"
)

func main() {
	var union types.Matcher
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.MatcherMemberHttpCode:
		_ = v.Value // Value is string

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

type MatcherMemberHttpCode

type MatcherMemberHttpCode struct {
	Value string
	// contains filtered or unexported fields
}

The HTTP code to use when checking for a successful response from a target.

type PathMatch

type PathMatch struct {

	// The type of path match.
	//
	// This member is required.
	Match PathMatchType

	// Indicates whether the match is case sensitive.
	CaseSensitive *bool
	// contains filtered or unexported fields
}

Describes the conditions that can be applied when matching a path for incoming requests.

type PathMatchType

type PathMatchType interface {
	// contains filtered or unexported methods
}

Describes a path match type. Each rule can include only one of the following types of paths.

The following types satisfy this interface:

PathMatchTypeMemberExact
PathMatchTypeMemberPrefix
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/vpclattice/types"
)

func main() {
	var union types.PathMatchType
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.PathMatchTypeMemberExact:
		_ = v.Value // Value is string

	case *types.PathMatchTypeMemberPrefix:
		_ = v.Value // Value is string

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

type PathMatchTypeMemberExact

type PathMatchTypeMemberExact struct {
	Value string
	// contains filtered or unexported fields
}

An exact match of the path.

type PathMatchTypeMemberPrefix

type PathMatchTypeMemberPrefix struct {
	Value string
	// contains filtered or unexported fields
}

A prefix match of the path.

type ProtocolType added in v1.13.0

type ProtocolType string
const (
	// Resource Configuration protocol type TCP
	ProtocolTypeTcp ProtocolType = "TCP"
)

Enum values for ProtocolType

func (ProtocolType) Values added in v1.13.0

func (ProtocolType) Values() []ProtocolType

Values returns all known values for ProtocolType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ResourceConfigurationDefinition added in v1.13.0

type ResourceConfigurationDefinition interface {
	// contains filtered or unexported methods
}

Describes a resource configuration.

The following types satisfy this interface:

ResourceConfigurationDefinitionMemberArnResource
ResourceConfigurationDefinitionMemberDnsResource
ResourceConfigurationDefinitionMemberIpResource
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/vpclattice/types"
)

func main() {
	var union types.ResourceConfigurationDefinition
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.ResourceConfigurationDefinitionMemberArnResource:
		_ = v.Value // Value is types.ArnResource

	case *types.ResourceConfigurationDefinitionMemberDnsResource:
		_ = v.Value // Value is types.DnsResource

	case *types.ResourceConfigurationDefinitionMemberIpResource:
		_ = v.Value // Value is types.IpResource

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

type ResourceConfigurationDefinitionMemberArnResource added in v1.13.0

type ResourceConfigurationDefinitionMemberArnResource struct {
	Value ArnResource
	// contains filtered or unexported fields
}

The Amazon Resource Name (ARN) of the resource.

type ResourceConfigurationDefinitionMemberDnsResource added in v1.13.0

type ResourceConfigurationDefinitionMemberDnsResource struct {
	Value DnsResource
	// contains filtered or unexported fields
}

The DNS name of the resource.

type ResourceConfigurationDefinitionMemberIpResource added in v1.13.0

type ResourceConfigurationDefinitionMemberIpResource struct {
	Value IpResource
	// contains filtered or unexported fields
}

The IP resource.

type ResourceConfigurationIpAddressType added in v1.13.0

type ResourceConfigurationIpAddressType string
const (
	// Ipv4 ip address type for dns type resource configs
	ResourceConfigurationIpAddressTypeIpv4 ResourceConfigurationIpAddressType = "IPV4"
	// IPv6 ip address type for dns type resource configs
	ResourceConfigurationIpAddressTypeIpv6 ResourceConfigurationIpAddressType = "IPV6"
	// Dualstack ip address type for dns type resource configs
	ResourceConfigurationIpAddressTypeDualstack ResourceConfigurationIpAddressType = "DUALSTACK"
)

Enum values for ResourceConfigurationIpAddressType

func (ResourceConfigurationIpAddressType) Values added in v1.13.0

Values returns all known values for ResourceConfigurationIpAddressType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ResourceConfigurationStatus added in v1.13.0

type ResourceConfigurationStatus string
const (
	// Resource Configuration is active.
	ResourceConfigurationStatusActive ResourceConfigurationStatus = "ACTIVE"
	// Resource Configuration creation in progress.
	ResourceConfigurationStatusCreateInProgress ResourceConfigurationStatus = "CREATE_IN_PROGRESS"
	// Resource Configuration update in progress.
	ResourceConfigurationStatusUpdateInProgress ResourceConfigurationStatus = "UPDATE_IN_PROGRESS"
	// Resource Configuration deletion in progress
	ResourceConfigurationStatusDeleteInProgress ResourceConfigurationStatus = "DELETE_IN_PROGRESS"
	// Resource Configuration creation failed
	ResourceConfigurationStatusCreateFailed ResourceConfigurationStatus = "CREATE_FAILED"
	// Resource Configuration update failed
	ResourceConfigurationStatusUpdateFailed ResourceConfigurationStatus = "UPDATE_FAILED"
	// Resource Configuration deletion failed.
	ResourceConfigurationStatusDeleteFailed ResourceConfigurationStatus = "DELETE_FAILED"
)

Enum values for ResourceConfigurationStatus

func (ResourceConfigurationStatus) Values added in v1.13.0

Values returns all known values for ResourceConfigurationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ResourceConfigurationSummary added in v1.13.0

type ResourceConfigurationSummary struct {

	// Indicates whether the resource configuration was created and is managed by
	// Amazon.
	AmazonManaged *bool

	// The Amazon Resource Name (ARN) of the resource configuration.
	Arn *string

	// The date and time that the resource configuration was created, in ISO-8601
	// format.
	CreatedAt *time.Time

	// The ID of the resource configuration.
	Id *string

	// The most recent date and time that the resource configuration was updated, in
	// ISO-8601 format.
	LastUpdatedAt *time.Time

	// The name of the resource configuration.
	Name *string

	// The ID of the group resource configuration.
	ResourceConfigurationGroupId *string

	// The ID of the resource gateway.
	ResourceGatewayId *string

	// The status of the resource configuration.
	Status ResourceConfigurationStatus

	// The type of resource configuration.
	//
	//   - SINGLE - A single resource.
	//
	//   - GROUP - A group of resources.
	//
	//   - CHILD - A single resource that is part of a group resource configuration.
	//
	//   - ARN - An Amazon Web Services resource.
	Type ResourceConfigurationType
	// contains filtered or unexported fields
}

Summary information about a resource configuration.

type ResourceConfigurationType added in v1.13.0

type ResourceConfigurationType string
const (
	// Resource Configuration of type GROUP
	ResourceConfigurationTypeGroup ResourceConfigurationType = "GROUP"
	// Resource Configuration of type CHILD
	ResourceConfigurationTypeChild ResourceConfigurationType = "CHILD"
	// Resource Configuration of type SINGLE
	ResourceConfigurationTypeSingle ResourceConfigurationType = "SINGLE"
	// Resource Configuration of type ARN
	ResourceConfigurationTypeArn ResourceConfigurationType = "ARN"
)

Enum values for ResourceConfigurationType

func (ResourceConfigurationType) Values added in v1.13.0

Values returns all known values for ResourceConfigurationType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ResourceEndpointAssociationSummary added in v1.13.0

type ResourceEndpointAssociationSummary struct {

	// The Amazon Resource Name (ARN) of the VPC endpoint association.
	Arn *string

	// The date and time that the VPC endpoint association was created, in ISO-8601
	// format.
	CreatedAt *time.Time

	// The account that created the association.
	CreatedBy *string

	// The ID of the VPC endpoint association.
	Id *string

	// The Amazon Resource Name (ARN) of the resource configuration.
	ResourceConfigurationArn *string

	// The ID of the resource configuration.
	ResourceConfigurationId *string

	// The name of the resource configuration.
	ResourceConfigurationName *string

	// The ID of the VPC endpoint.
	VpcEndpointId *string

	// The owner of the VPC endpoint.
	VpcEndpointOwner *string
	// contains filtered or unexported fields
}

Summary information about a VPC endpoint association.

type ResourceGatewayIpAddressType added in v1.13.0

type ResourceGatewayIpAddressType string
const (
	// Ipv4 ip address type for resource gateway
	ResourceGatewayIpAddressTypeIpv4 ResourceGatewayIpAddressType = "IPV4"
	// IPv6 ip address type for resource gateway
	ResourceGatewayIpAddressTypeIpv6 ResourceGatewayIpAddressType = "IPV6"
	// Dualstack ip address type for resource gateway
	ResourceGatewayIpAddressTypeDualstack ResourceGatewayIpAddressType = "DUALSTACK"
)

Enum values for ResourceGatewayIpAddressType

func (ResourceGatewayIpAddressType) Values added in v1.13.0

Values returns all known values for ResourceGatewayIpAddressType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ResourceGatewayStatus added in v1.13.0

type ResourceGatewayStatus string
const (
	// Resource Gateway is active.
	ResourceGatewayStatusActive ResourceGatewayStatus = "ACTIVE"
	// Resource Gateway creation in progress.
	ResourceGatewayStatusCreateInProgress ResourceGatewayStatus = "CREATE_IN_PROGRESS"
	// Resource Gateway update in progress.
	ResourceGatewayStatusUpdateInProgress ResourceGatewayStatus = "UPDATE_IN_PROGRESS"
	// Resource Gateway deletion in progress
	ResourceGatewayStatusDeleteInProgress ResourceGatewayStatus = "DELETE_IN_PROGRESS"
	// Resource Gateway creation failed
	ResourceGatewayStatusCreateFailed ResourceGatewayStatus = "CREATE_FAILED"
	// Reosurce Gateway update failed
	ResourceGatewayStatusUpdateFailed ResourceGatewayStatus = "UPDATE_FAILED"
	// Resource Gateway deletion failed.
	ResourceGatewayStatusDeleteFailed ResourceGatewayStatus = "DELETE_FAILED"
)

Enum values for ResourceGatewayStatus

func (ResourceGatewayStatus) Values added in v1.13.0

Values returns all known values for ResourceGatewayStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ResourceGatewaySummary added in v1.13.0

type ResourceGatewaySummary struct {

	// The Amazon Resource Name (ARN) of the resource gateway.
	Arn *string

	// The date and time that the VPC endpoint association was created, in ISO-8601
	// format.
	CreatedAt *time.Time

	// The ID of the resource gateway.
	Id *string

	// The type of IP address used by the resource gateway.
	IpAddressType ResourceGatewayIpAddressType

	// The most recent date and time that the resource gateway was updated, in
	// ISO-8601 format.
	LastUpdatedAt *time.Time

	// The name of the resource gateway.
	Name *string

	// The IDs of the security groups applied to the resource gateway.
	SecurityGroupIds []string

	// The name of the resource gateway.
	Status ResourceGatewayStatus

	// The IDs of the VPC subnets for the resource gateway.
	SubnetIds []string

	// The ID of the VPC for the resource gateway.
	VpcIdentifier *string
	// contains filtered or unexported fields
}

Summary information about a resource gateway.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceId   *string
	ResourceType *string
	// contains filtered or unexported fields
}

The request references a resource that does not exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type RuleAction

type RuleAction interface {
	// contains filtered or unexported methods
}

Describes the action for a rule.

The following types satisfy this interface:

RuleActionMemberFixedResponse
RuleActionMemberForward
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/vpclattice/types"
)

func main() {
	var union types.RuleAction
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.RuleActionMemberFixedResponse:
		_ = v.Value // Value is types.FixedResponseAction

	case *types.RuleActionMemberForward:
		_ = v.Value // Value is types.ForwardAction

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

type RuleActionMemberFixedResponse

type RuleActionMemberFixedResponse struct {
	Value FixedResponseAction
	// contains filtered or unexported fields
}

The fixed response action. The rule returns a custom HTTP response.

type RuleActionMemberForward

type RuleActionMemberForward struct {
	Value ForwardAction
	// contains filtered or unexported fields
}

The forward action. Traffic that matches the rule is forwarded to the specified target groups.

type RuleMatch

type RuleMatch interface {
	// contains filtered or unexported methods
}

Describes a rule match.

The following types satisfy this interface:

RuleMatchMemberHttpMatch
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/vpclattice/types"
)

func main() {
	var union types.RuleMatch
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.RuleMatchMemberHttpMatch:
		_ = v.Value // Value is types.HttpMatch

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

type RuleMatchMemberHttpMatch

type RuleMatchMemberHttpMatch struct {
	Value HttpMatch
	// contains filtered or unexported fields
}

The HTTP criteria that a rule must match.

type RuleSummary

type RuleSummary struct {

	// The Amazon Resource Name (ARN) of the rule.
	Arn *string

	// The date and time that the listener rule was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The ID of the rule.
	Id *string

	// Indicates whether this is the default listener rule.
	IsDefault *bool

	// The date and time that the listener rule was last updated, in ISO-8601 format.
	LastUpdatedAt *time.Time

	// The name of the rule.
	Name *string

	// The priority of the rule.
	Priority *int32
	// contains filtered or unexported fields
}

Summary information about a listener rule.

type RuleUpdate

type RuleUpdate struct {

	// The ID or ARN of the rule.
	//
	// This member is required.
	RuleIdentifier *string

	// The rule action.
	Action RuleAction

	// The rule match.
	Match RuleMatch

	// The rule priority. A listener can't have multiple rules with the same priority.
	Priority *int32
	// contains filtered or unexported fields
}

Describes a rule update.

type RuleUpdateFailure

type RuleUpdateFailure struct {

	// The failure code.
	FailureCode *string

	// The failure message.
	FailureMessage *string

	// The ID or ARN of the rule.
	RuleIdentifier *string
	// contains filtered or unexported fields
}

Describes a rule update that failed.

type RuleUpdateSuccess

type RuleUpdateSuccess struct {

	// The action for the rule.
	Action RuleAction

	// The Amazon Resource Name (ARN) of the listener.
	Arn *string

	// The ID of the listener.
	Id *string

	// Indicates whether this is the default rule.
	IsDefault *bool

	// The rule match.
	Match RuleMatch

	// The name of the listener.
	Name *string

	// The rule priority.
	Priority *int32
	// contains filtered or unexported fields
}

Describes a successful rule update.

type ServiceNetworkEndpointAssociation added in v1.13.0

type ServiceNetworkEndpointAssociation struct {

	// The date and time that the association was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The ID of the association.
	Id *string

	// The Amazon Resource Name (ARN) of the service network.
	ServiceNetworkArn *string

	// The state of the association.
	State *string

	// The ID of the VPC endpoint associated with the service network.
	VpcEndpointId *string

	// The owner of the VPC endpoint associated with the service network.
	VpcEndpointOwnerId *string

	// The ID of the VPC for the association.
	VpcId *string
	// contains filtered or unexported fields
}

Describes the association between a service network and a VPC endpoint.

type ServiceNetworkLogType added in v1.13.0

type ServiceNetworkLogType string
const (
	// Indicates logs for Lattice services.
	ServiceNetworkLogTypeService ServiceNetworkLogType = "SERVICE"
	// Indicates logs for Lattice resource configurations.
	ServiceNetworkLogTypeResource ServiceNetworkLogType = "RESOURCE"
)

Enum values for ServiceNetworkLogType

func (ServiceNetworkLogType) Values added in v1.13.0

Values returns all known values for ServiceNetworkLogType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ServiceNetworkResourceAssociationStatus added in v1.13.0

type ServiceNetworkResourceAssociationStatus string
const (
	// ServiceNetwork and Service association creation in progress
	ServiceNetworkResourceAssociationStatusCreateInProgress ServiceNetworkResourceAssociationStatus = "CREATE_IN_PROGRESS"
	// ServiceNetwork and Service association is active
	ServiceNetworkResourceAssociationStatusActive ServiceNetworkResourceAssociationStatus = "ACTIVE"
	// ServiceNetwork and Service association is partial
	ServiceNetworkResourceAssociationStatusPartial ServiceNetworkResourceAssociationStatus = "PARTIAL"
	// ServiceNetwork and Service association deletion in progress
	ServiceNetworkResourceAssociationStatusDeleteInProgress ServiceNetworkResourceAssociationStatus = "DELETE_IN_PROGRESS"
	// ServiceNetwork and Service association creation failed.
	ServiceNetworkResourceAssociationStatusCreateFailed ServiceNetworkResourceAssociationStatus = "CREATE_FAILED"
	// ServiceNetwork and Service association deletion failed
	ServiceNetworkResourceAssociationStatusDeleteFailed ServiceNetworkResourceAssociationStatus = "DELETE_FAILED"
)

Enum values for ServiceNetworkResourceAssociationStatus

func (ServiceNetworkResourceAssociationStatus) Values added in v1.13.0

Values returns all known values for ServiceNetworkResourceAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ServiceNetworkResourceAssociationSummary added in v1.13.0

type ServiceNetworkResourceAssociationSummary struct {

	// The Amazon Resource Name (ARN) of the association.
	Arn *string

	// The date and time that the association was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The account that created the association.
	CreatedBy *string

	// The DNS entry for the service.
	DnsEntry *DnsEntry

	// The failure code.
	FailureCode *string

	// The ID of the association between the service network and resource
	// configuration.
	Id *string

	// Specifies whether the association is managed by Amazon.
	IsManagedAssociation *bool

	// The private DNS entry for the service.
	PrivateDnsEntry *DnsEntry

	// The Amazon Resource Name (ARN) of the association.
	ResourceConfigurationArn *string

	// The ID of the resource configuration associated with the service network.
	ResourceConfigurationId *string

	// The name of the resource configuration associated with the service network.
	ResourceConfigurationName *string

	// The Amazon Resource Name (ARN) of the service network associated with the
	// resource configuration.
	ServiceNetworkArn *string

	// The ID of the service network associated with the resource configuration.
	ServiceNetworkId *string

	// The name of the service network associated with the resource configuration.
	ServiceNetworkName *string

	// The status of the service network associated with the resource configuration.
	Status ServiceNetworkResourceAssociationStatus
	// contains filtered or unexported fields
}

Summary information about an association between a service network and a resource configuration.

type ServiceNetworkServiceAssociationStatus

type ServiceNetworkServiceAssociationStatus string
const (
	// ServiceNetwork and Service association creation in progress
	ServiceNetworkServiceAssociationStatusCreateInProgress ServiceNetworkServiceAssociationStatus = "CREATE_IN_PROGRESS"
	// ServiceNetwork and Service association is active
	ServiceNetworkServiceAssociationStatusActive ServiceNetworkServiceAssociationStatus = "ACTIVE"
	// ServiceNetwork and Service association deletion in progress
	ServiceNetworkServiceAssociationStatusDeleteInProgress ServiceNetworkServiceAssociationStatus = "DELETE_IN_PROGRESS"
	// ServiceNetwork and Service association creation failed.
	ServiceNetworkServiceAssociationStatusCreateFailed ServiceNetworkServiceAssociationStatus = "CREATE_FAILED"
	// ServiceNetwork and Service association deletion failed
	ServiceNetworkServiceAssociationStatusDeleteFailed ServiceNetworkServiceAssociationStatus = "DELETE_FAILED"
)

Enum values for ServiceNetworkServiceAssociationStatus

func (ServiceNetworkServiceAssociationStatus) Values

Values returns all known values for ServiceNetworkServiceAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ServiceNetworkServiceAssociationSummary

type ServiceNetworkServiceAssociationSummary struct {

	// The Amazon Resource Name (ARN) of the association.
	Arn *string

	// The date and time that the association was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The account that created the association.
	CreatedBy *string

	// The custom domain name of the service.
	CustomDomainName *string

	// The DNS information.
	DnsEntry *DnsEntry

	// The ID of the association.
	Id *string

	// The Amazon Resource Name (ARN) of the service.
	ServiceArn *string

	// The ID of the service.
	ServiceId *string

	// The name of the service.
	ServiceName *string

	// The Amazon Resource Name (ARN) of the service network.
	ServiceNetworkArn *string

	// The ID of the service network.
	ServiceNetworkId *string

	// The name of the service network.
	ServiceNetworkName *string

	// The status. If the deletion fails, try to delete again.
	Status ServiceNetworkServiceAssociationStatus
	// contains filtered or unexported fields
}

Summary information about an association between a service network and a service.

type ServiceNetworkSummary

type ServiceNetworkSummary struct {

	// The Amazon Resource Name (ARN) of the service network.
	Arn *string

	// The date and time that the service network was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The ID of the service network.
	Id *string

	// The date and time that the service network was last updated, in ISO-8601 format.
	LastUpdatedAt *time.Time

	// The name of the service network.
	Name *string

	// The number of resource configurations associated with a service network.
	NumberOfAssociatedResourceConfigurations *int64

	// The number of services associated with the service network.
	NumberOfAssociatedServices *int64

	// The number of VPCs associated with the service network.
	NumberOfAssociatedVPCs *int64
	// contains filtered or unexported fields
}

Summary information about a service network.

type ServiceNetworkVpcAssociationStatus

type ServiceNetworkVpcAssociationStatus string
const (
	// ServiceNetwork and Vpc association creation in progress
	ServiceNetworkVpcAssociationStatusCreateInProgress ServiceNetworkVpcAssociationStatus = "CREATE_IN_PROGRESS"
	// ServiceNetwork and Vpc association is active
	ServiceNetworkVpcAssociationStatusActive ServiceNetworkVpcAssociationStatus = "ACTIVE"
	// ServiceNetwork and Vpc association update in progress
	ServiceNetworkVpcAssociationStatusUpdateInProgress ServiceNetworkVpcAssociationStatus = "UPDATE_IN_PROGRESS"
	// ServiceNetwork and Vpc association deletion in progress
	ServiceNetworkVpcAssociationStatusDeleteInProgress ServiceNetworkVpcAssociationStatus = "DELETE_IN_PROGRESS"
	// ServiceNetwork and Vpc association creation failed.
	ServiceNetworkVpcAssociationStatusCreateFailed ServiceNetworkVpcAssociationStatus = "CREATE_FAILED"
	// ServiceNetwork and Vpc association deletion failed
	ServiceNetworkVpcAssociationStatusDeleteFailed ServiceNetworkVpcAssociationStatus = "DELETE_FAILED"
	// ServiceNetwork and Vpc association update failed
	ServiceNetworkVpcAssociationStatusUpdateFailed ServiceNetworkVpcAssociationStatus = "UPDATE_FAILED"
)

Enum values for ServiceNetworkVpcAssociationStatus

func (ServiceNetworkVpcAssociationStatus) Values

Values returns all known values for ServiceNetworkVpcAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ServiceNetworkVpcAssociationSummary

type ServiceNetworkVpcAssociationSummary struct {

	// The Amazon Resource Name (ARN) of the association.
	Arn *string

	// The date and time that the association was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The account that created the association.
	CreatedBy *string

	// The ID of the association.
	Id *string

	// The date and time that the association was last updated, in ISO-8601 format.
	LastUpdatedAt *time.Time

	// The Amazon Resource Name (ARN) of the service network.
	ServiceNetworkArn *string

	// The ID of the service network.
	ServiceNetworkId *string

	// The name of the service network.
	ServiceNetworkName *string

	// The status.
	Status ServiceNetworkVpcAssociationStatus

	// The ID of the VPC.
	VpcId *string
	// contains filtered or unexported fields
}

Summary information about an association between a service network and a VPC.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceId   *string
	ResourceType *string
	ServiceCode  *string
	QuotaCode    *string
	// contains filtered or unexported fields
}

The request would cause a service quota to be exceeded.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type ServiceStatus

type ServiceStatus string
const (
	// Service is active.
	ServiceStatusActive ServiceStatus = "ACTIVE"
	// Service creation in progress.
	ServiceStatusCreateInProgress ServiceStatus = "CREATE_IN_PROGRESS"
	// Service deletion in progress
	ServiceStatusDeleteInProgress ServiceStatus = "DELETE_IN_PROGRESS"
	// Service creation failed
	ServiceStatusCreateFailed ServiceStatus = "CREATE_FAILED"
	// Service deletion failed.
	ServiceStatusDeleteFailed ServiceStatus = "DELETE_FAILED"
)

Enum values for ServiceStatus

func (ServiceStatus) Values

func (ServiceStatus) Values() []ServiceStatus

Values returns all known values for ServiceStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ServiceSummary

type ServiceSummary struct {

	// The Amazon Resource Name (ARN) of the service.
	Arn *string

	// The date and time that the service was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The custom domain name of the service.
	CustomDomainName *string

	// The DNS information.
	DnsEntry *DnsEntry

	// The ID of the service.
	Id *string

	// The date and time that the service was last updated, in ISO-8601 format.
	LastUpdatedAt *time.Time

	// The name of the service.
	Name *string

	// The status.
	Status ServiceStatus
	// contains filtered or unexported fields
}

Summary information about a service.

type SharingConfig added in v1.13.0

type SharingConfig struct {

	// Specifies if the service network is enabled for sharing.
	Enabled *bool
	// contains filtered or unexported fields
}

Specifies if the service network should be enabled for sharing.

type Target

type Target struct {

	// The ID of the target. If the target group type is INSTANCE , this is an instance
	// ID. If the target group type is IP , this is an IP address. If the target group
	// type is LAMBDA , this is the ARN of a Lambda function. If the target group type
	// is ALB , this is the ARN of an Application Load Balancer.
	//
	// This member is required.
	Id *string

	// The port on which the target is listening. For HTTP, the default is 80. For
	// HTTPS, the default is 443.
	Port *int32
	// contains filtered or unexported fields
}

Describes a target.

type TargetFailure

type TargetFailure struct {

	// The failure code.
	FailureCode *string

	// The failure message.
	FailureMessage *string

	// The ID of the target. If the target group type is INSTANCE , this is an instance
	// ID. If the target group type is IP , this is an IP address. If the target group
	// type is LAMBDA , this is the ARN of a Lambda function. If the target group type
	// is ALB , this is the ARN of an Application Load Balancer.
	Id *string

	// The port on which the target is listening. This parameter doesn't apply if the
	// target is a Lambda function.
	Port *int32
	// contains filtered or unexported fields
}

Describes a target failure.

type TargetGroupConfig

type TargetGroupConfig struct {

	// The health check configuration. Not supported if the target group type is LAMBDA
	// or ALB .
	HealthCheck *HealthCheckConfig

	// The type of IP address used for the target group. Supported only if the target
	// group type is IP . The default is IPV4 .
	IpAddressType IpAddressType

	// The version of the event structure that your Lambda function receives.
	// Supported only if the target group type is LAMBDA . The default is V1 .
	LambdaEventStructureVersion LambdaEventStructureVersion

	// The port on which the targets are listening. For HTTP, the default is 80. For
	// HTTPS, the default is 443. Not supported if the target group type is LAMBDA .
	Port *int32

	// The protocol to use for routing traffic to the targets. The default is the
	// protocol of the target group. Not supported if the target group type is LAMBDA .
	Protocol TargetGroupProtocol

	// The protocol version. The default is HTTP1 . Not supported if the target group
	// type is LAMBDA .
	ProtocolVersion TargetGroupProtocolVersion

	// The ID of the VPC. Not supported if the target group type is LAMBDA .
	VpcIdentifier *string
	// contains filtered or unexported fields
}

Describes the configuration of a target group.

For more information, see Target groups in the Amazon VPC Lattice User Guide.

type TargetGroupProtocol

type TargetGroupProtocol string
const (
	// Indicates HTTP protocol
	TargetGroupProtocolHttp TargetGroupProtocol = "HTTP"
	// Indicates HTTPS protocol
	TargetGroupProtocolHttps TargetGroupProtocol = "HTTPS"
	// Indicates TCP protocol
	TargetGroupProtocolTcp TargetGroupProtocol = "TCP"
)

Enum values for TargetGroupProtocol

func (TargetGroupProtocol) Values

Values returns all known values for TargetGroupProtocol. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TargetGroupProtocolVersion

type TargetGroupProtocolVersion string
const (
	// Indicates use of HTTP/1.1 to send requests to target
	TargetGroupProtocolVersionHttp1 TargetGroupProtocolVersion = "HTTP1"
	// Indicates use of HTTP/2 to send requests to target
	TargetGroupProtocolVersionHttp2 TargetGroupProtocolVersion = "HTTP2"
	// Indicates use of gRPC to send requests to target
	TargetGroupProtocolVersionGrpc TargetGroupProtocolVersion = "GRPC"
)

Enum values for TargetGroupProtocolVersion

func (TargetGroupProtocolVersion) Values

Values returns all known values for TargetGroupProtocolVersion. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TargetGroupStatus

type TargetGroupStatus string
const (
	// TargetGroup creation in progress
	TargetGroupStatusCreateInProgress TargetGroupStatus = "CREATE_IN_PROGRESS"
	// TargetGroup is active
	TargetGroupStatusActive TargetGroupStatus = "ACTIVE"
	// TargetGroup deletion in progress
	TargetGroupStatusDeleteInProgress TargetGroupStatus = "DELETE_IN_PROGRESS"
	// TargetGroup creation failed.
	TargetGroupStatusCreateFailed TargetGroupStatus = "CREATE_FAILED"
	// TargetGroup deletion failed
	TargetGroupStatusDeleteFailed TargetGroupStatus = "DELETE_FAILED"
)

Enum values for TargetGroupStatus

func (TargetGroupStatus) Values

Values returns all known values for TargetGroupStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TargetGroupSummary

type TargetGroupSummary struct {

	// The ARN (Amazon Resource Name) of the target group.
	Arn *string

	// The date and time that the target group was created, in ISO-8601 format.
	CreatedAt *time.Time

	// The ID of the target group.
	Id *string

	// The type of IP address used for the target group. The possible values are IPV4
	// and IPV6 . This is an optional parameter. If not specified, the default is IPV4 .
	IpAddressType IpAddressType

	// The version of the event structure that your Lambda function receives.
	// Supported only if the target group type is LAMBDA .
	LambdaEventStructureVersion LambdaEventStructureVersion

	// The date and time that the target group was last updated, in ISO-8601 format.
	LastUpdatedAt *time.Time

	// The name of the target group.
	Name *string

	// The port of the target group.
	Port *int32

	// The protocol of the target group.
	Protocol TargetGroupProtocol

	// The Amazon Resource Names (ARNs) of the service.
	ServiceArns []string

	// The status.
	Status TargetGroupStatus

	// The target group type.
	Type TargetGroupType

	// The ID of the VPC of the target group.
	VpcIdentifier *string
	// contains filtered or unexported fields
}

Summary information about a target group.

For more information, see Target groups in the Amazon VPC Lattice User Guide.

type TargetGroupType

type TargetGroupType string
const (
	// Indicates targets in this target group are IP
	TargetGroupTypeIp TargetGroupType = "IP"
	// Indicates targets in this target group are Lambda
	TargetGroupTypeLambda TargetGroupType = "LAMBDA"
	// Indicates targets in this target group are EC2 instances
	TargetGroupTypeInstance TargetGroupType = "INSTANCE"
	// Indicates target in this target group is an ALB
	TargetGroupTypeAlb TargetGroupType = "ALB"
)

Enum values for TargetGroupType

func (TargetGroupType) Values

func (TargetGroupType) Values() []TargetGroupType

Values returns all known values for TargetGroupType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TargetStatus

type TargetStatus string
const (
	// The target is deregistering and connection draining is in process.
	TargetStatusDraining TargetStatus = "DRAINING"
	// Health checks are disabled.
	TargetStatusUnavailable TargetStatus = "UNAVAILABLE"
	// The target is healthy.
	TargetStatusHealthy TargetStatus = "HEALTHY"
	// The target failed the health check.
	TargetStatusUnhealthy TargetStatus = "UNHEALTHY"
	// The initial health check is in progress.
	TargetStatusInitial TargetStatus = "INITIAL"
	// The target group is not used in a listener rule.
	TargetStatusUnused TargetStatus = "UNUSED"
)

Enum values for TargetStatus

func (TargetStatus) Values

func (TargetStatus) Values() []TargetStatus

Values returns all known values for TargetStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type TargetSummary

type TargetSummary struct {

	// The ID of the target. If the target group type is INSTANCE , this is an instance
	// ID. If the target group type is IP , this is an IP address. If the target group
	// type is LAMBDA , this is the ARN of a Lambda function. If the target type is ALB
	// , this is the ARN of an Application Load Balancer.
	Id *string

	// The port on which the target is listening.
	Port *int32

	// The code for why the target status is what it is.
	ReasonCode *string

	// The status of the target.
	//
	//   - DRAINING : The target is being deregistered. No new connections are sent to
	//   this target while current connections are being drained. The default draining
	//   time is 5 minutes.
	//
	//   - UNAVAILABLE : Health checks are unavailable for the target group.
	//
	//   - HEALTHY : The target is healthy.
	//
	//   - UNHEALTHY : The target is unhealthy.
	//
	//   - INITIAL : Initial health checks on the target are being performed.
	//
	//   - UNUSED : Target group is not used in a service.
	Status TargetStatus
	// contains filtered or unexported fields
}

Summary information about a target.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string

	ServiceCode       *string
	QuotaCode         *string
	RetryAfterSeconds *int32
	// contains filtered or unexported fields
}

The limit on the number of requests per second was exceeded.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type UnknownUnionMember

type UnknownUnionMember struct {
	Tag   string
	Value []byte
	// contains filtered or unexported fields
}

UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string

	Reason    ValidationExceptionReason
	FieldList []ValidationExceptionField
	// contains filtered or unexported fields
}

The input does not satisfy the constraints specified by an Amazon Web Services service.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

type ValidationExceptionField

type ValidationExceptionField struct {

	// Additional information about why the validation failed.
	//
	// This member is required.
	Message *string

	// The name of the validation exception.
	//
	// This member is required.
	Name *string
	// contains filtered or unexported fields
}

Describes a validation failure.

type ValidationExceptionReason

type ValidationExceptionReason string
const (
	ValidationExceptionReasonUnknownOperation      ValidationExceptionReason = "unknownOperation"
	ValidationExceptionReasonCannotParse           ValidationExceptionReason = "cannotParse"
	ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "fieldValidationFailed"
	ValidationExceptionReasonOther                 ValidationExceptionReason = "other"
)

Enum values for ValidationExceptionReason

func (ValidationExceptionReason) Values

Values returns all known values for ValidationExceptionReason. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type WeightedTargetGroup

type WeightedTargetGroup struct {

	// The ID or ARN of the target group.
	//
	// This member is required.
	TargetGroupIdentifier *string

	// Only required if you specify multiple target groups for a forward action. The
	// weight determines how requests are distributed to the target group. For example,
	// if you specify two target groups, each with a weight of 10, each target group
	// receives half the requests. If you specify two target groups, one with a weight
	// of 10 and the other with a weight of 20, the target group with a weight of 20
	// receives twice as many requests as the other target group. If there's only one
	// target group specified, then the default value is 100.
	Weight *int32
	// contains filtered or unexported fields
}

Describes the weight of a target group.

Jump to

Keyboard shortcuts

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