amplify

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 8 Imported by: 22

Documentation

Overview

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

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

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

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

Using the Client

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

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

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

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

Index

Constants

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

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

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

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

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

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

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {

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

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

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

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

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

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

	// Create date / time for the Amplify App.
	//
	// CreateTime is a required field
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" 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 automated branch creation for the Amplify App.
	EnableAutoBranchCreation *bool `locationName:"enableAutoBranchCreation" type:"boolean"`

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

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

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

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

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

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

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

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

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

	// Update date / time for the Amplify App.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" 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) 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 AutoBranchCreationConfig added in v0.10.0

type AutoBranchCreationConfig struct {

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

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

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

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

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

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

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

Structure with auto branch creation config. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/AutoBranchCreationConfig

func (AutoBranchCreationConfig) MarshalFields added in v0.10.0

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

func (AutoBranchCreationConfig) String added in v0.10.0

func (s AutoBranchCreationConfig) String() string

String returns the string representation

func (*AutoBranchCreationConfig) Validate added in v0.10.0

func (s *AutoBranchCreationConfig) Validate() error

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

type Branch

type Branch struct {

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

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

	// 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, will use as the default domain prefix.
	//
	// DisplayName is a required field
	DisplayName *string `locationName:"displayName" type:"string" required:"true"`

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

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

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

	// 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" min:"1" type:"map"`

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

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

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

	// Last updated date and time for a branch, part of an Amplify App.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" 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) MarshalFields

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

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

func (Branch) String

func (s Branch) String() string

String returns the string representation

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

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

Example:

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

func (*Client) CreateAppRequest added in v0.9.0

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

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

Creates a new Amplify App.

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

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

func (*Client) CreateBranchRequest added in v0.9.0

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

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

Creates a new Branch for an Amplify App.

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

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

func (*Client) CreateDeploymentRequest added in v0.10.0

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

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

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

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

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

func (*Client) CreateDomainAssociationRequest added in v0.9.0

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

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

Create a new DomainAssociation on an App

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

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

func (*Client) CreateWebhookRequest added in v0.10.0

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

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

Create a new webhook on an App.

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

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

func (*Client) DeleteAppRequest added in v0.9.0

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

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

Delete an existing Amplify App by appId.

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

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

func (*Client) DeleteBranchRequest added in v0.9.0

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

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

Deletes a branch for an Amplify App.

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

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

func (*Client) DeleteDomainAssociationRequest added in v0.9.0

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

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

Deletes a DomainAssociation.

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

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

func (*Client) DeleteJobRequest added in v0.9.0

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

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

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

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

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

func (*Client) DeleteWebhookRequest added in v0.10.0

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

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

Deletes a webhook.

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

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

func (*Client) GetAppRequest added in v0.9.0

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

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

Retrieves an existing Amplify App by appId.

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

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

func (*Client) GetBranchRequest added in v0.9.0

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

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

Retrieves a branch for an Amplify App.

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

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

func (*Client) GetDomainAssociationRequest added in v0.9.0

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

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

Retrieves domain info that corresponds to an appId and domainName.

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

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

func (*Client) GetJobRequest added in v0.9.0

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

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

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

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

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

func (*Client) GetWebhookRequest added in v0.10.0

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

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

Retrieves webhook info that corresponds to a webhookId.

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

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

func (*Client) ListAppsRequest added in v0.9.0

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

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

Lists existing Amplify Apps.

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

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

func (*Client) ListBranchesRequest added in v0.9.0

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

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

Lists branches for an Amplify App.

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

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

func (*Client) ListDomainAssociationsRequest added in v0.9.0

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

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

List domains with an app

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

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

func (*Client) ListJobsRequest added in v0.9.0

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

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

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

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

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

func (*Client) ListTagsForResourceRequest added in v0.10.0

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

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

List tags for resource.

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

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

func (*Client) ListWebhooksRequest added in v0.10.0

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

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

List webhooks with an app.

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

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

func (*Client) StartDeploymentRequest added in v0.10.0

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

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

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

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

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

func (*Client) StartJobRequest added in v0.9.0

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

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

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

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

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

func (*Client) StopJobRequest added in v0.9.0

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

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

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

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

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

func (*Client) TagResourceRequest added in v0.10.0

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

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

Tag resource with tag key and value.

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

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

func (*Client) UntagResourceRequest added in v0.10.0

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

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

Untag resource with resourceArn.

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

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

func (*Client) UpdateAppRequest added in v0.9.0

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

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

Updates an existing Amplify App.

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

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

func (*Client) UpdateBranchRequest added in v0.9.0

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

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

Updates a branch for an Amplify App.

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

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

func (*Client) UpdateDomainAssociationRequest added in v0.9.0

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

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

Create a new DomainAssociation on an App

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

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

func (*Client) UpdateWebhookRequest added in v0.10.0

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

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

Update a webhook.

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

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

type CreateAppInput

type CreateAppInput struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (CreateAppOutput) String

func (s CreateAppOutput) String() string

String returns the string representation

type CreateAppRequest

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

CreateAppRequest is the request type for the CreateApp API operation.

func (CreateAppRequest) Send

Send marshals and sends the CreateApp API request.

type CreateAppResponse added in v0.9.0

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

CreateAppResponse is the response type for the CreateApp API operation.

func (*CreateAppResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateApp 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"`

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

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

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

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

	// 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" min:"1" type:"map"`

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

Request structure for a branch create request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranchRequest

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

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

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

func (CreateBranchOutput) String

func (s CreateBranchOutput) String() string

String returns the string representation

type CreateBranchRequest

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

CreateBranchRequest is the request type for the CreateBranch API operation.

func (CreateBranchRequest) Send

Send marshals and sends the CreateBranch API request.

type CreateBranchResponse added in v0.9.0

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

CreateBranchResponse is the response type for the CreateBranch API operation.

func (*CreateBranchResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateBranch request.

type CreateDeploymentInput added in v0.10.0

type CreateDeploymentInput struct {

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

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

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

Request structure for create a new deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeploymentRequest

func (CreateDeploymentInput) MarshalFields added in v0.10.0

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

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

func (CreateDeploymentInput) String added in v0.10.0

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate added in v0.10.0

func (s *CreateDeploymentInput) Validate() error

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

type CreateDeploymentOutput added in v0.10.0

type CreateDeploymentOutput struct {

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

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

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

Result structure for create a new deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeploymentResult

func (CreateDeploymentOutput) MarshalFields added in v0.10.0

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

func (CreateDeploymentOutput) String added in v0.10.0

func (s CreateDeploymentOutput) String() string

String returns the string representation

type CreateDeploymentRequest added in v0.10.0

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

CreateDeploymentRequest is the request type for the CreateDeployment API operation.

func (CreateDeploymentRequest) Send added in v0.10.0

Send marshals and sends the CreateDeployment API request.

type CreateDeploymentResponse added in v0.10.0

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

CreateDeploymentResponse is the response type for the CreateDeployment API operation.

func (*CreateDeploymentResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the CreateDeployment request.

type CreateDomainAssociationInput

type CreateDomainAssociationInput struct {

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

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

	// Enables automated creation of Subdomains for branches.
	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) 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) MarshalFields

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

func (CreateDomainAssociationOutput) String

String returns the string representation

type CreateDomainAssociationRequest

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

CreateDomainAssociationRequest is the request type for the CreateDomainAssociation API operation.

func (CreateDomainAssociationRequest) Send

Send marshals and sends the CreateDomainAssociation API request.

type CreateDomainAssociationResponse added in v0.9.0

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

CreateDomainAssociationResponse is the response type for the CreateDomainAssociation API operation.

func (*CreateDomainAssociationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateDomainAssociation request.

type CreateWebhookInput added in v0.10.0

type CreateWebhookInput struct {

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

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

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

Request structure for create webhook request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhookRequest

func (CreateWebhookInput) MarshalFields added in v0.10.0

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

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

func (CreateWebhookInput) String added in v0.10.0

func (s CreateWebhookInput) String() string

String returns the string representation

func (*CreateWebhookInput) Validate added in v0.10.0

func (s *CreateWebhookInput) Validate() error

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

type CreateWebhookOutput added in v0.10.0

type CreateWebhookOutput struct {

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

Result structure for the create webhook request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhookResult

func (CreateWebhookOutput) MarshalFields added in v0.10.0

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

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

func (CreateWebhookOutput) String added in v0.10.0

func (s CreateWebhookOutput) String() string

String returns the string representation

type CreateWebhookRequest added in v0.10.0

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

CreateWebhookRequest is the request type for the CreateWebhook API operation.

func (CreateWebhookRequest) Send added in v0.10.0

Send marshals and sends the CreateWebhook API request.

type CreateWebhookResponse added in v0.10.0

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

CreateWebhookResponse is the response type for the CreateWebhook API operation.

func (*CreateWebhookResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the CreateWebhook request.

type CustomRule

type CustomRule struct {

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

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

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

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

Custom rewrite / redirect rule. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CustomRule

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

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

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

func (DeleteAppOutput) String

func (s DeleteAppOutput) String() string

String returns the string representation

type DeleteAppRequest

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

DeleteAppRequest is the request type for the DeleteApp API operation.

func (DeleteAppRequest) Send

Send marshals and sends the DeleteApp API request.

type DeleteAppResponse added in v0.9.0

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

DeleteAppResponse is the response type for the DeleteApp API operation.

func (*DeleteAppResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteApp 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) 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) MarshalFields

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

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

func (DeleteBranchOutput) String

func (s DeleteBranchOutput) String() string

String returns the string representation

type DeleteBranchRequest

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

DeleteBranchRequest is the request type for the DeleteBranch API operation.

func (DeleteBranchRequest) Send

Send marshals and sends the DeleteBranch API request.

type DeleteBranchResponse added in v0.9.0

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

DeleteBranchResponse is the response type for the DeleteBranch API operation.

func (*DeleteBranchResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteBranch request.

type DeleteDomainAssociationInput

type DeleteDomainAssociationInput struct {

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

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

Request structure for the delete Domain Association request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociationRequest

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

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

func (DeleteDomainAssociationOutput) String

String returns the string representation

type DeleteDomainAssociationRequest

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

DeleteDomainAssociationRequest is the request type for the DeleteDomainAssociation API operation.

func (DeleteDomainAssociationRequest) Send

Send marshals and sends the DeleteDomainAssociation API request.

type DeleteDomainAssociationResponse added in v0.9.0

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

DeleteDomainAssociationResponse is the response type for the DeleteDomainAssociation API operation.

func (*DeleteDomainAssociationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteDomainAssociation request.

type DeleteJobInput

type DeleteJobInput struct {

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

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

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

Request structure for delete job request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJobRequest

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

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

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

func (DeleteJobOutput) String

func (s DeleteJobOutput) String() string

String returns the string representation

type DeleteJobRequest

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

DeleteJobRequest is the request type for the DeleteJob API operation.

func (DeleteJobRequest) Send

Send marshals and sends the DeleteJob API request.

type DeleteJobResponse added in v0.9.0

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

DeleteJobResponse is the response type for the DeleteJob API operation.

func (*DeleteJobResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteJob request.

type DeleteWebhookInput added in v0.10.0

type DeleteWebhookInput struct {

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

Request structure for the delete webhook request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhookRequest

func (DeleteWebhookInput) MarshalFields added in v0.10.0

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

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

func (DeleteWebhookInput) String added in v0.10.0

func (s DeleteWebhookInput) String() string

String returns the string representation

func (*DeleteWebhookInput) Validate added in v0.10.0

func (s *DeleteWebhookInput) Validate() error

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

type DeleteWebhookOutput added in v0.10.0

type DeleteWebhookOutput struct {

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

Result structure for the delete webhook request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhookResult

func (DeleteWebhookOutput) MarshalFields added in v0.10.0

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

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

func (DeleteWebhookOutput) String added in v0.10.0

func (s DeleteWebhookOutput) String() string

String returns the string representation

type DeleteWebhookRequest added in v0.10.0

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

DeleteWebhookRequest is the request type for the DeleteWebhook API operation.

func (DeleteWebhookRequest) Send added in v0.10.0

Send marshals and sends the DeleteWebhook API request.

type DeleteWebhookResponse added in v0.10.0

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

DeleteWebhookResponse is the response type for the DeleteWebhook API operation.

func (*DeleteWebhookResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the DeleteWebhook request.

type DomainAssociation

type DomainAssociation struct {

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

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

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

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

	// Enables automated creation of Subdomains for branches.
	//
	// 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) MarshalFields

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

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

func (DomainAssociation) String

func (s DomainAssociation) String() string

String returns the string representation

type DomainStatus

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

Enum values for DomainStatus

func (DomainStatus) MarshalValue

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

func (DomainStatus) MarshalValueBuf

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

type 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) 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) MarshalFields

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

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

func (GetAppOutput) String

func (s GetAppOutput) String() string

String returns the string representation

type GetAppRequest

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

GetAppRequest is the request type for the GetApp API operation.

func (GetAppRequest) Send

Send marshals and sends the GetApp API request.

type GetAppResponse added in v0.9.0

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

GetAppResponse is the response type for the GetApp API operation.

func (*GetAppResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetApp 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) 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) MarshalFields

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

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

func (GetBranchOutput) String

func (s GetBranchOutput) String() string

String returns the string representation

type GetBranchRequest

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

GetBranchRequest is the request type for the GetBranch API operation.

func (GetBranchRequest) Send

Send marshals and sends the GetBranch API request.

type GetBranchResponse added in v0.9.0

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

GetBranchResponse is the response type for the GetBranch API operation.

func (*GetBranchResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetBranch request.

type GetDomainAssociationInput

type GetDomainAssociationInput struct {

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

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

Request structure for the get Domain Association request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociationRequest

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

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

func (GetDomainAssociationOutput) String

String returns the string representation

type GetDomainAssociationRequest

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

GetDomainAssociationRequest is the request type for the GetDomainAssociation API operation.

func (GetDomainAssociationRequest) Send

Send marshals and sends the GetDomainAssociation API request.

type GetDomainAssociationResponse added in v0.9.0

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

GetDomainAssociationResponse is the response type for the GetDomainAssociation API operation.

func (*GetDomainAssociationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDomainAssociation request.

type GetJobInput

type GetJobInput struct {

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

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

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

Request structure for get job request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJobRequest

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

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

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

func (GetJobOutput) String

func (s GetJobOutput) String() string

String returns the string representation

type GetJobRequest

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

GetJobRequest is the request type for the GetJob API operation.

func (GetJobRequest) Send

Send marshals and sends the GetJob API request.

type GetJobResponse added in v0.9.0

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

GetJobResponse is the response type for the GetJob API operation.

func (*GetJobResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetJob request.

type GetWebhookInput added in v0.10.0

type GetWebhookInput struct {

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

Request structure for the get webhook request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhookRequest

func (GetWebhookInput) MarshalFields added in v0.10.0

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

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

func (GetWebhookInput) String added in v0.10.0

func (s GetWebhookInput) String() string

String returns the string representation

func (*GetWebhookInput) Validate added in v0.10.0

func (s *GetWebhookInput) Validate() error

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

type GetWebhookOutput added in v0.10.0

type GetWebhookOutput struct {

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

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

func (GetWebhookOutput) MarshalFields added in v0.10.0

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

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

func (GetWebhookOutput) String added in v0.10.0

func (s GetWebhookOutput) String() string

String returns the string representation

type GetWebhookRequest added in v0.10.0

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

GetWebhookRequest is the request type for the GetWebhook API operation.

func (GetWebhookRequest) Send added in v0.10.0

Send marshals and sends the GetWebhook API request.

type GetWebhookResponse added in v0.10.0

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

GetWebhookResponse is the response type for the GetWebhook API operation.

func (*GetWebhookResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the GetWebhook request.

type Job

type Job struct {

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

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

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

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. \n "RELEASE": Manually released from source by using StartJob
	// API. "RETRY": Manually retried by using StartJob API. "WEB_HOOK": Automatically
	// triggered by WebHooks.
	//
	// JobType is a required field
	JobType JobType `locationName:"jobType" type:"string" required:"true" enum:"true"`

	// Start date / time for the Job.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" 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) MarshalFields

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

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

func (JobSummary) String

func (s JobSummary) String() string

String returns the string representation

type JobType

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

Enum values for JobType

func (JobType) MarshalValue

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

func (JobType) MarshalValueBuf

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

type ListAppsInput

type ListAppsInput struct {

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

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

Request structure for an Amplify App list request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListAppsRequest

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

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

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

func (ListAppsOutput) String

func (s ListAppsOutput) String() string

String returns the string representation

type ListAppsRequest

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

ListAppsRequest is the request type for the ListApps API operation.

func (ListAppsRequest) Send

Send marshals and sends the ListApps API request.

type ListAppsResponse added in v0.9.0

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

ListAppsResponse is the response type for the ListApps API operation.

func (*ListAppsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListApps 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) 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) MarshalFields

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

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

func (ListBranchesOutput) String

func (s ListBranchesOutput) String() string

String returns the string representation

type ListBranchesRequest

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

ListBranchesRequest is the request type for the ListBranches API operation.

func (ListBranchesRequest) Send

Send marshals and sends the ListBranches API request.

type ListBranchesResponse added in v0.9.0

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

ListBranchesResponse is the response type for the ListBranches API operation.

func (*ListBranchesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListBranches request.

type ListDomainAssociationsInput

type ListDomainAssociationsInput struct {

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

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

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

Request structure for the list Domain Associations request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociationsRequest

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

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

func (ListDomainAssociationsOutput) String

String returns the string representation

type ListDomainAssociationsRequest

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

ListDomainAssociationsRequest is the request type for the ListDomainAssociations API operation.

func (ListDomainAssociationsRequest) Send

Send marshals and sends the ListDomainAssociations API request.

type ListDomainAssociationsResponse added in v0.9.0

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

ListDomainAssociationsResponse is the response type for the ListDomainAssociations API operation.

func (*ListDomainAssociationsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListDomainAssociations request.

type ListJobsInput

type ListJobsInput struct {

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

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

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

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

Request structure for list job request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobsRequest

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

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

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

func (ListJobsOutput) String

func (s ListJobsOutput) String() string

String returns the string representation

type ListJobsRequest

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

ListJobsRequest is the request type for the ListJobs API operation.

func (ListJobsRequest) Send

Send marshals and sends the ListJobs API request.

type ListJobsResponse added in v0.9.0

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

ListJobsResponse is the response type for the ListJobs API operation.

func (*ListJobsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListJobs request.

type ListTagsForResourceInput added in v0.10.0

type ListTagsForResourceInput struct {

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

Request structure used to list tags for resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResourceRequest

func (ListTagsForResourceInput) MarshalFields added in v0.10.0

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

func (ListTagsForResourceInput) String added in v0.10.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.10.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.10.0

type ListTagsForResourceOutput struct {

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

Response for list tags. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResourceResponse

func (ListTagsForResourceOutput) MarshalFields added in v0.10.0

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

func (ListTagsForResourceOutput) String added in v0.10.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest added in v0.10.0

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

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.10.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.10.0

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

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type ListWebhooksInput added in v0.10.0

type ListWebhooksInput struct {

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

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

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

Request structure for the list webhooks request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooksRequest

func (ListWebhooksInput) MarshalFields added in v0.10.0

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

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

func (ListWebhooksInput) String added in v0.10.0

func (s ListWebhooksInput) String() string

String returns the string representation

func (*ListWebhooksInput) Validate added in v0.10.0

func (s *ListWebhooksInput) Validate() error

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

type ListWebhooksOutput added in v0.10.0

type ListWebhooksOutput struct {

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

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

Result structure for the list webhooks request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooksResult

func (ListWebhooksOutput) MarshalFields added in v0.10.0

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

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

func (ListWebhooksOutput) String added in v0.10.0

func (s ListWebhooksOutput) String() string

String returns the string representation

type ListWebhooksRequest added in v0.10.0

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

ListWebhooksRequest is the request type for the ListWebhooks API operation.

func (ListWebhooksRequest) Send added in v0.10.0

Send marshals and sends the ListWebhooks API request.

type ListWebhooksResponse added in v0.10.0

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

ListWebhooksResponse is the response type for the ListWebhooks API operation.

func (*ListWebhooksResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the ListWebhooks request.

type Platform

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

Enum values for Platform

func (Platform) MarshalValue

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

func (Platform) MarshalValueBuf

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

type ProductionBranch

type ProductionBranch struct {

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

	// Last Deploy Time of Production Branch.
	LastDeployTime *time.Time `locationName:"lastDeployTime" type:"timestamp" 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) 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 StartDeploymentInput added in v0.10.0

type StartDeploymentInput struct {

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

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

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

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

Request structure for start a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeploymentRequest

func (StartDeploymentInput) MarshalFields added in v0.10.0

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

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

func (StartDeploymentInput) String added in v0.10.0

func (s StartDeploymentInput) String() string

String returns the string representation

func (*StartDeploymentInput) Validate added in v0.10.0

func (s *StartDeploymentInput) Validate() error

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

type StartDeploymentOutput added in v0.10.0

type StartDeploymentOutput struct {

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

Result structure for start a deployment. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeploymentResult

func (StartDeploymentOutput) MarshalFields added in v0.10.0

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

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

func (StartDeploymentOutput) String added in v0.10.0

func (s StartDeploymentOutput) String() string

String returns the string representation

type StartDeploymentRequest added in v0.10.0

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

StartDeploymentRequest is the request type for the StartDeployment API operation.

func (StartDeploymentRequest) Send added in v0.10.0

Send marshals and sends the StartDeployment API request.

type StartDeploymentResponse added in v0.10.0

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

StartDeploymentResponse is the response type for the StartDeployment API operation.

func (*StartDeploymentResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the StartDeployment request.

type StartJobInput

type StartJobInput struct {

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

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

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

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

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

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

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

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

Request structure for Start job request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJobRequest

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

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

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

func (StartJobOutput) String

func (s StartJobOutput) String() string

String returns the string representation

type StartJobRequest

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

StartJobRequest is the request type for the StartJob API operation.

func (StartJobRequest) Send

Send marshals and sends the StartJob API request.

type StartJobResponse added in v0.9.0

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

StartJobResponse is the response type for the StartJob API operation.

func (*StartJobResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the StartJob request.

type Step

type Step struct {

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

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

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

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

	// Name of the execution step.
	//
	// StepName is a required field
	StepName *string `locationName:"stepName" type:"string" required:"true"`
	// 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) 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) 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) MarshalFields

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

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

func (StopJobOutput) String

func (s StopJobOutput) String() string

String returns the string representation

type StopJobRequest

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

StopJobRequest is the request type for the StopJob API operation.

func (StopJobRequest) Send

Send marshals and sends the StopJob API request.

type StopJobResponse added in v0.9.0

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

StopJobResponse is the response type for the StopJob API operation.

func (*StopJobResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the StopJob request.

type SubDomain

type SubDomain struct {

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

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

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

Subdomain for the Domain Association. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/SubDomain

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

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

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

func (SubDomainSetting) String

func (s SubDomainSetting) String() string

String returns the string representation

func (*SubDomainSetting) Validate

func (s *SubDomainSetting) Validate() error

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

type TagResourceInput added in v0.10.0

type TagResourceInput struct {

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

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

Request structure used to tag resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResourceRequest

func (TagResourceInput) MarshalFields added in v0.10.0

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

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

func (TagResourceInput) String added in v0.10.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.10.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.10.0

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

Response for tag resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResourceResponse

func (TagResourceOutput) MarshalFields added in v0.10.0

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

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

func (TagResourceOutput) String added in v0.10.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.10.0

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

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.10.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.10.0

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput added in v0.10.0

type UntagResourceInput struct {

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

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

Request structure used to untag resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResourceRequest

func (UntagResourceInput) MarshalFields added in v0.10.0

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

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

func (UntagResourceInput) String added in v0.10.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.10.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.10.0

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

Response for untag resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResourceResponse

func (UntagResourceOutput) MarshalFields added in v0.10.0

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

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

func (UntagResourceOutput) String added in v0.10.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.10.0

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

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.10.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.10.0

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the UntagResource request.

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

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

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

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

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

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

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

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

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

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

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

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

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

	// 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) 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) MarshalFields

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

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

func (UpdateAppOutput) String

func (s UpdateAppOutput) String() string

String returns the string representation

type UpdateAppRequest

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

UpdateAppRequest is the request type for the UpdateApp API operation.

func (UpdateAppRequest) Send

Send marshals and sends the UpdateApp API request.

type UpdateAppResponse added in v0.9.0

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

UpdateAppResponse is the response type for the UpdateApp API operation.

func (*UpdateAppResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateApp request.

type UpdateBranchInput

type UpdateBranchInput struct {

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

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

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

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

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

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

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

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

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

	// 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) 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) MarshalFields

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

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

func (UpdateBranchOutput) String

func (s UpdateBranchOutput) String() string

String returns the string representation

type UpdateBranchRequest

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

UpdateBranchRequest is the request type for the UpdateBranch API operation.

func (UpdateBranchRequest) Send

Send marshals and sends the UpdateBranch API request.

type UpdateBranchResponse added in v0.9.0

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

UpdateBranchResponse is the response type for the UpdateBranch API operation.

func (*UpdateBranchResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateBranch request.

type UpdateDomainAssociationInput

type UpdateDomainAssociationInput struct {

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

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

	// Enables automated creation of Subdomains for branches.
	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) 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) MarshalFields

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

func (UpdateDomainAssociationOutput) String

String returns the string representation

type UpdateDomainAssociationRequest

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

UpdateDomainAssociationRequest is the request type for the UpdateDomainAssociation API operation.

func (UpdateDomainAssociationRequest) Send

Send marshals and sends the UpdateDomainAssociation API request.

type UpdateDomainAssociationResponse added in v0.9.0

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

UpdateDomainAssociationResponse is the response type for the UpdateDomainAssociation API operation.

func (*UpdateDomainAssociationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateDomainAssociation request.

type UpdateWebhookInput added in v0.10.0

type UpdateWebhookInput struct {

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

	// Description for a webhook.
	Description *string `locationName:"description" type:"string"`

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

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

func (UpdateWebhookInput) MarshalFields added in v0.10.0

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

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

func (UpdateWebhookInput) String added in v0.10.0

func (s UpdateWebhookInput) String() string

String returns the string representation

func (*UpdateWebhookInput) Validate added in v0.10.0

func (s *UpdateWebhookInput) Validate() error

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

type UpdateWebhookOutput added in v0.10.0

type UpdateWebhookOutput struct {

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

Result structure for the update webhook request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhookResult

func (UpdateWebhookOutput) MarshalFields added in v0.10.0

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

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

func (UpdateWebhookOutput) String added in v0.10.0

func (s UpdateWebhookOutput) String() string

String returns the string representation

type UpdateWebhookRequest added in v0.10.0

type UpdateWebhookRequest struct {
	*aws.Request
	Input *UpdateWebhookInput
	Copy  func(*UpdateWebhookInput) UpdateWebhookRequest
}

UpdateWebhookRequest is the request type for the UpdateWebhook API operation.

func (UpdateWebhookRequest) Send added in v0.10.0

Send marshals and sends the UpdateWebhook API request.

type UpdateWebhookResponse added in v0.10.0

type UpdateWebhookResponse struct {
	*UpdateWebhookOutput
	// contains filtered or unexported fields
}

UpdateWebhookResponse is the response type for the UpdateWebhook API operation.

func (*UpdateWebhookResponse) SDKResponseMetdata added in v0.10.0

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

SDKResponseMetdata returns the response metadata for the UpdateWebhook request.

type Webhook added in v0.10.0

type Webhook struct {

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

	// Create date / time for a webhook.
	//
	// CreateTime is a required field
	CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix" required:"true"`

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

	// Update date / time for a webhook.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// ARN for the webhook.
	//
	// WebhookArn is a required field
	WebhookArn *string `locationName:"webhookArn" type:"string" required:"true"`

	// Id of the webhook.
	//
	// WebhookId is a required field
	WebhookId *string `locationName:"webhookId" type:"string" required:"true"`

	// Url of the webhook.
	//
	// WebhookUrl is a required field
	WebhookUrl *string `locationName:"webhookUrl" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Structure for webhook, which associates a webhook with an Amplify App. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Webhook

func (Webhook) MarshalFields added in v0.10.0

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

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

func (Webhook) String added in v0.10.0

func (s Webhook) String() string

String returns the string representation

Directories

Path Synopsis
Package amplifyiface provides an interface to enable mocking the AWS Amplify service client for testing your code.
Package amplifyiface provides an interface to enable mocking the AWS Amplify service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL