Documentation ¶
Overview ¶
Package codestarconnections provides the API client, operations, and parameter types for AWS CodeStar connections.
AWS CodeStar Connections ¶
This Amazon Web Services CodeStar Connections API Reference provides descriptions and usage examples of the operations and data types for the Amazon Web Services CodeStar Connections API. You can use the connections API to work with connections and installations.
Connections are configurations that you use to connect Amazon Web Services resources to external code repositories. Each connection is a resource that can be given to services such as CodePipeline to connect to a third-party repository such as Bitbucket. For example, you can add the connection in CodePipeline so that it triggers your pipeline when a code change is made to your third-party code repository. Each connection is named and associated with a unique ARN that is used to reference the connection.
When you create a connection, the console initiates a third-party connection handshake. Installations are the apps that are used to conduct this handshake. For example, the installation for the Bitbucket provider type is the Bitbucket app. When you create a connection, you can choose an existing installation or create one.
When you want to create a connection to an installed provider type such as GitHub Enterprise Server, you create a host for your connections.
You can work with connections by calling:
CreateConnection
- , which creates a uniquely named connection that can be referenced by services such as CodePipeline.
DeleteConnection
- , which deletes the specified connection.
GetConnection
- , which returns information about the connection, including the connection status.
ListConnections
- , which lists the connections associated with your account.
You can work with hosts by calling:
CreateHost
- , which creates a host that represents the infrastructure where your provider is installed.
DeleteHost
- , which deletes the specified host.
GetHost
- , which returns information about the host, including the setup status.
ListHosts
- , which lists the hosts associated with your account.
You can work with tags in Amazon Web Services CodeStar Connections by calling the following:
ListTagsForResource
- , which gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in Amazon Web Services CodeStar Connections.
TagResource
- , which adds or updates tags for a resource in Amazon Web Services CodeStar Connections.
UntagResource
- , which removes tags for a resource in Amazon Web Services CodeStar Connections.
For information about how to use Amazon Web Services CodeStar Connections, see the Developer Tools User Guide.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateConnection(ctx context.Context, params *CreateConnectionInput, optFns ...func(*Options)) (*CreateConnectionOutput, error)
- func (c *Client) CreateHost(ctx context.Context, params *CreateHostInput, optFns ...func(*Options)) (*CreateHostOutput, error)
- func (c *Client) CreateRepositoryLink(ctx context.Context, params *CreateRepositoryLinkInput, ...) (*CreateRepositoryLinkOutput, error)
- func (c *Client) CreateSyncConfiguration(ctx context.Context, params *CreateSyncConfigurationInput, ...) (*CreateSyncConfigurationOutput, error)
- func (c *Client) DeleteConnection(ctx context.Context, params *DeleteConnectionInput, optFns ...func(*Options)) (*DeleteConnectionOutput, error)
- func (c *Client) DeleteHost(ctx context.Context, params *DeleteHostInput, optFns ...func(*Options)) (*DeleteHostOutput, error)
- func (c *Client) DeleteRepositoryLink(ctx context.Context, params *DeleteRepositoryLinkInput, ...) (*DeleteRepositoryLinkOutput, error)
- func (c *Client) DeleteSyncConfiguration(ctx context.Context, params *DeleteSyncConfigurationInput, ...) (*DeleteSyncConfigurationOutput, error)
- func (c *Client) GetConnection(ctx context.Context, params *GetConnectionInput, optFns ...func(*Options)) (*GetConnectionOutput, error)
- func (c *Client) GetHost(ctx context.Context, params *GetHostInput, optFns ...func(*Options)) (*GetHostOutput, error)
- func (c *Client) GetRepositoryLink(ctx context.Context, params *GetRepositoryLinkInput, optFns ...func(*Options)) (*GetRepositoryLinkOutput, error)
- func (c *Client) GetRepositorySyncStatus(ctx context.Context, params *GetRepositorySyncStatusInput, ...) (*GetRepositorySyncStatusOutput, error)
- func (c *Client) GetResourceSyncStatus(ctx context.Context, params *GetResourceSyncStatusInput, ...) (*GetResourceSyncStatusOutput, error)
- func (c *Client) GetSyncBlockerSummary(ctx context.Context, params *GetSyncBlockerSummaryInput, ...) (*GetSyncBlockerSummaryOutput, error)
- func (c *Client) GetSyncConfiguration(ctx context.Context, params *GetSyncConfigurationInput, ...) (*GetSyncConfigurationOutput, error)
- func (c *Client) ListConnections(ctx context.Context, params *ListConnectionsInput, optFns ...func(*Options)) (*ListConnectionsOutput, error)
- func (c *Client) ListHosts(ctx context.Context, params *ListHostsInput, optFns ...func(*Options)) (*ListHostsOutput, error)
- func (c *Client) ListRepositoryLinks(ctx context.Context, params *ListRepositoryLinksInput, ...) (*ListRepositoryLinksOutput, error)
- func (c *Client) ListRepositorySyncDefinitions(ctx context.Context, params *ListRepositorySyncDefinitionsInput, ...) (*ListRepositorySyncDefinitionsOutput, error)
- func (c *Client) ListSyncConfigurations(ctx context.Context, params *ListSyncConfigurationsInput, ...) (*ListSyncConfigurationsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateHost(ctx context.Context, params *UpdateHostInput, optFns ...func(*Options)) (*UpdateHostOutput, error)
- func (c *Client) UpdateRepositoryLink(ctx context.Context, params *UpdateRepositoryLinkInput, ...) (*UpdateRepositoryLinkOutput, error)
- func (c *Client) UpdateSyncBlocker(ctx context.Context, params *UpdateSyncBlockerInput, optFns ...func(*Options)) (*UpdateSyncBlockerOutput, error)
- func (c *Client) UpdateSyncConfiguration(ctx context.Context, params *UpdateSyncConfigurationInput, ...) (*UpdateSyncConfigurationOutput, error)
- type CreateConnectionInput
- type CreateConnectionOutput
- type CreateHostInput
- type CreateHostOutput
- type CreateRepositoryLinkInput
- type CreateRepositoryLinkOutput
- type CreateSyncConfigurationInput
- type CreateSyncConfigurationOutput
- type DeleteConnectionInput
- type DeleteConnectionOutput
- type DeleteHostInput
- type DeleteHostOutput
- type DeleteRepositoryLinkInput
- type DeleteRepositoryLinkOutput
- type DeleteSyncConfigurationInput
- type DeleteSyncConfigurationOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetConnectionInput
- type GetConnectionOutput
- type GetHostInput
- type GetHostOutput
- type GetRepositoryLinkInput
- type GetRepositoryLinkOutput
- type GetRepositorySyncStatusInput
- type GetRepositorySyncStatusOutput
- type GetResourceSyncStatusInput
- type GetResourceSyncStatusOutput
- type GetSyncBlockerSummaryInput
- type GetSyncBlockerSummaryOutput
- type GetSyncConfigurationInput
- type GetSyncConfigurationOutput
- type HTTPClient
- type HTTPSignerV4
- type ListConnectionsAPIClient
- type ListConnectionsInput
- type ListConnectionsOutput
- type ListConnectionsPaginator
- type ListConnectionsPaginatorOptions
- type ListHostsAPIClient
- type ListHostsInput
- type ListHostsOutput
- type ListHostsPaginator
- type ListHostsPaginatorOptions
- type ListRepositoryLinksAPIClient
- type ListRepositoryLinksInput
- type ListRepositoryLinksOutput
- type ListRepositoryLinksPaginator
- type ListRepositoryLinksPaginatorOptions
- type ListRepositorySyncDefinitionsInput
- type ListRepositorySyncDefinitionsOutput
- type ListSyncConfigurationsAPIClient
- type ListSyncConfigurationsInput
- type ListSyncConfigurationsOutput
- type ListSyncConfigurationsPaginator
- type ListSyncConfigurationsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateHostInput
- type UpdateHostOutput
- type UpdateRepositoryLinkInput
- type UpdateRepositoryLinkOutput
- type UpdateSyncBlockerInput
- type UpdateSyncBlockerOutput
- type UpdateSyncConfigurationInput
- type UpdateSyncConfigurationOutput
Constants ¶
const ServiceAPIVersion = "2019-12-01"
const ServiceID = "CodeStar connections"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS CodeStar connections.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateConnection ¶
func (c *Client) CreateConnection(ctx context.Context, params *CreateConnectionInput, optFns ...func(*Options)) (*CreateConnectionOutput, error)
Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
func (*Client) CreateHost ¶
func (c *Client) CreateHost(ctx context.Context, params *CreateHostInput, optFns ...func(*Options)) (*CreateHostOutput, error)
Creates 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.
func (*Client) CreateRepositoryLink ¶
func (c *Client) CreateRepositoryLink(ctx context.Context, params *CreateRepositoryLinkInput, optFns ...func(*Options)) (*CreateRepositoryLinkOutput, error)
Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
func (*Client) CreateSyncConfiguration ¶
func (c *Client) CreateSyncConfiguration(ctx context.Context, params *CreateSyncConfigurationInput, optFns ...func(*Options)) (*CreateSyncConfigurationOutput, error)
Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type.
func (*Client) DeleteConnection ¶
func (c *Client) DeleteConnection(ctx context.Context, params *DeleteConnectionInput, optFns ...func(*Options)) (*DeleteConnectionOutput, error)
The connection to be deleted.
func (*Client) DeleteHost ¶
func (c *Client) DeleteHost(ctx context.Context, params *DeleteHostInput, optFns ...func(*Options)) (*DeleteHostOutput, error)
The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.
A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
func (*Client) DeleteRepositoryLink ¶
func (c *Client) DeleteRepositoryLink(ctx context.Context, params *DeleteRepositoryLinkInput, optFns ...func(*Options)) (*DeleteRepositoryLinkOutput, error)
Deletes the association between your connection and a specified external Git repository.
func (*Client) DeleteSyncConfiguration ¶
func (c *Client) DeleteSyncConfiguration(ctx context.Context, params *DeleteSyncConfigurationInput, optFns ...func(*Options)) (*DeleteSyncConfigurationOutput, error)
Deletes the sync configuration for a specified repository and connection.
func (*Client) GetConnection ¶
func (c *Client) GetConnection(ctx context.Context, params *GetConnectionInput, optFns ...func(*Options)) (*GetConnectionOutput, error)
Returns the connection ARN and details such as status, owner, and provider type.
func (*Client) GetHost ¶
func (c *Client) GetHost(ctx context.Context, params *GetHostInput, optFns ...func(*Options)) (*GetHostOutput, error)
Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
func (*Client) GetRepositoryLink ¶
func (c *Client) GetRepositoryLink(ctx context.Context, params *GetRepositoryLinkInput, optFns ...func(*Options)) (*GetRepositoryLinkOutput, error)
Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository.
func (*Client) GetRepositorySyncStatus ¶
func (c *Client) GetRepositorySyncStatus(ctx context.Context, params *GetRepositorySyncStatusInput, optFns ...func(*Options)) (*GetRepositorySyncStatusOutput, error)
Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.
func (*Client) GetResourceSyncStatus ¶
func (c *Client) GetResourceSyncStatus(ctx context.Context, params *GetResourceSyncStatusInput, optFns ...func(*Options)) (*GetResourceSyncStatusOutput, error)
Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
func (*Client) GetSyncBlockerSummary ¶
func (c *Client) GetSyncBlockerSummary(ctx context.Context, params *GetSyncBlockerSummaryInput, optFns ...func(*Options)) (*GetSyncBlockerSummaryOutput, error)
Returns a list of the most recent sync blockers.
func (*Client) GetSyncConfiguration ¶
func (c *Client) GetSyncConfiguration(ctx context.Context, params *GetSyncConfigurationInput, optFns ...func(*Options)) (*GetSyncConfigurationOutput, error)
Returns details about a sync configuration, including the sync type and resource name. A sync configuration allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a Git repository.
func (*Client) ListConnections ¶
func (c *Client) ListConnections(ctx context.Context, params *ListConnectionsInput, optFns ...func(*Options)) (*ListConnectionsOutput, error)
Lists the connections associated with your account.
func (*Client) ListHosts ¶
func (c *Client) ListHosts(ctx context.Context, params *ListHostsInput, optFns ...func(*Options)) (*ListHostsOutput, error)
Lists the hosts associated with your account.
func (*Client) ListRepositoryLinks ¶
func (c *Client) ListRepositoryLinks(ctx context.Context, params *ListRepositoryLinksInput, optFns ...func(*Options)) (*ListRepositoryLinksOutput, error)
Lists the repository links created for connections in your account.
func (*Client) ListRepositorySyncDefinitions ¶
func (c *Client) ListRepositorySyncDefinitions(ctx context.Context, params *ListRepositorySyncDefinitionsInput, optFns ...func(*Options)) (*ListRepositorySyncDefinitionsOutput, error)
Lists the repository sync definitions for repository links in your account.
func (*Client) ListSyncConfigurations ¶
func (c *Client) ListSyncConfigurations(ctx context.Context, params *ListSyncConfigurationsInput, optFns ...func(*Options)) (*ListSyncConfigurationsOutput, error)
Returns a list of sync configurations for a specified repository.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Gets the set of key-value pairs (metadata) that are used to manage the resource.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes tags from an Amazon Web Services resource.
func (*Client) UpdateHost ¶
func (c *Client) UpdateHost(ctx context.Context, params *UpdateHostInput, optFns ...func(*Options)) (*UpdateHostOutput, error)
Updates a specified host with the provided configurations.
func (*Client) UpdateRepositoryLink ¶
func (c *Client) UpdateRepositoryLink(ctx context.Context, params *UpdateRepositoryLinkInput, optFns ...func(*Options)) (*UpdateRepositoryLinkOutput, error)
Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
func (*Client) UpdateSyncBlocker ¶
func (c *Client) UpdateSyncBlocker(ctx context.Context, params *UpdateSyncBlockerInput, optFns ...func(*Options)) (*UpdateSyncBlockerOutput, error)
Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
func (*Client) UpdateSyncConfiguration ¶
func (c *Client) UpdateSyncConfiguration(ctx context.Context, params *UpdateSyncConfigurationInput, optFns ...func(*Options)) (*UpdateSyncConfigurationOutput, error)
Updates the sync configuration for your connection and a specified external Git repository.
type CreateConnectionInput ¶
type CreateConnectionInput struct { // The name of the connection to be created. // // This member is required. ConnectionName *string // The Amazon Resource Name (ARN) of the host associated with the connection to be // created. HostArn *string // The name of the external provider where your third-party code repository is // configured. ProviderType types.ProviderType // The key-value pair to use when tagging the resource. Tags []types.Tag // contains filtered or unexported fields }
type CreateConnectionOutput ¶
type CreateConnectionOutput struct { // The Amazon Resource Name (ARN) of the connection to be created. The ARN is used // as the connection reference when the connection is shared between Amazon Web // Services services. // // The ARN is never reused if the connection is deleted. // // This member is required. ConnectionArn *string // Specifies the tags applied to the resource. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateHostInput ¶
type CreateHostInput struct { // The name of the host to be created. // // This member is required. Name *string // The endpoint of the infrastructure to be represented by the host after it is // created. // // This member is required. ProviderEndpoint *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. // // This member is required. ProviderType types.ProviderType // Tags for the host to be created. Tags []types.Tag // The VPC configuration to be provisioned for the host. A VPC must be configured // and the infrastructure to be represented by the host must already be connected // to the VPC. VpcConfiguration *types.VpcConfiguration // contains filtered or unexported fields }
type CreateHostOutput ¶
type CreateHostOutput struct { // The Amazon Resource Name (ARN) of the host to be created. HostArn *string // Tags for the created host. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateRepositoryLinkInput ¶
type CreateRepositoryLinkInput struct { // The Amazon Resource Name (ARN) of the connection to be associated with the // repository link. // // This member is required. ConnectionArn *string // The owner ID for the repository associated with a specific sync configuration, // such as the owner ID in GitHub. // // This member is required. OwnerId *string // The name of the repository to be associated with the repository link. // // This member is required. RepositoryName *string // The Amazon Resource Name (ARN) encryption key for the repository to be // associated with the repository link. EncryptionKeyArn *string // The tags for the repository to be associated with the repository link. Tags []types.Tag // contains filtered or unexported fields }
type CreateRepositoryLinkOutput ¶
type CreateRepositoryLinkOutput struct { // The returned information about the created repository link. // // This member is required. RepositoryLinkInfo *types.RepositoryLinkInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateSyncConfigurationInput ¶
type CreateSyncConfigurationInput struct { // The branch in the repository from which changes will be synced. // // This member is required. Branch *string // The file name of the configuration file that manages syncing between the // connection and the repository. This configuration file is stored in the // repository. // // This member is required. ConfigFile *string // The ID of the repository link created for the connection. A repository link // allows Git sync to monitor and sync changes to files in a specified Git // repository. // // This member is required. RepositoryLinkId *string // The name of the Amazon Web Services resource (for example, a CloudFormation // stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked // repository. // // This member is required. ResourceName *string // The ARN of the IAM role that grants permission for Amazon Web Services to use // Git sync to update a given Amazon Web Services resource on your behalf. // // This member is required. RoleArn *string // The type of sync configuration. // // This member is required. SyncType types.SyncConfigurationType // Whether to enable or disable publishing of deployment status to source // providers. PublishDeploymentStatus types.PublishDeploymentStatus // When to trigger Git sync to begin the stack update. TriggerResourceUpdateOn types.TriggerResourceUpdateOn // contains filtered or unexported fields }
type CreateSyncConfigurationOutput ¶
type CreateSyncConfigurationOutput struct { // The created sync configuration for the connection. A sync configuration allows // Amazon Web Services to sync content from a Git repository to update a specified // Amazon Web Services resource. // // This member is required. SyncConfiguration *types.SyncConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteConnectionInput ¶
type DeleteConnectionInput struct { // The Amazon Resource Name (ARN) of the connection to be deleted. // // The ARN is never reused if the connection is deleted. // // This member is required. ConnectionArn *string // contains filtered or unexported fields }
type DeleteConnectionOutput ¶
type DeleteConnectionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteHostInput ¶
type DeleteHostInput struct { // The Amazon Resource Name (ARN) of the host to be deleted. // // This member is required. HostArn *string // contains filtered or unexported fields }
type DeleteHostOutput ¶
type DeleteHostOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteRepositoryLinkInput ¶
type DeleteRepositoryLinkInput struct { // The ID of the repository link to be deleted. // // This member is required. RepositoryLinkId *string // contains filtered or unexported fields }
type DeleteRepositoryLinkOutput ¶
type DeleteRepositoryLinkOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSyncConfigurationInput ¶
type DeleteSyncConfigurationInput struct { // The name of the Amazon Web Services resource associated with the sync // configuration to be deleted. // // This member is required. ResourceName *string // The type of sync configuration to be deleted. // // This member is required. SyncType types.SyncConfigurationType // contains filtered or unexported fields }
type DeleteSyncConfigurationOutput ¶
type DeleteSyncConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetConnectionInput ¶
type GetConnectionInput struct { // The Amazon Resource Name (ARN) of a connection. // // This member is required. ConnectionArn *string // contains filtered or unexported fields }
type GetConnectionOutput ¶
type GetConnectionOutput struct { // The connection details, such as status, owner, and provider type. Connection *types.Connection // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetHostInput ¶
type GetHostInput struct { // The Amazon Resource Name (ARN) of the requested host. // // This member is required. HostArn *string // contains filtered or unexported fields }
type GetHostOutput ¶
type GetHostOutput struct { // The name of the requested host. Name *string // The endpoint of the infrastructure represented by the requested host. ProviderEndpoint *string // The provider type of the requested host, such as GitHub Enterprise Server. ProviderType types.ProviderType // The status of the requested host. Status *string // The VPC configuration of the requested host. VpcConfiguration *types.VpcConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRepositoryLinkInput ¶
type GetRepositoryLinkInput struct { // The ID of the repository link to get. // // This member is required. RepositoryLinkId *string // contains filtered or unexported fields }
type GetRepositoryLinkOutput ¶
type GetRepositoryLinkOutput struct { // The information returned for a specified repository link. // // This member is required. RepositoryLinkInfo *types.RepositoryLinkInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRepositorySyncStatusInput ¶
type GetRepositorySyncStatusInput struct { // The branch of the repository link for the requested repository sync status. // // This member is required. Branch *string // The repository link ID for the requested repository sync status. // // This member is required. RepositoryLinkId *string // The sync type of the requested sync status. // // This member is required. SyncType types.SyncConfigurationType // contains filtered or unexported fields }
type GetRepositorySyncStatusOutput ¶
type GetRepositorySyncStatusOutput struct { // The status of the latest sync returned for a specified repository and branch. // // This member is required. LatestSync *types.RepositorySyncAttempt // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourceSyncStatusInput ¶
type GetResourceSyncStatusInput struct { // The name of the Amazon Web Services resource for the sync status with the Git // repository. // // This member is required. ResourceName *string // The sync type for the sync status with the Git repository. // // This member is required. SyncType types.SyncConfigurationType // contains filtered or unexported fields }
type GetResourceSyncStatusOutput ¶
type GetResourceSyncStatusOutput struct { // The latest sync for the sync status with the Git repository, whether successful // or not. // // This member is required. LatestSync *types.ResourceSyncAttempt // The desired state of the Amazon Web Services resource for the sync status with // the Git repository. DesiredState *types.Revision // The latest successful sync for the sync status with the Git repository. LatestSuccessfulSync *types.ResourceSyncAttempt // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSyncBlockerSummaryInput ¶
type GetSyncBlockerSummaryInput struct { // The name of the Amazon Web Services resource currently blocked from // automatically being synced from a Git repository. // // This member is required. ResourceName *string // The sync type for the sync blocker summary. // // This member is required. SyncType types.SyncConfigurationType // contains filtered or unexported fields }
type GetSyncBlockerSummaryOutput ¶
type GetSyncBlockerSummaryOutput struct { // The list of sync blockers for a specified resource. // // This member is required. SyncBlockerSummary *types.SyncBlockerSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSyncConfigurationInput ¶
type GetSyncConfigurationInput struct { // The name of the Amazon Web Services resource for the sync configuration for // which you want to retrieve information. // // This member is required. ResourceName *string // The sync type for the sync configuration for which you want to retrieve // information. // // This member is required. SyncType types.SyncConfigurationType // contains filtered or unexported fields }
type GetSyncConfigurationOutput ¶
type GetSyncConfigurationOutput struct { // The details about the sync configuration for which you want to retrieve // information. // // This member is required. SyncConfiguration *types.SyncConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListConnectionsAPIClient ¶
type ListConnectionsAPIClient interface {
ListConnections(context.Context, *ListConnectionsInput, ...func(*Options)) (*ListConnectionsOutput, error)
}
ListConnectionsAPIClient is a client that implements the ListConnections operation.
type ListConnectionsInput ¶
type ListConnectionsInput struct { // Filters the list of connections to those associated with a specified host. HostArnFilter *string // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults int32 // The token that was returned from the previous ListConnections call, which can // be used to return the next set of connections in the list. NextToken *string // Filters the list of connections to those associated with a specified provider, // such as Bitbucket. ProviderTypeFilter types.ProviderType // contains filtered or unexported fields }
type ListConnectionsOutput ¶
type ListConnectionsOutput struct { // A list of connections and the details for each connection, such as status, // owner, and provider type. Connections []types.Connection // A token that can be used in the next ListConnections call. To view all items in // the list, continue to call this operation with each subsequent token until no // more nextToken values are returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListConnectionsPaginator ¶
type ListConnectionsPaginator struct {
// contains filtered or unexported fields
}
ListConnectionsPaginator is a paginator for ListConnections
func NewListConnectionsPaginator ¶
func NewListConnectionsPaginator(client ListConnectionsAPIClient, params *ListConnectionsInput, optFns ...func(*ListConnectionsPaginatorOptions)) *ListConnectionsPaginator
NewListConnectionsPaginator returns a new ListConnectionsPaginator
func (*ListConnectionsPaginator) HasMorePages ¶
func (p *ListConnectionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListConnectionsPaginator) NextPage ¶
func (p *ListConnectionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListConnectionsOutput, error)
NextPage retrieves the next ListConnections page.
type ListConnectionsPaginatorOptions ¶
type ListConnectionsPaginatorOptions struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned nextToken value. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListConnectionsPaginatorOptions is the paginator options for ListConnections
type ListHostsAPIClient ¶
type ListHostsAPIClient interface {
ListHosts(context.Context, *ListHostsInput, ...func(*Options)) (*ListHostsOutput, error)
}
ListHostsAPIClient is a client that implements the ListHosts operation.
type ListHostsInput ¶
type ListHostsInput struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults int32 // The token that was returned from the previous ListHosts call, which can be used // to return the next set of hosts in the list. NextToken *string // contains filtered or unexported fields }
type ListHostsOutput ¶
type ListHostsOutput struct { // A list of hosts and the details for each host, such as status, endpoint, and // provider type. Hosts []types.Host // A token that can be used in the next ListHosts call. To view all items in the // list, continue to call this operation with each subsequent token until no more // nextToken values are returned. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListHostsPaginator ¶
type ListHostsPaginator struct {
// contains filtered or unexported fields
}
ListHostsPaginator is a paginator for ListHosts
func NewListHostsPaginator ¶
func NewListHostsPaginator(client ListHostsAPIClient, params *ListHostsInput, optFns ...func(*ListHostsPaginatorOptions)) *ListHostsPaginator
NewListHostsPaginator returns a new ListHostsPaginator
func (*ListHostsPaginator) HasMorePages ¶
func (p *ListHostsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListHostsPaginator) NextPage ¶
func (p *ListHostsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListHostsOutput, error)
NextPage retrieves the next ListHosts page.
type ListHostsPaginatorOptions ¶
type ListHostsPaginatorOptions struct { // The maximum number of results to return in a single call. To retrieve the // remaining results, make another call with the returned nextToken value. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListHostsPaginatorOptions is the paginator options for ListHosts
type ListRepositoryLinksAPIClient ¶
type ListRepositoryLinksAPIClient interface {
ListRepositoryLinks(context.Context, *ListRepositoryLinksInput, ...func(*Options)) (*ListRepositoryLinksOutput, error)
}
ListRepositoryLinksAPIClient is a client that implements the ListRepositoryLinks operation.
type ListRepositoryLinksInput ¶
type ListRepositoryLinksOutput ¶
type ListRepositoryLinksOutput struct { // Lists the repository links called by the list repository links operation. // // This member is required. RepositoryLinks []types.RepositoryLinkInfo // An enumeration token that allows the operation to batch the results of the // operation. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRepositoryLinksPaginator ¶
type ListRepositoryLinksPaginator struct {
// contains filtered or unexported fields
}
ListRepositoryLinksPaginator is a paginator for ListRepositoryLinks
func NewListRepositoryLinksPaginator ¶
func NewListRepositoryLinksPaginator(client ListRepositoryLinksAPIClient, params *ListRepositoryLinksInput, optFns ...func(*ListRepositoryLinksPaginatorOptions)) *ListRepositoryLinksPaginator
NewListRepositoryLinksPaginator returns a new ListRepositoryLinksPaginator
func (*ListRepositoryLinksPaginator) HasMorePages ¶
func (p *ListRepositoryLinksPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRepositoryLinksPaginator) NextPage ¶
func (p *ListRepositoryLinksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRepositoryLinksOutput, error)
NextPage retrieves the next ListRepositoryLinks page.
type ListRepositoryLinksPaginatorOptions ¶
type ListRepositoryLinksPaginatorOptions struct { // A non-zero, non-negative integer used to limit the number of returned results. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRepositoryLinksPaginatorOptions is the paginator options for ListRepositoryLinks
type ListRepositorySyncDefinitionsInput ¶
type ListRepositorySyncDefinitionsInput struct { // The ID of the repository link for the sync definition for which you want to // retrieve information. // // This member is required. RepositoryLinkId *string // The sync type of the repository link for the the sync definition for which you // want to retrieve information. // // This member is required. SyncType types.SyncConfigurationType // contains filtered or unexported fields }
type ListRepositorySyncDefinitionsOutput ¶
type ListRepositorySyncDefinitionsOutput struct { // The list of repository sync definitions returned by the request. A // RepositorySyncDefinition is a mapping from a repository branch to all the Amazon // Web Services resources that are being synced from that branch. // // This member is required. RepositorySyncDefinitions []types.RepositorySyncDefinition // An enumeration token that, when provided in a request, returns the next batch // of the results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSyncConfigurationsAPIClient ¶
type ListSyncConfigurationsAPIClient interface {
ListSyncConfigurations(context.Context, *ListSyncConfigurationsInput, ...func(*Options)) (*ListSyncConfigurationsOutput, error)
}
ListSyncConfigurationsAPIClient is a client that implements the ListSyncConfigurations operation.
type ListSyncConfigurationsInput ¶
type ListSyncConfigurationsInput struct { // The ID of the repository link for the requested list of sync configurations. // // This member is required. RepositoryLinkId *string // The sync type for the requested list of sync configurations. // // This member is required. SyncType types.SyncConfigurationType // A non-zero, non-negative integer used to limit the number of returned results. MaxResults int32 // An enumeration token that allows the operation to batch the results of the // operation. NextToken *string // contains filtered or unexported fields }
type ListSyncConfigurationsOutput ¶
type ListSyncConfigurationsOutput struct { // The list of repository sync definitions returned by the request. // // This member is required. SyncConfigurations []types.SyncConfiguration // An enumeration token that allows the operation to batch the next results of the // operation. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSyncConfigurationsPaginator ¶
type ListSyncConfigurationsPaginator struct {
// contains filtered or unexported fields
}
ListSyncConfigurationsPaginator is a paginator for ListSyncConfigurations
func NewListSyncConfigurationsPaginator ¶
func NewListSyncConfigurationsPaginator(client ListSyncConfigurationsAPIClient, params *ListSyncConfigurationsInput, optFns ...func(*ListSyncConfigurationsPaginatorOptions)) *ListSyncConfigurationsPaginator
NewListSyncConfigurationsPaginator returns a new ListSyncConfigurationsPaginator
func (*ListSyncConfigurationsPaginator) HasMorePages ¶
func (p *ListSyncConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSyncConfigurationsPaginator) NextPage ¶
func (p *ListSyncConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSyncConfigurationsOutput, error)
NextPage retrieves the next ListSyncConfigurations page.
type ListSyncConfigurationsPaginatorOptions ¶
type ListSyncConfigurationsPaginatorOptions struct { // A non-zero, non-negative integer used to limit the number of returned results. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListSyncConfigurationsPaginatorOptions is the paginator options for ListSyncConfigurations
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource for which you want to get // information about tags, if any. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A list of tag key and value pairs associated with the specified resource. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to which you want to add or // update tags. // // This member is required. ResourceArn *string // The tags you want to modify or add to the resource. // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to remove tags from. // // This member is required. ResourceArn *string // The list of keys for the tags to be removed from the resource. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateHostInput ¶
type UpdateHostInput struct { // The Amazon Resource Name (ARN) of the host to be updated. // // This member is required. HostArn *string // The URL or endpoint of the host to be updated. ProviderEndpoint *string // The VPC configuration of the host to be updated. A VPC must be configured and // the infrastructure to be represented by the host must already be connected to // the VPC. VpcConfiguration *types.VpcConfiguration // contains filtered or unexported fields }
type UpdateHostOutput ¶
type UpdateHostOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRepositoryLinkInput ¶
type UpdateRepositoryLinkInput struct { // The ID of the repository link to be updated. // // This member is required. RepositoryLinkId *string // The Amazon Resource Name (ARN) of the connection for the repository link to be // updated. The updated connection ARN must have the same providerType (such as // GitHub) as the original connection ARN for the repo link. ConnectionArn *string // The Amazon Resource Name (ARN) of the encryption key for the repository link to // be updated. EncryptionKeyArn *string // contains filtered or unexported fields }
type UpdateRepositoryLinkOutput ¶
type UpdateRepositoryLinkOutput struct { // Information about the repository link to be updated. // // This member is required. RepositoryLinkInfo *types.RepositoryLinkInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateSyncBlockerInput ¶
type UpdateSyncBlockerInput struct { // The ID of the sync blocker to be updated. // // This member is required. Id *string // The reason for resolving the sync blocker. // // This member is required. ResolvedReason *string // The name of the resource for the sync blocker to be updated. // // This member is required. ResourceName *string // The sync type of the sync blocker to be updated. // // This member is required. SyncType types.SyncConfigurationType // contains filtered or unexported fields }
type UpdateSyncBlockerOutput ¶
type UpdateSyncBlockerOutput struct { // The resource name for the sync blocker. // // This member is required. ResourceName *string // Information about the sync blocker to be updated. // // This member is required. SyncBlocker *types.SyncBlocker // The parent resource name for the sync blocker. ParentResourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateSyncConfigurationInput ¶
type UpdateSyncConfigurationInput struct { // The name of the Amazon Web Services resource for the sync configuration to be // updated. // // This member is required. ResourceName *string // The sync type for the sync configuration to be updated. // // This member is required. SyncType types.SyncConfigurationType // The branch for the sync configuration to be updated. Branch *string // The configuration file for the sync configuration to be updated. ConfigFile *string // Whether to enable or disable publishing of deployment status to source // providers. PublishDeploymentStatus types.PublishDeploymentStatus // The ID of the repository link for the sync configuration to be updated. RepositoryLinkId *string // The ARN of the IAM role for the sync configuration to be updated. RoleArn *string // When to trigger Git sync to begin the stack update. TriggerResourceUpdateOn types.TriggerResourceUpdateOn // contains filtered or unexported fields }
type UpdateSyncConfigurationOutput ¶
type UpdateSyncConfigurationOutput struct { // The information returned for the sync configuration to be updated. // // This member is required. SyncConfiguration *types.SyncConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateConnection.go
- api_op_CreateHost.go
- api_op_CreateRepositoryLink.go
- api_op_CreateSyncConfiguration.go
- api_op_DeleteConnection.go
- api_op_DeleteHost.go
- api_op_DeleteRepositoryLink.go
- api_op_DeleteSyncConfiguration.go
- api_op_GetConnection.go
- api_op_GetHost.go
- api_op_GetRepositoryLink.go
- api_op_GetRepositorySyncStatus.go
- api_op_GetResourceSyncStatus.go
- api_op_GetSyncBlockerSummary.go
- api_op_GetSyncConfiguration.go
- api_op_ListConnections.go
- api_op_ListHosts.go
- api_op_ListRepositoryLinks.go
- api_op_ListRepositorySyncDefinitions.go
- api_op_ListSyncConfigurations.go
- api_op_ListTagsForResource.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateHost.go
- api_op_UpdateRepositoryLink.go
- api_op_UpdateSyncBlocker.go
- api_op_UpdateSyncConfiguration.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go