amplify

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package amplify provides the client and types for making API requests to Amplify.

Amplify is a fully managed continuous deployment and hosting service for modern web apps.

See https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25 for more information on this service.

See amplify package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/amplify/

Using the Client

To use Amplify with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amplify client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/amplify/#New

Index

Constants

View Source
const (
	ServiceName = "Amplify" // Service's name
	ServiceID   = "Amplify" // Service's identifier
	EndpointsID = "amplify" // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// Exception thrown when a request contains unexpected data.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeDependentServiceFailureException for service response error code
	// "DependentServiceFailureException".
	//
	// Exception thrown when an operation fails due to a dependent service throwing
	// an exception.
	ErrCodeDependentServiceFailureException = "DependentServiceFailureException"

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// Exception thrown when the service fails to perform an operation due to an
	// internal issue.
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// Exception thrown when a resource could not be created because of service
	// limits.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// Exception thrown when an entity has not been found during an operation.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Exception thrown when an operation fails due to non-existent resource.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// Exception thrown when an operation fails due to a lack of access.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {

	// ARN for the Amplify App.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// Unique Id for the Amplify App.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" min:"1" type:"string" required:"true"`

	// Automated branch creation config for the Amplify App.
	AutoBranchCreationConfig *AutoBranchCreationConfig `locationName:"autoBranchCreationConfig" type:"structure"`

	// Automated branch creation glob patterns for the Amplify App.
	AutoBranchCreationPatterns []string `locationName:"autoBranchCreationPatterns" type:"list"`

	// Basic Authorization credentials for branches for the Amplify App.
	BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"`

	// BuildSpec content for Amplify App.
	BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"`

	// Create date / time for the Amplify App.
	//
	// CreateTime is a required field
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"`

	// Custom redirect / rewrite rules for the Amplify App.
	CustomRules []CustomRule `locationName:"customRules" type:"list"`

	// Default domain for the Amplify App.
	//
	// DefaultDomain is a required field
	DefaultDomain *string `locationName:"defaultDomain" min:"1" type:"string" required:"true"`

	// Description for the Amplify App.
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// Enables automated branch creation for the Amplify App.
	EnableAutoBranchCreation *bool `locationName:"enableAutoBranchCreation" type:"boolean"`

	// Enables Basic Authorization for branches for the Amplify App.
	//
	// EnableBasicAuth is a required field
	EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean" required:"true"`

	// Enables auto-building of branches for the Amplify App.
	//
	// EnableBranchAutoBuild is a required field
	EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean" required:"true"`

	// Environment Variables for the Amplify App.
	//
	// EnvironmentVariables is a required field
	EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map" required:"true"`

	// IAM service role ARN for the Amplify App.
	IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"`

	// Name for the Amplify App.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// Platform for the Amplify App.
	//
	// Platform is a required field
	Platform Platform `locationName:"platform" type:"string" required:"true" enum:"true"`

	// Structure with Production Branch information.
	ProductionBranch *ProductionBranch `locationName:"productionBranch" type:"structure"`

	// Repository for the Amplify App.
	//
	// Repository is a required field
	Repository *string `locationName:"repository" type:"string" required:"true"`

	// Tag for Amplify App.
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`

	// Update date / time for the Amplify App.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Amplify App represents different branches of a repository for building, deploying, and hosting.

func (App) MarshalFields

func (s App) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (App) String

func (s App) String() string

String returns the string representation

type Artifact

type Artifact struct {

	// File name for the artifact.
	//
	// ArtifactFileName is a required field
	ArtifactFileName *string `locationName:"artifactFileName" type:"string" required:"true"`

	// Unique Id for a artifact.
	//
	// ArtifactId is a required field
	ArtifactId *string `locationName:"artifactId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Structure for artifact.

func (Artifact) MarshalFields

func (s Artifact) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Artifact) String

func (s Artifact) String() string

String returns the string representation

type AutoBranchCreationConfig

type AutoBranchCreationConfig struct {

	// Basic Authorization credentials for the auto created branch.
	BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"`

	// BuildSpec for the auto created branch.
	BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"`

	// Enables auto building for the auto created branch.
	EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"`

	// Enables Basic Auth for the auto created branch.
	EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"`

	// Enables Pull Request Preview for auto created branch.
	EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean"`

	// Environment Variables for the auto created branch.
	EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"`

	// Framework for the auto created branch.
	Framework *string `locationName:"framework" type:"string"`

	// The Amplify Environment name for the pull request.
	PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"`

	// Stage for the auto created branch.
	Stage Stage `locationName:"stage" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Structure with auto branch creation config.

func (AutoBranchCreationConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AutoBranchCreationConfig) String

func (s AutoBranchCreationConfig) String() string

String returns the string representation

func (*AutoBranchCreationConfig) Validate

func (s *AutoBranchCreationConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BackendEnvironment

type BackendEnvironment struct {

	// Arn for a backend environment, part of an Amplify App.
	//
	// BackendEnvironmentArn is a required field
	BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string" required:"true"`

	// Creation date and time for a backend environment, part of an Amplify App.
	//
	// CreateTime is a required field
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"`

	// Name of deployment artifacts.
	DeploymentArtifacts *string `locationName:"deploymentArtifacts" min:"1" type:"string"`

	// Name for a backend environment, part of an Amplify App.
	//
	// EnvironmentName is a required field
	EnvironmentName *string `locationName:"environmentName" min:"1" type:"string" required:"true"`

	// CloudFormation stack name of backend environment.
	StackName *string `locationName:"stackName" min:"1" type:"string"`

	// Last updated date and time for a backend environment, part of an Amplify
	// App.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Backend environment for an Amplify App.

func (BackendEnvironment) MarshalFields

func (s BackendEnvironment) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BackendEnvironment) String

func (s BackendEnvironment) String() string

String returns the string representation

type Branch

