amplify

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 7 Imported by: 22

Documentation

Overview

Package amplify provides the client and types for making API requests to AWS 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 AWS 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 AWS Amplify client Amplify 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 (

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

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// Exception thrown when an operation fails due to a lack of access.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)
View Source
const (
	ServiceName = "amplify"   // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Amplify

type Amplify struct {
	*aws.Client
}

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

Amplify 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) *Amplify

New creates a new instance of the Amplify client with a config.

Example:

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

func (*Amplify) CreateAppRequest

func (c *Amplify) 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 the CreateAppRequest method.
req := client.CreateAppRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) CreateBranchRequest

func (c *Amplify) 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 the CreateBranchRequest method.
req := client.CreateBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) CreateDomainAssociationRequest

func (c *Amplify) 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 the CreateDomainAssociationRequest method.
req := client.CreateDomainAssociationRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) DeleteAppRequest

func (c *Amplify) 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 the DeleteAppRequest method.
req := client.DeleteAppRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) DeleteBranchRequest

func (c *Amplify) 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 the DeleteBranchRequest method.
req := client.DeleteBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) DeleteDomainAssociationRequest

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

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

Deletes a DomainAssociation.

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

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

func (*Amplify) DeleteJobRequest

func (c *Amplify) 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 the DeleteJobRequest method.
req := client.DeleteJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) GetAppRequest

func (c *Amplify) 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 the GetAppRequest method.
req := client.GetAppRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) GetBranchRequest

func (c *Amplify) 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 the GetBranchRequest method.
req := client.GetBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) GetDomainAssociationRequest

func (c *Amplify) 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 the GetDomainAssociationRequest method.
req := client.GetDomainAssociationRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) GetJobRequest

func (c *Amplify) 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 the GetJobRequest method.
req := client.GetJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) ListAppsRequest

func (c *Amplify) 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 the ListAppsRequest method.
req := client.ListAppsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) ListBranchesRequest

func (c *Amplify) 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 the ListBranchesRequest method.
req := client.ListBranchesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) ListDomainAssociationsRequest

func (c *Amplify) 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 the ListDomainAssociationsRequest method.
req := client.ListDomainAssociationsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) ListJobsRequest

func (c *Amplify) 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 the ListJobsRequest method.
req := client.ListJobsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) StartJobRequest

func (c *Amplify) 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 the StartJobRequest method.
req := client.StartJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) StopJobRequest

func (c *Amplify) 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 the StopJobRequest method.
req := client.StopJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) UpdateAppRequest

func (c *Amplify) 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 the UpdateAppRequest method.
req := client.UpdateAppRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) UpdateBranchRequest

func (c *Amplify) 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 the UpdateBranchRequest method.
req := client.UpdateBranchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*Amplify) UpdateDomainAssociationRequest

func (c *Amplify) 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 the UpdateDomainAssociationRequest method.
req := client.UpdateDomainAssociationRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

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

	// 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" timestampFormat:"unix" 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 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" type:"map"`

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

Amplify App represents different branches of a repository for building, deploying, and hosting. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/App

func (App) GoString

func (s App) GoString() string

GoString returns the string representation

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

	// 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" timestampFormat:"unix" 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"`

	// Display name for a branch, part of an Amplify App.
	DisplayName *string `locationName:"displayName" type:"string"`

	// 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"`

	// 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"`

	// 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" 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" timestampFormat:"unix" required:"true"`
	// contains filtered or unexported fields
}

Branch for an Amplify App, which maps to a 3rd party repository branch. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Branch

func (Branch) GoString

func (s Branch) GoString() string

GoString returns the string representation

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 CreateAppInput

type CreateAppInput struct {

	// 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"`

	// 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 is a required field
	OauthToken *string `locationName:"oauthToken" type:"string" required:"true"`

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

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

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

Request structure used to create Apps in Amplify. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateAppRequest

func (CreateAppInput) GoString

func (s CreateAppInput) GoString() string

GoString returns the string representation

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
}

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

