package amplify
import "github.com/aws/aws-sdk-go-v2/service/amplify"
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
- type App
- type Branch
- type Client
- func New(config aws.Config) *Client
- func (c *Client) CreateAppRequest(input *CreateAppInput) CreateAppRequest
- func (c *Client) CreateBranchRequest(input *CreateBranchInput) CreateBranchRequest
- func (c *Client) CreateDomainAssociationRequest(input *CreateDomainAssociationInput) CreateDomainAssociationRequest
- func (c *Client) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest
- func (c *Client) DeleteBranchRequest(input *DeleteBranchInput) DeleteBranchRequest
- func (c *Client) DeleteDomainAssociationRequest(input *DeleteDomainAssociationInput) DeleteDomainAssociationRequest
- func (c *Client) DeleteJobRequest(input *DeleteJobInput) DeleteJobRequest
- func (c *Client) GetAppRequest(input *GetAppInput) GetAppRequest
- func (c *Client) GetBranchRequest(input *GetBranchInput) GetBranchRequest
- func (c *Client) GetDomainAssociationRequest(input *GetDomainAssociationInput) GetDomainAssociationRequest
- func (c *Client) GetJobRequest(input *GetJobInput) GetJobRequest
- func (c *Client) ListAppsRequest(input *ListAppsInput) ListAppsRequest
- func (c *Client) ListBranchesRequest(input *ListBranchesInput) ListBranchesRequest
- func (c *Client) ListDomainAssociationsRequest(input *ListDomainAssociationsInput) ListDomainAssociationsRequest
- func (c *Client) ListJobsRequest(input *ListJobsInput) ListJobsRequest
- func (c *Client) StartJobRequest(input *StartJobInput) StartJobRequest
- func (c *Client) StopJobRequest(input *StopJobInput) StopJobRequest
- func (c *Client) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest
- func (c *Client) UpdateBranchRequest(input *UpdateBranchInput) UpdateBranchRequest
- func (c *Client) UpdateDomainAssociationRequest(input *UpdateDomainAssociationInput) UpdateDomainAssociationRequest
- type CreateAppInput
- func (s CreateAppInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateAppInput) String() string
- func (s *CreateAppInput) Validate() error
- type CreateAppOutput
- func (s CreateAppOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateAppOutput) String() string
- type CreateAppRequest
- type CreateAppResponse
- type CreateBranchInput
- func (s CreateBranchInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateBranchInput) String() string
- func (s *CreateBranchInput) Validate() error
- type CreateBranchOutput
- func (s CreateBranchOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateBranchOutput) String() string
- type CreateBranchRequest
- type CreateBranchResponse
- type CreateDomainAssociationInput
- func (s CreateDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateDomainAssociationInput) String() string
- func (s *CreateDomainAssociationInput) Validate() error
- type CreateDomainAssociationOutput
- func (s CreateDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateDomainAssociationOutput) String() string
- type CreateDomainAssociationRequest
- type CreateDomainAssociationResponse
- type CustomRule
- func (s CustomRule) MarshalFields(e protocol.FieldEncoder) error
- func (s CustomRule) String() string
- func (s *CustomRule) Validate() error
- type DeleteAppInput
- func (s DeleteAppInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteAppInput) String() string
- func (s *DeleteAppInput) Validate() error
- type DeleteAppOutput
- func (s DeleteAppOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteAppOutput) String() string
- type DeleteAppRequest
- type DeleteAppResponse
- type DeleteBranchInput
- func (s DeleteBranchInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteBranchInput) String() string
- func (s *DeleteBranchInput) Validate() error
- type DeleteBranchOutput
- func (s DeleteBranchOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteBranchOutput) String() string
- type DeleteBranchRequest
- type DeleteBranchResponse
- type DeleteDomainAssociationInput
- func (s DeleteDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteDomainAssociationInput) String() string
- func (s *DeleteDomainAssociationInput) Validate() error
- type DeleteDomainAssociationOutput
- func (s DeleteDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteDomainAssociationOutput) String() string
- type DeleteDomainAssociationRequest
- type DeleteDomainAssociationResponse
- type DeleteJobInput
- func (s DeleteJobInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteJobInput) String() string
- func (s *DeleteJobInput) Validate() error
- type DeleteJobOutput
- func (s DeleteJobOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteJobOutput) String() string
- type DeleteJobRequest
- type DeleteJobResponse
- type DomainAssociation
- func (s DomainAssociation) MarshalFields(e protocol.FieldEncoder) error
- func (s DomainAssociation) String() string
- type DomainStatus
- func (enum DomainStatus) MarshalValue() (string, error)
- func (enum DomainStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type GetAppInput
- func (s GetAppInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetAppInput) String() string
- func (s *GetAppInput) Validate() error
- type GetAppOutput
- func (s GetAppOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetAppOutput) String() string
- type GetAppRequest
- type GetAppResponse
- type GetBranchInput
- func (s GetBranchInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetBranchInput) String() string
- func (s *GetBranchInput) Validate() error
- type GetBranchOutput
- func (s GetBranchOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetBranchOutput) String() string
- type GetBranchRequest
- type GetBranchResponse
- type GetDomainAssociationInput
- func (s GetDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDomainAssociationInput) String() string
- func (s *GetDomainAssociationInput) Validate() error
- type GetDomainAssociationOutput
- func (s GetDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDomainAssociationOutput) String() string
- type GetDomainAssociationRequest
- type GetDomainAssociationResponse
- type GetJobInput
- func (s GetJobInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetJobInput) String() string
- func (s *GetJobInput) Validate() error
- type GetJobOutput
- func (s GetJobOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetJobOutput) String() string
- type GetJobRequest
- type GetJobResponse
- type Job
- type JobStatus
- func (enum JobStatus) MarshalValue() (string, error)
- func (enum JobStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type JobSummary
- func (s JobSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s JobSummary) String() string
- type JobType
- func (enum JobType) MarshalValue() (string, error)
- func (enum JobType) MarshalValueBuf(b []byte) ([]byte, error)
- type ListAppsInput
- func (s ListAppsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListAppsInput) String() string
- func (s *ListAppsInput) Validate() error
- type ListAppsOutput
- func (s ListAppsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListAppsOutput) String() string
- type ListAppsRequest
- type ListAppsResponse
- type ListBranchesInput
- func (s ListBranchesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListBranchesInput) String() string
- func (s *ListBranchesInput) Validate() error
- type ListBranchesOutput
- func (s ListBranchesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListBranchesOutput) String() string
- type ListBranchesRequest
- type ListBranchesResponse
- type ListDomainAssociationsInput
- func (s ListDomainAssociationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListDomainAssociationsInput) String() string
- func (s *ListDomainAssociationsInput) Validate() error
- type ListDomainAssociationsOutput
- func (s ListDomainAssociationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListDomainAssociationsOutput) String() string
- type ListDomainAssociationsRequest
- type ListDomainAssociationsResponse
- type ListJobsInput
- func (s ListJobsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListJobsInput) String() string
- func (s *ListJobsInput) Validate() error
- type ListJobsOutput
- func (s ListJobsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListJobsOutput) String() string
- type ListJobsRequest
- type ListJobsResponse
- type Platform
- func (enum Platform) MarshalValue() (string, error)
- func (enum Platform) MarshalValueBuf(b []byte) ([]byte, error)
- type ProductionBranch
- func (s ProductionBranch) MarshalFields(e protocol.FieldEncoder) error
- func (s ProductionBranch) String() string
- type Stage
- func (enum Stage) MarshalValue() (string, error)
- func (enum Stage) MarshalValueBuf(b []byte) ([]byte, error)
- type StartJobInput
- func (s StartJobInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartJobInput) String() string
- func (s *StartJobInput) Validate() error
- type StartJobOutput
- func (s StartJobOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartJobOutput) String() string
- type StartJobRequest
- type StartJobResponse
- type Step
- type StopJobInput
- func (s StopJobInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StopJobInput) String() string
- func (s *StopJobInput) Validate() error
- type StopJobOutput
- func (s StopJobOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StopJobOutput) String() string
- type StopJobRequest
- type StopJobResponse
- type SubDomain
- type SubDomainSetting
- func (s SubDomainSetting) MarshalFields(e protocol.FieldEncoder) error
- func (s SubDomainSetting) String() string
- func (s *SubDomainSetting) Validate() error
- type UpdateAppInput
- func (s UpdateAppInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateAppInput) String() string
- func (s *UpdateAppInput) Validate() error
- type UpdateAppOutput
- func (s UpdateAppOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateAppOutput) String() string
- type UpdateAppRequest
- type UpdateAppResponse
- type UpdateBranchInput
- func (s UpdateBranchInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateBranchInput) String() string
- func (s *UpdateBranchInput) Validate() error
- type UpdateBranchOutput
- func (s UpdateBranchOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateBranchOutput) String() string
- type UpdateBranchRequest
- type UpdateBranchResponse
- type UpdateDomainAssociationInput
- func (s UpdateDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDomainAssociationInput) String() string
- func (s *UpdateDomainAssociationInput) Validate() error
- type UpdateDomainAssociationOutput
- func (s UpdateDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDomainAssociationOutput) String() string
- type UpdateDomainAssociationRequest
- type UpdateDomainAssociationResponse
Constants ¶
const ( ServiceName = "Amplify" // Service's name ServiceID = "Amplify" // Service's identifier EndpointsID = "amplify" // Service's Endpoint identifier )
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // Exception thrown when a request contains unexpected data. ErrCodeBadRequestException = "BadRequestException" // ErrCodeDependentServiceFailureException for service response error code // "DependentServiceFailureException". // // Exception thrown when an operation fails due to a dependent service throwing // an exception. ErrCodeDependentServiceFailureException = "DependentServiceFailureException" // ErrCodeInternalFailureException for service response error code // "InternalFailureException". // // Exception thrown when the service fails to perform an operation due to an // internal issue. ErrCodeInternalFailureException = "InternalFailureException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // Exception thrown when a resource could not be created because of service // limits. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // Exception thrown when an entity has not been found during an operation. ErrCodeNotFoundException = "NotFoundException" // ErrCodeUnauthorizedException for service response error code // "UnauthorizedException". // // Exception thrown when an operation fails due to a lack of access. = "UnauthorizedException" )
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"` // Basic Authorization credentials for branches for the Amplify App. BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` // BuildSpec content for Amplify App. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` // Create date / time for the Amplify App. // // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix" required:"true"` // Custom redirect / rewrite rules for the Amplify App. CustomRules []CustomRule `locationName:"customRules" type:"list"` // Default domain for the Amplify App. // // DefaultDomain is a required field DefaultDomain *string `locationName:"defaultDomain" min:"1" type:"string" required:"true"` // Description for the Amplify App. // // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` // Enables Basic Authorization for branches for the Amplify App. // // EnableBasicAuth is a required field EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean" required:"true"` // Enables auto-building of branches for the Amplify App. // // EnableBranchAutoBuild is a required field EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean" required:"true"` // Environment Variables for the Amplify App. // // EnvironmentVariables is a required field EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map" required:"true"` // IAM service role ARN for the Amplify App. IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"` // Name for the Amplify App. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Platform for the Amplify App. // // Platform is a required field Platform Platform `locationName:"platform" type:"string" required:"true" enum:"true"` // Structure with Production Branch information. ProductionBranch *ProductionBranch `locationName:"productionBranch" type:"structure"` // Repository for the Amplify App. // // Repository is a required field Repository *string `locationName:"repository" type:"string" required:"true"` // Tag for Amplify App. Tags map[string]string `locationName:"tags" type:"map"` // Update date / time for the Amplify App. // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Amplify App represents different branches of a repository for building, deploying, and hosting. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/App
func (App) MarshalFields ¶
func (s App) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (App) String ¶
String returns the string representation
type Branch ¶
type Branch struct { // Id of the active job for a branch, part of an Amplify App. // // ActiveJobId is a required field ActiveJobId *string `locationName:"activeJobId" type:"string" required:"true"` // Basic Authorization credentials for a branch, part of an Amplify App. BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` // ARN for a branch, part of an Amplify App. // // BranchArn is a required field BranchArn *string `locationName:"branchArn" type:"string" required:"true"` // Name for a branch, part of an Amplify App. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` // BuildSpec content for branch for Amplify App. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` // Creation date and time for a branch, part of an Amplify App. // // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix" required:"true"` // Custom domains for a branch, part of an Amplify App. // // CustomDomains is a required field CustomDomains []string `locationName:"customDomains" type:"list" required:"true"` // Description for a branch, part of an Amplify App. // // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` // Display name for a branch, part of an Amplify App. DisplayName *string `locationName:"displayName" type:"string"` // Enables auto-building on push for a branch, part of an Amplify App. // // EnableAutoBuild is a required field EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean" required:"true"` // Enables Basic Authorization for a branch, part of an Amplify App. // // EnableBasicAuth is a required field EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean" required:"true"` // Enables notifications for a branch, part of an Amplify App. // // EnableNotification is a required field EnableNotification *bool `locationName:"enableNotification" type:"boolean" required:"true"` // Environment Variables specific to a branch, part of an Amplify App. // // EnvironmentVariables is a required field EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map" required:"true"` // Framework for a branch, part of an Amplify App. // // Framework is a required field Framework *string `locationName:"framework" type:"string" required:"true"` // Stage for a branch, part of an Amplify App. // // Stage is a required field Stage Stage `locationName:"stage" type:"string" required:"true" enum:"true"` // Tag for branch for Amplify App. Tags map[string]string `locationName:"tags" type:"map"` // Thumbnail Url for the branch. ThumbnailUrl *string `locationName:"thumbnailUrl" min:"1" type:"string"` // Total number of Jobs part of an Amplify App. // // TotalNumberOfJobs is a required field TotalNumberOfJobs *string `locationName:"totalNumberOfJobs" type:"string" required:"true"` // The content TTL for the website in seconds. // // Ttl is a required field Ttl *string `locationName:"ttl" type:"string" required:"true"` // Last updated date and time for a branch, part of an Amplify App. // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Branch for an Amplify App, which maps to a 3rd party repository branch. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Branch
func (Branch) MarshalFields ¶
func (s Branch) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Branch) String ¶
String returns the string representation
type 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 ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := amplify.New(myConfig)
func (*Client) CreateAppRequest ¶
func (c *Client) CreateAppRequest(input *CreateAppInput) CreateAppRequest
CreateAppRequest returns a request value for making API operation for AWS Amplify.
Creates a new Amplify App.
// Example sending a request using CreateAppRequest. req := client.CreateAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp
func (*Client) CreateBranchRequest ¶
func (c *Client) CreateBranchRequest(input *CreateBranchInput) CreateBranchRequest
CreateBranchRequest returns a request value for making API operation for AWS Amplify.
Creates a new Branch for an Amplify App.
// Example sending a request using CreateBranchRequest. req := client.CreateBranchRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch
func (*Client) CreateDomainAssociationRequest ¶
func (c *Client) CreateDomainAssociationRequest(input *CreateDomainAssociationInput) CreateDomainAssociationRequest
CreateDomainAssociationRequest returns a request value for making API operation for AWS Amplify.
Create a new DomainAssociation on an App
// Example sending a request using CreateDomainAssociationRequest. req := client.CreateDomainAssociationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation
func (*Client) DeleteAppRequest ¶
func (c *Client) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest
DeleteAppRequest returns a request value for making API operation for AWS Amplify.
Delete an existing Amplify App by appId.
// Example sending a request using DeleteAppRequest. req := client.DeleteAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp
func (*Client) DeleteBranchRequest ¶
func (c *Client) DeleteBranchRequest(input *DeleteBranchInput) DeleteBranchRequest
DeleteBranchRequest returns a request value for making API operation for AWS Amplify.
Deletes a branch for an Amplify App.
// Example sending a request using DeleteBranchRequest. req := client.DeleteBranchRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch
func (*Client) DeleteDomainAssociationRequest ¶
func (c *Client) DeleteDomainAssociationRequest(input *DeleteDomainAssociationInput) DeleteDomainAssociationRequest
DeleteDomainAssociationRequest returns a request value for making API operation for AWS Amplify.
Deletes a DomainAssociation.
// Example sending a request using DeleteDomainAssociationRequest. req := client.DeleteDomainAssociationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation
func (*Client) DeleteJobRequest ¶
func (c *Client) DeleteJobRequest(input *DeleteJobInput) DeleteJobRequest
DeleteJobRequest returns a request value for making API operation for AWS Amplify.
Delete a job, for an Amplify branch, part of Amplify App.
// Example sending a request using DeleteJobRequest. req := client.DeleteJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob
func (*Client) GetAppRequest ¶
func (c *Client) GetAppRequest(input *GetAppInput) GetAppRequest
GetAppRequest returns a request value for making API operation for AWS Amplify.
Retrieves an existing Amplify App by appId.
// Example sending a request using GetAppRequest. req := client.GetAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp
func (*Client) GetBranchRequest ¶
func (c *Client) GetBranchRequest(input *GetBranchInput) GetBranchRequest
GetBranchRequest returns a request value for making API operation for AWS Amplify.
Retrieves a branch for an Amplify App.
// Example sending a request using GetBranchRequest. req := client.GetBranchRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch
func (*Client) GetDomainAssociationRequest ¶
func (c *Client) GetDomainAssociationRequest(input *GetDomainAssociationInput) GetDomainAssociationRequest
GetDomainAssociationRequest returns a request value for making API operation for AWS Amplify.
Retrieves domain info that corresponds to an appId and domainName.
// Example sending a request using GetDomainAssociationRequest. req := client.GetDomainAssociationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation
func (*Client) GetJobRequest ¶
func (c *Client) GetJobRequest(input *GetJobInput) GetJobRequest
GetJobRequest returns a request value for making API operation for AWS Amplify.
Get a job for a branch, part of an Amplify App.
// Example sending a request using GetJobRequest. req := client.GetJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob
func (*Client) ListAppsRequest ¶
func (c *Client) ListAppsRequest(input *ListAppsInput) ListAppsRequest
ListAppsRequest returns a request value for making API operation for AWS Amplify.
Lists existing Amplify Apps.
// Example sending a request using ListAppsRequest. req := client.ListAppsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps
func (*Client) ListBranchesRequest ¶
func (c *Client) ListBranchesRequest(input *ListBranchesInput) ListBranchesRequest
ListBranchesRequest returns a request value for making API operation for AWS Amplify.
Lists branches for an Amplify App.
// Example sending a request using ListBranchesRequest. req := client.ListBranchesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches
func (*Client) ListDomainAssociationsRequest ¶
func (c *Client) ListDomainAssociationsRequest(input *ListDomainAssociationsInput) ListDomainAssociationsRequest
ListDomainAssociationsRequest returns a request value for making API operation for AWS Amplify.
List domains with an app
// Example sending a request using ListDomainAssociationsRequest. req := client.ListDomainAssociationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations
func (*Client) ListJobsRequest ¶
func (c *Client) ListJobsRequest(input *ListJobsInput) ListJobsRequest
ListJobsRequest returns a request value for making API operation for AWS Amplify.
List Jobs for a branch, part of an Amplify App.
// Example sending a request using ListJobsRequest. req := client.ListJobsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs
func (*Client) StartJobRequest ¶
func (c *Client) StartJobRequest(input *StartJobInput) StartJobRequest
StartJobRequest returns a request value for making API operation for AWS Amplify.
Starts a new job for a branch, part of an Amplify App.
// Example sending a request using StartJobRequest. req := client.StartJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob
func (*Client) StopJobRequest ¶
func (c *Client) StopJobRequest(input *StopJobInput) StopJobRequest
StopJobRequest returns a request value for making API operation for AWS Amplify.
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
// Example sending a request using StopJobRequest. req := client.StopJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob
func (*Client) UpdateAppRequest ¶
func (c *Client) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest
UpdateAppRequest returns a request value for making API operation for AWS Amplify.
Updates an existing Amplify App.
// Example sending a request using UpdateAppRequest. req := client.UpdateAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp
func (*Client) UpdateBranchRequest ¶
func (c *Client) UpdateBranchRequest(input *UpdateBranchInput) UpdateBranchRequest
UpdateBranchRequest returns a request value for making API operation for AWS Amplify.
Updates a branch for an Amplify App.
// Example sending a request using UpdateBranchRequest. req := client.UpdateBranchRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch
func (*Client) UpdateDomainAssociationRequest ¶
func (c *Client) UpdateDomainAssociationRequest(input *UpdateDomainAssociationInput) UpdateDomainAssociationRequest
UpdateDomainAssociationRequest returns a request value for making API operation for AWS Amplify.
Create a new DomainAssociation on an App
// Example sending a request using UpdateDomainAssociationRequest. req := client.UpdateDomainAssociationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation
type CreateAppInput ¶
type CreateAppInput struct { // Credentials for Basic Authorization for an Amplify App. BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` // BuildSpec for an Amplify App BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` // Custom rewrite / redirect rules for an Amplify App. CustomRules []CustomRule `locationName:"customRules" type:"list"` // Description for an Amplify App Description *string `locationName:"description" type:"string"` // Enable Basic Authorization for an Amplify App, this will apply to all branches // part of this App. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` // Enable the auto building of branches for an Amplify App. EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"` // Environment variables map for an Amplify App. EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"` // AWS IAM service role for an Amplify App IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"` // Name for the Amplify App // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // OAuth token for 3rd party source control system for an Amplify App, used // to create webhook and read-only deploy key. OAuth token is not stored. // // OauthToken is a required field OauthToken *string `locationName:"oauthToken" type:"string" required:"true"` // Platform / framework for an Amplify App // // Platform is a required field Platform Platform `locationName:"platform" type:"string" required:"true" enum:"true"` // Repository for an Amplify App // // Repository is a required field Repository *string `locationName:"repository" type:"string" required:"true"` // Tag for an Amplify App Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Request structure used to create Apps in Amplify. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateAppRequest
func (CreateAppInput) 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 ¶
func (r CreateAppRequest) Send(ctx context.Context) (*CreateAppResponse, error)
Send marshals and sends the CreateApp API request.
type CreateAppResponse ¶
type CreateAppResponse struct { *CreateAppOutput // contains filtered or unexported fields }
CreateAppResponse is the response type for the CreateApp API operation.
func (*CreateAppResponse) SDKResponseMetdata ¶
func (r *CreateAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApp request.
type CreateBranchInput ¶
type CreateBranchInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Basic Authorization credentials for the branch. BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` // Name for the branch. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` // BuildSpec for the branch. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` // Description for the branch. Description *string `locationName:"description" type:"string"` // Enables auto building for the branch. EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"` // Enables Basic Auth for the branch. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` // Enables notifications for the branch. EnableNotification *bool `locationName:"enableNotification" type:"boolean"` // Environment Variables for the branch. EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"` // Framework for the branch. Framework *string `locationName:"framework" type:"string"` // Stage for the branch. Stage Stage `locationName:"stage" type:"string" enum:"true"` // Tag for the branch. Tags map[string]string `locationName:"tags" type:"map"` // The content TTL for the website in seconds. Ttl *string `locationName:"ttl" type:"string"` // contains filtered or unexported fields }
Request structure for a branch create request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranchRequest
func (CreateBranchInput) 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 ¶
func (r CreateBranchRequest) Send(ctx context.Context) (*CreateBranchResponse, error)
Send marshals and sends the CreateBranch API request.
type CreateBranchResponse ¶
type CreateBranchResponse struct { *CreateBranchOutput // contains filtered or unexported fields }
CreateBranchResponse is the response type for the CreateBranch API operation.
func (*CreateBranchResponse) SDKResponseMetdata ¶
func (r *CreateBranchResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateBranch request.
type 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 ¶
func (s CreateDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDomainAssociationInput) String ¶
func (s CreateDomainAssociationInput) String() 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 ¶
func (s CreateDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDomainAssociationOutput) String ¶
func (s CreateDomainAssociationOutput) String() 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 ¶
func (r CreateDomainAssociationRequest) Send(ctx context.Context) (*CreateDomainAssociationResponse, error)
Send marshals and sends the CreateDomainAssociation API request.
type CreateDomainAssociationResponse ¶
type CreateDomainAssociationResponse struct { *CreateDomainAssociationOutput // contains filtered or unexported fields }
CreateDomainAssociationResponse is the response type for the CreateDomainAssociation API operation.
func (*CreateDomainAssociationResponse) SDKResponseMetdata ¶
func (r *CreateDomainAssociationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDomainAssociation request.
type 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 ¶
func (r DeleteAppRequest) Send(ctx context.Context) (*DeleteAppResponse, error)
Send marshals and sends the DeleteApp API request.
type DeleteAppResponse ¶
type DeleteAppResponse struct { *DeleteAppOutput // contains filtered or unexported fields }
DeleteAppResponse is the response type for the DeleteApp API operation.
func (*DeleteAppResponse) SDKResponseMetdata ¶
func (r *DeleteAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApp request.
type 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 ¶
func (r DeleteBranchRequest) Send(ctx context.Context) (*DeleteBranchResponse, error)
Send marshals and sends the DeleteBranch API request.
type DeleteBranchResponse ¶
type DeleteBranchResponse struct { *DeleteBranchOutput // contains filtered or unexported fields }
DeleteBranchResponse is the response type for the DeleteBranch API operation.
func (*DeleteBranchResponse) SDKResponseMetdata ¶
func (r *DeleteBranchResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteBranch request.
type DeleteDomainAssociationInput ¶
type DeleteDomainAssociationInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for the delete Domain Association request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociationRequest
func (DeleteDomainAssociationInput) MarshalFields ¶
func (s DeleteDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDomainAssociationInput) String ¶
func (s DeleteDomainAssociationInput) String() 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 ¶
func (s DeleteDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDomainAssociationOutput) String ¶
func (s DeleteDomainAssociationOutput) String() 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 ¶
func (r DeleteDomainAssociationRequest) Send(ctx context.Context) (*DeleteDomainAssociationResponse, error)
Send marshals and sends the DeleteDomainAssociation API request.
type DeleteDomainAssociationResponse ¶
type DeleteDomainAssociationResponse struct { *DeleteDomainAssociationOutput // contains filtered or unexported fields }
DeleteDomainAssociationResponse is the response type for the DeleteDomainAssociation API operation.
func (*DeleteDomainAssociationResponse) SDKResponseMetdata ¶
func (r *DeleteDomainAssociationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDomainAssociation request.
type DeleteJobInput ¶
type DeleteJobInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch, for the Job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Unique Id for the Job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for delete job request. 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 ¶
func (r DeleteJobRequest) Send(ctx context.Context) (*DeleteJobResponse, error)
Send marshals and sends the DeleteJob API request.
type DeleteJobResponse ¶
type DeleteJobResponse struct { *DeleteJobOutput // contains filtered or unexported fields }
DeleteJobResponse is the response type for the DeleteJob API operation.
func (*DeleteJobResponse) SDKResponseMetdata ¶
func (r *DeleteJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteJob request.
type DomainAssociation ¶
type DomainAssociation struct { // DNS Record for certificate verification. // // CertificateVerificationDNSRecord is a required field CertificateVerificationDNSRecord *string `locationName:"certificateVerificationDNSRecord" type:"string" required:"true"` // ARN for the Domain Association. // // DomainAssociationArn is a required field DomainAssociationArn *string `locationName:"domainAssociationArn" type:"string" required:"true"` // Name of the domain. // // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` // Status fo the Domain Association. // // DomainStatus is a required field DomainStatus DomainStatus `locationName:"domainStatus" type:"string" required:"true" enum:"true"` // Enables automated creation of Subdomains for branches. // // EnableAutoSubDomain is a required field EnableAutoSubDomain *bool `locationName:"enableAutoSubDomain" type:"boolean" required:"true"` // Reason for the current status of the Domain Association. // // StatusReason is a required field StatusReason *string `locationName:"statusReason" type:"string" required:"true"` // Subdomains for the Domain Association. // // SubDomains is a required field SubDomains []SubDomain `locationName:"subDomains" type:"list" required:"true"` // contains filtered or unexported fields }
Structure for Domain Association, which associates a custom domain with an Amplify App. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DomainAssociation
func (DomainAssociation) MarshalFields ¶
func (s DomainAssociation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DomainAssociation) String ¶
func (s DomainAssociation) String() string
String returns the string representation
type DomainStatus ¶
type DomainStatus string
const ( DomainStatusPendingVerification DomainStatus = "PENDING_VERIFICATION" DomainStatusInProgress DomainStatus = "IN_PROGRESS" DomainStatusAvailable DomainStatus = "AVAILABLE" DomainStatusPendingDeployment DomainStatus = "PENDING_DEPLOYMENT" DomainStatusFailed DomainStatus = "FAILED" )
Enum values for DomainStatus
func (DomainStatus) MarshalValue ¶
func (enum DomainStatus) MarshalValue() (string, error)
func (DomainStatus) MarshalValueBuf ¶
func (enum DomainStatus) MarshalValueBuf(b []byte) ([]byte, error)
type GetAppInput ¶
type GetAppInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for get App request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetAppRequest
func (GetAppInput) 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 ¶
func (r GetAppRequest) Send(ctx context.Context) (*GetAppResponse, error)
Send marshals and sends the GetApp API request.
type GetAppResponse ¶
type GetAppResponse struct { *GetAppOutput // contains filtered or unexported fields }
GetAppResponse is the response type for the GetApp API operation.
func (*GetAppResponse) SDKResponseMetdata ¶
func (r *GetAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetApp request.
type 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 ¶
func (r GetBranchRequest) Send(ctx context.Context) (*GetBranchResponse, error)
Send marshals and sends the GetBranch API request.
type GetBranchResponse ¶
type GetBranchResponse struct { *GetBranchOutput // contains filtered or unexported fields }
GetBranchResponse is the response type for the GetBranch API operation.
func (*GetBranchResponse) SDKResponseMetdata ¶
func (r *GetBranchResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetBranch request.
type GetDomainAssociationInput ¶
type GetDomainAssociationInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for the get Domain Association request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociationRequest
func (GetDomainAssociationInput) MarshalFields ¶
func (s GetDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (s GetDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDomainAssociationOutput) String ¶
func (s GetDomainAssociationOutput) String() 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 ¶
func (r GetDomainAssociationRequest) Send(ctx context.Context) (*GetDomainAssociationResponse, error)
Send marshals and sends the GetDomainAssociation API request.
type GetDomainAssociationResponse ¶
type GetDomainAssociationResponse struct { *GetDomainAssociationOutput // contains filtered or unexported fields }
GetDomainAssociationResponse is the response type for the GetDomainAssociation API operation.
func (*GetDomainAssociationResponse) SDKResponseMetdata ¶
func (r *GetDomainAssociationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDomainAssociation request.
type GetJobInput ¶
type GetJobInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch, for the Job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Unique Id for the Job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for get job request. 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 ¶
func (r GetJobRequest) Send(ctx context.Context) (*GetJobResponse, error)
Send marshals and sends the GetJob API request.
type GetJobResponse ¶
type GetJobResponse struct { *GetJobOutput // contains filtered or unexported fields }
GetJobResponse is the response type for the GetJob API operation.
func (*GetJobResponse) SDKResponseMetdata ¶
func (r *GetJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetJob request.
type 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 ¶
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 (JobStatus) MarshalValueBuf ¶
type JobSummary ¶
type JobSummary struct { // Commit Id from 3rd party repository provider for the Job. // // CommitId is a required field CommitId *string `locationName:"commitId" type:"string" required:"true"` // Commit message from 3rd party repository provider for the Job. // // CommitMessage is a required field CommitMessage *string `locationName:"commitMessage" type:"string" required:"true"` // Commit date / time for the Job. // // CommitTime is a required field CommitTime *time.Time `locationName:"commitTime" type:"timestamp" timestampFormat:"unix" required:"true"` // End date / time for the Job. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"` // Arn for the Job. // // JobArn is a required field JobArn *string `locationName:"jobArn" type:"string" required:"true"` // Unique Id for the Job. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // Type for the Job. // // JobType is a required field JobType JobType `locationName:"jobType" type:"string" required:"true" enum:"true"` // Start date / time for the Job. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` // Status for the Job. // // Status is a required field Status JobStatus `locationName:"status" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Structure for the summary of a Job. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/JobSummary
func (JobSummary) MarshalFields ¶
func (s JobSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobSummary) String ¶
func (s JobSummary) String() string
String returns the string representation
type JobType ¶
type JobType string
const ( JobTypeRelease JobType = "RELEASE" JobTypeRetry JobType = "RETRY" JobTypeWebHook JobType = "WEB_HOOK" )
Enum values for JobType
func (JobType) MarshalValue ¶
func (JobType) MarshalValueBuf ¶
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 ¶
func (r ListAppsRequest) Send(ctx context.Context) (*ListAppsResponse, error)
Send marshals and sends the ListApps API request.
type ListAppsResponse ¶
type ListAppsResponse struct { *ListAppsOutput // contains filtered or unexported fields }
ListAppsResponse is the response type for the ListApps API operation.
func (*ListAppsResponse) SDKResponseMetdata ¶
func (r *ListAppsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListApps request.
type 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 ¶
func (r ListBranchesRequest) Send(ctx context.Context) (*ListBranchesResponse, error)
Send marshals and sends the ListBranches API request.
type ListBranchesResponse ¶
type ListBranchesResponse struct { *ListBranchesOutput // contains filtered or unexported fields }
ListBranchesResponse is the response type for the ListBranches API operation.
func (*ListBranchesResponse) SDKResponseMetdata ¶
func (r *ListBranchesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListBranches request.
type ListDomainAssociationsInput ¶
type ListDomainAssociationsInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token. Set to null to start listing Apps from start. If non-null // pagination token is returned in a result, then pass its value in here to // list more projects. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure for the list Domain Associations request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociationsRequest
func (ListDomainAssociationsInput) MarshalFields ¶
func (s ListDomainAssociationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDomainAssociationsInput) String ¶
func (s ListDomainAssociationsInput) String() 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 ¶
func (s ListDomainAssociationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDomainAssociationsOutput) String ¶
func (s ListDomainAssociationsOutput) String() 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 ¶
func (r ListDomainAssociationsRequest) Send(ctx context.Context) (*ListDomainAssociationsResponse, error)
Send marshals and sends the ListDomainAssociations API request.
type ListDomainAssociationsResponse ¶
type ListDomainAssociationsResponse struct { *ListDomainAssociationsOutput // contains filtered or unexported fields }
ListDomainAssociationsResponse is the response type for the ListDomainAssociations API operation.
func (*ListDomainAssociationsResponse) SDKResponseMetdata ¶
func (r *ListDomainAssociationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDomainAssociations request.
type ListJobsInput ¶
type ListJobsInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for a branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token. Set to null to start listing steps from start. If a non-null // pagination token is returned in a result, then pass its value in here to // list more steps. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure for list job request. 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 ¶
func (r ListJobsRequest) Send(ctx context.Context) (*ListJobsResponse, error)
Send marshals and sends the ListJobs API request.
type ListJobsResponse ¶
type ListJobsResponse struct { *ListJobsOutput // contains filtered or unexported fields }
ListJobsResponse is the response type for the ListJobs API operation.
func (*ListJobsResponse) SDKResponseMetdata ¶
func (r *ListJobsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListJobs request.
type Platform ¶
type Platform string
const ( PlatformIos Platform = "IOS" PlatformAndroid Platform = "ANDROID" PlatformWeb Platform = "WEB" PlatformReactNative Platform = "REACT_NATIVE" )
Enum values for Platform
func (Platform) MarshalValue ¶
func (Platform) MarshalValueBuf ¶
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 (Stage) MarshalValueBuf ¶
type StartJobInput ¶
type StartJobInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch, for the Job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Commit Id from 3rd party repository provider for the Job. CommitId *string `locationName:"commitId" type:"string"` // Commit message from 3rd party repository provider for the Job. CommitMessage *string `locationName:"commitMessage" type:"string"` // Commit date / time for the Job. CommitTime *time.Time `locationName:"commitTime" type:"timestamp" timestampFormat:"unix"` // Unique Id for the Job. JobId *string `locationName:"jobId" type:"string"` // Reason for the Job. JobReason *string `locationName:"jobReason" type:"string"` // Type for the Job. // // JobType is a required field JobType JobType `locationName:"jobType" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Request structure for Start job request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJobRequest
func (StartJobInput) 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 ¶
func (r StartJobRequest) Send(ctx context.Context) (*StartJobResponse, error)
Send marshals and sends the StartJob API request.
type StartJobResponse ¶
type StartJobResponse struct { *StartJobOutput // contains filtered or unexported fields }
StartJobResponse is the response type for the StartJob API operation.
func (*StartJobResponse) SDKResponseMetdata ¶
func (r *StartJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartJob request.
type Step ¶
type Step struct { // Url to teh artifact for the execution step. ArtifactsUrl *string `locationName:"artifactsUrl" type:"string"` // End date/ time of the execution step. // // EndTime is a required field EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"` // Url to the logs for the execution step. LogUrl *string `locationName:"logUrl" type:"string"` // List of screenshot Urls for the execution step, if relevant. Screenshots map[string]string `locationName:"screenshots" type:"map"` // Start date/ time of the execution step. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` // Status of the execution step. // // Status is a required field Status JobStatus `locationName:"status" type:"string" required:"true" enum:"true"` // Name of the execution step. // // StepName is a required field StepName *string `locationName:"stepName" type:"string" required:"true"` // contains filtered or unexported fields }
Structure for an execution step for an execution job, for an Amplify App. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Step
func (Step) MarshalFields ¶
func (s Step) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Step) 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 ¶
func (r StopJobRequest) Send(ctx context.Context) (*StopJobResponse, error)
Send marshals and sends the StopJob API request.
type StopJobResponse ¶
type StopJobResponse struct { *StopJobOutput // contains filtered or unexported fields }
StopJobResponse is the response type for the StopJob API operation.
func (*StopJobResponse) SDKResponseMetdata ¶
func (r *StopJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopJob request.
type SubDomain ¶
type SubDomain struct { // DNS record for the Subdomain. // // DnsRecord is a required field DnsRecord *string `locationName:"dnsRecord" type:"string" required:"true"` // Setting structure for the Subdomain. // // SubDomainSetting is a required field SubDomainSetting *SubDomainSetting `locationName:"subDomainSetting" type:"structure" required:"true"` // Verified status of the Subdomain // // Verified is a required field Verified *bool `locationName:"verified" type:"boolean" required:"true"` // contains filtered or unexported fields }
Subdomain for the Domain Association. 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 ¶
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 UpdateAppInput ¶
type UpdateAppInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Basic Authorization credentials for an Amplify App. BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` // BuildSpec for an Amplify App. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` // Custom redirect / rewrite rules for an Amplify App. CustomRules []CustomRule `locationName:"customRules" type:"list"` // Description for an Amplify App. Description *string `locationName:"description" type:"string"` // Enables Basic Authorization for an Amplify App. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` // Enables branch auto-building for an Amplify App. EnableBranchAutoBuild *bool `locationName:"enableBranchAutoBuild" type:"boolean"` // Environment Variables for an Amplify App. EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"` // IAM service role for an Amplify App. IamServiceRoleArn *string `locationName:"iamServiceRoleArn" min:"1" type:"string"` // Name for an Amplify App. Name *string `locationName:"name" min:"1" type:"string"` // Platform for an Amplify App. Platform Platform `locationName:"platform" type:"string" enum:"true"` // contains filtered or unexported fields }
Request structure for update App request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateAppRequest
func (UpdateAppInput) 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 ¶
func (r UpdateAppRequest) Send(ctx context.Context) (*UpdateAppResponse, error)
Send marshals and sends the UpdateApp API request.
type UpdateAppResponse ¶
type UpdateAppResponse struct { *UpdateAppOutput // contains filtered or unexported fields }
UpdateAppResponse is the response type for the UpdateApp API operation.
func (*UpdateAppResponse) SDKResponseMetdata ¶
func (r *UpdateAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApp request.
type UpdateBranchInput ¶
type UpdateBranchInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Basic Authorization credentials for the branch. BasicAuthCredentials *string `locationName:"basicAuthCredentials" type:"string"` // Name for the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // BuildSpec for the branch. BuildSpec *string `locationName:"buildSpec" min:"1" type:"string"` // Description for the branch. Description *string `locationName:"description" type:"string"` // Enables auto building for the branch. EnableAutoBuild *bool `locationName:"enableAutoBuild" type:"boolean"` // Enables Basic Auth for the branch. EnableBasicAuth *bool `locationName:"enableBasicAuth" type:"boolean"` // Enables notifications for the branch. EnableNotification *bool `locationName:"enableNotification" type:"boolean"` // Environment Variables for the branch. EnvironmentVariables map[string]string `locationName:"environmentVariables" type:"map"` // Framework for the branch. Framework *string `locationName:"framework" type:"string"` // Stage for the branch. Stage Stage `locationName:"stage" type:"string" enum:"true"` // The content TTL for the website in seconds. Ttl *string `locationName:"ttl" type:"string"` // contains filtered or unexported fields }
Request structure for update branch request. Please also see https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranchRequest
func (UpdateBranchInput) 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 ¶
func (r UpdateBranchRequest) Send(ctx context.Context) (*UpdateBranchResponse, error)
Send marshals and sends the UpdateBranch API request.
type UpdateBranchResponse ¶
type UpdateBranchResponse struct { *UpdateBranchOutput // contains filtered or unexported fields }
UpdateBranchResponse is the response type for the UpdateBranch API operation.
func (*UpdateBranchResponse) SDKResponseMetdata ¶
func (r *UpdateBranchResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateBranch request.
type UpdateDomainAssociationInput ¶
type UpdateDomainAssociationInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // Enables automated creation of Subdomains for branches. 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 ¶
func (s UpdateDomainAssociationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDomainAssociationInput) String ¶
func (s UpdateDomainAssociationInput) String() 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 ¶
func (s UpdateDomainAssociationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDomainAssociationOutput) String ¶
func (s UpdateDomainAssociationOutput) String() 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 ¶
func (r UpdateDomainAssociationRequest) Send(ctx context.Context) (*UpdateDomainAssociationResponse, error)
Send marshals and sends the UpdateDomainAssociation API request.
type UpdateDomainAssociationResponse ¶
type UpdateDomainAssociationResponse struct { *UpdateDomainAssociationOutput // contains filtered or unexported fields }
UpdateDomainAssociationResponse is the response type for the UpdateDomainAssociation API operation.
func (*UpdateDomainAssociationResponse) SDKResponseMetdata ¶
func (r *UpdateDomainAssociationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDomainAssociation request.
Source Files ¶
api_client.go api_doc.go api_enums.go api_errors.go api_op_CreateApp.go api_op_CreateBranch.go api_op_CreateDomainAssociation.go api_op_DeleteApp.go api_op_DeleteBranch.go api_op_DeleteDomainAssociation.go api_op_DeleteJob.go api_op_GetApp.go api_op_GetBranch.go api_op_GetDomainAssociation.go api_op_GetJob.go api_op_ListApps.go api_op_ListBranches.go api_op_ListDomainAssociations.go api_op_ListJobs.go api_op_StartJob.go api_op_StopJob.go api_op_UpdateApp.go api_op_UpdateBranch.go api_op_UpdateDomainAssociation.go api_types.go
Directories ¶
Path | Synopsis |
---|---|
service/amplify/amplifyiface | Package amplifyiface provides an interface to enable mocking the AWS Amplify service client for testing your code. |
- Version
- v0.9.0
- Published
- May 28, 2019
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 second ago –
Tools for package owners.