types

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

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, specified 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, specified
	// 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
	// contains filtered or unexported fields
}

Summary information about an access log subscription.

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 FixedResponseAction

type FixedResponseAction struct {

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

Information about 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 traffic will go 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. Defaults to false.
	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. Only one can be provided.

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

	}
}
Output:

type HeaderMatchTypeMemberContains

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

Specifies a contains type match.

type HeaderMatchTypeMemberExact

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

Specifies an exact type match.

type HeaderMatchTypeMemberPrefix

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

Specifies 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. These
	// are called Success codes in the console.
	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
}

The health check configuration of a target group. Health check configurations aren't used for LAMBDA and ALB target groups.

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

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, specified in ISO-8601 format.
	CreatedAt *time.Time

	// The ID of the listener.
	Id *string

	// The date and time that the listener was last updated, specified 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
}

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

	}
}
Output:

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. Defaults to false.
	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")

	}
}
Output:

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 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. Each rule must include exactly one of the following types of actions: forward or fixed-response , and it must be the last action to be performed.

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

	}
}
Output:

type RuleActionMemberFixedResponse

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

Describes the rule action that 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")

	}
}
Output:

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, specified in ISO-8601
	// format.
	CreatedAt *time.Time

	// The ID of the rule.
	Id *string

	// Indicates whether this is the default rule. Listener rules are created when you
	// create a listener. Each listener has a default rule for checking connection
	// requests.
	IsDefault *bool

	// The date and time that the listener rule was last updated, specified 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 the listener rule.

type RuleUpdate

type RuleUpdate struct {

	// The ID or Amazon Resource Name (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
}

Represents an object when updating a rule.

type RuleUpdateFailure

type RuleUpdateFailure struct {

	// The failure code.
	FailureCode *string

	// The failure message.
	FailureMessage *string

	// The ID or Amazon Resource Name (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 default 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 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, specified in ISO-8601
	// format.
	CreatedAt *time.Time

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

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

	// DNS information about the service.
	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 the 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, specified 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, specified in
	// ISO-8601 format.
	LastUpdatedAt *time.Time

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

	// 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, specified 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, specified 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, specified in ISO-8601 format.
	CreatedAt *time.Time

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

	// DNS information about the service.
	DnsEntry *DnsEntry

	// The ID of the service.
	Id *string

	// The date and time that the service was last updated. The format is ISO-8601.
	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 Target

type Target struct {

	// The ID of the target. If the target type of the target group is INSTANCE , this
	// is an instance ID. If the target type is IP , this is an IP address. If the
	// target type is LAMBDA , this is the ARN of the Lambda function. If the target
	// type is ALB , this is the ARN of the 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 type of the target group is INSTANCE , this
	// is an instance ID. If the target type is IP , this is an IP address. If the
	// target type is LAMBDA , this is the ARN of the Lambda function. If the target
	// type is ALB , this is the ARN of the 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.
	HealthCheck *HealthCheckConfig

	// 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 IP address type
	// defaults to ipv4 .
	IpAddressType IpAddressType

	// Lambda event structure version
	LambdaEventStructureVersion LambdaEventStructureVersion

	// The port on which the targets are listening. For HTTP, the default is 80 . For
	// HTTPS, the default is 443
	Port *int32

	// The protocol to use for routing traffic to the targets. Default is the protocol
	// of a target group.
	Protocol TargetGroupProtocol

	// The protocol version. Default value is HTTP1 .
	ProtocolVersion TargetGroupProtocolVersion

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

Describes the configuration of a target group. Lambda functions don't support target group configuration.

type TargetGroupProtocol

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

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, specified 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 IP address type
	// defaults to ipv4 .
	IpAddressType IpAddressType

	// Lambda event structure version
	LambdaEventStructureVersion LambdaEventStructureVersion

	// The date and time that the target group was last updated, specified 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 list of 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.

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 type of the target group is INSTANCE , this
	// is an instance ID. If the target type is IP , this is an IP address. If the
	// target type is LAMBDA , this is the ARN of the Lambda function. If the target
	// type is ALB , this is the ARN of the 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 will be sent
	//   to this target while current connections are being drained. 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 details 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 Amazon Resource Name (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