type Branch struct {

	// Id of the active job for a branch, part of an Amplify App.
	//
	// ActiveJobId is a required field
	ActiveJobId *string `locationName:"activeJobId" type:"string" required:"true"`

	// List of custom resources that are linked to this branch.
	AssociatedResources []string `locationName:"associatedResources" type:"list"`

	// ARN for a Backend Environment, part of an Amplify App.
	BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"`

	// Basic Authorization credentials for a branch, part of an Amplify App.
	BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"`

	// ARN for a branch, part of an Amplify App.
	//
	// BranchArn is a required field
	BranchArn *string `locationName:"branchArn" type:"string" required:"true"`

	// Name for a branch, part of an Amplify App.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// BuildSpec content for branch for Amplify App.
	BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"`

	// Creation date and time for a branch, part of an Amplify App.
	//
	// CreateTime is a required field
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"`

	// Custom domains for a branch, part of an Amplify App.
	//
	// CustomDomains is a required field
	CustomDomains []string `locationName:"customDomains" type:"list" required:"true"`

	// Description for a branch, part of an Amplify App.
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// The destination branch if the branch is a pull request branch.
	DestinationBranch *string `locationName:"destinationBranch" min:"1" type:"string"`

	// Display name for a branch, will use as the default domain prefix.
	//
	// DisplayName is a required field
	DisplayName *string `locationName:"displayName" type:"string" required:"true"`

	// Enables auto-building on push for a branch, part of an Amplify App.
	//
	// EnableAutoBuild is a required field
	EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean" required:"true"`

	// Enables Basic Authorization for a branch, part of an Amplify App.
	//
	// EnableBasicAuth is a required field
	EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean" required:"true"`

	// Enables notifications for a branch, part of an Amplify App.
	//
	// EnableNotification is a required field
	EnableNotification *bool `locationName:"enableNotification" type:"boolean" required:"true"`

	// Enables Pull Request Preview for this branch.
	//
	// EnablePullRequestPreview is a required field
	EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean" required:"true"`

	// Environment Variables specific to a branch, part of an Amplify App.
	//
	// EnvironmentVariables is a required field
	EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map" required:"true"`

	// Framework for a branch, part of an Amplify App.
	//
	// Framework is a required field
	Framework *string `locationName:"framework" type:"string" required:"true"`

	// The Amplify Environment name for the pull request.
	PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"`

	// The source branch if the branch is a pull request branch.
	SourceBranch *string `locationName:"sourceBranch" min:"1" type:"string"`

	// Stage for a branch, part of an Amplify App.
	//
	// Stage is a required field
	Stage Stage `locationName:"stage" type:"string" required:"true" enum:"true"`

	// Tag for branch for Amplify App.
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`

	// Thumbnail URL for the branch.
	ThumbnailUrl *string `locationName:"thumbnailUrl" min:"1" type:"string"`

	// Total number of Jobs part of an Amplify App.
	//
	// TotalNumberOfJobs is a required field
	TotalNumberOfJobs *string `locationName:"totalNumberOfJobs" type:"string" required:"true"`

	// The content TTL for the website in seconds.
	//
	// Ttl is a required field
	Ttl *string `locationName:"ttl" type:"string" required:"true"`

	// Last updated date and time for a branch, part of an Amplify App.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Branch for an Amplify App, which maps to a 3rd party repository branch.

func (Branch) MarshalFields

func (s Branch) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Branch) String

func (s Branch) String() string

String returns the string representation

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to Amplify. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := amplify.New(myConfig)

func (*Client) CreateAppRequest

func (c *Client) CreateAppRequest(input *CreateAppInput) CreateAppRequest

CreateAppRequest returns a request value for making API operation for AWS Amplify.

Creates a new Amplify App.

// Example sending a request using CreateAppRequest.
req := client.CreateAppRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp

func (*Client) CreateBackendEnvironmentRequest

func (c *Client) CreateBackendEnvironmentRequest(input *CreateBackendEnvironmentInput) CreateBackendEnvironmentRequest

CreateBackendEnvironmentRequest returns a request value for making API operation for AWS Amplify.

Creates a new backend environment for an Amplify App.

// Example sending a request using CreateBackendEnvironmentRequest.
req := client.CreateBackendEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment

func (*Client) CreateBranchRequest

func (c *Client) CreateBranchRequest(input *CreateBranchInput) CreateBranchRequest

CreateBranchRequest returns a request value for making API operation for AWS Amplify.

Creates a new Branch for an Amplify App.

// Example sending a request using CreateBranchRequest.
req := client.CreateBranchRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch

func (*Client) CreateDeploymentRequest

func (c *Client) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest

CreateDeploymentRequest returns a request value for making API operation for AWS Amplify.

Create a deployment for manual deploy apps. (Apps are not connected to repository)

// Example sending a request using CreateDeploymentRequest.
req := client.CreateDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment

func (*Client) CreateDomainAssociationRequest

func (c *Client) CreateDomainAssociationRequest(input *CreateDomainAssociationInput) CreateDomainAssociationRequest

CreateDomainAssociationRequest returns a request value for making API operation for AWS Amplify.

Create a new DomainAssociation on an App

// Example sending a request using CreateDomainAssociationRequest.
req := client.CreateDomainAssociationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation

func (*Client) CreateWebhookRequest

func (c *Client) CreateWebhookRequest(input *CreateWebhookInput) CreateWebhookRequest

CreateWebhookRequest returns a request value for making API operation for AWS Amplify.

Create a new webhook on an App.

// Example sending a request using CreateWebhookRequest.
req := client.CreateWebhookRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook

func (*Client) DeleteAppRequest

func (c *Client) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest

DeleteAppRequest returns a request value for making API operation for AWS Amplify.

Delete an existing Amplify App by appId.

// Example sending a request using DeleteAppRequest.
req := client.DeleteAppRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp

func (*Client) DeleteBackendEnvironmentRequest

func (c *Client) DeleteBackendEnvironmentRequest(input *DeleteBackendEnvironmentInput) DeleteBackendEnvironmentRequest

DeleteBackendEnvironmentRequest returns a request value for making API operation for AWS Amplify.

Delete backend environment for an Amplify App.

// Example sending a request using DeleteBackendEnvironmentRequest.
req := client.DeleteBackendEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment

func (*Client) DeleteBranchRequest

func (c *Client) DeleteBranchRequest(input *DeleteBranchInput) DeleteBranchRequest

DeleteBranchRequest returns a request value for making API operation for AWS Amplify.

Deletes a branch for an Amplify App.

// Example sending a request using DeleteBranchRequest.
req := client.DeleteBranchRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch

func (*Client) DeleteDomainAssociationRequest

func (c *Client) DeleteDomainAssociationRequest(input *DeleteDomainAssociationInput) DeleteDomainAssociationRequest

DeleteDomainAssociationRequest returns a request value for making API operation for AWS Amplify.

Deletes a DomainAssociation.

// Example sending a request using DeleteDomainAssociationRequest.
req := client.DeleteDomainAssociationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation

func (*Client) DeleteJobRequest

func (c *Client) DeleteJobRequest(input *DeleteJobInput) DeleteJobRequest

DeleteJobRequest returns a request value for making API operation for AWS Amplify.

Delete a job, for an Amplify branch, part of Amplify App.

// Example sending a request using DeleteJobRequest.
req := client.DeleteJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob

func (*Client) DeleteWebhookRequest

func (c *Client) DeleteWebhookRequest(input *DeleteWebhookInput) DeleteWebhookRequest

DeleteWebhookRequest returns a request value for making API operation for AWS Amplify.

Deletes a webhook.

// Example sending a request using DeleteWebhookRequest.
req := client.DeleteWebhookRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook

func (*Client) GenerateAccessLogsRequest

func (c *Client) GenerateAccessLogsRequest(input *GenerateAccessLogsInput) GenerateAccessLogsRequest

GenerateAccessLogsRequest returns a request value for making API operation for AWS Amplify.

Retrieve website access logs for a specific time range via a pre-signed URL.

// Example sending a request using GenerateAccessLogsRequest.
req := client.GenerateAccessLogsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs

func (*Client) GetAppRequest

func (c *Client) GetAppRequest(input *GetAppInput) GetAppRequest

GetAppRequest returns a request value for making API operation for AWS Amplify.

Retrieves an existing Amplify App by appId.

// Example sending a request using GetAppRequest.
req := client.GetAppRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp

func (*Client) GetArtifactUrlRequest

func (c *Client) GetArtifactUrlRequest(input *GetArtifactUrlInput) GetArtifactUrlRequest

GetArtifactUrlRequest returns a request value for making API operation for AWS Amplify.

Retrieves artifact info that corresponds to a artifactId.

// Example sending a request using GetArtifactUrlRequest.
req := client.GetArtifactUrlRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl

func (*Client) GetBackendEnvironmentRequest

func (c *Client) GetBackendEnvironmentRequest(input *GetBackendEnvironmentInput) GetBackendEnvironmentRequest

GetBackendEnvironmentRequest returns a request value for making API operation for AWS Amplify.

Retrieves a backend environment for an Amplify App.

// Example sending a request using GetBackendEnvironmentRequest.
req := client.GetBackendEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment

func (*Client) GetBranchRequest

func (c *Client) GetBranchRequest(input *GetBranchInput) GetBranchRequest

GetBranchRequest returns a request value for making API operation for AWS Amplify.

Retrieves a branch for an Amplify App.

// Example sending a request using GetBranchRequest.
req := client.GetBranchRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch

func (*Client) GetDomainAssociationRequest

func (c *Client) GetDomainAssociationRequest(input *GetDomainAssociationInput) GetDomainAssociationRequest

GetDomainAssociationRequest returns a request value for making API operation for AWS Amplify.

Retrieves domain info that corresponds to an appId and domainName.

// Example sending a request using GetDomainAssociationRequest.
req := client.GetDomainAssociationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation

func (*Client) GetJobRequest

func (c *Client) GetJobRequest(input *GetJobInput) GetJobRequest

GetJobRequest returns a request value for making API operation for AWS Amplify.

Get a job for a branch, part of an Amplify App.

// Example sending a request using GetJobRequest.
req := client.GetJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob

func (*Client) GetWebhookRequest

func (c *Client) GetWebhookRequest(input *GetWebhookInput) GetWebhookRequest

GetWebhookRequest returns a request value for making API operation for AWS Amplify.

Retrieves webhook info that corresponds to a webhookId.

// Example sending a request using GetWebhookRequest.
req := client.GetWebhookRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook

func (*Client) ListAppsRequest

func (c *Client) ListAppsRequest(input *ListAppsInput) ListAppsRequest

ListAppsRequest returns a request value for making API operation for AWS Amplify.

Lists existing Amplify Apps.

// Example sending a request using ListAppsRequest.
req := client.ListAppsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps

func (*Client) ListArtifactsRequest

func (c *Client) ListArtifactsRequest(input *ListArtifactsInput) ListArtifactsRequest

ListArtifactsRequest returns a request value for making API operation for AWS Amplify.

List artifacts with an app, a branch, a job and an artifact type.

// Example sending a request using ListArtifactsRequest.
req := client.ListArtifactsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts

func (*Client) ListBackendEnvironmentsRequest

func (c *Client) ListBackendEnvironmentsRequest(input *ListBackendEnvironmentsInput) ListBackendEnvironmentsRequest

ListBackendEnvironmentsRequest returns a request value for making API operation for AWS Amplify.

Lists backend environments for an Amplify App.

// Example sending a request using ListBackendEnvironmentsRequest.
req := client.ListBackendEnvironmentsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments

func (*Client) ListBranchesRequest

func (c *Client) ListBranchesRequest(input *ListBranchesInput) ListBranchesRequest

ListBranchesRequest returns a request value for making API operation for AWS Amplify.

Lists branches for an Amplify App.

// Example sending a request using ListBranchesRequest.
req := client.ListBranchesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches

func (*Client) ListDomainAssociationsRequest

func (c *Client) ListDomainAssociationsRequest(input *ListDomainAssociationsInput) ListDomainAssociationsRequest

ListDomainAssociationsRequest returns a request value for making API operation for AWS Amplify.

List domains with an app

// Example sending a request using ListDomainAssociationsRequest.
req := client.ListDomainAssociationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations

func (*Client) ListJobsRequest

func (c *Client) ListJobsRequest(input *ListJobsInput) ListJobsRequest

ListJobsRequest returns a request value for making API operation for AWS Amplify.

List Jobs for a branch, part of an Amplify App.

// Example sending a request using ListJobsRequest.
req := client.ListJobsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS Amplify.

List tags for resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource

func (*Client) ListWebhooksRequest

func (c *Client) ListWebhooksRequest(input *ListWebhooksInput) ListWebhooksRequest

ListWebhooksRequest returns a request value for making API operation for AWS Amplify.

List webhooks with an app.

// Example sending a request using ListWebhooksRequest.
req := client.ListWebhooksRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks

func (*Client) StartDeploymentRequest

func (c *Client) StartDeploymentRequest(input *StartDeploymentInput) StartDeploymentRequest

StartDeploymentRequest returns a request value for making API operation for AWS Amplify.

Start a deployment for manual deploy apps. (Apps are not connected to repository)

// Example sending a request using StartDeploymentRequest.
req := client.StartDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment

func (*Client) StartJobRequest

func (c *Client) StartJobRequest(input *StartJobInput) StartJobRequest

StartJobRequest returns a request value for making API operation for AWS Amplify.

Starts a new job for a branch, part of an Amplify App.

// Example sending a request using StartJobRequest.
req := client.StartJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob

func (*Client) StopJobRequest

func (c *Client) StopJobRequest(input *StopJobInput) StopJobRequest

StopJobRequest returns a request value for making API operation for AWS Amplify.

Stop a job that is in progress, for an Amplify branch, part of Amplify App.

// Example sending a request using StopJobRequest.
req := client.StopJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS Amplify.

Tag resource with tag key and value.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS Amplify.

Untag resource with resourceArn.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource

func (*Client) UpdateAppRequest

func (c *Client) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest

UpdateAppRequest returns a request value for making API operation for AWS Amplify.

Updates an existing Amplify App.

// Example sending a request using UpdateAppRequest.
req := client.UpdateAppRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp

func (*Client) UpdateBranchRequest

func (c *Client) UpdateBranchRequest(input *UpdateBranchInput) UpdateBranchRequest

UpdateBranchRequest returns a request value for making API operation for AWS Amplify.

Updates a branch for an Amplify App.

// Example sending a request using UpdateBranchRequest.
req := client.UpdateBranchRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch

func (*Client) UpdateDomainAssociationRequest

func (c *Client) UpdateDomainAssociationRequest(input *UpdateDomainAssociationInput) UpdateDomainAssociationRequest

UpdateDomainAssociationRequest returns a request value for making API operation for AWS Amplify.

Create a new DomainAssociation on an App

// Example sending a request using UpdateDomainAssociationRequest.
req := client.UpdateDomainAssociationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation

func (*Client) UpdateWebhookRequest

func (c *Client) UpdateWebhookRequest(input *UpdateWebhookInput) UpdateWebhookRequest

UpdateWebhookRequest returns a request value for making API operation for AWS Amplify.

Update a webhook.

// Example sending a request using UpdateWebhookRequest.
req := client.UpdateWebhookRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook

type CreateAppInput

type CreateAppInput struct {

	// Personal Access token for 3rd party source control system for an Amplify
	// App, used to create webhook and read-only deploy key. Token is not stored.
	AccessToken *string `locationName:"accessToken" min:"1" type:"string"`

	// Automated branch creation config for the Amplify App.
	AutoBranchCreationConfig *AutoBranchCreationConfig `locationName:"autoBranchCreationConfig" type:"structure"`

	// Automated branch creation glob patterns for the Amplify App.
	AutoBranchCreationPatterns []string `locationName:"autoBranchCreationPatterns" type:"list"`

	// Credentials for Basic Authorization for an Amplify App.
	BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"`

	// BuildSpec for an Amplify App
	BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"`

	// Custom rewrite / redirect rules for an Amplify App.
	CustomRules []CustomRule `locationName:"customRules" type:"list"`

	// Description for an Amplify App
	Description *string `locationName:"description" type:"string"`

	// Enables automated branch creation for the Amplify App.
	EnableAutoBranchCreation *bool `locationName:"enableAutoBranchCreation" type:"boolean"`

	// Enable Basic Authorization for an Amplify App, this will apply to all branches
	// part of this App.
	EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"`

	// Enable the auto building of branches for an Amplify App.
	EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"`

	// Environment variables map for an Amplify App.
	EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"`

	// AWS IAM service role for an Amplify App
	IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"`

	// Name for the Amplify App
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// OAuth token for 3rd party source control system for an Amplify App, used
	// to create webhook and read-only deploy key. OAuth token is not stored.
	OauthToken *string `locationName:"oauthToken" type:"string"`

	// Platform / framework for an Amplify App
	Platform Platform `locationName:"platform" type:"string" enum:"true"`

	// Repository for an Amplify App
	Repository *string `locationName:"repository" type:"string"`

	// Tag for an Amplify App
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

Request structure used to create Apps in Amplify.

func (CreateAppInput) MarshalFields

func (s CreateAppInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAppInput) String

func (s CreateAppInput) String() string

String returns the string representation

func (*CreateAppInput) Validate

func (s *CreateAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAppOutput

type CreateAppOutput struct {

	// Amplify App represents different branches of a repository for building, deploying,
	// and hosting.
	//
	// App is a required field
	App *App `locationName:"app" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAppOutput) MarshalFields

func (s CreateAppOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAppOutput) String

func (s CreateAppOutput) String() string

String returns the string representation

type CreateAppRequest

type CreateAppRequest struct {
	*aws.Request
	Input *CreateAppInput
	Copy  func(*CreateAppInput) CreateAppRequest
}

CreateAppRequest is the request type for the CreateApp API operation.

func (CreateAppRequest) Send

Send marshals and sends the CreateApp API request.

type CreateAppResponse

type CreateAppResponse struct {
	*CreateAppOutput
	// contains filtered or unexported fields
}

CreateAppResponse is the response type for the CreateApp API operation.

func (*CreateAppResponse) SDKResponseMetdata

func (r *CreateAppResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApp request.

type CreateBackendEnvironmentInput

type CreateBackendEnvironmentInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name of deployment artifacts.
	DeploymentArtifacts *string `locationName:"deploymentArtifacts" min:"1" type:"string"`

	// Name for the backend environment.
	//
	// EnvironmentName is a required field
	EnvironmentName *string `locationName:"environmentName" min:"1" type:"string" required:"true"`

	// CloudFormation stack name of backend environment.
	StackName *string `locationName:"stackName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Request structure for a backend environment create request.

func (CreateBackendEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackendEnvironmentInput) String

String returns the string representation

func (*CreateBackendEnvironmentInput) Validate

func (s *CreateBackendEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBackendEnvironmentOutput

type CreateBackendEnvironmentOutput struct {

	// Backend environment structure for an amplify App.
	//
	// BackendEnvironment is a required field
	BackendEnvironment *BackendEnvironment `locationName:"backendEnvironment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for create backend environment.

func (CreateBackendEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBackendEnvironmentOutput) String

String returns the string representation

type CreateBackendEnvironmentRequest

type CreateBackendEnvironmentRequest struct {
	*aws.Request
	Input *CreateBackendEnvironmentInput
	Copy  func(*CreateBackendEnvironmentInput) CreateBackendEnvironmentRequest
}

CreateBackendEnvironmentRequest is the request type for the CreateBackendEnvironment API operation.

func (CreateBackendEnvironmentRequest) Send

Send marshals and sends the CreateBackendEnvironment API request.

type CreateBackendEnvironmentResponse

type CreateBackendEnvironmentResponse struct {
	*CreateBackendEnvironmentOutput
	// contains filtered or unexported fields
}

CreateBackendEnvironmentResponse is the response type for the CreateBackendEnvironment API operation.

func (*CreateBackendEnvironmentResponse) SDKResponseMetdata

func (r *CreateBackendEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateBackendEnvironment request.

type CreateBranchInput

type CreateBranchInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// ARN for a Backend Environment, part of an Amplify App.
	BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"`

	// Basic Authorization credentials for the branch.
	BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"`

	// Name for the branch.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// BuildSpec for the branch.
	BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"`

	// Description for the branch.
	Description *string `locationName:"description" type:"string"`

	// Display name for a branch, will use as the default domain prefix.
	DisplayName *string `locationName:"displayName" type:"string"`

	// Enables auto building for the branch.
	EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"`

	// Enables Basic Auth for the branch.
	EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"`

	// Enables notifications for the branch.
	EnableNotification *bool `locationName:"enableNotification" type:"boolean"`

	// Enables Pull Request Preview for this branch.
	EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean"`

	// Environment Variables for the branch.
	EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"`

	// Framework for the branch.
	Framework *string `locationName:"framework" type:"string"`

	// The Amplify Environment name for the pull request.
	PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"`

	// Stage for the branch.
	Stage Stage `locationName:"stage" type:"string" enum:"true"`

	// Tag for the branch.
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`

	// The content TTL for the website in seconds.
	Ttl *string `locationName:"ttl" type:"string"`
	// contains filtered or unexported fields
}

Request structure for a branch create request.

func (CreateBranchInput) MarshalFields

func (s CreateBranchInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBranchInput) String

func (s CreateBranchInput) String() string

String returns the string representation

func (*CreateBranchInput) Validate

func (s *CreateBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBranchOutput

type CreateBranchOutput struct {

	// Branch structure for an Amplify App.
	//
	// Branch is a required field
	Branch *Branch `locationName:"branch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for create branch request.

func (CreateBranchOutput) MarshalFields

func (s CreateBranchOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBranchOutput) String

func (s CreateBranchOutput) String() string

String returns the string representation

type CreateBranchRequest

type CreateBranchRequest struct {
	*aws.Request
	Input *CreateBranchInput
	Copy  func(*CreateBranchInput) CreateBranchRequest
}

CreateBranchRequest is the request type for the CreateBranch API operation.

func (CreateBranchRequest) Send

Send marshals and sends the CreateBranch API request.

type CreateBranchResponse

type CreateBranchResponse struct {
	*CreateBranchOutput
	// contains filtered or unexported fields
}

CreateBranchResponse is the response type for the CreateBranch API operation.

func (*CreateBranchResponse) SDKResponseMetdata

func (r *CreateBranchResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateBranch request.

type CreateDeploymentInput

type CreateDeploymentInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch, for the Job.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// Optional file map that contains file name as the key and file content md5
	// hash as the value. If this argument is provided, the service will generate
	// different upload url per file. Otherwise, the service will only generate
	// a single upload url for the zipped files.
	FileMap map[string]string `locationName:"fileMap" type:"map"`
	// contains filtered or unexported fields
}

Request structure for create a new deployment.

func (CreateDeploymentInput) MarshalFields

func (s CreateDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentInput) String

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate

func (s *CreateDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentOutput

type CreateDeploymentOutput struct {

	// When the fileMap argument is provided in the request, the fileUploadUrls
	// will contain a map of file names to upload url.
	//
	// FileUploadUrls is a required field
	FileUploadUrls map[string]string `locationName:"fileUploadUrls" type:"map" required:"true"`

	// The jobId for this deployment, will supply to start deployment api.
	JobId *string `locationName:"jobId" type:"string"`

	// When the fileMap argument is NOT provided. This zipUploadUrl will be returned.
	//
	// ZipUploadUrl is a required field
	ZipUploadUrl *string `locationName:"zipUploadUrl" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Result structure for create a new deployment.

func (CreateDeploymentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentOutput) String

func (s CreateDeploymentOutput) String() string

String returns the string representation

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	*aws.Request
	Input *CreateDeploymentInput
	Copy  func(*CreateDeploymentInput) CreateDeploymentRequest
}

CreateDeploymentRequest is the request type for the CreateDeployment API operation.

func (CreateDeploymentRequest) Send

Send marshals and sends the CreateDeployment API request.

type CreateDeploymentResponse

type CreateDeploymentResponse struct {
	*CreateDeploymentOutput
	// contains filtered or unexported fields
}

CreateDeploymentResponse is the response type for the CreateDeployment API operation.

func (*CreateDeploymentResponse) SDKResponseMetdata

func (r *CreateDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDeployment request.

type CreateDomainAssociationInput

type CreateDomainAssociationInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Domain name for the Domain Association.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`

	// Enables automated creation of Subdomains for branches. (Currently not supported)
	EnableAutoSubDomain *bool `locationName:"enableAutoSubDomain" type:"boolean"`

	// Setting structure for the Subdomain.
	//
	// SubDomainSettings is a required field
	SubDomainSettings []SubDomainSetting `locationName:"subDomainSettings" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Request structure for create Domain Association request.

func (CreateDomainAssociationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDomainAssociationInput) String

String returns the string representation

func (*CreateDomainAssociationInput) Validate

func (s *CreateDomainAssociationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDomainAssociationOutput

type CreateDomainAssociationOutput struct {

	// Domain Association structure.
	//
	// DomainAssociation is a required field
	DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the create Domain Association request.

func (CreateDomainAssociationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDomainAssociationOutput) String

String returns the string representation

type CreateDomainAssociationRequest

type CreateDomainAssociationRequest struct {
	*aws.Request
	Input *CreateDomainAssociationInput
	Copy  func(*CreateDomainAssociationInput) CreateDomainAssociationRequest
}

CreateDomainAssociationRequest is the request type for the CreateDomainAssociation API operation.

func (CreateDomainAssociationRequest) Send

Send marshals and sends the CreateDomainAssociation API request.

type CreateDomainAssociationResponse

type CreateDomainAssociationResponse struct {
	*CreateDomainAssociationOutput
	// contains filtered or unexported fields
}

CreateDomainAssociationResponse is the response type for the CreateDomainAssociation API operation.

func (*CreateDomainAssociationResponse) SDKResponseMetdata

func (r *CreateDomainAssociationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDomainAssociation request.

type CreateWebhookInput

type CreateWebhookInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for a branch, part of an Amplify App.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// Description for a webhook.
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

Request structure for create webhook request.

func (CreateWebhookInput) MarshalFields

func (s CreateWebhookInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateWebhookInput) String

func (s CreateWebhookInput) String() string

String returns the string representation

func (*CreateWebhookInput) Validate

func (s *CreateWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateWebhookOutput

type CreateWebhookOutput struct {

	// Webhook structure.
	//
	// Webhook is a required field
	Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the create webhook request.

func (CreateWebhookOutput) MarshalFields

func (s CreateWebhookOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateWebhookOutput) String

func (s CreateWebhookOutput) String() string

String returns the string representation

type CreateWebhookRequest

type CreateWebhookRequest struct {
	*aws.Request
	Input *CreateWebhookInput
	Copy  func(*CreateWebhookInput) CreateWebhookRequest
}

CreateWebhookRequest is the request type for the CreateWebhook API operation.

func (CreateWebhookRequest) Send

Send marshals and sends the CreateWebhook API request.

type CreateWebhookResponse

type CreateWebhookResponse struct {
	*CreateWebhookOutput
	// contains filtered or unexported fields
}

CreateWebhookResponse is the response type for the CreateWebhook API operation.

func (*CreateWebhookResponse) SDKResponseMetdata

func (r *CreateWebhookResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateWebhook request.

type CustomRule

type CustomRule struct {

	// The condition for a URL rewrite or redirect rule, e.g. country code.
	Condition *string `locationName:"condition" min:"1" type:"string"`

	// The source pattern for a URL rewrite or redirect rule.
	//
	// Source is a required field
	Source *string `locationName:"source" min:"1" type:"string" required:"true"`

	// The status code for a URL rewrite or redirect rule.
	Status *string `locationName:"status" min:"3" type:"string"`

	// The target pattern for a URL rewrite or redirect rule.
	//
	// Target is a required field
	Target *string `locationName:"target" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Custom rewrite / redirect rule.

func (CustomRule) MarshalFields

func (s CustomRule) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CustomRule) String

func (s CustomRule) String() string

String returns the string representation

func (*CustomRule) Validate

func (s *CustomRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAppInput

type DeleteAppInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for an Amplify App delete request.

func (DeleteAppInput) MarshalFields

func (s DeleteAppInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAppInput) String

func (s DeleteAppInput) String() string

String returns the string representation

func (*DeleteAppInput) Validate

func (s *DeleteAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAppOutput

type DeleteAppOutput struct {

	// Amplify App represents different branches of a repository for building, deploying,
	// and hosting.
	//
	// App is a required field
	App *App `locationName:"app" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for an Amplify App delete request.

func (DeleteAppOutput) MarshalFields

func (s DeleteAppOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAppOutput) String

func (s DeleteAppOutput) String() string

String returns the string representation

type DeleteAppRequest

type DeleteAppRequest struct {
	*aws.Request
	Input *DeleteAppInput
	Copy  func(*DeleteAppInput) DeleteAppRequest
}

DeleteAppRequest is the request type for the DeleteApp API operation.

func (DeleteAppRequest) Send

Send marshals and sends the DeleteApp API request.

type DeleteAppResponse

type DeleteAppResponse struct {
	*DeleteAppOutput
	// contains filtered or unexported fields
}

DeleteAppResponse is the response type for the DeleteApp API operation.

func (*DeleteAppResponse) SDKResponseMetdata

func (r *DeleteAppResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApp request.

type DeleteBackendEnvironmentInput

type DeleteBackendEnvironmentInput struct {

	// Unique Id of an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name of a backend environment of an Amplify App.
	//
	// EnvironmentName is a required field
	EnvironmentName *string `location:"uri" locationName:"environmentName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for delete backend environment request.

func (DeleteBackendEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackendEnvironmentInput) String

String returns the string representation

func (*DeleteBackendEnvironmentInput) Validate

func (s *DeleteBackendEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBackendEnvironmentOutput

type DeleteBackendEnvironmentOutput struct {

	// Backend environment structure for an Amplify App.
	//
	// BackendEnvironment is a required field
	BackendEnvironment *BackendEnvironment `locationName:"backendEnvironment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure of a delete backend environment result.

func (DeleteBackendEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBackendEnvironmentOutput) String

String returns the string representation

type DeleteBackendEnvironmentRequest

type DeleteBackendEnvironmentRequest struct {
	*aws.Request
	Input *DeleteBackendEnvironmentInput
	Copy  func(*DeleteBackendEnvironmentInput) DeleteBackendEnvironmentRequest
}

DeleteBackendEnvironmentRequest is the request type for the DeleteBackendEnvironment API operation.

func (DeleteBackendEnvironmentRequest) Send

Send marshals and sends the DeleteBackendEnvironment API request.

type DeleteBackendEnvironmentResponse

type DeleteBackendEnvironmentResponse struct {
	*DeleteBackendEnvironmentOutput
	// contains filtered or unexported fields
}

DeleteBackendEnvironmentResponse is the response type for the DeleteBackendEnvironment API operation.

func (*DeleteBackendEnvironmentResponse) SDKResponseMetdata

func (r *DeleteBackendEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBackendEnvironment request.

type DeleteBranchInput

type DeleteBranchInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for delete branch request.

func (DeleteBranchInput) MarshalFields

func (s DeleteBranchInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBranchInput) String

func (s DeleteBranchInput) String() string

String returns the string representation

func (*DeleteBranchInput) Validate

func (s *DeleteBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBranchOutput

type DeleteBranchOutput struct {

	// Branch structure for an Amplify App.
	//
	// Branch is a required field
	Branch *Branch `locationName:"branch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for delete branch request.

func (DeleteBranchOutput) MarshalFields

func (s DeleteBranchOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBranchOutput) String

func (s DeleteBranchOutput) String() string

String returns the string representation

type DeleteBranchRequest

type DeleteBranchRequest struct {
	*aws.Request
	Input *DeleteBranchInput
	Copy  func(*DeleteBranchInput) DeleteBranchRequest
}

DeleteBranchRequest is the request type for the DeleteBranch API operation.

func (DeleteBranchRequest) Send

Send marshals and sends the DeleteBranch API request.

type DeleteBranchResponse

type DeleteBranchResponse struct {
	*DeleteBranchOutput
	// contains filtered or unexported fields
}

DeleteBranchResponse is the response type for the DeleteBranch API operation.

func (*DeleteBranchResponse) SDKResponseMetdata

func (r *DeleteBranchResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBranch request.

type DeleteDomainAssociationInput

type DeleteDomainAssociationInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name of the domain.
	//
	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for the delete Domain Association request.

func (DeleteDomainAssociationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDomainAssociationInput) String

String returns the string representation

func (*DeleteDomainAssociationInput) Validate

func (s *DeleteDomainAssociationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDomainAssociationOutput

type DeleteDomainAssociationOutput struct {

	// Structure for Domain Association, which associates a custom domain with an
	// Amplify App.
	//
	// DomainAssociation is a required field
	DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDomainAssociationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDomainAssociationOutput) String

String returns the string representation

type DeleteDomainAssociationRequest

type DeleteDomainAssociationRequest struct {
	*aws.Request
	Input *DeleteDomainAssociationInput
	Copy  func(*DeleteDomainAssociationInput) DeleteDomainAssociationRequest
}

DeleteDomainAssociationRequest is the request type for the DeleteDomainAssociation API operation.

func (DeleteDomainAssociationRequest) Send

Send marshals and sends the DeleteDomainAssociation API request.

type DeleteDomainAssociationResponse

type DeleteDomainAssociationResponse struct {
	*DeleteDomainAssociationOutput
	// contains filtered or unexported fields
}

DeleteDomainAssociationResponse is the response type for the DeleteDomainAssociation API operation.

func (*DeleteDomainAssociationResponse) SDKResponseMetdata

func (r *DeleteDomainAssociationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDomainAssociation request.

type DeleteJobInput

type DeleteJobInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch, for the Job.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// Unique Id for the Job.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for delete job request.

func (DeleteJobInput) MarshalFields

func (s DeleteJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteJobInput) String

func (s DeleteJobInput) String() string

String returns the string representation

func (*DeleteJobInput) Validate

func (s *DeleteJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteJobOutput

type DeleteJobOutput struct {

	// Structure for the summary of a Job.
	//
	// JobSummary is a required field
	JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the delete job request.

func (DeleteJobOutput) MarshalFields

func (s DeleteJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteJobOutput) String

func (s DeleteJobOutput) String() string

String returns the string representation

type DeleteJobRequest

type DeleteJobRequest struct {
	*aws.Request
	Input *DeleteJobInput
	Copy  func(*DeleteJobInput) DeleteJobRequest
}

DeleteJobRequest is the request type for the DeleteJob API operation.

func (DeleteJobRequest) Send

Send marshals and sends the DeleteJob API request.

type DeleteJobResponse

type DeleteJobResponse struct {
	*DeleteJobOutput
	// contains filtered or unexported fields
}

DeleteJobResponse is the response type for the DeleteJob API operation.

func (*DeleteJobResponse) SDKResponseMetdata

func (r *DeleteJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteJob request.

type DeleteWebhookInput

type DeleteWebhookInput struct {

	// Unique Id for a webhook.
	//
	// WebhookId is a required field
	WebhookId *string `location:"uri" locationName:"webhookId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for the delete webhook request.

func (DeleteWebhookInput) MarshalFields

func (s DeleteWebhookInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteWebhookInput) String

func (s DeleteWebhookInput) String() string

String returns the string representation

func (*DeleteWebhookInput) Validate

func (s *DeleteWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteWebhookOutput

type DeleteWebhookOutput struct {

	// Webhook structure.
	//
	// Webhook is a required field
	Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the delete webhook request.

func (DeleteWebhookOutput) MarshalFields

func (s DeleteWebhookOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteWebhookOutput) String

func (s DeleteWebhookOutput) String() string

String returns the string representation

type DeleteWebhookRequest

type DeleteWebhookRequest struct {
	*aws.Request
	Input *DeleteWebhookInput
	Copy  func(*DeleteWebhookInput) DeleteWebhookRequest
}

DeleteWebhookRequest is the request type for the DeleteWebhook API operation.

func (DeleteWebhookRequest) Send

Send marshals and sends the DeleteWebhook API request.

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	*DeleteWebhookOutput
	// contains filtered or unexported fields
}

DeleteWebhookResponse is the response type for the DeleteWebhook API operation.

func (*DeleteWebhookResponse) SDKResponseMetdata

func (r *DeleteWebhookResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteWebhook request.

type DomainAssociation

type DomainAssociation struct {

	// DNS Record for certificate verification.
	CertificateVerificationDNSRecord *string `locationName:"certificateVerificationDNSRecord" type:"string"`

	// ARN for the Domain Association.
	//
	// DomainAssociationArn is a required field
	DomainAssociationArn *string `locationName:"domainAssociationArn" type:"string" required:"true"`

	// Name of the domain.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`

	// Status fo the Domain Association.
	//
	// DomainStatus is a required field
	DomainStatus DomainStatus `locationName:"domainStatus" type:"string" required:"true" enum:"true"`

	// Enables automated creation of Subdomains for branches. (Currently not supported)
	//
	// EnableAutoSubDomain is a required field
	EnableAutoSubDomain *bool `locationName:"enableAutoSubDomain" type:"boolean" required:"true"`

	// Reason for the current status of the Domain Association.
	//
	// StatusReason is a required field
	StatusReason *string `locationName:"statusReason" type:"string" required:"true"`

	// Subdomains for the Domain Association.
	//
	// SubDomains is a required field
	SubDomains []SubDomain `locationName:"subDomains" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Structure for Domain Association, which associates a custom domain with an Amplify App.

func (DomainAssociation) MarshalFields

func (s DomainAssociation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DomainAssociation) String

func (s DomainAssociation) String() string

String returns the string representation

type DomainStatus

type DomainStatus string
const (
	DomainStatusPendingVerification   DomainStatus = "PENDING_VERIFICATION"
	DomainStatusInProgress            DomainStatus = "IN_PROGRESS"
	DomainStatusAvailable             DomainStatus = "AVAILABLE"
	DomainStatusPendingDeployment     DomainStatus = "PENDING_DEPLOYMENT"
	DomainStatusFailed                DomainStatus = "FAILED"
	DomainStatusCreating              DomainStatus = "CREATING"
	DomainStatusRequestingCertificate DomainStatus = "REQUESTING_CERTIFICATE"
	DomainStatusUpdating              DomainStatus = "UPDATING"
)

Enum values for DomainStatus

func (DomainStatus) MarshalValue

func (enum DomainStatus) MarshalValue() (string, error)

func (DomainStatus) MarshalValueBuf

func (enum DomainStatus) MarshalValueBuf(b []byte) ([]byte, error)

type GenerateAccessLogsInput

type GenerateAccessLogsInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name of the domain.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`

	// The time at which the logs should end, inclusive.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The time at which the logs should start, inclusive.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`
	// contains filtered or unexported fields
}

Request structure for the generate access logs request.

func (GenerateAccessLogsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GenerateAccessLogsInput) String

func (s GenerateAccessLogsInput) String() string

String returns the string representation

func (*GenerateAccessLogsInput) Validate

func (s *GenerateAccessLogsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GenerateAccessLogsOutput

type GenerateAccessLogsOutput struct {

	// Pre-signed URL for the requested access logs.
	LogUrl *string `locationName:"logUrl" type:"string"`
	// contains filtered or unexported fields
}

Result structure for the generate access logs request.

func (GenerateAccessLogsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GenerateAccessLogsOutput) String

func (s GenerateAccessLogsOutput) String() string

String returns the string representation

type GenerateAccessLogsRequest

type GenerateAccessLogsRequest struct {
	*aws.Request
	Input *GenerateAccessLogsInput
	Copy  func(*GenerateAccessLogsInput) GenerateAccessLogsRequest
}

GenerateAccessLogsRequest is the request type for the GenerateAccessLogs API operation.

func (GenerateAccessLogsRequest) Send

Send marshals and sends the GenerateAccessLogs API request.

type GenerateAccessLogsResponse

type GenerateAccessLogsResponse struct {
	*GenerateAccessLogsOutput
	// contains filtered or unexported fields
}

GenerateAccessLogsResponse is the response type for the GenerateAccessLogs API operation.

func (*GenerateAccessLogsResponse) SDKResponseMetdata

func (r *GenerateAccessLogsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GenerateAccessLogs request.

type GetAppInput

type GetAppInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for get App request.

func (GetAppInput) MarshalFields

func (s GetAppInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAppInput) String

func (s GetAppInput) String() string

String returns the string representation

func (*GetAppInput) Validate

func (s *GetAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAppOutput

type GetAppOutput struct {

	// Amplify App represents different branches of a repository for building, deploying,
	// and hosting.
	//
	// App is a required field
	App *App `locationName:"app" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetAppOutput) MarshalFields

func (s GetAppOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAppOutput) String

func (s GetAppOutput) String() string

String returns the string representation

type GetAppRequest

type GetAppRequest struct {
	*aws.Request
	Input *GetAppInput
	Copy  func(*GetAppInput) GetAppRequest
}

GetAppRequest is the request type for the GetApp API operation.

func (GetAppRequest) Send

Send marshals and sends the GetApp API request.

type GetAppResponse

type GetAppResponse struct {
	*GetAppOutput
	// contains filtered or unexported fields
}

GetAppResponse is the response type for the GetApp API operation.

func (*GetAppResponse) SDKResponseMetdata

func (r *GetAppResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApp request.

type GetArtifactUrlInput

type GetArtifactUrlInput struct {

	// Unique Id for a artifact.
	//
	// ArtifactId is a required field
	ArtifactId *string `location:"uri" locationName:"artifactId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for the get artifact request.

func (GetArtifactUrlInput) MarshalFields

func (s GetArtifactUrlInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetArtifactUrlInput) String

func (s GetArtifactUrlInput) String() string

String returns the string representation

func (*GetArtifactUrlInput) Validate

func (s *GetArtifactUrlInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetArtifactUrlOutput

type GetArtifactUrlOutput struct {

	// Unique Id for a artifact.
	//
	// ArtifactId is a required field
	ArtifactId *string `locationName:"artifactId" type:"string" required:"true"`

	// Presigned url for the artifact.
	//
	// ArtifactUrl is a required field
	ArtifactUrl *string `locationName:"artifactUrl" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the get artifact request.

func (GetArtifactUrlOutput) MarshalFields

func (s GetArtifactUrlOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetArtifactUrlOutput) String

func (s GetArtifactUrlOutput) String() string

String returns the string representation

type GetArtifactUrlRequest

type GetArtifactUrlRequest struct {
	*aws.Request
	Input *GetArtifactUrlInput
	Copy  func(*GetArtifactUrlInput) GetArtifactUrlRequest
}

GetArtifactUrlRequest is the request type for the GetArtifactUrl API operation.

func (GetArtifactUrlRequest) Send

Send marshals and sends the GetArtifactUrl API request.

type GetArtifactUrlResponse

type GetArtifactUrlResponse struct {
	*GetArtifactUrlOutput
	// contains filtered or unexported fields
}

GetArtifactUrlResponse is the response type for the GetArtifactUrl API operation.

func (*GetArtifactUrlResponse) SDKResponseMetdata

func (r *GetArtifactUrlResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetArtifactUrl request.

type GetBackendEnvironmentInput

type GetBackendEnvironmentInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the backend environment.
	//
	// EnvironmentName is a required field
	EnvironmentName *string `location:"uri" locationName:"environmentName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for get backend environment request.

func (GetBackendEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackendEnvironmentInput) String

String returns the string representation

func (*GetBackendEnvironmentInput) Validate

func (s *GetBackendEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBackendEnvironmentOutput

type GetBackendEnvironmentOutput struct {

	// Backend environment structure for an an Amplify App.
	//
	// BackendEnvironment is a required field
	BackendEnvironment *BackendEnvironment `locationName:"backendEnvironment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for get backend environment result.

func (GetBackendEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBackendEnvironmentOutput) String

String returns the string representation

type GetBackendEnvironmentRequest

type GetBackendEnvironmentRequest struct {
	*aws.Request
	Input *GetBackendEnvironmentInput
	Copy  func(*GetBackendEnvironmentInput) GetBackendEnvironmentRequest
}

GetBackendEnvironmentRequest is the request type for the GetBackendEnvironment API operation.

func (GetBackendEnvironmentRequest) Send

Send marshals and sends the GetBackendEnvironment API request.

type GetBackendEnvironmentResponse

type GetBackendEnvironmentResponse struct {
	*GetBackendEnvironmentOutput
	// contains filtered or unexported fields
}

GetBackendEnvironmentResponse is the response type for the GetBackendEnvironment API operation.

func (*GetBackendEnvironmentResponse) SDKResponseMetdata

func (r *GetBackendEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBackendEnvironment request.

type GetBranchInput

type GetBranchInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for get branch request.

func (GetBranchInput) MarshalFields

func (s GetBranchInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBranchInput) String

func (s GetBranchInput) String() string

String returns the string representation

func (*GetBranchInput) Validate

func (s *GetBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBranchOutput

type GetBranchOutput struct {

	// Branch for an Amplify App, which maps to a 3rd party repository branch.
	//
	// Branch is a required field
	Branch *Branch `locationName:"branch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetBranchOutput) MarshalFields

func (s GetBranchOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBranchOutput) String

func (s GetBranchOutput) String() string

String returns the string representation

type GetBranchRequest

type GetBranchRequest struct {
	*aws.Request
	Input *GetBranchInput
	Copy  func(*GetBranchInput) GetBranchRequest
}

GetBranchRequest is the request type for the GetBranch API operation.

func (GetBranchRequest) Send

Send marshals and sends the GetBranch API request.

type GetBranchResponse

type GetBranchResponse struct {
	*GetBranchOutput
	// contains filtered or unexported fields
}

GetBranchResponse is the response type for the GetBranch API operation.

func (*GetBranchResponse) SDKResponseMetdata

func (r *GetBranchResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetBranch request.

type GetDomainAssociationInput

type GetDomainAssociationInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name of the domain.
	//
	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for the get Domain Association request.

func (GetDomainAssociationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainAssociationInput) String

func (s GetDomainAssociationInput) String() string

String returns the string representation

func (*GetDomainAssociationInput) Validate

func (s *GetDomainAssociationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDomainAssociationOutput

type GetDomainAssociationOutput struct {

	// Domain Association structure.
	//
	// DomainAssociation is a required field
	DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the get Domain Association request.

func (GetDomainAssociationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDomainAssociationOutput) String

String returns the string representation

type GetDomainAssociationRequest

type GetDomainAssociationRequest struct {
	*aws.Request
	Input *GetDomainAssociationInput
	Copy  func(*GetDomainAssociationInput) GetDomainAssociationRequest
}

GetDomainAssociationRequest is the request type for the GetDomainAssociation API operation.

func (GetDomainAssociationRequest) Send

Send marshals and sends the GetDomainAssociation API request.

type GetDomainAssociationResponse

type GetDomainAssociationResponse struct {
	*GetDomainAssociationOutput
	// contains filtered or unexported fields
}

GetDomainAssociationResponse is the response type for the GetDomainAssociation API operation.

func (*GetDomainAssociationResponse) SDKResponseMetdata

func (r *GetDomainAssociationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDomainAssociation request.

type GetJobInput

type GetJobInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch, for the Job.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// Unique Id for the Job.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for get job request.

func (GetJobInput) MarshalFields

func (s GetJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetJobInput) String

func (s GetJobInput) String() string

String returns the string representation

func (*GetJobInput) Validate

func (s *GetJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetJobOutput

type GetJobOutput struct {

	// Structure for an execution job for an Amplify App.
	//
	// Job is a required field
	Job *Job `locationName:"job" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetJobOutput) MarshalFields

func (s GetJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetJobOutput) String

func (s GetJobOutput) String() string

String returns the string representation

type GetJobRequest

type GetJobRequest struct {
	*aws.Request
	Input *GetJobInput
	Copy  func(*GetJobInput) GetJobRequest
}

GetJobRequest is the request type for the GetJob API operation.

func (GetJobRequest) Send

Send marshals and sends the GetJob API request.

type GetJobResponse

type GetJobResponse struct {
	*GetJobOutput
	// contains filtered or unexported fields
}

GetJobResponse is the response type for the GetJob API operation.

func (*GetJobResponse) SDKResponseMetdata

func (r *GetJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetJob request.

type GetWebhookInput

type GetWebhookInput struct {

	// Unique Id for a webhook.
	//
	// WebhookId is a required field
	WebhookId *string `location:"uri" locationName:"webhookId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for the get webhook request.

func (GetWebhookInput) MarshalFields

func (s GetWebhookInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetWebhookInput) String

func (s GetWebhookInput) String() string

String returns the string representation

func (*GetWebhookInput) Validate

func (s *GetWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetWebhookOutput

type GetWebhookOutput struct {

	// Webhook structure.
	//
	// Webhook is a required field
	Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the get webhook request.

func (GetWebhookOutput) MarshalFields

func (s GetWebhookOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetWebhookOutput) String

func (s GetWebhookOutput) String() string

String returns the string representation

type GetWebhookRequest

type GetWebhookRequest struct {
	*aws.Request
	Input *GetWebhookInput
	Copy  func(*GetWebhookInput) GetWebhookRequest
}

GetWebhookRequest is the request type for the GetWebhook API operation.

func (GetWebhookRequest) Send

Send marshals and sends the GetWebhook API request.

type GetWebhookResponse

type GetWebhookResponse struct {
	*GetWebhookOutput
	// contains filtered or unexported fields
}

GetWebhookResponse is the response type for the GetWebhook API operation.

func (*GetWebhookResponse) SDKResponseMetdata

func (r *GetWebhookResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetWebhook request.

type Job

type Job struct {

	// Execution steps for an execution job, for an Amplify App.
	//
	// Steps is a required field
	Steps []Step `locationName:"steps" type:"list" required:"true"`

	// Summary for an execution job for an Amplify App.
	//
	// Summary is a required field
	Summary *JobSummary `locationName:"summary" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Structure for an execution job for an Amplify App.

func (Job) MarshalFields

func (s Job) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Job) String

func (s Job) String() string

String returns the string representation

type JobStatus

type JobStatus string
const (
	JobStatusPending      JobStatus = "PENDING"
	JobStatusProvisioning JobStatus = "PROVISIONING"
	JobStatusRunning      JobStatus = "RUNNING"
	JobStatusFailed       JobStatus = "FAILED"
	JobStatusSucceed      JobStatus = "SUCCEED"
	JobStatusCancelling   JobStatus = "CANCELLING"
	JobStatusCancelled    JobStatus = "CANCELLED"
)

Enum values for JobStatus

func (JobStatus) MarshalValue

func (enum JobStatus) MarshalValue() (string, error)

func (JobStatus) MarshalValueBuf

func (enum JobStatus) MarshalValueBuf(b []byte) ([]byte, error)

type JobSummary

type JobSummary struct {

	// Commit Id from 3rd party repository provider for the Job.
	//
	// CommitId is a required field
	CommitId *string `locationName:"commitId" type:"string" required:"true"`

	// Commit message from 3rd party repository provider for the Job.
	//
	// CommitMessage is a required field
	CommitMessage *string `locationName:"commitMessage" type:"string" required:"true"`

	// Commit date / time for the Job.
	//
	// CommitTime is a required field
	CommitTime *time.Time `locationName:"commitTime" type:"timestamp" required:"true"`

	// End date / time for the Job.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// Arn for the Job.
	//
	// JobArn is a required field
	JobArn *string `locationName:"jobArn" type:"string" required:"true"`

	// Unique Id for the Job.
	//
	// JobId is a required field
	JobId *string `locationName:"jobId" type:"string" required:"true"`

	// Type for the Job. \n "RELEASE": Manually released from source by using StartJob
	// API. "RETRY": Manually retried by using StartJob API. "WEB_HOOK": Automatically
	// triggered by WebHooks.
	//
	// JobType is a required field
	JobType JobType `locationName:"jobType" type:"string" required:"true" enum:"true"`

	// Start date / time for the Job.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`

	// Status for the Job.
	//
	// Status is a required field
	Status JobStatus `locationName:"status" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Structure for the summary of a Job.

func (JobSummary) MarshalFields

func (s JobSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobSummary) String

func (s JobSummary) String() string

String returns the string representation

type JobType

type JobType string
const (
	JobTypeRelease JobType = "RELEASE"
	JobTypeRetry   JobType = "RETRY"
	JobTypeManual  JobType = "MANUAL"
	JobTypeWebHook JobType = "WEB_HOOK"
)

Enum values for JobType

func (JobType) MarshalValue

func (enum JobType) MarshalValue() (string, error)

func (JobType) MarshalValueBuf

func (enum JobType) MarshalValueBuf(b []byte) ([]byte, error)

type ListAppsInput

type ListAppsInput struct {

	// Maximum number of records to list in a single response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token. If non-null pagination token is returned in a result, then
	// pass its value in another request to fetch more entries.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Request structure for an Amplify App list request.

func (ListAppsInput) MarshalFields

func (s ListAppsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAppsInput) String

func (s ListAppsInput) String() string

String returns the string representation

func (*ListAppsInput) Validate

func (s *ListAppsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAppsOutput

type ListAppsOutput struct {

	// List of Amplify Apps.
	//
	// Apps is a required field
	Apps []App `locationName:"apps" type:"list" required:"true"`

	// Pagination token. Set to null to start listing Apps from start. If non-null
	// pagination token is returned in a result, then pass its value in here to
	// list more projects.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Result structure for an Amplify App list request.

func (ListAppsOutput) MarshalFields

func (s ListAppsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAppsOutput) String

func (s ListAppsOutput) String() string

String returns the string representation

type ListAppsRequest

type ListAppsRequest struct {
	*aws.Request
	Input *ListAppsInput
	Copy  func(*ListAppsInput) ListAppsRequest
}

ListAppsRequest is the request type for the ListApps API operation.

func (ListAppsRequest) Send

Send marshals and sends the ListApps API request.

type ListAppsResponse

type ListAppsResponse struct {
	*ListAppsOutput
	// contains filtered or unexported fields
}

ListAppsResponse is the response type for the ListApps API operation.

func (*ListAppsResponse) SDKResponseMetdata

func (r *ListAppsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListApps request.

type ListArtifactsInput

type ListArtifactsInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for a branch, part of an Amplify App.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// Unique Id for an Job.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`

	// Maximum number of records to list in a single response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token. Set to null to start listing artifacts from start. If non-null
	// pagination token is returned in a result, then pass its value in here to
	// list more artifacts.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Request structure for the list artifacts request.

func (ListArtifactsInput) MarshalFields

func (s ListArtifactsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListArtifactsInput) String

func (s ListArtifactsInput) String() string

String returns the string representation

func (*ListArtifactsInput) Validate

func (s *ListArtifactsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListArtifactsOutput

type ListArtifactsOutput struct {

	// List of artifacts.
	//
	// Artifacts is a required field
	Artifacts []Artifact `locationName:"artifacts" type:"list" required:"true"`

	// Pagination token. If non-null pagination token is returned in a result, then
	// pass its value in another request to fetch more entries.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Result structure for the list artifacts request.

func (ListArtifactsOutput) MarshalFields

func (s ListArtifactsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListArtifactsOutput) String

func (s ListArtifactsOutput) String() string

String returns the string representation

type ListArtifactsRequest

type ListArtifactsRequest struct {
	*aws.Request
	Input *ListArtifactsInput
	Copy  func(*ListArtifactsInput) ListArtifactsRequest
}

ListArtifactsRequest is the request type for the ListArtifacts API operation.

func (ListArtifactsRequest) Send

Send marshals and sends the ListArtifacts API request.

type ListArtifactsResponse

type ListArtifactsResponse struct {
	*ListArtifactsOutput
	// contains filtered or unexported fields
}

ListArtifactsResponse is the response type for the ListArtifacts API operation.

func (*ListArtifactsResponse) SDKResponseMetdata

func (r *ListArtifactsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListArtifacts request.

type ListBackendEnvironmentsInput

type ListBackendEnvironmentsInput struct {

	// Unique Id for an amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name of the backend environment
	EnvironmentName *string `locationName:"environmentName" min:"1" type:"string"`

	// Maximum number of records to list in a single response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token. Set to null to start listing backen environments from start.
	// If a non-null pagination token is returned in a result, then pass its value
	// in here to list more backend environments.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Request structure for list backend environments request.

func (ListBackendEnvironmentsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackendEnvironmentsInput) String

String returns the string representation

func (*ListBackendEnvironmentsInput) Validate

func (s *ListBackendEnvironmentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListBackendEnvironmentsOutput

type ListBackendEnvironmentsOutput struct {

	// List of backend environments for an Amplify App.
	//
	// BackendEnvironments is a required field
	BackendEnvironments []BackendEnvironment `locationName:"backendEnvironments" type:"list" required:"true"`

	// Pagination token. If non-null pagination token is returned in a result, then
	// pass its value in another request to fetch more entries.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Result structure for list backend environments result.

func (ListBackendEnvironmentsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBackendEnvironmentsOutput) String

String returns the string representation

type ListBackendEnvironmentsRequest

type ListBackendEnvironmentsRequest struct {
	*aws.Request
	Input *ListBackendEnvironmentsInput
	Copy  func(*ListBackendEnvironmentsInput) ListBackendEnvironmentsRequest
}

ListBackendEnvironmentsRequest is the request type for the ListBackendEnvironments API operation.

func (ListBackendEnvironmentsRequest) Send

Send marshals and sends the ListBackendEnvironments API request.

type ListBackendEnvironmentsResponse

type ListBackendEnvironmentsResponse struct {
	*ListBackendEnvironmentsOutput
	// contains filtered or unexported fields
}

ListBackendEnvironmentsResponse is the response type for the ListBackendEnvironments API operation.

func (*ListBackendEnvironmentsResponse) SDKResponseMetdata

func (r *ListBackendEnvironmentsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBackendEnvironments request.

type ListBranchesInput

type ListBranchesInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Maximum number of records to list in a single response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token. Set to null to start listing branches from start. If a
	// non-null pagination token is returned in a result, then pass its value in
	// here to list more branches.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Request structure for list branches request.

func (ListBranchesInput) MarshalFields

func (s ListBranchesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBranchesInput) String

func (s ListBranchesInput) String() string

String returns the string representation

func (*ListBranchesInput) Validate

func (s *ListBranchesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListBranchesOutput

type ListBranchesOutput struct {

	// List of branches for an Amplify App.
	//
	// Branches is a required field
	Branches []Branch `locationName:"branches" type:"list" required:"true"`

	// Pagination token. If non-null pagination token is returned in a result, then
	// pass its value in another request to fetch more entries.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Result structure for list branches request.

func (ListBranchesOutput) MarshalFields

func (s ListBranchesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBranchesOutput) String

func (s ListBranchesOutput) String() string

String returns the string representation

type ListBranchesRequest

type ListBranchesRequest struct {
	*aws.Request
	Input *ListBranchesInput
	Copy  func(*ListBranchesInput) ListBranchesRequest
}

ListBranchesRequest is the request type for the ListBranches API operation.

func (ListBranchesRequest) Send

Send marshals and sends the ListBranches API request.

type ListBranchesResponse

type ListBranchesResponse struct {
	*ListBranchesOutput
	// contains filtered or unexported fields
}

ListBranchesResponse is the response type for the ListBranches API operation.

func (*ListBranchesResponse) SDKResponseMetdata

func (r *ListBranchesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBranches request.

type ListDomainAssociationsInput

type ListDomainAssociationsInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Maximum number of records to list in a single response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token. Set to null to start listing Apps from start. If non-null
	// pagination token is returned in a result, then pass its value in here to
	// list more projects.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Request structure for the list Domain Associations request.

func (ListDomainAssociationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDomainAssociationsInput) String

String returns the string representation

func (*ListDomainAssociationsInput) Validate

func (s *ListDomainAssociationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDomainAssociationsOutput

type ListDomainAssociationsOutput struct {

	// List of Domain Associations.
	//
	// DomainAssociations is a required field
	DomainAssociations []DomainAssociation `locationName:"domainAssociations" type:"list" required:"true"`

	// Pagination token. If non-null pagination token is returned in a result, then
	// pass its value in another request to fetch more entries.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Result structure for the list Domain Association request.

func (ListDomainAssociationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDomainAssociationsOutput) String

String returns the string representation

type ListDomainAssociationsRequest

type ListDomainAssociationsRequest struct {
	*aws.Request
	Input *ListDomainAssociationsInput
	Copy  func(*ListDomainAssociationsInput) ListDomainAssociationsRequest
}

ListDomainAssociationsRequest is the request type for the ListDomainAssociations API operation.

func (ListDomainAssociationsRequest) Send

Send marshals and sends the ListDomainAssociations API request.

type ListDomainAssociationsResponse

type ListDomainAssociationsResponse struct {
	*ListDomainAssociationsOutput
	// contains filtered or unexported fields
}

ListDomainAssociationsResponse is the response type for the ListDomainAssociations API operation.

func (*ListDomainAssociationsResponse) SDKResponseMetdata

func (r *ListDomainAssociationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDomainAssociations request.

type ListJobsInput

type ListJobsInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for a branch.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// Maximum number of records to list in a single response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token. Set to null to start listing steps from start. If a non-null
	// pagination token is returned in a result, then pass its value in here to
	// list more steps.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Request structure for list job request.

func (ListJobsInput) MarshalFields

func (s ListJobsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsInput) String

func (s ListJobsInput) String() string

String returns the string representation

func (*ListJobsInput) Validate

func (s *ListJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobsOutput

type ListJobsOutput struct {

	// Result structure for list job result request.
	//
	// JobSummaries is a required field
	JobSummaries []JobSummary `locationName:"jobSummaries" type:"list" required:"true"`

	// Pagination token. If non-null pagination token is returned in a result, then
	// pass its value in another request to fetch more entries.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Maximum number of records to list in a single response.

func (ListJobsOutput) MarshalFields

func (s ListJobsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsOutput) String

func (s ListJobsOutput) String() string

String returns the string representation

type ListJobsRequest

type ListJobsRequest struct {
	*aws.Request
	Input *ListJobsInput
	Copy  func(*ListJobsInput) ListJobsRequest
}

ListJobsRequest is the request type for the ListJobs API operation.

func (ListJobsRequest) Send

Send marshals and sends the ListJobs API request.

type ListJobsResponse

type ListJobsResponse struct {
	*ListJobsOutput
	// contains filtered or unexported fields
}

ListJobsResponse is the response type for the ListJobs API operation.

func (*ListJobsResponse) SDKResponseMetdata

func (r *ListJobsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListJobs request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// Resource arn used to list tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure used to list tags for resource.

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// Tags result for response.
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

Response for list tags.

func (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type ListWebhooksInput

type ListWebhooksInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Maximum number of records to list in a single response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token. Set to null to start listing webhooks from start. If non-null
	// pagination token is returned in a result, then pass its value in here to
	// list more webhooks.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Request structure for the list webhooks request.

func (ListWebhooksInput) MarshalFields

func (s ListWebhooksInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListWebhooksInput) String

func (s ListWebhooksInput) String() string

String returns the string representation

func (*ListWebhooksInput) Validate

func (s *ListWebhooksInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListWebhooksOutput

type ListWebhooksOutput struct {

	// Pagination token. If non-null pagination token is returned in a result, then
	// pass its value in another request to fetch more entries.
	NextToken *string `locationName:"nextToken" type:"string"`

	// List of webhooks.
	//
	// Webhooks is a required field
	Webhooks []Webhook `locationName:"webhooks" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the list webhooks request.

func (ListWebhooksOutput) MarshalFields

func (s ListWebhooksOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListWebhooksOutput) String

func (s ListWebhooksOutput) String() string

String returns the string representation

type ListWebhooksRequest

type ListWebhooksRequest struct {
	*aws.Request
	Input *ListWebhooksInput
	Copy  func(*ListWebhooksInput) ListWebhooksRequest
}

ListWebhooksRequest is the request type for the ListWebhooks API operation.

func (ListWebhooksRequest) Send

Send marshals and sends the ListWebhooks API request.

type ListWebhooksResponse

type ListWebhooksResponse struct {
	*ListWebhooksOutput
	// contains filtered or unexported fields
}

ListWebhooksResponse is the response type for the ListWebhooks API operation.

func (*ListWebhooksResponse) SDKResponseMetdata

func (r *ListWebhooksResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListWebhooks request.

type Platform

type Platform string
const (
	PlatformWeb Platform = "WEB"
)

Enum values for Platform

func (Platform) MarshalValue

func (enum Platform) MarshalValue() (string, error)

func (Platform) MarshalValueBuf

func (enum Platform) MarshalValueBuf(b []byte) ([]byte, error)

type ProductionBranch

type ProductionBranch struct {

	// Branch Name for Production Branch.
	BranchName *string `locationName:"branchName" min:"1" type:"string"`

	// Last Deploy Time of Production Branch.
	LastDeployTime *time.Time `locationName:"lastDeployTime" type:"timestamp"`

	// Status of Production Branch.
	Status *string `locationName:"status" min:"3" type:"string"`

	// Thumbnail URL for Production Branch.
	ThumbnailUrl *string `locationName:"thumbnailUrl" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Structure with Production Branch information.

func (ProductionBranch) MarshalFields

func (s ProductionBranch) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ProductionBranch) String

func (s ProductionBranch) String() string

String returns the string representation

type Stage

type Stage string
const (
	StageProduction   Stage = "PRODUCTION"
	StageBeta         Stage = "BETA"
	StageDevelopment  Stage = "DEVELOPMENT"
	StageExperimental Stage = "EXPERIMENTAL"
	StagePullRequest  Stage = "PULL_REQUEST"
)

Enum values for Stage

func (Stage) MarshalValue

func (enum Stage) MarshalValue() (string, error)

func (Stage) MarshalValueBuf

func (enum Stage) MarshalValueBuf(b []byte) ([]byte, error)

type StartDeploymentInput

type StartDeploymentInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch, for the Job.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// The job id for this deployment, generated by create deployment request.
	JobId *string `locationName:"jobId" type:"string"`

	// The sourceUrl for this deployment, used when calling start deployment without
	// create deployment. SourceUrl can be any HTTP GET url that is public accessible
	// and downloads a single zip.
	SourceUrl *string `locationName:"sourceUrl" type:"string"`
	// contains filtered or unexported fields
}

Request structure for start a deployment.

func (StartDeploymentInput) MarshalFields

func (s StartDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartDeploymentInput) String

func (s StartDeploymentInput) String() string

String returns the string representation

func (*StartDeploymentInput) Validate

func (s *StartDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartDeploymentOutput

type StartDeploymentOutput struct {

	// Summary for the Job.
	//
	// JobSummary is a required field
	JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for start a deployment.

func (StartDeploymentOutput) MarshalFields

func (s StartDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartDeploymentOutput) String

func (s StartDeploymentOutput) String() string

String returns the string representation

type StartDeploymentRequest

type StartDeploymentRequest struct {
	*aws.Request
	Input *StartDeploymentInput
	Copy  func(*StartDeploymentInput) StartDeploymentRequest
}

StartDeploymentRequest is the request type for the StartDeployment API operation.

func (StartDeploymentRequest) Send

Send marshals and sends the StartDeployment API request.

type StartDeploymentResponse

type StartDeploymentResponse struct {
	*StartDeploymentOutput
	// contains filtered or unexported fields
}

StartDeploymentResponse is the response type for the StartDeployment API operation.

func (*StartDeploymentResponse) SDKResponseMetdata

func (r *StartDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartDeployment request.

type StartJobInput

type StartJobInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch, for the Job.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// Commit Id from 3rd party repository provider for the Job.
	CommitId *string `locationName:"commitId" type:"string"`

	// Commit message from 3rd party repository provider for the Job.
	CommitMessage *string `locationName:"commitMessage" type:"string"`

	// Commit date / time for the Job.
	CommitTime *time.Time `locationName:"commitTime" type:"timestamp"`

	// Unique Id for an existing job. Required for "RETRY" JobType.
	JobId *string `locationName:"jobId" type:"string"`

	// Descriptive reason for starting this job.
	JobReason *string `locationName:"jobReason" type:"string"`

	// Type for the Job. Available JobTypes are: \n "RELEASE": Start a new job with
	// the latest change from the specified branch. Only available for apps that
	// have connected to a repository. "RETRY": Retry an existing job. JobId is
	// required for this type of job.
	//
	// JobType is a required field
	JobType JobType `locationName:"jobType" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Request structure for Start job request.

func (StartJobInput) MarshalFields

func (s StartJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartJobInput) String

func (s StartJobInput) String() string

String returns the string representation

func (*StartJobInput) Validate

func (s *StartJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartJobOutput

type StartJobOutput struct {

	// Summary for the Job.
	//
	// JobSummary is a required field
	JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for run job request.

func (StartJobOutput) MarshalFields

func (s StartJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartJobOutput) String

func (s StartJobOutput) String() string

String returns the string representation

type StartJobRequest

type StartJobRequest struct {
	*aws.Request
	Input *StartJobInput
	Copy  func(*StartJobInput) StartJobRequest
}

StartJobRequest is the request type for the StartJob API operation.

func (StartJobRequest) Send

Send marshals and sends the StartJob API request.

type StartJobResponse

type StartJobResponse struct {
	*StartJobOutput
	// contains filtered or unexported fields
}

StartJobResponse is the response type for the StartJob API operation.

func (*StartJobResponse) SDKResponseMetdata

func (r *StartJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartJob request.

type Step

type Step struct {

	// URL to the artifact for the execution step.
	ArtifactsUrl *string `locationName:"artifactsUrl" type:"string"`

	// The context for current step, will include build image if step is build.
	Context *string `locationName:"context" type:"string"`

	// End date/ time of the execution step.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"`

	// URL to the logs for the execution step.
	LogUrl *string `locationName:"logUrl" type:"string"`

	// List of screenshot URLs for the execution step, if relevant.
	Screenshots map[string]string `locationName:"screenshots" type:"map"`

	// Start date/ time of the execution step.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`

	// Status of the execution step.
	//
	// Status is a required field
	Status JobStatus `locationName:"status" type:"string" required:"true" enum:"true"`

	// The reason for current step status.
	StatusReason *string `locationName:"statusReason" type:"string"`

	// Name of the execution step.
	//
	// StepName is a required field
	StepName *string `locationName:"stepName" type:"string" required:"true"`

	// URL to the test artifact for the execution step.
	TestArtifactsUrl *string `locationName:"testArtifactsUrl" type:"string"`

	// URL to the test config for the execution step.
	TestConfigUrl *string `locationName:"testConfigUrl" type:"string"`
	// contains filtered or unexported fields
}

Structure for an execution step for an execution job, for an Amplify App.

func (Step) MarshalFields

func (s Step) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Step) String

func (s Step) String() string

String returns the string representation

type StopJobInput

type StopJobInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name for the branch, for the Job.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// Unique Id for the Job.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for stop job request.

func (StopJobInput) MarshalFields

func (s StopJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopJobInput) String

func (s StopJobInput) String() string

String returns the string representation

func (*StopJobInput) Validate

func (s *StopJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopJobOutput

type StopJobOutput struct {

	// Summary for the Job.
	//
	// JobSummary is a required field
	JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the stop job request.

func (StopJobOutput) MarshalFields

func (s StopJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopJobOutput) String

func (s StopJobOutput) String() string

String returns the string representation

type StopJobRequest

type StopJobRequest struct {
	*aws.Request
	Input *StopJobInput
	Copy  func(*StopJobInput) StopJobRequest
}

StopJobRequest is the request type for the StopJob API operation.

func (StopJobRequest) Send

Send marshals and sends the StopJob API request.

type StopJobResponse

type StopJobResponse struct {
	*StopJobOutput
	// contains filtered or unexported fields
}

StopJobResponse is the response type for the StopJob API operation.

func (*StopJobResponse) SDKResponseMetdata

func (r *StopJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopJob request.

type SubDomain

type SubDomain struct {

	// DNS record for the Subdomain.
	//
	// DnsRecord is a required field
	DnsRecord *string `locationName:"dnsRecord" type:"string" required:"true"`

	// Setting structure for the Subdomain.
	//
	// SubDomainSetting is a required field
	SubDomainSetting *SubDomainSetting `locationName:"subDomainSetting" type:"structure" required:"true"`

	// Verified status of the Subdomain
	//
	// Verified is a required field
	Verified *bool `locationName:"verified" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Subdomain for the Domain Association.

func (SubDomain) MarshalFields

func (s SubDomain) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SubDomain) String

func (s SubDomain) String() string

String returns the string representation

type SubDomainSetting

type SubDomainSetting struct {

	// Branch name setting for the Subdomain.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// Prefix setting for the Subdomain.
	//
	// Prefix is a required field
	Prefix *string `locationName:"prefix" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Setting for the Subdomain.

func (SubDomainSetting) MarshalFields

func (s SubDomainSetting) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SubDomainSetting) String

func (s SubDomainSetting) String() string

String returns the string representation

func (*SubDomainSetting) Validate

func (s *SubDomainSetting) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput

type TagResourceInput struct {

	// Resource arn used to tag resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// Tags used to tag resource.
	//
	// Tags is a required field
	Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

Request structure used to tag resource.

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

Response for tag resource.

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput

type UntagResourceInput struct {

	// Resource arn used to untag resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// Tag keys used to untag resource.
	//
	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Request structure used to untag resource.

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

Response for untag resource.

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateAppInput

type UpdateAppInput struct {

	// Personal Access token for 3rd party source control system for an Amplify
	// App, used to create webhook and read-only deploy key. Token is not stored.
	AccessToken *string `locationName:"accessToken" min:"1" type:"string"`

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Automated branch creation branchConfig for the Amplify App.
	AutoBranchCreationConfig *AutoBranchCreationConfig `locationName:"autoBranchCreationConfig" type:"structure"`

	// Automated branch creation glob patterns for the Amplify App.
	AutoBranchCreationPatterns []string `locationName:"autoBranchCreationPatterns" type:"list"`

	// Basic Authorization credentials for an Amplify App.
	BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"`

	// BuildSpec for an Amplify App.
	BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"`

	// Custom redirect / rewrite rules for an Amplify App.
	CustomRules []CustomRule `locationName:"customRules" type:"list"`

	// Description for an Amplify App.
	Description *string `locationName:"description" type:"string"`

	// Enables automated branch creation for the Amplify App.
	EnableAutoBranchCreation *bool `locationName:"enableAutoBranchCreation" type:"boolean"`

	// Enables Basic Authorization for an Amplify App.
	EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"`

	// Enables branch auto-building for an Amplify App.
	EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"`

	// Environment Variables for an Amplify App.
	EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"`

	// IAM service role for an Amplify App.
	IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"`

	// Name for an Amplify App.
	Name *string `locationName:"name" min:"1" type:"string"`

	// OAuth token for 3rd party source control system for an Amplify App, used
	// to create webhook and read-only deploy key. OAuth token is not stored.
	OauthToken *string `locationName:"oauthToken" type:"string"`

	// Platform for an Amplify App.
	Platform Platform `locationName:"platform" type:"string" enum:"true"`

	// Repository for an Amplify App
	Repository *string `locationName:"repository" type:"string"`
	// contains filtered or unexported fields
}

Request structure for update App request.

func (UpdateAppInput) MarshalFields

func (s UpdateAppInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAppInput) String

func (s UpdateAppInput) String() string

String returns the string representation

func (*UpdateAppInput) Validate

func (s *UpdateAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAppOutput

type UpdateAppOutput struct {

	// App structure for the updated App.
	//
	// App is a required field
	App *App `locationName:"app" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for an Amplify App update request.

func (UpdateAppOutput) MarshalFields

func (s UpdateAppOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAppOutput) String

func (s UpdateAppOutput) String() string

String returns the string representation

type UpdateAppRequest

type UpdateAppRequest struct {
	*aws.Request
	Input *UpdateAppInput
	Copy  func(*UpdateAppInput) UpdateAppRequest
}

UpdateAppRequest is the request type for the UpdateApp API operation.

func (UpdateAppRequest) Send

Send marshals and sends the UpdateApp API request.

type UpdateAppResponse

type UpdateAppResponse struct {
	*UpdateAppOutput
	// contains filtered or unexported fields
}

UpdateAppResponse is the response type for the UpdateApp API operation.

func (*UpdateAppResponse) SDKResponseMetdata

func (r *UpdateAppResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApp request.

type UpdateBranchInput

type UpdateBranchInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// ARN for a Backend Environment, part of an Amplify App.
	BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"`

	// Basic Authorization credentials for the branch.
	BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"`

	// Name for the branch.
	//
	// BranchName is a required field
	BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"`

	// BuildSpec for the branch.
	BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"`

	// Description for the branch.
	Description *string `locationName:"description" type:"string"`

	// Display name for a branch, will use as the default domain prefix.
	DisplayName *string `locationName:"displayName" type:"string"`

	// Enables auto building for the branch.
	EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"`

	// Enables Basic Auth for the branch.
	EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"`

	// Enables notifications for the branch.
	EnableNotification *bool `locationName:"enableNotification" type:"boolean"`

	// Enables Pull Request Preview for this branch.
	EnablePullRequestPreview *bool `locationName:"enablePullRequestPreview" type:"boolean"`

	// Environment Variables for the branch.
	EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"`

	// Framework for the branch.
	Framework *string `locationName:"framework" type:"string"`

	// The Amplify Environment name for the pull request.
	PullRequestEnvironmentName *string `locationName:"pullRequestEnvironmentName" type:"string"`

	// Stage for the branch.
	Stage Stage `locationName:"stage" type:"string" enum:"true"`

	// The content TTL for the website in seconds.
	Ttl *string `locationName:"ttl" type:"string"`
	// contains filtered or unexported fields
}

Request structure for update branch request.

func (UpdateBranchInput) MarshalFields

func (s UpdateBranchInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBranchInput) String

func (s UpdateBranchInput) String() string

String returns the string representation

func (*UpdateBranchInput) Validate

func (s *UpdateBranchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateBranchOutput

type UpdateBranchOutput struct {

	// Branch structure for an Amplify App.
	//
	// Branch is a required field
	Branch *Branch `locationName:"branch" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for update branch request.

func (UpdateBranchOutput) MarshalFields

func (s UpdateBranchOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBranchOutput) String

func (s UpdateBranchOutput) String() string

String returns the string representation

type UpdateBranchRequest

type UpdateBranchRequest struct {
	*aws.Request
	Input *UpdateBranchInput
	Copy  func(*UpdateBranchInput) UpdateBranchRequest
}

UpdateBranchRequest is the request type for the UpdateBranch API operation.

func (UpdateBranchRequest) Send

Send marshals and sends the UpdateBranch API request.

type UpdateBranchResponse

type UpdateBranchResponse struct {
	*UpdateBranchOutput
	// contains filtered or unexported fields
}

UpdateBranchResponse is the response type for the UpdateBranch API operation.

func (*UpdateBranchResponse) SDKResponseMetdata

func (r *UpdateBranchResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateBranch request.

type UpdateDomainAssociationInput

type UpdateDomainAssociationInput struct {

	// Unique Id for an Amplify App.
	//
	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"`

	// Name of the domain.
	//
	// DomainName is a required field
	DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"`

	// Enables automated creation of Subdomains for branches. (Currently not supported)
	EnableAutoSubDomain *bool `locationName:"enableAutoSubDomain" type:"boolean"`

	// Setting structure for the Subdomain.
	//
	// SubDomainSettings is a required field
	SubDomainSettings []SubDomainSetting `locationName:"subDomainSettings" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Request structure for update Domain Association request.

func (UpdateDomainAssociationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDomainAssociationInput) String

String returns the string representation

func (*UpdateDomainAssociationInput) Validate

func (s *UpdateDomainAssociationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDomainAssociationOutput

type UpdateDomainAssociationOutput struct {

	// Domain Association structure.
	//
	// DomainAssociation is a required field
	DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the update Domain Association request.

func (UpdateDomainAssociationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDomainAssociationOutput) String

String returns the string representation

type UpdateDomainAssociationRequest

type UpdateDomainAssociationRequest struct {
	*aws.Request
	Input *UpdateDomainAssociationInput
	Copy  func(*UpdateDomainAssociationInput) UpdateDomainAssociationRequest
}

UpdateDomainAssociationRequest is the request type for the UpdateDomainAssociation API operation.

func (UpdateDomainAssociationRequest) Send

Send marshals and sends the UpdateDomainAssociation API request.

type UpdateDomainAssociationResponse

type UpdateDomainAssociationResponse struct {
	*UpdateDomainAssociationOutput
	// contains filtered or unexported fields
}

UpdateDomainAssociationResponse is the response type for the UpdateDomainAssociation API operation.

func (*UpdateDomainAssociationResponse) SDKResponseMetdata

func (r *UpdateDomainAssociationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDomainAssociation request.

type UpdateWebhookInput

type UpdateWebhookInput struct {

	// Name for a branch, part of an Amplify App.
	BranchName *string `locationName:"branchName" min:"1" type:"string"`

	// Description for a webhook.
	Description *string `locationName:"description" type:"string"`

	// Unique Id for a webhook.
	//
	// WebhookId is a required field
	WebhookId *string `location:"uri" locationName:"webhookId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request structure for update webhook request.

func (UpdateWebhookInput) MarshalFields

func (s UpdateWebhookInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateWebhookInput) String

func (s UpdateWebhookInput) String() string

String returns the string representation

func (*UpdateWebhookInput) Validate

func (s *UpdateWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateWebhookOutput

type UpdateWebhookOutput struct {

	// Webhook structure.
	//
	// Webhook is a required field
	Webhook *Webhook `locationName:"webhook" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Result structure for the update webhook request.

func (UpdateWebhookOutput) MarshalFields

func (s UpdateWebhookOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateWebhookOutput) String

func (s UpdateWebhookOutput) String() string

String returns the string representation

type UpdateWebhookRequest

type UpdateWebhookRequest struct {
	*aws.Request
	Input *UpdateWebhookInput
	Copy  func(*UpdateWebhookInput) UpdateWebhookRequest
}

UpdateWebhookRequest is the request type for the UpdateWebhook API operation.

func (UpdateWebhookRequest) Send

Send marshals and sends the UpdateWebhook API request.

type UpdateWebhookResponse

type UpdateWebhookResponse struct {
	*UpdateWebhookOutput
	// contains filtered or unexported fields
}

UpdateWebhookResponse is the response type for the UpdateWebhook API operation.

func (*UpdateWebhookResponse) SDKResponseMetdata

func (r *UpdateWebhookResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateWebhook request.

type Webhook

type Webhook struct {

	// Name for a branch, part of an Amplify App.
	//
	// BranchName is a required field
	BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"`

	// Create date / time for a webhook.
	//
	// CreateTime is a required field
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"`

	// Description for a webhook.
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// Update date / time for a webhook.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" required:"true"`

	// ARN for the webhook.
	//
	// WebhookArn is a required field
	WebhookArn *string `locationName:"webhookArn" type:"string" required:"true"`

	// Id of the webhook.
	//
	// WebhookId is a required field
	WebhookId *string `locationName:"webhookId" type:"string" required:"true"`

	// Url of the webhook.
	//
	// WebhookUrl is a required field
	WebhookUrl *string `locationName:"webhookUrl" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Structure for webhook, which associates a webhook with an Amplify App.

func (Webhook) MarshalFields

func (s Webhook) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Webhook) String

func (s Webhook) String() string

String returns the string representation

Directories

Path Synopsis
Package amplifyiface provides an interface to enable mocking the AWS Amplify service client for testing your code.
Package amplifyiface provides an interface to enable mocking the AWS Amplify service client for testing your code.

Jump to

Keyboard shortcuts

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