Documentation ¶
Overview ¶
Package amplify provides the client and types for making API requests to AWS Amplify.
Amplify is a fully managed continuous deployment and hosting service for modern web apps.
See https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25 for more information on this service.
See amplify package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/amplify/
Using the Client ¶
To contact AWS Amplify with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Amplify client Amplify for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/amplify/#New
Index ¶
- Constants
- type Amplify
- func (c *Amplify) CreateApp(input *CreateAppInput) (*CreateAppOutput, error)
- func (c *Amplify) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput)
- func (c *Amplify) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error)
- func (c *Amplify) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error)
- func (c *Amplify) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput)
- func (c *Amplify) CreateBranchWithContext(ctx aws.Context, input *CreateBranchInput, opts ...request.Option) (*CreateBranchOutput, error)
- func (c *Amplify) CreateDomainAssociation(input *CreateDomainAssociationInput) (*CreateDomainAssociationOutput, error)
- func (c *Amplify) CreateDomainAssociationRequest(input *CreateDomainAssociationInput) (req *request.Request, output *CreateDomainAssociationOutput)
- func (c *Amplify) CreateDomainAssociationWithContext(ctx aws.Context, input *CreateDomainAssociationInput, opts ...request.Option) (*CreateDomainAssociationOutput, error)
- func (c *Amplify) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error)
- func (c *Amplify) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput)
- func (c *Amplify) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error)
- func (c *Amplify) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error)
- func (c *Amplify) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput)
- func (c *Amplify) DeleteBranchWithContext(ctx aws.Context, input *DeleteBranchInput, opts ...request.Option) (*DeleteBranchOutput, error)
- func (c *Amplify) DeleteDomainAssociation(input *DeleteDomainAssociationInput) (*DeleteDomainAssociationOutput, error)
- func (c *Amplify) DeleteDomainAssociationRequest(input *DeleteDomainAssociationInput) (req *request.Request, output *DeleteDomainAssociationOutput)
- func (c *Amplify) DeleteDomainAssociationWithContext(ctx aws.Context, input *DeleteDomainAssociationInput, opts ...request.Option) (*DeleteDomainAssociationOutput, error)
- func (c *Amplify) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error)
- func (c *Amplify) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput)
- func (c *Amplify) DeleteJobWithContext(ctx aws.Context, input *DeleteJobInput, opts ...request.Option) (*DeleteJobOutput, error)
- func (c *Amplify) GetApp(input *GetAppInput) (*GetAppOutput, error)
- func (c *Amplify) GetAppRequest(input *GetAppInput) (req *request.Request, output *GetAppOutput)
- func (c *Amplify) GetAppWithContext(ctx aws.Context, input *GetAppInput, opts ...request.Option) (*GetAppOutput, error)
- func (c *Amplify) GetBranch(input *GetBranchInput) (*GetBranchOutput, error)
- func (c *Amplify) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput)
- func (c *Amplify) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error)
- func (c *Amplify) GetDomainAssociation(input *GetDomainAssociationInput) (*GetDomainAssociationOutput, error)
- func (c *Amplify) GetDomainAssociationRequest(input *GetDomainAssociationInput) (req *request.Request, output *GetDomainAssociationOutput)
- func (c *Amplify) GetDomainAssociationWithContext(ctx aws.Context, input *GetDomainAssociationInput, opts ...request.Option) (*GetDomainAssociationOutput, error)
- func (c *Amplify) GetJob(input *GetJobInput) (*GetJobOutput, error)
- func (c *Amplify) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput)
- func (c *Amplify) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error)
- func (c *Amplify) ListApps(input *ListAppsInput) (*ListAppsOutput, error)
- func (c *Amplify) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput)
- func (c *Amplify) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error)
- func (c *Amplify) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error)
- func (c *Amplify) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput)
- func (c *Amplify) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error)
- func (c *Amplify) ListDomainAssociations(input *ListDomainAssociationsInput) (*ListDomainAssociationsOutput, error)
- func (c *Amplify) ListDomainAssociationsRequest(input *ListDomainAssociationsInput) (req *request.Request, output *ListDomainAssociationsOutput)
- func (c *Amplify) ListDomainAssociationsWithContext(ctx aws.Context, input *ListDomainAssociationsInput, opts ...request.Option) (*ListDomainAssociationsOutput, error)
- func (c *Amplify) ListJobs(input *ListJobsInput) (*ListJobsOutput, error)
- func (c *Amplify) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput)
- func (c *Amplify) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error)
- func (c *Amplify) StartJob(input *StartJobInput) (*StartJobOutput, error)
- func (c *Amplify) StartJobRequest(input *StartJobInput) (req *request.Request, output *StartJobOutput)
- func (c *Amplify) StartJobWithContext(ctx aws.Context, input *StartJobInput, opts ...request.Option) (*StartJobOutput, error)
- func (c *Amplify) StopJob(input *StopJobInput) (*StopJobOutput, error)
- func (c *Amplify) StopJobRequest(input *StopJobInput) (req *request.Request, output *StopJobOutput)
- func (c *Amplify) StopJobWithContext(ctx aws.Context, input *StopJobInput, opts ...request.Option) (*StopJobOutput, error)
- func (c *Amplify) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error)
- func (c *Amplify) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput)
- func (c *Amplify) UpdateAppWithContext(ctx aws.Context, input *UpdateAppInput, opts ...request.Option) (*UpdateAppOutput, error)
- func (c *Amplify) UpdateBranch(input *UpdateBranchInput) (*UpdateBranchOutput, error)
- func (c *Amplify) UpdateBranchRequest(input *UpdateBranchInput) (req *request.Request, output *UpdateBranchOutput)
- func (c *Amplify) UpdateBranchWithContext(ctx aws.Context, input *UpdateBranchInput, opts ...request.Option) (*UpdateBranchOutput, error)
- func (c *Amplify) UpdateDomainAssociation(input *UpdateDomainAssociationInput) (*UpdateDomainAssociationOutput, error)
- func (c *Amplify) UpdateDomainAssociationRequest(input *UpdateDomainAssociationInput) (req *request.Request, output *UpdateDomainAssociationOutput)
- func (c *Amplify) UpdateDomainAssociationWithContext(ctx aws.Context, input *UpdateDomainAssociationInput, opts ...request.Option) (*UpdateDomainAssociationOutput, error)
- type App
- func (s App) GoString() string
- func (s *App) SetAppArn(v string) *App
- func (s *App) SetAppId(v string) *App
- func (s *App) SetBasicAuthCredentials(v string) *App
- func (s *App) SetBuildSpec(v string) *App
- func (s *App) SetCreateTime(v time.Time) *App
- func (s *App) SetCustomRules(v []*CustomRule) *App
- func (s *App) SetDefaultDomain(v string) *App
- func (s *App) SetDescription(v string) *App
- func (s *App) SetEnableBasicAuth(v bool) *App
- func (s *App) SetEnableBranchAutoBuild(v bool) *App
- func (s *App) SetEnvironmentVariables(v map[string]*string) *App
- func (s *App) SetIamServiceRoleArn(v string) *App
- func (s *App) SetName(v string) *App
- func (s *App) SetPlatform(v string) *App
- func (s *App) SetProductionBranch(v *ProductionBranch) *App
- func (s *App) SetRepository(v string) *App
- func (s *App) SetTags(v map[string]*string) *App
- func (s *App) SetUpdateTime(v time.Time) *App
- func (s App) String() string
- type Branch
- func (s Branch) GoString() string
- func (s *Branch) SetActiveJobId(v string) *Branch
- func (s *Branch) SetBasicAuthCredentials(v string) *Branch
- func (s *Branch) SetBranchArn(v string) *Branch
- func (s *Branch) SetBranchName(v string) *Branch
- func (s *Branch) SetBuildSpec(v string) *Branch
- func (s *Branch) SetCreateTime(v time.Time) *Branch
- func (s *Branch) SetCustomDomains(v []*string) *Branch
- func (s *Branch) SetDescription(v string) *Branch
- func (s *Branch) SetDisplayName(v string) *Branch
- func (s *Branch) SetEnableAutoBuild(v bool) *Branch
- func (s *Branch) SetEnableBasicAuth(v bool) *Branch
- func (s *Branch) SetEnableNotification(v bool) *Branch
- func (s *Branch) SetEnvironmentVariables(v map[string]*string) *Branch
- func (s *Branch) SetFramework(v string) *Branch
- func (s *Branch) SetStage(v string) *Branch
- func (s *Branch) SetTags(v map[string]*string) *Branch
- func (s *Branch) SetThumbnailUrl(v string) *Branch
- func (s *Branch) SetTotalNumberOfJobs(v string) *Branch
- func (s *Branch) SetTtl(v string) *Branch
- func (s *Branch) SetUpdateTime(v time.Time) *Branch
- func (s Branch) String() string
- type CreateAppInput
- func (s CreateAppInput) GoString() string
- func (s *CreateAppInput) SetBasicAuthCredentials(v string) *CreateAppInput
- func (s *CreateAppInput) SetBuildSpec(v string) *CreateAppInput
- func (s *CreateAppInput) SetCustomRules(v []*CustomRule) *CreateAppInput
- func (s *CreateAppInput) SetDescription(v string) *CreateAppInput
- func (s *CreateAppInput) SetEnableBasicAuth(v bool) *CreateAppInput
- func (s *CreateAppInput) SetEnableBranchAutoBuild(v bool) *CreateAppInput
- func (s *CreateAppInput) SetEnvironmentVariables(v map[string]*string) *CreateAppInput
- func (s *CreateAppInput) SetIamServiceRoleArn(v string) *CreateAppInput
- func (s *CreateAppInput) SetName(v string) *CreateAppInput
- func (s *CreateAppInput) SetOauthToken(v string) *CreateAppInput
- func (s *CreateAppInput) SetPlatform(v string) *CreateAppInput
- func (s *CreateAppInput) SetRepository(v string) *CreateAppInput
- func (s *CreateAppInput) SetTags(v map[string]*string) *CreateAppInput
- func (s CreateAppInput) String() string
- func (s *CreateAppInput) Validate() error
- type CreateAppOutput
- type CreateBranchInput
- func (s CreateBranchInput) GoString() string
- func (s *CreateBranchInput) SetAppId(v string) *CreateBranchInput
- func (s *CreateBranchInput) SetBasicAuthCredentials(v string) *CreateBranchInput
- func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput
- func (s *CreateBranchInput) SetBuildSpec(v string) *CreateBranchInput
- func (s *CreateBranchInput) SetDescription(v string) *CreateBranchInput
- func (s *CreateBranchInput) SetEnableAutoBuild(v bool) *CreateBranchInput
- func (s *CreateBranchInput) SetEnableBasicAuth(v bool) *CreateBranchInput
- func (s *CreateBranchInput) SetEnableNotification(v bool) *CreateBranchInput
- func (s *CreateBranchInput) SetEnvironmentVariables(v map[string]*string) *CreateBranchInput
- func (s *CreateBranchInput) SetFramework(v string) *CreateBranchInput
- func (s *CreateBranchInput) SetStage(v string) *CreateBranchInput
- func (s *CreateBranchInput) SetTags(v map[string]*string) *CreateBranchInput
- func (s *CreateBranchInput) SetTtl(v string) *CreateBranchInput
- func (s CreateBranchInput) String() string
- func (s *CreateBranchInput) Validate() error
- type CreateBranchOutput
- type CreateDomainAssociationInput
- func (s CreateDomainAssociationInput) GoString() string
- func (s *CreateDomainAssociationInput) SetAppId(v string) *CreateDomainAssociationInput
- func (s *CreateDomainAssociationInput) SetDomainName(v string) *CreateDomainAssociationInput
- func (s *CreateDomainAssociationInput) SetEnableAutoSubDomain(v bool) *CreateDomainAssociationInput
- func (s *CreateDomainAssociationInput) SetSubDomainSettings(v []*SubDomainSetting) *CreateDomainAssociationInput
- func (s CreateDomainAssociationInput) String() string
- func (s *CreateDomainAssociationInput) Validate() error
- type CreateDomainAssociationOutput
- type CustomRule
- func (s CustomRule) GoString() string
- func (s *CustomRule) SetCondition(v string) *CustomRule
- func (s *CustomRule) SetSource(v string) *CustomRule
- func (s *CustomRule) SetStatus(v string) *CustomRule
- func (s *CustomRule) SetTarget(v string) *CustomRule
- func (s CustomRule) String() string
- func (s *CustomRule) Validate() error
- type DeleteAppInput
- type DeleteAppOutput
- type DeleteBranchInput
- type DeleteBranchOutput
- type DeleteDomainAssociationInput
- func (s DeleteDomainAssociationInput) GoString() string
- func (s *DeleteDomainAssociationInput) SetAppId(v string) *DeleteDomainAssociationInput
- func (s *DeleteDomainAssociationInput) SetDomainName(v string) *DeleteDomainAssociationInput
- func (s DeleteDomainAssociationInput) String() string
- func (s *DeleteDomainAssociationInput) Validate() error
- type DeleteDomainAssociationOutput
- type DeleteJobInput
- func (s DeleteJobInput) GoString() string
- func (s *DeleteJobInput) SetAppId(v string) *DeleteJobInput
- func (s *DeleteJobInput) SetBranchName(v string) *DeleteJobInput
- func (s *DeleteJobInput) SetJobId(v string) *DeleteJobInput
- func (s DeleteJobInput) String() string
- func (s *DeleteJobInput) Validate() error
- type DeleteJobOutput
- type DomainAssociation
- func (s DomainAssociation) GoString() string
- func (s *DomainAssociation) SetCertificateVerificationDNSRecord(v string) *DomainAssociation
- func (s *DomainAssociation) SetDomainAssociationArn(v string) *DomainAssociation
- func (s *DomainAssociation) SetDomainName(v string) *DomainAssociation
- func (s *DomainAssociation) SetDomainStatus(v string) *DomainAssociation
- func (s *DomainAssociation) SetEnableAutoSubDomain(v bool) *DomainAssociation
- func (s *DomainAssociation) SetStatusReason(v string) *DomainAssociation
- func (s *DomainAssociation) SetSubDomains(v []*SubDomain) *DomainAssociation
- func (s DomainAssociation) String() string
- type GetAppInput
- type GetAppOutput
- type GetBranchInput
- type GetBranchOutput
- type GetDomainAssociationInput
- func (s GetDomainAssociationInput) GoString() string
- func (s *GetDomainAssociationInput) SetAppId(v string) *GetDomainAssociationInput
- func (s *GetDomainAssociationInput) SetDomainName(v string) *GetDomainAssociationInput
- func (s GetDomainAssociationInput) String() string
- func (s *GetDomainAssociationInput) Validate() error
- type GetDomainAssociationOutput
- type GetJobInput
- type GetJobOutput
- type Job
- type JobSummary
- func (s JobSummary) GoString() string
- func (s *JobSummary) SetCommitId(v string) *JobSummary
- func (s *JobSummary) SetCommitMessage(v string) *JobSummary
- func (s *JobSummary) SetCommitTime(v time.Time) *JobSummary
- func (s *JobSummary) SetEndTime(v time.Time) *JobSummary
- func (s *JobSummary) SetJobArn(v string) *JobSummary
- func (s *JobSummary) SetJobId(v string) *JobSummary
- func (s *JobSummary) SetJobType(v string) *JobSummary
- func (s *JobSummary) SetStartTime(v time.Time) *JobSummary
- func (s *JobSummary) SetStatus(v string) *JobSummary
- func (s JobSummary) String() string
- type ListAppsInput
- type ListAppsOutput
- type ListBranchesInput
- func (s ListBranchesInput) GoString() string
- func (s *ListBranchesInput) SetAppId(v string) *ListBranchesInput
- func (s *ListBranchesInput) SetMaxResults(v int64) *ListBranchesInput
- func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput
- func (s ListBranchesInput) String() string
- func (s *ListBranchesInput) Validate() error
- type ListBranchesOutput
- type ListDomainAssociationsInput
- func (s ListDomainAssociationsInput) GoString() string
- func (s *ListDomainAssociationsInput) SetAppId(v string) *ListDomainAssociationsInput
- func (s *ListDomainAssociationsInput) SetMaxResults(v int64) *ListDomainAssociationsInput
- func (s *ListDomainAssociationsInput) SetNextToken(v string) *ListDomainAssociationsInput
- func (s ListDomainAssociationsInput) String() string
- func (s *ListDomainAssociationsInput) Validate() error
- type ListDomainAssociationsOutput
- func (s ListDomainAssociationsOutput) GoString() string
- func (s *ListDomainAssociationsOutput) SetDomainAssociations(v []*DomainAssociation) *ListDomainAssociationsOutput
- func (s *ListDomainAssociationsOutput) SetNextToken(v string) *ListDomainAssociationsOutput
- func (s ListDomainAssociationsOutput) String() string
- type ListJobsInput
- func (s ListJobsInput) GoString() string
- func (s *ListJobsInput) SetAppId(v string) *ListJobsInput
- func (s *ListJobsInput) SetBranchName(v string) *ListJobsInput
- func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput
- func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput
- func (s ListJobsInput) String() string
- func (s *ListJobsInput) Validate() error
- type ListJobsOutput
- type ProductionBranch
- func (s ProductionBranch) GoString() string
- func (s *ProductionBranch) SetBranchName(v string) *ProductionBranch
- func (s *ProductionBranch) SetLastDeployTime(v time.Time) *ProductionBranch
- func (s *ProductionBranch) SetStatus(v string) *ProductionBranch
- func (s *ProductionBranch) SetThumbnailUrl(v string) *ProductionBranch
- func (s ProductionBranch) String() string
- type StartJobInput
- func (s StartJobInput) GoString() string
- func (s *StartJobInput) SetAppId(v string) *StartJobInput
- func (s *StartJobInput) SetBranchName(v string) *StartJobInput
- func (s *StartJobInput) SetCommitId(v string) *StartJobInput
- func (s *StartJobInput) SetCommitMessage(v string) *StartJobInput
- func (s *StartJobInput) SetCommitTime(v time.Time) *StartJobInput
- func (s *StartJobInput) SetJobId(v string) *StartJobInput
- func (s *StartJobInput) SetJobReason(v string) *StartJobInput
- func (s *StartJobInput) SetJobType(v string) *StartJobInput
- func (s StartJobInput) String() string
- func (s *StartJobInput) Validate() error
- type StartJobOutput
- type Step
- func (s Step) GoString() string
- func (s *Step) SetArtifactsUrl(v string) *Step
- func (s *Step) SetEndTime(v time.Time) *Step
- func (s *Step) SetLogUrl(v string) *Step
- func (s *Step) SetScreenshots(v map[string]*string) *Step
- func (s *Step) SetStartTime(v time.Time) *Step
- func (s *Step) SetStatus(v string) *Step
- func (s *Step) SetStepName(v string) *Step
- func (s Step) String() string
- type StopJobInput
- type StopJobOutput
- type SubDomain
- type SubDomainSetting
- type UpdateAppInput
- func (s UpdateAppInput) GoString() string
- func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetBasicAuthCredentials(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetBuildSpec(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetCustomRules(v []*CustomRule) *UpdateAppInput
- func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetEnableBasicAuth(v bool) *UpdateAppInput
- func (s *UpdateAppInput) SetEnableBranchAutoBuild(v bool) *UpdateAppInput
- func (s *UpdateAppInput) SetEnvironmentVariables(v map[string]*string) *UpdateAppInput
- func (s *UpdateAppInput) SetIamServiceRoleArn(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetName(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetPlatform(v string) *UpdateAppInput
- func (s UpdateAppInput) String() string
- func (s *UpdateAppInput) Validate() error
- type UpdateAppOutput
- type UpdateBranchInput
- func (s UpdateBranchInput) GoString() string
- func (s *UpdateBranchInput) SetAppId(v string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetBasicAuthCredentials(v string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetBranchName(v string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetBuildSpec(v string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetDescription(v string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetEnableAutoBuild(v bool) *UpdateBranchInput
- func (s *UpdateBranchInput) SetEnableBasicAuth(v bool) *UpdateBranchInput
- func (s *UpdateBranchInput) SetEnableNotification(v bool) *UpdateBranchInput
- func (s *UpdateBranchInput) SetEnvironmentVariables(v map[string]*string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetFramework(v string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetStage(v string) *UpdateBranchInput
- func (s *UpdateBranchInput) SetTtl(v string) *UpdateBranchInput
- func (s UpdateBranchInput) String() string
- func (s *UpdateBranchInput) Validate() error
- type UpdateBranchOutput
- type UpdateDomainAssociationInput
- func (s UpdateDomainAssociationInput) GoString() string
- func (s *UpdateDomainAssociationInput) SetAppId(v string) *UpdateDomainAssociationInput
- func (s *UpdateDomainAssociationInput) SetDomainName(v string) *UpdateDomainAssociationInput
- func (s *UpdateDomainAssociationInput) SetEnableAutoSubDomain(v bool) *UpdateDomainAssociationInput
- func (s *UpdateDomainAssociationInput) SetSubDomainSettings(v []*SubDomainSetting) *UpdateDomainAssociationInput
- func (s UpdateDomainAssociationInput) String() string
- func (s *UpdateDomainAssociationInput) Validate() error
- type UpdateDomainAssociationOutput
Constants ¶
const ( // DomainStatusPendingVerification is a DomainStatus enum value DomainStatusPendingVerification = "PENDING_VERIFICATION" // DomainStatusInProgress is a DomainStatus enum value DomainStatusInProgress = "IN_PROGRESS" // DomainStatusAvailable is a DomainStatus enum value DomainStatusAvailable = "AVAILABLE" // DomainStatusPendingDeployment is a DomainStatus enum value DomainStatusPendingDeployment = "PENDING_DEPLOYMENT" // DomainStatusFailed is a DomainStatus enum value DomainStatusFailed = "FAILED" )
const ( // JobStatusPending is a JobStatus enum value JobStatusPending = "PENDING" // JobStatusProvisioning is a JobStatus enum value JobStatusProvisioning = "PROVISIONING" // JobStatusRunning is a JobStatus enum value JobStatusRunning = "RUNNING" // JobStatusFailed is a JobStatus enum value JobStatusFailed = "FAILED" // JobStatusSucceed is a JobStatus enum value JobStatusSucceed = "SUCCEED" // JobStatusCancelling is a JobStatus enum value JobStatusCancelling = "CANCELLING" // JobStatusCancelled is a JobStatus enum value JobStatusCancelled = "CANCELLED" )
const ( // JobTypeRelease is a JobType enum value JobTypeRelease = "RELEASE" // JobTypeRetry is a JobType enum value JobTypeRetry = "RETRY" // JobTypeWebHook is a JobType enum value JobTypeWebHook = "WEB_HOOK" )
const ( // PlatformIos is a Platform enum value PlatformIos = "IOS" // PlatformAndroid is a Platform enum value PlatformAndroid = "ANDROID" // PlatformWeb is a Platform enum value PlatformWeb = "WEB" // PlatformReactNative is a Platform enum value PlatformReactNative = "REACT_NATIVE" )
const ( // StageProduction is a Stage enum value StageProduction = "PRODUCTION" // StageBeta is a Stage enum value StageBeta = "BETA" // StageDevelopment is a Stage enum value StageDevelopment = "DEVELOPMENT" // StageExperimental is a Stage enum value StageExperimental = "EXPERIMENTAL" )
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" // "UnauthorizedException". // // Exception thrown when an operation fails due to a lack of access. ErrCodeUnauthorizedException = "UnauthorizedException" )
const ( ServiceName = "Amplify" // Name of service. EndpointsID = "amplify" // ID to lookup a service endpoint with. ServiceID = "Amplify" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amplify ¶
Amplify provides the API operation methods for making requests to AWS Amplify. See this package's package overview docs for details on the service.
Amplify methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Amplify
New creates a new instance of the Amplify client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a Amplify client from just a session. svc := amplify.New(mySession) // Create a Amplify client with additional configuration svc := amplify.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Amplify) CreateApp ¶
func (c *Amplify) CreateApp(input *CreateAppInput) (*CreateAppOutput, error)
CreateApp API operation for AWS Amplify.
Creates a new Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation CreateApp for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp
func (*Amplify) CreateAppRequest ¶
func (c *Amplify) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput)
CreateAppRequest generates a "aws/request.Request" representing the client's request for the CreateApp operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApp for more information on using the CreateApp API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAppRequest method. req, resp := client.CreateAppRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp
func (*Amplify) CreateAppWithContext ¶
func (c *Amplify) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error)
CreateAppWithContext is the same as CreateApp with the addition of the ability to pass a context and additional request options.
See CreateApp for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) CreateBranch ¶
func (c *Amplify) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error)
CreateBranch API operation for AWS Amplify.
Creates a new Branch for an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation CreateBranch for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch
func (*Amplify) CreateBranchRequest ¶
func (c *Amplify) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput)
CreateBranchRequest generates a "aws/request.Request" representing the client's request for the CreateBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateBranch for more information on using the CreateBranch API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateBranchRequest method. req, resp := client.CreateBranchRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch
func (*Amplify) CreateBranchWithContext ¶
func (c *Amplify) CreateBranchWithContext(ctx aws.Context, input *CreateBranchInput, opts ...request.Option) (*CreateBranchOutput, error)
CreateBranchWithContext is the same as CreateBranch with the addition of the ability to pass a context and additional request options.
See CreateBranch for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) CreateDomainAssociation ¶
func (c *Amplify) CreateDomainAssociation(input *CreateDomainAssociationInput) (*CreateDomainAssociationOutput, error)
CreateDomainAssociation API operation for AWS Amplify.
Create a new DomainAssociation on an App ¶
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation CreateDomainAssociation for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation
func (*Amplify) CreateDomainAssociationRequest ¶
func (c *Amplify) CreateDomainAssociationRequest(input *CreateDomainAssociationInput) (req *request.Request, output *CreateDomainAssociationOutput)
CreateDomainAssociationRequest generates a "aws/request.Request" representing the client's request for the CreateDomainAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDomainAssociation for more information on using the CreateDomainAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDomainAssociationRequest method. req, resp := client.CreateDomainAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation
func (*Amplify) CreateDomainAssociationWithContext ¶
func (c *Amplify) CreateDomainAssociationWithContext(ctx aws.Context, input *CreateDomainAssociationInput, opts ...request.Option) (*CreateDomainAssociationOutput, error)
CreateDomainAssociationWithContext is the same as CreateDomainAssociation with the addition of the ability to pass a context and additional request options.
See CreateDomainAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) DeleteApp ¶
func (c *Amplify) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error)
DeleteApp API operation for AWS Amplify.
Delete an existing Amplify App by appId.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation DeleteApp for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp
func (*Amplify) DeleteAppRequest ¶
func (c *Amplify) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput)
DeleteAppRequest generates a "aws/request.Request" representing the client's request for the DeleteApp operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteApp for more information on using the DeleteApp API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAppRequest method. req, resp := client.DeleteAppRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp
func (*Amplify) DeleteAppWithContext ¶
func (c *Amplify) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error)
DeleteAppWithContext is the same as DeleteApp with the addition of the ability to pass a context and additional request options.
See DeleteApp for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) DeleteBranch ¶
func (c *Amplify) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error)
DeleteBranch API operation for AWS Amplify.
Deletes a branch for an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation DeleteBranch for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch
func (*Amplify) DeleteBranchRequest ¶
func (c *Amplify) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput)
DeleteBranchRequest generates a "aws/request.Request" representing the client's request for the DeleteBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteBranch for more information on using the DeleteBranch API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteBranchRequest method. req, resp := client.DeleteBranchRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch
func (*Amplify) DeleteBranchWithContext ¶
func (c *Amplify) DeleteBranchWithContext(ctx aws.Context, input *DeleteBranchInput, opts ...request.Option) (*DeleteBranchOutput, error)
DeleteBranchWithContext is the same as DeleteBranch with the addition of the ability to pass a context and additional request options.
See DeleteBranch for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) DeleteDomainAssociation ¶
func (c *Amplify) DeleteDomainAssociation(input *DeleteDomainAssociationInput) (*DeleteDomainAssociationOutput, error)
DeleteDomainAssociation API operation for AWS Amplify.
Deletes a DomainAssociation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation DeleteDomainAssociation for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation
func (*Amplify) DeleteDomainAssociationRequest ¶
func (c *Amplify) DeleteDomainAssociationRequest(input *DeleteDomainAssociationInput) (req *request.Request, output *DeleteDomainAssociationOutput)
DeleteDomainAssociationRequest generates a "aws/request.Request" representing the client's request for the DeleteDomainAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDomainAssociation for more information on using the DeleteDomainAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDomainAssociationRequest method. req, resp := client.DeleteDomainAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation
func (*Amplify) DeleteDomainAssociationWithContext ¶
func (c *Amplify) DeleteDomainAssociationWithContext(ctx aws.Context, input *DeleteDomainAssociationInput, opts ...request.Option) (*DeleteDomainAssociationOutput, error)
DeleteDomainAssociationWithContext is the same as DeleteDomainAssociation with the addition of the ability to pass a context and additional request options.
See DeleteDomainAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) DeleteJob ¶
func (c *Amplify) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error)
DeleteJob API operation for AWS Amplify.
Delete a job, for an Amplify branch, part of Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation DeleteJob for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob
func (*Amplify) DeleteJobRequest ¶
func (c *Amplify) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput)
DeleteJobRequest generates a "aws/request.Request" representing the client's request for the DeleteJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteJob for more information on using the DeleteJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteJobRequest method. req, resp := client.DeleteJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob
func (*Amplify) DeleteJobWithContext ¶
func (c *Amplify) DeleteJobWithContext(ctx aws.Context, input *DeleteJobInput, opts ...request.Option) (*DeleteJobOutput, error)
DeleteJobWithContext is the same as DeleteJob with the addition of the ability to pass a context and additional request options.
See DeleteJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) GetApp ¶
func (c *Amplify) GetApp(input *GetAppInput) (*GetAppOutput, error)
GetApp API operation for AWS Amplify.
Retrieves an existing Amplify App by appId.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation GetApp for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp
func (*Amplify) GetAppRequest ¶
func (c *Amplify) GetAppRequest(input *GetAppInput) (req *request.Request, output *GetAppOutput)
GetAppRequest generates a "aws/request.Request" representing the client's request for the GetApp operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApp for more information on using the GetApp API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAppRequest method. req, resp := client.GetAppRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp
func (*Amplify) GetAppWithContext ¶
func (c *Amplify) GetAppWithContext(ctx aws.Context, input *GetAppInput, opts ...request.Option) (*GetAppOutput, error)
GetAppWithContext is the same as GetApp with the addition of the ability to pass a context and additional request options.
See GetApp for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) GetBranch ¶
func (c *Amplify) GetBranch(input *GetBranchInput) (*GetBranchOutput, error)
GetBranch API operation for AWS Amplify.
Retrieves a branch for an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation GetBranch for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch
func (*Amplify) GetBranchRequest ¶
func (c *Amplify) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput)
GetBranchRequest generates a "aws/request.Request" representing the client's request for the GetBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetBranch for more information on using the GetBranch API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetBranchRequest method. req, resp := client.GetBranchRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch
func (*Amplify) GetBranchWithContext ¶
func (c *Amplify) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error)
GetBranchWithContext is the same as GetBranch with the addition of the ability to pass a context and additional request options.
See GetBranch for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) GetDomainAssociation ¶
func (c *Amplify) GetDomainAssociation(input *GetDomainAssociationInput) (*GetDomainAssociationOutput, error)
GetDomainAssociation API operation for AWS Amplify.
Retrieves domain info that corresponds to an appId and domainName.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation GetDomainAssociation for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation
func (*Amplify) GetDomainAssociationRequest ¶
func (c *Amplify) GetDomainAssociationRequest(input *GetDomainAssociationInput) (req *request.Request, output *GetDomainAssociationOutput)
GetDomainAssociationRequest generates a "aws/request.Request" representing the client's request for the GetDomainAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDomainAssociation for more information on using the GetDomainAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDomainAssociationRequest method. req, resp := client.GetDomainAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation
func (*Amplify) GetDomainAssociationWithContext ¶
func (c *Amplify) GetDomainAssociationWithContext(ctx aws.Context, input *GetDomainAssociationInput, opts ...request.Option) (*GetDomainAssociationOutput, error)
GetDomainAssociationWithContext is the same as GetDomainAssociation with the addition of the ability to pass a context and additional request options.
See GetDomainAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) GetJob ¶
func (c *Amplify) GetJob(input *GetJobInput) (*GetJobOutput, error)
GetJob API operation for AWS Amplify.
Get a job for a branch, part of an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation GetJob for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob
func (*Amplify) GetJobRequest ¶
func (c *Amplify) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput)
GetJobRequest generates a "aws/request.Request" representing the client's request for the GetJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetJob for more information on using the GetJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetJobRequest method. req, resp := client.GetJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob
func (*Amplify) GetJobWithContext ¶
func (c *Amplify) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error)
GetJobWithContext is the same as GetJob with the addition of the ability to pass a context and additional request options.
See GetJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) ListApps ¶
func (c *Amplify) ListApps(input *ListAppsInput) (*ListAppsOutput, error)
ListApps API operation for AWS Amplify.
Lists existing Amplify Apps.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation ListApps for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps
func (*Amplify) ListAppsRequest ¶
func (c *Amplify) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput)
ListAppsRequest generates a "aws/request.Request" representing the client's request for the ListApps operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListApps for more information on using the ListApps API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAppsRequest method. req, resp := client.ListAppsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps
func (*Amplify) ListAppsWithContext ¶
func (c *Amplify) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error)
ListAppsWithContext is the same as ListApps with the addition of the ability to pass a context and additional request options.
See ListApps for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) ListBranches ¶
func (c *Amplify) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error)
ListBranches API operation for AWS Amplify.
Lists branches for an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation ListBranches for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches
func (*Amplify) ListBranchesRequest ¶
func (c *Amplify) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput)
ListBranchesRequest generates a "aws/request.Request" representing the client's request for the ListBranches operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListBranches for more information on using the ListBranches API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListBranchesRequest method. req, resp := client.ListBranchesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches
func (*Amplify) ListBranchesWithContext ¶
func (c *Amplify) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error)
ListBranchesWithContext is the same as ListBranches with the addition of the ability to pass a context and additional request options.
See ListBranches for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) ListDomainAssociations ¶
func (c *Amplify) ListDomainAssociations(input *ListDomainAssociationsInput) (*ListDomainAssociationsOutput, error)
ListDomainAssociations API operation for AWS Amplify.
List domains with an app ¶
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation ListDomainAssociations for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations
func (*Amplify) ListDomainAssociationsRequest ¶
func (c *Amplify) ListDomainAssociationsRequest(input *ListDomainAssociationsInput) (req *request.Request, output *ListDomainAssociationsOutput)
ListDomainAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListDomainAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListDomainAssociations for more information on using the ListDomainAssociations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListDomainAssociationsRequest method. req, resp := client.ListDomainAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations
func (*Amplify) ListDomainAssociationsWithContext ¶
func (c *Amplify) ListDomainAssociationsWithContext(ctx aws.Context, input *ListDomainAssociationsInput, opts ...request.Option) (*ListDomainAssociationsOutput, error)
ListDomainAssociationsWithContext is the same as ListDomainAssociations with the addition of the ability to pass a context and additional request options.
See ListDomainAssociations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) ListJobs ¶
func (c *Amplify) ListJobs(input *ListJobsInput) (*ListJobsOutput, error)
ListJobs API operation for AWS Amplify.
List Jobs for a branch, part of an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation ListJobs for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs
func (*Amplify) ListJobsRequest ¶
func (c *Amplify) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput)
ListJobsRequest generates a "aws/request.Request" representing the client's request for the ListJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListJobs for more information on using the ListJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListJobsRequest method. req, resp := client.ListJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs
func (*Amplify) ListJobsWithContext ¶
func (c *Amplify) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error)
ListJobsWithContext is the same as ListJobs with the addition of the ability to pass a context and additional request options.
See ListJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) StartJob ¶
func (c *Amplify) StartJob(input *StartJobInput) (*StartJobOutput, error)
StartJob API operation for AWS Amplify.
Starts a new job for a branch, part of an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation StartJob for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob
func (*Amplify) StartJobRequest ¶
func (c *Amplify) StartJobRequest(input *StartJobInput) (req *request.Request, output *StartJobOutput)
StartJobRequest generates a "aws/request.Request" representing the client's request for the StartJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartJob for more information on using the StartJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartJobRequest method. req, resp := client.StartJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob
func (*Amplify) StartJobWithContext ¶
func (c *Amplify) StartJobWithContext(ctx aws.Context, input *StartJobInput, opts ...request.Option) (*StartJobOutput, error)
StartJobWithContext is the same as StartJob with the addition of the ability to pass a context and additional request options.
See StartJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) StopJob ¶
func (c *Amplify) StopJob(input *StopJobInput) (*StopJobOutput, error)
StopJob API operation for AWS Amplify.
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation StopJob for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeLimitExceededException "LimitExceededException" Exception thrown when a resource could not be created because of service limits.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob
func (*Amplify) StopJobRequest ¶
func (c *Amplify) StopJobRequest(input *StopJobInput) (req *request.Request, output *StopJobOutput)
StopJobRequest generates a "aws/request.Request" representing the client's request for the StopJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopJob for more information on using the StopJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopJobRequest method. req, resp := client.StopJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob
func (*Amplify) StopJobWithContext ¶
func (c *Amplify) StopJobWithContext(ctx aws.Context, input *StopJobInput, opts ...request.Option) (*StopJobOutput, error)
StopJobWithContext is the same as StopJob with the addition of the ability to pass a context and additional request options.
See StopJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) UpdateApp ¶
func (c *Amplify) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error)
UpdateApp API operation for AWS Amplify.
Updates an existing Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation UpdateApp for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp
func (*Amplify) UpdateAppRequest ¶
func (c *Amplify) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput)
UpdateAppRequest generates a "aws/request.Request" representing the client's request for the UpdateApp operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateApp for more information on using the UpdateApp API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAppRequest method. req, resp := client.UpdateAppRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp
func (*Amplify) UpdateAppWithContext ¶
func (c *Amplify) UpdateAppWithContext(ctx aws.Context, input *UpdateAppInput, opts ...request.Option) (*UpdateAppOutput, error)
UpdateAppWithContext is the same as UpdateApp with the addition of the ability to pass a context and additional request options.
See UpdateApp for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) UpdateBranch ¶
func (c *Amplify) UpdateBranch(input *UpdateBranchInput) (*UpdateBranchOutput, error)
UpdateBranch API operation for AWS Amplify.
Updates a branch for an Amplify App.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation UpdateBranch for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch
func (*Amplify) UpdateBranchRequest ¶
func (c *Amplify) UpdateBranchRequest(input *UpdateBranchInput) (req *request.Request, output *UpdateBranchOutput)
UpdateBranchRequest generates a "aws/request.Request" representing the client's request for the UpdateBranch operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateBranch for more information on using the UpdateBranch API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateBranchRequest method. req, resp := client.UpdateBranchRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch
func (*Amplify) UpdateBranchWithContext ¶
func (c *Amplify) UpdateBranchWithContext(ctx aws.Context, input *UpdateBranchInput, opts ...request.Option) (*UpdateBranchOutput, error)
UpdateBranchWithContext is the same as UpdateBranch with the addition of the ability to pass a context and additional request options.
See UpdateBranch for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Amplify) UpdateDomainAssociation ¶
func (c *Amplify) UpdateDomainAssociation(input *UpdateDomainAssociationInput) (*UpdateDomainAssociationOutput, error)
UpdateDomainAssociation API operation for AWS Amplify.
Create a new DomainAssociation on an App ¶
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Amplify's API operation UpdateDomainAssociation for usage and error information.
Returned Error Codes:
ErrCodeBadRequestException "BadRequestException" Exception thrown when a request contains unexpected data.
ErrCodeUnauthorizedException "UnauthorizedException" Exception thrown when an operation fails due to a lack of access.
ErrCodeNotFoundException "NotFoundException" Exception thrown when an entity has not been found during an operation.
ErrCodeInternalFailureException "InternalFailureException" Exception thrown when the service fails to perform an operation due to an internal issue.
ErrCodeDependentServiceFailureException "DependentServiceFailureException" Exception thrown when an operation fails due to a dependent service throwing an exception.
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation
func (*Amplify) UpdateDomainAssociationRequest ¶
func (c *Amplify) UpdateDomainAssociationRequest(input *UpdateDomainAssociationInput) (req *request.Request, output *UpdateDomainAssociationOutput)
UpdateDomainAssociationRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDomainAssociation for more information on using the UpdateDomainAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDomainAssociationRequest method. req, resp := client.UpdateDomainAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation
func (*Amplify) UpdateDomainAssociationWithContext ¶
func (c *Amplify) UpdateDomainAssociationWithContext(ctx aws.Context, input *UpdateDomainAssociationInput, opts ...request.Option) (*UpdateDomainAssociationOutput, error)
UpdateDomainAssociationWithContext is the same as UpdateDomainAssociation with the addition of the ability to pass a context and additional request options.
See UpdateDomainAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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" 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 *string `locationName:"platform" type:"string" required:"true" enum:"Platform"` // 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" required:"true"` // contains filtered or unexported fields }
Amplify App represents different branches of a repository for building, deploying, and hosting.
func (*App) SetBasicAuthCredentials ¶
SetBasicAuthCredentials sets the BasicAuthCredentials field's value.
func (*App) SetBuildSpec ¶
SetBuildSpec sets the BuildSpec field's value.
func (*App) SetCreateTime ¶
SetCreateTime sets the CreateTime field's value.
func (*App) SetCustomRules ¶
func (s *App) SetCustomRules(v []*CustomRule) *App
SetCustomRules sets the CustomRules field's value.
func (*App) SetDefaultDomain ¶
SetDefaultDomain sets the DefaultDomain field's value.
func (*App) SetDescription ¶
SetDescription sets the Description field's value.
func (*App) SetEnableBasicAuth ¶
SetEnableBasicAuth sets the EnableBasicAuth field's value.
func (*App) SetEnableBranchAutoBuild ¶
SetEnableBranchAutoBuild sets the EnableBranchAutoBuild field's value.
func (*App) SetEnvironmentVariables ¶
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (*App) SetIamServiceRoleArn ¶
SetIamServiceRoleArn sets the IamServiceRoleArn field's value.
func (*App) SetPlatform ¶
SetPlatform sets the Platform field's value.
func (*App) SetProductionBranch ¶
func (s *App) SetProductionBranch(v *ProductionBranch) *App
SetProductionBranch sets the ProductionBranch field's value.
func (*App) SetRepository ¶
SetRepository sets the Repository field's value.
func (*App) SetUpdateTime ¶
SetUpdateTime sets the UpdateTime field's value.
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" 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 *string `locationName:"stage" type:"string" required:"true" enum:"Stage"` // 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" required:"true"` // contains filtered or unexported fields }
Branch for an Amplify App, which maps to a 3rd party repository branch.
func (*Branch) SetActiveJobId ¶
SetActiveJobId sets the ActiveJobId field's value.
func (*Branch) SetBasicAuthCredentials ¶
SetBasicAuthCredentials sets the BasicAuthCredentials field's value.
func (*Branch) SetBranchArn ¶
SetBranchArn sets the BranchArn field's value.
func (*Branch) SetBranchName ¶
SetBranchName sets the BranchName field's value.
func (*Branch) SetBuildSpec ¶
SetBuildSpec sets the BuildSpec field's value.
func (*Branch) SetCreateTime ¶
SetCreateTime sets the CreateTime field's value.
func (*Branch) SetCustomDomains ¶
SetCustomDomains sets the CustomDomains field's value.
func (*Branch) SetDescription ¶
SetDescription sets the Description field's value.
func (*Branch) SetDisplayName ¶
SetDisplayName sets the DisplayName field's value.
func (*Branch) SetEnableAutoBuild ¶
SetEnableAutoBuild sets the EnableAutoBuild field's value.
func (*Branch) SetEnableBasicAuth ¶
SetEnableBasicAuth sets the EnableBasicAuth field's value.
func (*Branch) SetEnableNotification ¶
SetEnableNotification sets the EnableNotification field's value.
func (*Branch) SetEnvironmentVariables ¶
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (*Branch) SetFramework ¶
SetFramework sets the Framework field's value.
func (*Branch) SetThumbnailUrl ¶
SetThumbnailUrl sets the ThumbnailUrl field's value.
func (*Branch) SetTotalNumberOfJobs ¶
SetTotalNumberOfJobs sets the TotalNumberOfJobs field's value.
func (*Branch) SetUpdateTime ¶
SetUpdateTime sets the UpdateTime field's value.
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 *string `locationName:"platform" type:"string" required:"true" enum:"Platform"` // 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.
func (CreateAppInput) GoString ¶
func (s CreateAppInput) GoString() string
GoString returns the string representation
func (*CreateAppInput) SetBasicAuthCredentials ¶
func (s *CreateAppInput) SetBasicAuthCredentials(v string) *CreateAppInput
SetBasicAuthCredentials sets the BasicAuthCredentials field's value.
func (*CreateAppInput) SetBuildSpec ¶
func (s *CreateAppInput) SetBuildSpec(v string) *CreateAppInput
SetBuildSpec sets the BuildSpec field's value.
func (*CreateAppInput) SetCustomRules ¶
func (s *CreateAppInput) SetCustomRules(v []*CustomRule) *CreateAppInput
SetCustomRules sets the CustomRules field's value.
func (*CreateAppInput) SetDescription ¶
func (s *CreateAppInput) SetDescription(v string) *CreateAppInput
SetDescription sets the Description field's value.
func (*CreateAppInput) SetEnableBasicAuth ¶
func (s *CreateAppInput) SetEnableBasicAuth(v bool) *CreateAppInput
SetEnableBasicAuth sets the EnableBasicAuth field's value.
func (*CreateAppInput) SetEnableBranchAutoBuild ¶
func (s *CreateAppInput) SetEnableBranchAutoBuild(v bool) *CreateAppInput
SetEnableBranchAutoBuild sets the EnableBranchAutoBuild field's value.
func (*CreateAppInput) SetEnvironmentVariables ¶
func (s *CreateAppInput) SetEnvironmentVariables(v map[string]*string) *CreateAppInput
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (*CreateAppInput) SetIamServiceRoleArn ¶
func (s *CreateAppInput) SetIamServiceRoleArn(v string) *CreateAppInput
SetIamServiceRoleArn sets the IamServiceRoleArn field's value.
func (*CreateAppInput) SetName ¶
func (s *CreateAppInput) SetName(v string) *CreateAppInput
SetName sets the Name field's value.
func (*CreateAppInput) SetOauthToken ¶
func (s *CreateAppInput) SetOauthToken(v string) *CreateAppInput
SetOauthToken sets the OauthToken field's value.
func (*CreateAppInput) SetPlatform ¶
func (s *CreateAppInput) SetPlatform(v string) *CreateAppInput
SetPlatform sets the Platform field's value.
func (*CreateAppInput) SetRepository ¶
func (s *CreateAppInput) SetRepository(v string) *CreateAppInput
SetRepository sets the Repository field's value.
func (*CreateAppInput) SetTags ¶
func (s *CreateAppInput) SetTags(v map[string]*string) *CreateAppInput
SetTags sets the Tags field's value.
func (CreateAppInput) String ¶
func (s CreateAppInput) String() string
String returns the string representation
func (*CreateAppInput) Validate ¶
func (s *CreateAppInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAppOutput ¶
type CreateAppOutput struct { // Amplify App represents different branches of a repository for building, deploying, // and hosting. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateAppOutput) GoString ¶
func (s CreateAppOutput) GoString() string
GoString returns the string representation
func (*CreateAppOutput) SetApp ¶
func (s *CreateAppOutput) SetApp(v *App) *CreateAppOutput
SetApp sets the App field's value.
func (CreateAppOutput) String ¶
func (s CreateAppOutput) String() string
String returns the string representation
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 *string `locationName:"stage" type:"string" enum:"Stage"` // 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.
func (CreateBranchInput) GoString ¶
func (s CreateBranchInput) GoString() string
GoString returns the string representation
func (*CreateBranchInput) SetAppId ¶
func (s *CreateBranchInput) SetAppId(v string) *CreateBranchInput
SetAppId sets the AppId field's value.
func (*CreateBranchInput) SetBasicAuthCredentials ¶
func (s *CreateBranchInput) SetBasicAuthCredentials(v string) *CreateBranchInput
SetBasicAuthCredentials sets the BasicAuthCredentials field's value.
func (*CreateBranchInput) SetBranchName ¶
func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput
SetBranchName sets the BranchName field's value.
func (*CreateBranchInput) SetBuildSpec ¶
func (s *CreateBranchInput) SetBuildSpec(v string) *CreateBranchInput
SetBuildSpec sets the BuildSpec field's value.
func (*CreateBranchInput) SetDescription ¶
func (s *CreateBranchInput) SetDescription(v string) *CreateBranchInput
SetDescription sets the Description field's value.
func (*CreateBranchInput) SetEnableAutoBuild ¶
func (s *CreateBranchInput) SetEnableAutoBuild(v bool) *CreateBranchInput
SetEnableAutoBuild sets the EnableAutoBuild field's value.
func (*CreateBranchInput) SetEnableBasicAuth ¶
func (s *CreateBranchInput) SetEnableBasicAuth(v bool) *CreateBranchInput
SetEnableBasicAuth sets the EnableBasicAuth field's value.
func (*CreateBranchInput) SetEnableNotification ¶
func (s *CreateBranchInput) SetEnableNotification(v bool) *CreateBranchInput
SetEnableNotification sets the EnableNotification field's value.
func (*CreateBranchInput) SetEnvironmentVariables ¶
func (s *CreateBranchInput) SetEnvironmentVariables(v map[string]*string) *CreateBranchInput
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (*CreateBranchInput) SetFramework ¶
func (s *CreateBranchInput) SetFramework(v string) *CreateBranchInput
SetFramework sets the Framework field's value.
func (*CreateBranchInput) SetStage ¶
func (s *CreateBranchInput) SetStage(v string) *CreateBranchInput
SetStage sets the Stage field's value.
func (*CreateBranchInput) SetTags ¶
func (s *CreateBranchInput) SetTags(v map[string]*string) *CreateBranchInput
SetTags sets the Tags field's value.
func (*CreateBranchInput) SetTtl ¶
func (s *CreateBranchInput) SetTtl(v string) *CreateBranchInput
SetTtl sets the Ttl field's value.
func (CreateBranchInput) String ¶
func (s CreateBranchInput) String() string
String returns the string representation
func (*CreateBranchInput) Validate ¶
func (s *CreateBranchInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBranchOutput ¶
type CreateBranchOutput struct { // Branch structure for an Amplify App. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for create branch request.
func (CreateBranchOutput) GoString ¶
func (s CreateBranchOutput) GoString() string
GoString returns the string representation
func (*CreateBranchOutput) SetBranch ¶
func (s *CreateBranchOutput) SetBranch(v *Branch) *CreateBranchOutput
SetBranch sets the Branch field's value.
func (CreateBranchOutput) String ¶
func (s CreateBranchOutput) String() string
String returns the string representation
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.
func (CreateDomainAssociationInput) GoString ¶
func (s CreateDomainAssociationInput) GoString() string
GoString returns the string representation
func (*CreateDomainAssociationInput) SetAppId ¶
func (s *CreateDomainAssociationInput) SetAppId(v string) *CreateDomainAssociationInput
SetAppId sets the AppId field's value.
func (*CreateDomainAssociationInput) SetDomainName ¶
func (s *CreateDomainAssociationInput) SetDomainName(v string) *CreateDomainAssociationInput
SetDomainName sets the DomainName field's value.
func (*CreateDomainAssociationInput) SetEnableAutoSubDomain ¶
func (s *CreateDomainAssociationInput) SetEnableAutoSubDomain(v bool) *CreateDomainAssociationInput
SetEnableAutoSubDomain sets the EnableAutoSubDomain field's value.
func (*CreateDomainAssociationInput) SetSubDomainSettings ¶
func (s *CreateDomainAssociationInput) SetSubDomainSettings(v []*SubDomainSetting) *CreateDomainAssociationInput
SetSubDomainSettings sets the SubDomainSettings field's value.
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.
func (CreateDomainAssociationOutput) GoString ¶
func (s CreateDomainAssociationOutput) GoString() string
GoString returns the string representation
func (*CreateDomainAssociationOutput) SetDomainAssociation ¶
func (s *CreateDomainAssociationOutput) SetDomainAssociation(v *DomainAssociation) *CreateDomainAssociationOutput
SetDomainAssociation sets the DomainAssociation field's value.
func (CreateDomainAssociationOutput) String ¶
func (s CreateDomainAssociationOutput) String() string
String returns the string representation
type CustomRule ¶
type CustomRule struct { // The condition for a URL rewrite or redirect rule, e.g. country code. Condition *string `locationName:"condition" min:"1" type:"string"` // The source pattern for a URL rewrite or redirect rule. // // Source is a required field Source *string `locationName:"source" min:"1" type:"string" required:"true"` // The status code for a URL rewrite or redirect rule. Status *string `locationName:"status" min:"3" type:"string"` // The target pattern for a URL rewrite or redirect rule. // // Target is a required field Target *string `locationName:"target" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Custom rewrite / redirect rule.
func (CustomRule) GoString ¶
func (s CustomRule) GoString() string
GoString returns the string representation
func (*CustomRule) SetCondition ¶
func (s *CustomRule) SetCondition(v string) *CustomRule
SetCondition sets the Condition field's value.
func (*CustomRule) SetSource ¶
func (s *CustomRule) SetSource(v string) *CustomRule
SetSource sets the Source field's value.
func (*CustomRule) SetStatus ¶
func (s *CustomRule) SetStatus(v string) *CustomRule
SetStatus sets the Status field's value.
func (*CustomRule) SetTarget ¶
func (s *CustomRule) SetTarget(v string) *CustomRule
SetTarget sets the Target field's value.
func (CustomRule) String ¶
func (s CustomRule) String() string
String returns the string representation
func (*CustomRule) Validate ¶
func (s *CustomRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAppInput ¶
type DeleteAppInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for an Amplify App delete request.
func (DeleteAppInput) GoString ¶
func (s DeleteAppInput) GoString() string
GoString returns the string representation
func (*DeleteAppInput) SetAppId ¶
func (s *DeleteAppInput) SetAppId(v string) *DeleteAppInput
SetAppId sets the AppId field's value.
func (DeleteAppInput) String ¶
func (s DeleteAppInput) String() string
String returns the string representation
func (*DeleteAppInput) Validate ¶
func (s *DeleteAppInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAppOutput ¶
type DeleteAppOutput struct { // Amplify App represents different branches of a repository for building, deploying, // and hosting. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for an Amplify App delete request.
func (DeleteAppOutput) GoString ¶
func (s DeleteAppOutput) GoString() string
GoString returns the string representation
func (*DeleteAppOutput) SetApp ¶
func (s *DeleteAppOutput) SetApp(v *App) *DeleteAppOutput
SetApp sets the App field's value.
func (DeleteAppOutput) String ¶
func (s DeleteAppOutput) String() string
String returns the string representation
type DeleteBranchInput ¶
type DeleteBranchInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for delete branch request.
func (DeleteBranchInput) GoString ¶
func (s DeleteBranchInput) GoString() string
GoString returns the string representation
func (*DeleteBranchInput) SetAppId ¶
func (s *DeleteBranchInput) SetAppId(v string) *DeleteBranchInput
SetAppId sets the AppId field's value.
func (*DeleteBranchInput) SetBranchName ¶
func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput
SetBranchName sets the BranchName field's value.
func (DeleteBranchInput) String ¶
func (s DeleteBranchInput) String() string
String returns the string representation
func (*DeleteBranchInput) Validate ¶
func (s *DeleteBranchInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBranchOutput ¶
type DeleteBranchOutput struct { // Branch structure for an Amplify App. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for delete branch request.
func (DeleteBranchOutput) GoString ¶
func (s DeleteBranchOutput) GoString() string
GoString returns the string representation
func (*DeleteBranchOutput) SetBranch ¶
func (s *DeleteBranchOutput) SetBranch(v *Branch) *DeleteBranchOutput
SetBranch sets the Branch field's value.
func (DeleteBranchOutput) String ¶
func (s DeleteBranchOutput) String() string
String returns the string representation
type DeleteDomainAssociationInput ¶
type DeleteDomainAssociationInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for the delete Domain Association request.
func (DeleteDomainAssociationInput) GoString ¶
func (s DeleteDomainAssociationInput) GoString() string
GoString returns the string representation
func (*DeleteDomainAssociationInput) SetAppId ¶
func (s *DeleteDomainAssociationInput) SetAppId(v string) *DeleteDomainAssociationInput
SetAppId sets the AppId field's value.
func (*DeleteDomainAssociationInput) SetDomainName ¶
func (s *DeleteDomainAssociationInput) SetDomainName(v string) *DeleteDomainAssociationInput
SetDomainName sets the DomainName field's value.
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 }
func (DeleteDomainAssociationOutput) GoString ¶
func (s DeleteDomainAssociationOutput) GoString() string
GoString returns the string representation
func (*DeleteDomainAssociationOutput) SetDomainAssociation ¶
func (s *DeleteDomainAssociationOutput) SetDomainAssociation(v *DomainAssociation) *DeleteDomainAssociationOutput
SetDomainAssociation sets the DomainAssociation field's value.
func (DeleteDomainAssociationOutput) String ¶
func (s DeleteDomainAssociationOutput) String() string
String returns the string representation
type DeleteJobInput ¶
type DeleteJobInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch, for the Job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Unique Id for the Job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for delete job request.
func (DeleteJobInput) GoString ¶
func (s DeleteJobInput) GoString() string
GoString returns the string representation
func (*DeleteJobInput) SetAppId ¶
func (s *DeleteJobInput) SetAppId(v string) *DeleteJobInput
SetAppId sets the AppId field's value.
func (*DeleteJobInput) SetBranchName ¶
func (s *DeleteJobInput) SetBranchName(v string) *DeleteJobInput
SetBranchName sets the BranchName field's value.
func (*DeleteJobInput) SetJobId ¶
func (s *DeleteJobInput) SetJobId(v string) *DeleteJobInput
SetJobId sets the JobId field's value.
func (DeleteJobInput) String ¶
func (s DeleteJobInput) String() string
String returns the string representation
func (*DeleteJobInput) Validate ¶
func (s *DeleteJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteJobOutput ¶
type DeleteJobOutput struct { // Structure for the summary of a Job. // // JobSummary is a required field JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for the delete job request.
func (DeleteJobOutput) GoString ¶
func (s DeleteJobOutput) GoString() string
GoString returns the string representation
func (*DeleteJobOutput) SetJobSummary ¶
func (s *DeleteJobOutput) SetJobSummary(v *JobSummary) *DeleteJobOutput
SetJobSummary sets the JobSummary field's value.
func (DeleteJobOutput) String ¶
func (s DeleteJobOutput) String() string
String returns the string representation
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 *string `locationName:"domainStatus" type:"string" required:"true" enum:"DomainStatus"` // 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.
func (DomainAssociation) GoString ¶
func (s DomainAssociation) GoString() string
GoString returns the string representation
func (*DomainAssociation) SetCertificateVerificationDNSRecord ¶
func (s *DomainAssociation) SetCertificateVerificationDNSRecord(v string) *DomainAssociation
SetCertificateVerificationDNSRecord sets the CertificateVerificationDNSRecord field's value.
func (*DomainAssociation) SetDomainAssociationArn ¶
func (s *DomainAssociation) SetDomainAssociationArn(v string) *DomainAssociation
SetDomainAssociationArn sets the DomainAssociationArn field's value.
func (*DomainAssociation) SetDomainName ¶
func (s *DomainAssociation) SetDomainName(v string) *DomainAssociation
SetDomainName sets the DomainName field's value.
func (*DomainAssociation) SetDomainStatus ¶
func (s *DomainAssociation) SetDomainStatus(v string) *DomainAssociation
SetDomainStatus sets the DomainStatus field's value.
func (*DomainAssociation) SetEnableAutoSubDomain ¶
func (s *DomainAssociation) SetEnableAutoSubDomain(v bool) *DomainAssociation
SetEnableAutoSubDomain sets the EnableAutoSubDomain field's value.
func (*DomainAssociation) SetStatusReason ¶
func (s *DomainAssociation) SetStatusReason(v string) *DomainAssociation
SetStatusReason sets the StatusReason field's value.
func (*DomainAssociation) SetSubDomains ¶
func (s *DomainAssociation) SetSubDomains(v []*SubDomain) *DomainAssociation
SetSubDomains sets the SubDomains field's value.
func (DomainAssociation) String ¶
func (s DomainAssociation) String() string
String returns the string representation
type GetAppInput ¶
type GetAppInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for get App request.
func (GetAppInput) GoString ¶
func (s GetAppInput) GoString() string
GoString returns the string representation
func (*GetAppInput) SetAppId ¶
func (s *GetAppInput) SetAppId(v string) *GetAppInput
SetAppId sets the AppId field's value.
func (GetAppInput) String ¶
func (s GetAppInput) String() string
String returns the string representation
func (*GetAppInput) Validate ¶
func (s *GetAppInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAppOutput ¶
type GetAppOutput struct { // Amplify App represents different branches of a repository for building, deploying, // and hosting. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetAppOutput) GoString ¶
func (s GetAppOutput) GoString() string
GoString returns the string representation
func (*GetAppOutput) SetApp ¶
func (s *GetAppOutput) SetApp(v *App) *GetAppOutput
SetApp sets the App field's value.
func (GetAppOutput) String ¶
func (s GetAppOutput) String() string
String returns the string representation
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.
func (GetBranchInput) GoString ¶
func (s GetBranchInput) GoString() string
GoString returns the string representation
func (*GetBranchInput) SetAppId ¶
func (s *GetBranchInput) SetAppId(v string) *GetBranchInput
SetAppId sets the AppId field's value.
func (*GetBranchInput) SetBranchName ¶
func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput
SetBranchName sets the BranchName field's value.
func (GetBranchInput) String ¶
func (s GetBranchInput) String() string
String returns the string representation
func (*GetBranchInput) Validate ¶
func (s *GetBranchInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetBranchOutput ¶
type GetBranchOutput struct { // Branch for an Amplify App, which maps to a 3rd party repository branch. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetBranchOutput) GoString ¶
func (s GetBranchOutput) GoString() string
GoString returns the string representation
func (*GetBranchOutput) SetBranch ¶
func (s *GetBranchOutput) SetBranch(v *Branch) *GetBranchOutput
SetBranch sets the Branch field's value.
func (GetBranchOutput) String ¶
func (s GetBranchOutput) String() string
String returns the string representation
type GetDomainAssociationInput ¶
type GetDomainAssociationInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for the get Domain Association request.
func (GetDomainAssociationInput) GoString ¶
func (s GetDomainAssociationInput) GoString() string
GoString returns the string representation
func (*GetDomainAssociationInput) SetAppId ¶
func (s *GetDomainAssociationInput) SetAppId(v string) *GetDomainAssociationInput
SetAppId sets the AppId field's value.
func (*GetDomainAssociationInput) SetDomainName ¶
func (s *GetDomainAssociationInput) SetDomainName(v string) *GetDomainAssociationInput
SetDomainName sets the DomainName field's value.
func (GetDomainAssociationInput) String ¶
func (s GetDomainAssociationInput) String() string
String returns the string representation
func (*GetDomainAssociationInput) Validate ¶
func (s *GetDomainAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDomainAssociationOutput ¶
type GetDomainAssociationOutput struct { // Domain Association structure. // // DomainAssociation is a required field DomainAssociation *DomainAssociation `locationName:"domainAssociation" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for the get Domain Association request.
func (GetDomainAssociationOutput) GoString ¶
func (s GetDomainAssociationOutput) GoString() string
GoString returns the string representation
func (*GetDomainAssociationOutput) SetDomainAssociation ¶
func (s *GetDomainAssociationOutput) SetDomainAssociation(v *DomainAssociation) *GetDomainAssociationOutput
SetDomainAssociation sets the DomainAssociation field's value.
func (GetDomainAssociationOutput) String ¶
func (s GetDomainAssociationOutput) String() string
String returns the string representation
type GetJobInput ¶
type GetJobInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch, for the Job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Unique Id for the Job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for get job request.
func (GetJobInput) GoString ¶
func (s GetJobInput) GoString() string
GoString returns the string representation
func (*GetJobInput) SetAppId ¶
func (s *GetJobInput) SetAppId(v string) *GetJobInput
SetAppId sets the AppId field's value.
func (*GetJobInput) SetBranchName ¶
func (s *GetJobInput) SetBranchName(v string) *GetJobInput
SetBranchName sets the BranchName field's value.
func (*GetJobInput) SetJobId ¶
func (s *GetJobInput) SetJobId(v string) *GetJobInput
SetJobId sets the JobId field's value.
func (GetJobInput) String ¶
func (s GetJobInput) String() string
String returns the string representation
func (*GetJobInput) Validate ¶
func (s *GetJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetJobOutput ¶
type GetJobOutput struct { // Structure for an execution job for an Amplify App. // // Job is a required field Job *Job `locationName:"job" type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetJobOutput) GoString ¶
func (s GetJobOutput) GoString() string
GoString returns the string representation
func (*GetJobOutput) SetJob ¶
func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput
SetJob sets the Job field's value.
func (GetJobOutput) String ¶
func (s GetJobOutput) String() string
String returns the string representation
type Job ¶
type Job struct { // Execution steps for an execution job, for an Amplify App. // // Steps is a required field Steps []*Step `locationName:"steps" type:"list" required:"true"` // Summary for an execution job for an Amplify App. // // Summary is a required field Summary *JobSummary `locationName:"summary" type:"structure" required:"true"` // contains filtered or unexported fields }
Structure for an execution job for an Amplify App.
func (*Job) SetSummary ¶
func (s *Job) SetSummary(v *JobSummary) *Job
SetSummary sets the Summary field's value.
type JobSummary ¶
type JobSummary struct { // Commit Id from 3rd party repository provider for the Job. // // CommitId is a required field CommitId *string `locationName:"commitId" type:"string" required:"true"` // Commit message from 3rd party repository provider for the Job. // // CommitMessage is a required field CommitMessage *string `locationName:"commitMessage" type:"string" required:"true"` // Commit date / time for the Job. // // CommitTime is a required field CommitTime *time.Time `locationName:"commitTime" type:"timestamp" required:"true"` // End date / time for the Job. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // Arn for the Job. // // JobArn is a required field JobArn *string `locationName:"jobArn" type:"string" required:"true"` // Unique Id for the Job. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // Type for the Job. // // JobType is a required field JobType *string `locationName:"jobType" type:"string" required:"true" enum:"JobType"` // Start date / time for the Job. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` // Status for the Job. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` // contains filtered or unexported fields }
Structure for the summary of a Job.
func (JobSummary) GoString ¶
func (s JobSummary) GoString() string
GoString returns the string representation
func (*JobSummary) SetCommitId ¶
func (s *JobSummary) SetCommitId(v string) *JobSummary
SetCommitId sets the CommitId field's value.
func (*JobSummary) SetCommitMessage ¶
func (s *JobSummary) SetCommitMessage(v string) *JobSummary
SetCommitMessage sets the CommitMessage field's value.
func (*JobSummary) SetCommitTime ¶
func (s *JobSummary) SetCommitTime(v time.Time) *JobSummary
SetCommitTime sets the CommitTime field's value.
func (*JobSummary) SetEndTime ¶
func (s *JobSummary) SetEndTime(v time.Time) *JobSummary
SetEndTime sets the EndTime field's value.
func (*JobSummary) SetJobArn ¶
func (s *JobSummary) SetJobArn(v string) *JobSummary
SetJobArn sets the JobArn field's value.
func (*JobSummary) SetJobId ¶
func (s *JobSummary) SetJobId(v string) *JobSummary
SetJobId sets the JobId field's value.
func (*JobSummary) SetJobType ¶
func (s *JobSummary) SetJobType(v string) *JobSummary
SetJobType sets the JobType field's value.
func (*JobSummary) SetStartTime ¶
func (s *JobSummary) SetStartTime(v time.Time) *JobSummary
SetStartTime sets the StartTime field's value.
func (*JobSummary) SetStatus ¶
func (s *JobSummary) SetStatus(v string) *JobSummary
SetStatus sets the Status field's value.
func (JobSummary) String ¶
func (s JobSummary) String() string
String returns the string representation
type ListAppsInput ¶
type ListAppsInput struct { // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token. If non-null pagination token is returned in a result, then // pass its value in another request to fetch more entries. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure for an Amplify App list request.
func (ListAppsInput) GoString ¶
func (s ListAppsInput) GoString() string
GoString returns the string representation
func (*ListAppsInput) SetMaxResults ¶
func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput
SetMaxResults sets the MaxResults field's value.
func (*ListAppsInput) SetNextToken ¶
func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput
SetNextToken sets the NextToken field's value.
func (ListAppsInput) String ¶
func (s ListAppsInput) String() string
String returns the string representation
func (*ListAppsInput) Validate ¶
func (s *ListAppsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAppsOutput ¶
type ListAppsOutput struct { // List of Amplify Apps. // // Apps is a required field Apps []*App `locationName:"apps" type:"list" required:"true"` // Pagination token. Set to null to start listing Apps from start. If non-null // pagination token is returned in a result, then pass its value in here to // list more projects. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Result structure for an Amplify App list request.
func (ListAppsOutput) GoString ¶
func (s ListAppsOutput) GoString() string
GoString returns the string representation
func (*ListAppsOutput) SetApps ¶
func (s *ListAppsOutput) SetApps(v []*App) *ListAppsOutput
SetApps sets the Apps field's value.
func (*ListAppsOutput) SetNextToken ¶
func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput
SetNextToken sets the NextToken field's value.
func (ListAppsOutput) String ¶
func (s ListAppsOutput) String() string
String returns the string representation
type ListBranchesInput ¶
type ListBranchesInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token. Set to null to start listing branches from start. If a // non-null pagination token is returned in a result, then pass its value in // here to list more branches. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure for list branches request.
func (ListBranchesInput) GoString ¶
func (s ListBranchesInput) GoString() string
GoString returns the string representation
func (*ListBranchesInput) SetAppId ¶
func (s *ListBranchesInput) SetAppId(v string) *ListBranchesInput
SetAppId sets the AppId field's value.
func (*ListBranchesInput) SetMaxResults ¶
func (s *ListBranchesInput) SetMaxResults(v int64) *ListBranchesInput
SetMaxResults sets the MaxResults field's value.
func (*ListBranchesInput) SetNextToken ¶
func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput
SetNextToken sets the NextToken field's value.
func (ListBranchesInput) String ¶
func (s ListBranchesInput) String() string
String returns the string representation
func (*ListBranchesInput) Validate ¶
func (s *ListBranchesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBranchesOutput ¶
type ListBranchesOutput struct { // List of branches for an Amplify App. // // Branches is a required field Branches []*Branch `locationName:"branches" type:"list" required:"true"` // Pagination token. If non-null pagination token is returned in a result, then // pass its value in another request to fetch more entries. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Result structure for list branches request.
func (ListBranchesOutput) GoString ¶
func (s ListBranchesOutput) GoString() string
GoString returns the string representation
func (*ListBranchesOutput) SetBranches ¶
func (s *ListBranchesOutput) SetBranches(v []*Branch) *ListBranchesOutput
SetBranches sets the Branches field's value.
func (*ListBranchesOutput) SetNextToken ¶
func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput
SetNextToken sets the NextToken field's value.
func (ListBranchesOutput) String ¶
func (s ListBranchesOutput) String() string
String returns the string representation
type ListDomainAssociationsInput ¶
type ListDomainAssociationsInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token. Set to null to start listing Apps from start. If non-null // pagination token is returned in a result, then pass its value in here to // list more projects. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure for the list Domain Associations request.
func (ListDomainAssociationsInput) GoString ¶
func (s ListDomainAssociationsInput) GoString() string
GoString returns the string representation
func (*ListDomainAssociationsInput) SetAppId ¶
func (s *ListDomainAssociationsInput) SetAppId(v string) *ListDomainAssociationsInput
SetAppId sets the AppId field's value.
func (*ListDomainAssociationsInput) SetMaxResults ¶
func (s *ListDomainAssociationsInput) SetMaxResults(v int64) *ListDomainAssociationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListDomainAssociationsInput) SetNextToken ¶
func (s *ListDomainAssociationsInput) SetNextToken(v string) *ListDomainAssociationsInput
SetNextToken sets the NextToken field's value.
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.
func (ListDomainAssociationsOutput) GoString ¶
func (s ListDomainAssociationsOutput) GoString() string
GoString returns the string representation
func (*ListDomainAssociationsOutput) SetDomainAssociations ¶
func (s *ListDomainAssociationsOutput) SetDomainAssociations(v []*DomainAssociation) *ListDomainAssociationsOutput
SetDomainAssociations sets the DomainAssociations field's value.
func (*ListDomainAssociationsOutput) SetNextToken ¶
func (s *ListDomainAssociationsOutput) SetNextToken(v string) *ListDomainAssociationsOutput
SetNextToken sets the NextToken field's value.
func (ListDomainAssociationsOutput) String ¶
func (s ListDomainAssociationsOutput) String() string
String returns the string representation
type ListJobsInput ¶
type ListJobsInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for a branch. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token. Set to null to start listing steps from start. If a non-null // pagination token is returned in a result, then pass its value in here to // list more steps. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure for list job request.
func (ListJobsInput) GoString ¶
func (s ListJobsInput) GoString() string
GoString returns the string representation
func (*ListJobsInput) SetAppId ¶
func (s *ListJobsInput) SetAppId(v string) *ListJobsInput
SetAppId sets the AppId field's value.
func (*ListJobsInput) SetBranchName ¶
func (s *ListJobsInput) SetBranchName(v string) *ListJobsInput
SetBranchName sets the BranchName field's value.
func (*ListJobsInput) SetMaxResults ¶
func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListJobsInput) SetNextToken ¶
func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput
SetNextToken sets the NextToken field's value.
func (ListJobsInput) String ¶
func (s ListJobsInput) String() string
String returns the string representation
func (*ListJobsInput) Validate ¶
func (s *ListJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListJobsOutput ¶
type ListJobsOutput struct { // Result structure for list job result request. // // JobSummaries is a required field JobSummaries []*JobSummary `locationName:"jobSummaries" type:"list" required:"true"` // Pagination token. If non-null pagination token is returned in a result, then // pass its value in another request to fetch more entries. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Maximum number of records to list in a single response.
func (ListJobsOutput) GoString ¶
func (s ListJobsOutput) GoString() string
GoString returns the string representation
func (*ListJobsOutput) SetJobSummaries ¶
func (s *ListJobsOutput) SetJobSummaries(v []*JobSummary) *ListJobsOutput
SetJobSummaries sets the JobSummaries field's value.
func (*ListJobsOutput) SetNextToken ¶
func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput
SetNextToken sets the NextToken field's value.
func (ListJobsOutput) String ¶
func (s ListJobsOutput) String() string
String returns the string representation
type ProductionBranch ¶
type ProductionBranch struct { // Branch Name for Production Branch. BranchName *string `locationName:"branchName" min:"1" type:"string"` // Last Deploy Time of Production Branch. LastDeployTime *time.Time `locationName:"lastDeployTime" type:"timestamp"` // Status of Production Branch. Status *string `locationName:"status" min:"3" type:"string"` // Thumbnail Url for Production Branch. ThumbnailUrl *string `locationName:"thumbnailUrl" min:"1" type:"string"` // contains filtered or unexported fields }
Structure with Production Branch information.
func (ProductionBranch) GoString ¶
func (s ProductionBranch) GoString() string
GoString returns the string representation
func (*ProductionBranch) SetBranchName ¶
func (s *ProductionBranch) SetBranchName(v string) *ProductionBranch
SetBranchName sets the BranchName field's value.
func (*ProductionBranch) SetLastDeployTime ¶
func (s *ProductionBranch) SetLastDeployTime(v time.Time) *ProductionBranch
SetLastDeployTime sets the LastDeployTime field's value.
func (*ProductionBranch) SetStatus ¶
func (s *ProductionBranch) SetStatus(v string) *ProductionBranch
SetStatus sets the Status field's value.
func (*ProductionBranch) SetThumbnailUrl ¶
func (s *ProductionBranch) SetThumbnailUrl(v string) *ProductionBranch
SetThumbnailUrl sets the ThumbnailUrl field's value.
func (ProductionBranch) String ¶
func (s ProductionBranch) String() string
String returns the string representation
type StartJobInput ¶
type StartJobInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch, for the Job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Commit Id from 3rd party repository provider for the Job. CommitId *string `locationName:"commitId" type:"string"` // Commit message from 3rd party repository provider for the Job. CommitMessage *string `locationName:"commitMessage" type:"string"` // Commit date / time for the Job. CommitTime *time.Time `locationName:"commitTime" type:"timestamp"` // Unique Id for 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 *string `locationName:"jobType" type:"string" required:"true" enum:"JobType"` // contains filtered or unexported fields }
Request structure for Start job request.
func (StartJobInput) GoString ¶
func (s StartJobInput) GoString() string
GoString returns the string representation
func (*StartJobInput) SetAppId ¶
func (s *StartJobInput) SetAppId(v string) *StartJobInput
SetAppId sets the AppId field's value.
func (*StartJobInput) SetBranchName ¶
func (s *StartJobInput) SetBranchName(v string) *StartJobInput
SetBranchName sets the BranchName field's value.
func (*StartJobInput) SetCommitId ¶
func (s *StartJobInput) SetCommitId(v string) *StartJobInput
SetCommitId sets the CommitId field's value.
func (*StartJobInput) SetCommitMessage ¶
func (s *StartJobInput) SetCommitMessage(v string) *StartJobInput
SetCommitMessage sets the CommitMessage field's value.
func (*StartJobInput) SetCommitTime ¶
func (s *StartJobInput) SetCommitTime(v time.Time) *StartJobInput
SetCommitTime sets the CommitTime field's value.
func (*StartJobInput) SetJobId ¶
func (s *StartJobInput) SetJobId(v string) *StartJobInput
SetJobId sets the JobId field's value.
func (*StartJobInput) SetJobReason ¶
func (s *StartJobInput) SetJobReason(v string) *StartJobInput
SetJobReason sets the JobReason field's value.
func (*StartJobInput) SetJobType ¶
func (s *StartJobInput) SetJobType(v string) *StartJobInput
SetJobType sets the JobType field's value.
func (StartJobInput) String ¶
func (s StartJobInput) String() string
String returns the string representation
func (*StartJobInput) Validate ¶
func (s *StartJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartJobOutput ¶
type StartJobOutput struct { // Summary for the Job. // // JobSummary is a required field JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for run job request.
func (StartJobOutput) GoString ¶
func (s StartJobOutput) GoString() string
GoString returns the string representation
func (*StartJobOutput) SetJobSummary ¶
func (s *StartJobOutput) SetJobSummary(v *JobSummary) *StartJobOutput
SetJobSummary sets the JobSummary field's value.
func (StartJobOutput) String ¶
func (s StartJobOutput) String() string
String returns the string representation
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" required:"true"` // Url to the logs for the execution step. LogUrl *string `locationName:"logUrl" type:"string"` // List of screenshot Urls for the execution step, if relevant. Screenshots map[string]*string `locationName:"screenshots" type:"map"` // Start date/ time of the execution step. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` // Status of the execution step. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` // 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.
func (*Step) SetArtifactsUrl ¶
SetArtifactsUrl sets the ArtifactsUrl field's value.
func (*Step) SetEndTime ¶
SetEndTime sets the EndTime field's value.
func (*Step) SetScreenshots ¶
SetScreenshots sets the Screenshots field's value.
func (*Step) SetStartTime ¶
SetStartTime sets the StartTime field's value.
func (*Step) SetStepName ¶
SetStepName sets the StepName field's value.
type StopJobInput ¶
type StopJobInput struct { // Unique Id for an Amplify App. // // AppId is a required field AppId *string `location:"uri" locationName:"appId" min:"1" type:"string" required:"true"` // Name for the branch, for the Job. // // BranchName is a required field BranchName *string `location:"uri" locationName:"branchName" min:"1" type:"string" required:"true"` // Unique Id for the Job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure for stop job request.
func (StopJobInput) GoString ¶
func (s StopJobInput) GoString() string
GoString returns the string representation
func (*StopJobInput) SetAppId ¶
func (s *StopJobInput) SetAppId(v string) *StopJobInput
SetAppId sets the AppId field's value.
func (*StopJobInput) SetBranchName ¶
func (s *StopJobInput) SetBranchName(v string) *StopJobInput
SetBranchName sets the BranchName field's value.
func (*StopJobInput) SetJobId ¶
func (s *StopJobInput) SetJobId(v string) *StopJobInput
SetJobId sets the JobId field's value.
func (StopJobInput) String ¶
func (s StopJobInput) String() string
String returns the string representation
func (*StopJobInput) Validate ¶
func (s *StopJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopJobOutput ¶
type StopJobOutput struct { // Summary for the Job. // // JobSummary is a required field JobSummary *JobSummary `locationName:"jobSummary" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for the stop job request.
func (StopJobOutput) GoString ¶
func (s StopJobOutput) GoString() string
GoString returns the string representation
func (*StopJobOutput) SetJobSummary ¶
func (s *StopJobOutput) SetJobSummary(v *JobSummary) *StopJobOutput
SetJobSummary sets the JobSummary field's value.
func (StopJobOutput) String ¶
func (s StopJobOutput) String() string
String returns the string representation
type SubDomain ¶
type SubDomain struct { // DNS record for the Subdomain. // // DnsRecord is a required field DnsRecord *string `locationName:"dnsRecord" type:"string" required:"true"` // Setting structure for the Subdomain. // // SubDomainSetting is a required field SubDomainSetting *SubDomainSetting `locationName:"subDomainSetting" type:"structure" required:"true"` // Verified status of the Subdomain // // Verified is a required field Verified *bool `locationName:"verified" type:"boolean" required:"true"` // contains filtered or unexported fields }
Subdomain for the Domain Association.
func (*SubDomain) SetDnsRecord ¶
SetDnsRecord sets the DnsRecord field's value.
func (*SubDomain) SetSubDomainSetting ¶
func (s *SubDomain) SetSubDomainSetting(v *SubDomainSetting) *SubDomain
SetSubDomainSetting sets the SubDomainSetting field's value.
func (*SubDomain) SetVerified ¶
SetVerified sets the Verified field's value.
type SubDomainSetting ¶
type SubDomainSetting struct { // Branch name setting for the Subdomain. // // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` // Prefix setting for the Subdomain. // // Prefix is a required field Prefix *string `locationName:"prefix" type:"string" required:"true"` // contains filtered or unexported fields }
Setting for the Subdomain.
func (SubDomainSetting) GoString ¶
func (s SubDomainSetting) GoString() string
GoString returns the string representation
func (*SubDomainSetting) SetBranchName ¶
func (s *SubDomainSetting) SetBranchName(v string) *SubDomainSetting
SetBranchName sets the BranchName field's value.
func (*SubDomainSetting) SetPrefix ¶
func (s *SubDomainSetting) SetPrefix(v string) *SubDomainSetting
SetPrefix sets the Prefix field's value.
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 *string `locationName:"platform" type:"string" enum:"Platform"` // contains filtered or unexported fields }
Request structure for update App request.
func (UpdateAppInput) GoString ¶
func (s UpdateAppInput) GoString() string
GoString returns the string representation
func (*UpdateAppInput) SetAppId ¶
func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput
SetAppId sets the AppId field's value.
func (*UpdateAppInput) SetBasicAuthCredentials ¶
func (s *UpdateAppInput) SetBasicAuthCredentials(v string) *UpdateAppInput
SetBasicAuthCredentials sets the BasicAuthCredentials field's value.
func (*UpdateAppInput) SetBuildSpec ¶
func (s *UpdateAppInput) SetBuildSpec(v string) *UpdateAppInput
SetBuildSpec sets the BuildSpec field's value.
func (*UpdateAppInput) SetCustomRules ¶
func (s *UpdateAppInput) SetCustomRules(v []*CustomRule) *UpdateAppInput
SetCustomRules sets the CustomRules field's value.
func (*UpdateAppInput) SetDescription ¶
func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput
SetDescription sets the Description field's value.
func (*UpdateAppInput) SetEnableBasicAuth ¶
func (s *UpdateAppInput) SetEnableBasicAuth(v bool) *UpdateAppInput
SetEnableBasicAuth sets the EnableBasicAuth field's value.
func (*UpdateAppInput) SetEnableBranchAutoBuild ¶
func (s *UpdateAppInput) SetEnableBranchAutoBuild(v bool) *UpdateAppInput
SetEnableBranchAutoBuild sets the EnableBranchAutoBuild field's value.
func (*UpdateAppInput) SetEnvironmentVariables ¶
func (s *UpdateAppInput) SetEnvironmentVariables(v map[string]*string) *UpdateAppInput
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (*UpdateAppInput) SetIamServiceRoleArn ¶
func (s *UpdateAppInput) SetIamServiceRoleArn(v string) *UpdateAppInput
SetIamServiceRoleArn sets the IamServiceRoleArn field's value.
func (*UpdateAppInput) SetName ¶
func (s *UpdateAppInput) SetName(v string) *UpdateAppInput
SetName sets the Name field's value.
func (*UpdateAppInput) SetPlatform ¶
func (s *UpdateAppInput) SetPlatform(v string) *UpdateAppInput
SetPlatform sets the Platform field's value.
func (UpdateAppInput) String ¶
func (s UpdateAppInput) String() string
String returns the string representation
func (*UpdateAppInput) Validate ¶
func (s *UpdateAppInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAppOutput ¶
type UpdateAppOutput struct { // App structure for the updated App. // // App is a required field App *App `locationName:"app" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for an Amplify App update request.
func (UpdateAppOutput) GoString ¶
func (s UpdateAppOutput) GoString() string
GoString returns the string representation
func (*UpdateAppOutput) SetApp ¶
func (s *UpdateAppOutput) SetApp(v *App) *UpdateAppOutput
SetApp sets the App field's value.
func (UpdateAppOutput) String ¶
func (s UpdateAppOutput) String() string
String returns the string representation
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 *string `locationName:"stage" type:"string" enum:"Stage"` // The content TTL for the website in seconds. Ttl *string `locationName:"ttl" type:"string"` // contains filtered or unexported fields }
Request structure for update branch request.
func (UpdateBranchInput) GoString ¶
func (s UpdateBranchInput) GoString() string
GoString returns the string representation
func (*UpdateBranchInput) SetAppId ¶
func (s *UpdateBranchInput) SetAppId(v string) *UpdateBranchInput
SetAppId sets the AppId field's value.
func (*UpdateBranchInput) SetBasicAuthCredentials ¶
func (s *UpdateBranchInput) SetBasicAuthCredentials(v string) *UpdateBranchInput
SetBasicAuthCredentials sets the BasicAuthCredentials field's value.
func (*UpdateBranchInput) SetBranchName ¶
func (s *UpdateBranchInput) SetBranchName(v string) *UpdateBranchInput
SetBranchName sets the BranchName field's value.
func (*UpdateBranchInput) SetBuildSpec ¶
func (s *UpdateBranchInput) SetBuildSpec(v string) *UpdateBranchInput
SetBuildSpec sets the BuildSpec field's value.
func (*UpdateBranchInput) SetDescription ¶
func (s *UpdateBranchInput) SetDescription(v string) *UpdateBranchInput
SetDescription sets the Description field's value.
func (*UpdateBranchInput) SetEnableAutoBuild ¶
func (s *UpdateBranchInput) SetEnableAutoBuild(v bool) *UpdateBranchInput
SetEnableAutoBuild sets the EnableAutoBuild field's value.
func (*UpdateBranchInput) SetEnableBasicAuth ¶
func (s *UpdateBranchInput) SetEnableBasicAuth(v bool) *UpdateBranchInput
SetEnableBasicAuth sets the EnableBasicAuth field's value.
func (*UpdateBranchInput) SetEnableNotification ¶
func (s *UpdateBranchInput) SetEnableNotification(v bool) *UpdateBranchInput
SetEnableNotification sets the EnableNotification field's value.
func (*UpdateBranchInput) SetEnvironmentVariables ¶
func (s *UpdateBranchInput) SetEnvironmentVariables(v map[string]*string) *UpdateBranchInput
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (*UpdateBranchInput) SetFramework ¶
func (s *UpdateBranchInput) SetFramework(v string) *UpdateBranchInput
SetFramework sets the Framework field's value.
func (*UpdateBranchInput) SetStage ¶
func (s *UpdateBranchInput) SetStage(v string) *UpdateBranchInput
SetStage sets the Stage field's value.
func (*UpdateBranchInput) SetTtl ¶
func (s *UpdateBranchInput) SetTtl(v string) *UpdateBranchInput
SetTtl sets the Ttl field's value.
func (UpdateBranchInput) String ¶
func (s UpdateBranchInput) String() string
String returns the string representation
func (*UpdateBranchInput) Validate ¶
func (s *UpdateBranchInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateBranchOutput ¶
type UpdateBranchOutput struct { // Branch structure for an Amplify App. // // Branch is a required field Branch *Branch `locationName:"branch" type:"structure" required:"true"` // contains filtered or unexported fields }
Result structure for update branch request.
func (UpdateBranchOutput) GoString ¶
func (s UpdateBranchOutput) GoString() string
GoString returns the string representation
func (*UpdateBranchOutput) SetBranch ¶
func (s *UpdateBranchOutput) SetBranch(v *Branch) *UpdateBranchOutput
SetBranch sets the Branch field's value.
func (UpdateBranchOutput) String ¶
func (s UpdateBranchOutput) String() string
String returns the string representation
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.
func (UpdateDomainAssociationInput) GoString ¶
func (s UpdateDomainAssociationInput) GoString() string
GoString returns the string representation
func (*UpdateDomainAssociationInput) SetAppId ¶
func (s *UpdateDomainAssociationInput) SetAppId(v string) *UpdateDomainAssociationInput
SetAppId sets the AppId field's value.
func (*UpdateDomainAssociationInput) SetDomainName ¶
func (s *UpdateDomainAssociationInput) SetDomainName(v string) *UpdateDomainAssociationInput
SetDomainName sets the DomainName field's value.
func (*UpdateDomainAssociationInput) SetEnableAutoSubDomain ¶
func (s *UpdateDomainAssociationInput) SetEnableAutoSubDomain(v bool) *UpdateDomainAssociationInput
SetEnableAutoSubDomain sets the EnableAutoSubDomain field's value.
func (*UpdateDomainAssociationInput) SetSubDomainSettings ¶
func (s *UpdateDomainAssociationInput) SetSubDomainSettings(v []*SubDomainSetting) *UpdateDomainAssociationInput
SetSubDomainSettings sets the SubDomainSettings field's value.
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.
func (UpdateDomainAssociationOutput) GoString ¶
func (s UpdateDomainAssociationOutput) GoString() string
GoString returns the string representation
func (*UpdateDomainAssociationOutput) SetDomainAssociation ¶
func (s *UpdateDomainAssociationOutput) SetDomainAssociation(v *DomainAssociation) *UpdateDomainAssociationOutput
SetDomainAssociation sets the DomainAssociation field's value.
func (UpdateDomainAssociationOutput) String ¶
func (s UpdateDomainAssociationOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package amplifyiface provides an interface to enable mocking the AWS Amplify service client for testing your code.
|
Package amplifyiface provides an interface to enable mocking the AWS Amplify service client for testing your code. |