package types
import "github.com/aws/aws-sdk-go-v2/service/codestarconnections/types"
Index ¶
- type Connection
- type ConnectionStatus
- type Host
- type LimitExceededException
- func (e *LimitExceededException) Error() string
- func (e *LimitExceededException) ErrorCode() string
- func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
- func (e *LimitExceededException) ErrorMessage() string
- func (e *LimitExceededException) GetMessage() string
- func (e *LimitExceededException) HasMessage() bool
- type ProviderType
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- func (e *ResourceNotFoundException) GetMessage() string
- func (e *ResourceNotFoundException) HasMessage() bool
- type ResourceUnavailableException
- func (e *ResourceUnavailableException) Error() string
- func (e *ResourceUnavailableException) ErrorCode() string
- func (e *ResourceUnavailableException) ErrorFault() smithy.ErrorFault
- func (e *ResourceUnavailableException) ErrorMessage() string
- func (e *ResourceUnavailableException) GetMessage() string
- func (e *ResourceUnavailableException) HasMessage() bool
- type Tag
- type VpcConfiguration
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
func (*LimitExceededException) GetMessage ¶
func (e *LimitExceededException) GetMessage() string
func (*LimitExceededException) HasMessage ¶
func (e *LimitExceededException) HasMessage() bool
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 (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
func (*ResourceNotFoundException) GetMessage ¶
func (e *ResourceNotFoundException) GetMessage() string
func (*ResourceNotFoundException) HasMessage ¶
func (e *ResourceNotFoundException) HasMessage() bool
type ResourceUnavailableException ¶
type ResourceUnavailableException struct { string }*
Resource not found. Verify the ARN for the host resource and try again.
func (*ResourceUnavailableException) Error ¶
func (e *ResourceUnavailableException) Error() string
func (*ResourceUnavailableException) ErrorCode ¶
func (e *ResourceUnavailableException) ErrorCode() string
func (*ResourceUnavailableException) ErrorFault ¶
func (e *ResourceUnavailableException) ErrorFault() smithy.ErrorFault
func (*ResourceUnavailableException) ErrorMessage ¶
func (e *ResourceUnavailableException) ErrorMessage() string
func (*ResourceUnavailableException) GetMessage ¶
func (e *ResourceUnavailableException) GetMessage() string
func (*ResourceUnavailableException) HasMessage ¶
func (e *ResourceUnavailableException) HasMessage() bool
type Tag ¶
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. SecurityGroupIds []*string // The ID of the Amazon VPC connected to the infrastructure where your provider // type is installed. VpcId *string // The ID of the subnet or subnets associated with the Amazon VPC connected to the // infrastructure where your provider type is installed. 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 ¶
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 9 hours ago –
Tools for package owners.