func (CreateAppOutput) GoString

func (s CreateAppOutput) GoString() string

GoString returns the string representation

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

func (s CreateAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateApp API operation.

func (CreateAppRequest) Send

func (r CreateAppRequest) Send() (*CreateAppOutput, error)

Send marshals and sends the CreateApp API 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"`

	// 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"`

	// 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"`

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

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

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

	// Tag for the branch.
	Tags map[string]string `locationName:"tags" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranchRequest

func (CreateBranchInput) GoString

func (s CreateBranchInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranchResult

func (CreateBranchOutput) GoString

func (s CreateBranchOutput) GoString() string

GoString returns the string representation

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

func (s CreateBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateBranch API operation.

func (CreateBranchRequest) Send

Send marshals and sends the CreateBranch API 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.
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociationRequest

func (CreateDomainAssociationInput) GoString

func (s CreateDomainAssociationInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociationResult

func (CreateDomainAssociationOutput) GoString

GoString returns the string representation

func (CreateDomainAssociationOutput) MarshalFields

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

func (CreateDomainAssociationOutput) SDKResponseMetadata

func (s CreateDomainAssociationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDomainAssociationOutput) String

String returns the string representation

type CreateDomainAssociationRequest

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

CreateDomainAssociationRequest is a API request type for the CreateDomainAssociation API operation.

func (CreateDomainAssociationRequest) Send

Send marshals and sends the CreateDomainAssociation API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CustomRule

func (CustomRule) GoString

func (s CustomRule) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteAppRequest

func (DeleteAppInput) GoString

func (s DeleteAppInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteAppResult

func (DeleteAppOutput) GoString

func (s DeleteAppOutput) GoString() string

GoString returns the string representation

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

func (s DeleteAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteApp API operation.

func (DeleteAppRequest) Send

func (r DeleteAppRequest) Send() (*DeleteAppOutput, error)

Send marshals and sends the DeleteApp API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranchRequest

func (DeleteBranchInput) GoString

func (s DeleteBranchInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranchResult

func (DeleteBranchOutput) GoString

func (s DeleteBranchOutput) GoString() string

GoString returns the string representation

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

func (s DeleteBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteBranch API operation.

func (DeleteBranchRequest) Send

Send marshals and sends the DeleteBranch API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociationRequest

func (DeleteDomainAssociationInput) GoString

func (s DeleteDomainAssociationInput) GoString() string

GoString returns the string representation

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
}

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

func (DeleteDomainAssociationOutput) GoString

GoString returns the string representation

func (DeleteDomainAssociationOutput) MarshalFields

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

func (DeleteDomainAssociationOutput) SDKResponseMetadata

func (s DeleteDomainAssociationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDomainAssociationOutput) String

String returns the string representation

type DeleteDomainAssociationRequest

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

DeleteDomainAssociationRequest is a API request type for the DeleteDomainAssociation API operation.

func (DeleteDomainAssociationRequest) Send

Send marshals and sends the DeleteDomainAssociation API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJobRequest

func (DeleteJobInput) GoString

func (s DeleteJobInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJobResult

func (DeleteJobOutput) GoString

func (s DeleteJobOutput) GoString() string

GoString returns the string representation

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

func (s DeleteJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteJob API operation.

func (DeleteJobRequest) Send

func (r DeleteJobRequest) Send() (*DeleteJobOutput, error)

Send marshals and sends the DeleteJob API request.

type DomainAssociation

type DomainAssociation struct {

	// DNS Record for certificate verification.
	//
	// CertificateVerificationDNSRecord is a required field
	CertificateVerificationDNSRecord *string `locationName:"certificateVerificationDNSRecord" type:"string" required:"true"`

	// 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.
	//
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DomainAssociation

func (DomainAssociation) GoString

func (s DomainAssociation) GoString() string

GoString returns the string representation

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

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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetAppRequest

func (GetAppInput) GoString

func (s GetAppInput) GoString() string

GoString returns the string representation

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
}

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

func (GetAppOutput) GoString

func (s GetAppOutput) GoString() string

GoString returns the string representation

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

func (s GetAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetApp API operation.

func (GetAppRequest) Send

func (r GetAppRequest) Send() (*GetAppOutput, error)

Send marshals and sends the GetApp API 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
}

Result structure for get branch request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranchRequest

func (GetBranchInput) GoString

func (s GetBranchInput) GoString() string

GoString returns the string representation

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
}

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

func (GetBranchOutput) GoString

func (s GetBranchOutput) GoString() string

GoString returns the string representation

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

func (s GetBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetBranch API operation.

func (GetBranchRequest) Send

func (r GetBranchRequest) Send() (*GetBranchOutput, error)

Send marshals and sends the GetBranch API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociationRequest

func (GetDomainAssociationInput) GoString

func (s GetDomainAssociationInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociationResult

func (GetDomainAssociationOutput) GoString

func (s GetDomainAssociationOutput) GoString() string

GoString returns the string representation

func (GetDomainAssociationOutput) MarshalFields

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

func (GetDomainAssociationOutput) SDKResponseMetadata

func (s GetDomainAssociationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDomainAssociationOutput) String

String returns the string representation

type GetDomainAssociationRequest

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

GetDomainAssociationRequest is a API request type for the GetDomainAssociation API operation.

func (GetDomainAssociationRequest) Send

Send marshals and sends the GetDomainAssociation API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJobRequest

func (GetJobInput) GoString

func (s GetJobInput) GoString() string

GoString returns the string representation

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
}

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

func (GetJobOutput) GoString

func (s GetJobOutput) GoString() string

GoString returns the string representation

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

func (s GetJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetJob API operation.

func (GetJobRequest) Send

func (r GetJobRequest) Send() (*GetJobOutput, error)

Send marshals and sends the GetJob API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Job

func (Job) GoString

func (s Job) GoString() string

GoString returns the string representation

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" timestampFormat:"unix" required:"true"`

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

	// 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.
	//
	// 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" timestampFormat:"unix" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/JobSummary

func (JobSummary) GoString

func (s JobSummary) GoString() string

GoString returns the string representation

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"
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListAppsRequest

func (ListAppsInput) GoString

func (s ListAppsInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListAppsResult

func (ListAppsOutput) GoString

func (s ListAppsOutput) GoString() string

GoString returns the string representation

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

func (s ListAppsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListApps API operation.

func (ListAppsRequest) Send

func (r ListAppsRequest) Send() (*ListAppsOutput, error)

Send marshals and sends the ListApps API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranchesRequest

func (ListBranchesInput) GoString

func (s ListBranchesInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranchesResult

func (ListBranchesOutput) GoString

func (s ListBranchesOutput) GoString() string

GoString returns the string representation

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

func (s ListBranchesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListBranches API operation.

func (ListBranchesRequest) Send

Send marshals and sends the ListBranches API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociationsRequest

func (ListDomainAssociationsInput) GoString

func (s ListDomainAssociationsInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociationsResult

func (ListDomainAssociationsOutput) GoString

func (s ListDomainAssociationsOutput) GoString() string

GoString returns the string representation

func (ListDomainAssociationsOutput) MarshalFields

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

func (ListDomainAssociationsOutput) SDKResponseMetadata

func (s ListDomainAssociationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListDomainAssociationsOutput) String

String returns the string representation

type ListDomainAssociationsRequest

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

ListDomainAssociationsRequest is a API request type for the ListDomainAssociations API operation.

func (ListDomainAssociationsRequest) Send

Send marshals and sends the ListDomainAssociations API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobsRequest

func (ListJobsInput) GoString

func (s ListJobsInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobsResult

func (ListJobsOutput) GoString

func (s ListJobsOutput) GoString() string

GoString returns the string representation

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

func (s ListJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListJobs API operation.

func (ListJobsRequest) Send

func (r ListJobsRequest) Send() (*ListJobsOutput, error)

Send marshals and sends the ListJobs API request.

type Platform

type Platform string
const (
	PlatformIos         Platform = "IOS"
	PlatformAndroid     Platform = "ANDROID"
	PlatformWeb         Platform = "WEB"
	PlatformReactNative Platform = "REACT_NATIVE"
)

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" timestampFormat:"unix"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ProductionBranch

func (ProductionBranch) GoString

func (s ProductionBranch) GoString() string

GoString returns the string representation

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

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 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" timestampFormat:"unix"`

	// Unique Id for the Job.
	JobId *string `locationName:"jobId" type:"string"`

	// Reason for the Job.
	JobReason *string `locationName:"jobReason" type:"string"`

	// Type for the 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJobRequest

func (StartJobInput) GoString

func (s StartJobInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJobResult

func (StartJobOutput) GoString

func (s StartJobOutput) GoString() string

GoString returns the string representation

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

func (s StartJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the StartJob API operation.

func (StartJobRequest) Send

func (r StartJobRequest) Send() (*StartJobOutput, error)

Send marshals and sends the StartJob API request.

type Step

type Step struct {

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

	// End date/ time of the execution step.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" 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" timestampFormat:"unix" required:"true"`

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

	// Name of the execution step.
	//
	// StepName is a required field
	StepName *string `locationName:"stepName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Structure for an execution step for an execution job, for an Amplify App. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Step

func (Step) GoString

func (s Step) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJobRequest

func (StopJobInput) GoString

func (s StopJobInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJobResult

func (StopJobOutput) GoString

func (s StopJobOutput) GoString() string

GoString returns the string representation

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

func (s StopJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the StopJob API operation.

func (StopJobRequest) Send

func (r StopJobRequest) Send() (*StopJobOutput, error)

Send marshals and sends the StopJob API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/SubDomain

func (SubDomain) GoString

func (s SubDomain) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/SubDomainSetting

func (SubDomainSetting) GoString

func (s SubDomainSetting) GoString() string

GoString returns the string representation

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 UpdateAppInput

type UpdateAppInput struct {

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

	// 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 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"`

	// Platform for an Amplify App.
	Platform Platform `locationName:"platform" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Request structure for update App request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateAppRequest

func (UpdateAppInput) GoString

func (s UpdateAppInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateAppResult

func (UpdateAppOutput) GoString

func (s UpdateAppOutput) GoString() string

GoString returns the string representation

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

func (s UpdateAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateApp API operation.

func (UpdateAppRequest) Send

func (r UpdateAppRequest) Send() (*UpdateAppOutput, error)

Send marshals and sends the UpdateApp API 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"`

	// 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"`

	// 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"`

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

	// Framework for the branch.
	Framework *string `locationName:"framework" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranchRequest

func (UpdateBranchInput) GoString

func (s UpdateBranchInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranchResult

func (UpdateBranchOutput) GoString

func (s UpdateBranchOutput) GoString() string

GoString returns the string representation

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

func (s UpdateBranchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateBranch API operation.

func (UpdateBranchRequest) Send

Send marshals and sends the UpdateBranch API 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.
	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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociationRequest

func (UpdateDomainAssociationInput) GoString

func (s UpdateDomainAssociationInput) GoString() string

GoString returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociationResult

func (UpdateDomainAssociationOutput) GoString

GoString returns the string representation

func (UpdateDomainAssociationOutput) MarshalFields

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

func (UpdateDomainAssociationOutput) SDKResponseMetadata

func (s UpdateDomainAssociationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateDomainAssociationOutput) String

String returns the string representation

type UpdateDomainAssociationRequest

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

UpdateDomainAssociationRequest is a API request type for the UpdateDomainAssociation API operation.

func (UpdateDomainAssociationRequest) Send

Send marshals and sends the UpdateDomainAssociation API request.

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