package types

import "github.com/aws/aws-sdk-go-v2/service/codestarconnections/types"

Index

Types

type Connection

type Connection struct {

	// The Amazon Resource Name (ARN) of the connection. The ARN is used as the
	// connection reference when the connection is shared between AWS services. The ARN
	// is never reused if the connection is deleted.
	ConnectionArn *string

	// The Amazon Resource Name (ARN) of the host associated with the connection.
	HostArn *string

	// The current status of the connection.
	ConnectionStatus ConnectionStatus

	// The name of the external provider where your third-party code repository is
	// configured. The valid provider type is Bitbucket.
	ProviderType ProviderType

	// The identifier of the external provider where your third-party code repository
	// is configured. For Bitbucket, this is the account ID of the owner of the
	// Bitbucket repository.
	OwnerAccountId *string

	// The name of the connection. Connection names must be unique in an AWS user
	// account.
	ConnectionName *string
}

A resource that is used to connect third-party source providers with services like AWS CodePipeline. Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console.

type ConnectionStatus

type ConnectionStatus string
const (
	ConnectionStatusPending   ConnectionStatus = "PENDING"
	ConnectionStatusAvailable ConnectionStatus = "AVAILABLE"
	ConnectionStatusError     ConnectionStatus = "ERROR"
)

Enum values for ConnectionStatus

type Host

type Host struct {

	// The VPC configuration provisioned for the host.
	VpcConfiguration *VpcConfiguration

	// The name of the host.
	Name *string

	// The endpoint of the infrastructure where your provider type is installed.
	ProviderEndpoint *string

	// The Amazon Resource Name (ARN) of the host.
	HostArn *string

	// The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING,
	// VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
	Status *string

	// The status description for the host.
	StatusMessage *string

	// The name of the installed provider to be associated with your connection. The
	// host resource represents the infrastructure where your provider type is
	// installed. The valid provider type is GitHub Enterprise Server.
	ProviderType ProviderType
}

A resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider. A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console.

type LimitExceededException

type LimitExceededException struct {
	Message *string
}

Exceeded the maximum limit for connections.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

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

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type ProviderType

type ProviderType string
const (
	ProviderTypeBitbucket                ProviderType = "Bitbucket"
	ProviderTypeGithub_enterprise_server ProviderType = "GitHubEnterpriseServer"
)

Enum values for ProviderType

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

Resource not found. Verify the connection resource ARN and try again.

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 ResourceUnavailableException

type ResourceUnavailableException struct {
	Message *string
}

Resource not found. Verify the ARN for the host resource and try again.

func (*ResourceUnavailableException) Error

func (*ResourceUnavailableException) ErrorCode

func (e *ResourceUnavailableException) ErrorCode() string

func (*ResourceUnavailableException) ErrorFault

func (*ResourceUnavailableException) ErrorMessage

func (e *ResourceUnavailableException) ErrorMessage() string

type Tag

type Tag struct {

	// The tag's value.
	//
	// This member is required.
	Value *string

	// The tag's key.
	//
	// This member is required.
	Key *string
}

A tag is a key-value pair that is used to manage the resource. This tag is available for use by AWS services that support tags.

type VpcConfiguration

type VpcConfiguration struct {

	// The ID of the security group or security groups associated with the Amazon VPC
	// connected to the infrastructure where your provider type is installed.
	//
	// This member is required.
	SecurityGroupIds []*string

	// The ID of the Amazon VPC connected to the infrastructure where your provider
	// type is installed.
	//
	// This member is required.
	VpcId *string

	// The ID of the subnet or subnets associated with the Amazon VPC connected to the
	// infrastructure where your provider type is installed.
	//
	// This member is required.
	SubnetIds []*string

	// The value of the Transport Layer Security (TLS) certificate associated with the
	// infrastructure where your provider type is installed.
	TlsCertificate *string
}

The VPC configuration provisioned for the host.

Source Files

enums.go errors.go types.go

Version
v0.26.0
Published
Oct 1, 2020
Platform
js/wasm
Imports
2 packages
Last checked
9 hours ago

Tools for package owners.