Documentation
¶
Overview ¶
Package amplifybackend provides the API client, operations, and parameter types for AmplifyBackend.
AWS Amplify Admin API
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type Client
- func (c *Client) CloneBackend(ctx context.Context, params *CloneBackendInput, optFns ...func(*Options)) (*CloneBackendOutput, error)
- func (c *Client) CreateBackend(ctx context.Context, params *CreateBackendInput, optFns ...func(*Options)) (*CreateBackendOutput, error)
- func (c *Client) CreateBackendAPI(ctx context.Context, params *CreateBackendAPIInput, optFns ...func(*Options)) (*CreateBackendAPIOutput, error)
- func (c *Client) CreateBackendAuth(ctx context.Context, params *CreateBackendAuthInput, optFns ...func(*Options)) (*CreateBackendAuthOutput, error)
- func (c *Client) CreateBackendConfig(ctx context.Context, params *CreateBackendConfigInput, ...) (*CreateBackendConfigOutput, error)
- func (c *Client) CreateToken(ctx context.Context, params *CreateTokenInput, optFns ...func(*Options)) (*CreateTokenOutput, error)
- func (c *Client) DeleteBackend(ctx context.Context, params *DeleteBackendInput, optFns ...func(*Options)) (*DeleteBackendOutput, error)
- func (c *Client) DeleteBackendAPI(ctx context.Context, params *DeleteBackendAPIInput, optFns ...func(*Options)) (*DeleteBackendAPIOutput, error)
- func (c *Client) DeleteBackendAuth(ctx context.Context, params *DeleteBackendAuthInput, optFns ...func(*Options)) (*DeleteBackendAuthOutput, error)
- func (c *Client) DeleteToken(ctx context.Context, params *DeleteTokenInput, optFns ...func(*Options)) (*DeleteTokenOutput, error)
- func (c *Client) GenerateBackendAPIModels(ctx context.Context, params *GenerateBackendAPIModelsInput, ...) (*GenerateBackendAPIModelsOutput, error)
- func (c *Client) GetBackend(ctx context.Context, params *GetBackendInput, optFns ...func(*Options)) (*GetBackendOutput, error)
- func (c *Client) GetBackendAPI(ctx context.Context, params *GetBackendAPIInput, optFns ...func(*Options)) (*GetBackendAPIOutput, error)
- func (c *Client) GetBackendAPIModels(ctx context.Context, params *GetBackendAPIModelsInput, ...) (*GetBackendAPIModelsOutput, error)
- func (c *Client) GetBackendAuth(ctx context.Context, params *GetBackendAuthInput, optFns ...func(*Options)) (*GetBackendAuthOutput, error)
- func (c *Client) GetBackendJob(ctx context.Context, params *GetBackendJobInput, optFns ...func(*Options)) (*GetBackendJobOutput, error)
- func (c *Client) GetToken(ctx context.Context, params *GetTokenInput, optFns ...func(*Options)) (*GetTokenOutput, error)
- func (c *Client) ImportBackendAuth(ctx context.Context, params *ImportBackendAuthInput, optFns ...func(*Options)) (*ImportBackendAuthOutput, error)
- func (c *Client) ListBackendJobs(ctx context.Context, params *ListBackendJobsInput, optFns ...func(*Options)) (*ListBackendJobsOutput, error)
- func (c *Client) RemoveAllBackends(ctx context.Context, params *RemoveAllBackendsInput, optFns ...func(*Options)) (*RemoveAllBackendsOutput, error)
- func (c *Client) RemoveBackendConfig(ctx context.Context, params *RemoveBackendConfigInput, ...) (*RemoveBackendConfigOutput, error)
- func (c *Client) UpdateBackendAPI(ctx context.Context, params *UpdateBackendAPIInput, optFns ...func(*Options)) (*UpdateBackendAPIOutput, error)
- func (c *Client) UpdateBackendAuth(ctx context.Context, params *UpdateBackendAuthInput, optFns ...func(*Options)) (*UpdateBackendAuthOutput, error)
- func (c *Client) UpdateBackendConfig(ctx context.Context, params *UpdateBackendConfigInput, ...) (*UpdateBackendConfigOutput, error)
- func (c *Client) UpdateBackendJob(ctx context.Context, params *UpdateBackendJobInput, optFns ...func(*Options)) (*UpdateBackendJobOutput, error)
- type CloneBackendInput
- type CloneBackendOutput
- type CreateBackendAPIInput
- type CreateBackendAPIOutput
- type CreateBackendAuthInput
- type CreateBackendAuthOutput
- type CreateBackendConfigInput
- type CreateBackendConfigOutput
- type CreateBackendInput
- type CreateBackendOutput
- type CreateTokenInput
- type CreateTokenOutput
- type DeleteBackendAPIInput
- type DeleteBackendAPIOutput
- type DeleteBackendAuthInput
- type DeleteBackendAuthOutput
- type DeleteBackendInput
- type DeleteBackendOutput
- type DeleteTokenInput
- type DeleteTokenOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GenerateBackendAPIModelsInput
- type GenerateBackendAPIModelsOutput
- type GetBackendAPIInput
- type GetBackendAPIModelsInput
- type GetBackendAPIModelsOutput
- type GetBackendAPIOutput
- type GetBackendAuthInput
- type GetBackendAuthOutput
- type GetBackendInput
- type GetBackendJobInput
- type GetBackendJobOutput
- type GetBackendOutput
- type GetTokenInput
- type GetTokenOutput
- type HTTPClient
- type HTTPSignerV4
- type ImportBackendAuthInput
- type ImportBackendAuthOutput
- type ListBackendJobsInput
- type ListBackendJobsOutput
- type Options
- type RemoveAllBackendsInput
- type RemoveAllBackendsOutput
- type RemoveBackendConfigInput
- type RemoveBackendConfigOutput
- type ResolveEndpoint
- type UpdateBackendAPIInput
- type UpdateBackendAPIOutput
- type UpdateBackendAuthInput
- type UpdateBackendAuthOutput
- type UpdateBackendConfigInput
- type UpdateBackendConfigOutput
- type UpdateBackendJobInput
- type UpdateBackendJobOutput
Constants ¶
const ServiceAPIVersion = "2020-08-11"
const ServiceID = "AmplifyBackend"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AmplifyBackend.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CloneBackend ¶
func (c *Client) CloneBackend(ctx context.Context, params *CloneBackendInput, optFns ...func(*Options)) (*CloneBackendOutput, error)
This operation clones an existing backend.
func (*Client) CreateBackend ¶
func (c *Client) CreateBackend(ctx context.Context, params *CreateBackendInput, optFns ...func(*Options)) (*CreateBackendOutput, error)
This operation creates a backend for an Amplify app. Backends are automatically created at the time of app creation.
func (*Client) CreateBackendAPI ¶
func (c *Client) CreateBackendAPI(ctx context.Context, params *CreateBackendAPIInput, optFns ...func(*Options)) (*CreateBackendAPIOutput, error)
Creates a new backend API resource.
func (*Client) CreateBackendAuth ¶
func (c *Client) CreateBackendAuth(ctx context.Context, params *CreateBackendAuthInput, optFns ...func(*Options)) (*CreateBackendAuthOutput, error)
Creates a new backend authentication resource.
func (*Client) CreateBackendConfig ¶
func (c *Client) CreateBackendConfig(ctx context.Context, params *CreateBackendConfigInput, optFns ...func(*Options)) (*CreateBackendConfigOutput, error)
Creates a config object for a backend.
func (*Client) CreateToken ¶
func (c *Client) CreateToken(ctx context.Context, params *CreateTokenInput, optFns ...func(*Options)) (*CreateTokenOutput, error)
Generates a one-time challenge code to authenticate a user into your Amplify Admin UI.
func (*Client) DeleteBackend ¶
func (c *Client) DeleteBackend(ctx context.Context, params *DeleteBackendInput, optFns ...func(*Options)) (*DeleteBackendOutput, error)
Removes an existing environment from your Amplify project.
func (*Client) DeleteBackendAPI ¶
func (c *Client) DeleteBackendAPI(ctx context.Context, params *DeleteBackendAPIInput, optFns ...func(*Options)) (*DeleteBackendAPIOutput, error)
Deletes an existing backend API resource.
func (*Client) DeleteBackendAuth ¶
func (c *Client) DeleteBackendAuth(ctx context.Context, params *DeleteBackendAuthInput, optFns ...func(*Options)) (*DeleteBackendAuthOutput, error)
Deletes an existing backend authentication resource.
func (*Client) DeleteToken ¶
func (c *Client) DeleteToken(ctx context.Context, params *DeleteTokenInput, optFns ...func(*Options)) (*DeleteTokenOutput, error)
Deletes the challenge token based on the given appId and sessionId.
func (*Client) GenerateBackendAPIModels ¶
func (c *Client) GenerateBackendAPIModels(ctx context.Context, params *GenerateBackendAPIModelsInput, optFns ...func(*Options)) (*GenerateBackendAPIModelsOutput, error)
Generates a model schema for an existing backend API resource.
func (*Client) GetBackend ¶
func (c *Client) GetBackend(ctx context.Context, params *GetBackendInput, optFns ...func(*Options)) (*GetBackendOutput, error)
Provides project-level details for your Amplify UI project.
func (*Client) GetBackendAPI ¶
func (c *Client) GetBackendAPI(ctx context.Context, params *GetBackendAPIInput, optFns ...func(*Options)) (*GetBackendAPIOutput, error)
Gets the details for a backend API.
func (*Client) GetBackendAPIModels ¶
func (c *Client) GetBackendAPIModels(ctx context.Context, params *GetBackendAPIModelsInput, optFns ...func(*Options)) (*GetBackendAPIModelsOutput, error)
Generates a model schema for existing backend API resource.
func (*Client) GetBackendAuth ¶
func (c *Client) GetBackendAuth(ctx context.Context, params *GetBackendAuthInput, optFns ...func(*Options)) (*GetBackendAuthOutput, error)
Gets a backend auth details.
func (*Client) GetBackendJob ¶
func (c *Client) GetBackendJob(ctx context.Context, params *GetBackendJobInput, optFns ...func(*Options)) (*GetBackendJobOutput, error)
Returns information about a specific job.
func (*Client) GetToken ¶
func (c *Client) GetToken(ctx context.Context, params *GetTokenInput, optFns ...func(*Options)) (*GetTokenOutput, error)
Gets the challenge token based on the given appId and sessionId.
func (*Client) ImportBackendAuth ¶ added in v1.2.0
func (c *Client) ImportBackendAuth(ctx context.Context, params *ImportBackendAuthInput, optFns ...func(*Options)) (*ImportBackendAuthOutput, error)
Imports an existing backend authentication resource.
func (*Client) ListBackendJobs ¶
func (c *Client) ListBackendJobs(ctx context.Context, params *ListBackendJobsInput, optFns ...func(*Options)) (*ListBackendJobsOutput, error)
Lists the jobs for the backend of an Amplify app.
func (*Client) RemoveAllBackends ¶
func (c *Client) RemoveAllBackends(ctx context.Context, params *RemoveAllBackendsInput, optFns ...func(*Options)) (*RemoveAllBackendsOutput, error)
Removes all backend environments from your Amplify project.
func (*Client) RemoveBackendConfig ¶
func (c *Client) RemoveBackendConfig(ctx context.Context, params *RemoveBackendConfigInput, optFns ...func(*Options)) (*RemoveBackendConfigOutput, error)
Removes the AWS resources required to access the Amplify Admin UI.
func (*Client) UpdateBackendAPI ¶
func (c *Client) UpdateBackendAPI(ctx context.Context, params *UpdateBackendAPIInput, optFns ...func(*Options)) (*UpdateBackendAPIOutput, error)
Updates an existing backend API resource.
func (*Client) UpdateBackendAuth ¶
func (c *Client) UpdateBackendAuth(ctx context.Context, params *UpdateBackendAuthInput, optFns ...func(*Options)) (*UpdateBackendAuthOutput, error)
Updates an existing backend authentication resource.
func (*Client) UpdateBackendConfig ¶
func (c *Client) UpdateBackendConfig(ctx context.Context, params *UpdateBackendConfigInput, optFns ...func(*Options)) (*UpdateBackendConfigOutput, error)
Updates the AWS resources required to access the Amplify Admin UI.
func (*Client) UpdateBackendJob ¶
func (c *Client) UpdateBackendJob(ctx context.Context, params *UpdateBackendJobInput, optFns ...func(*Options)) (*UpdateBackendJobOutput, error)
Updates a specific job.
type CloneBackendInput ¶
type CloneBackendInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of the destination backend environment to be created. // // This member is required. TargetEnvironmentName *string // contains filtered or unexported fields }
The request body for CloneBackend.
type CloneBackendOutput ¶
type CloneBackendOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateBackendAPIInput ¶
type CreateBackendAPIInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The resource configuration for this request. // // This member is required. ResourceConfig *types.BackendAPIResourceConfig // The name of this resource. // // This member is required. ResourceName *string // contains filtered or unexported fields }
The request body for CreateBackendAPI.
type CreateBackendAPIOutput ¶
type CreateBackendAPIOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateBackendAuthInput ¶
type CreateBackendAuthInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The resource configuration for this request object. // // This member is required. ResourceConfig *types.CreateBackendAuthResourceConfig // The name of this resource. // // This member is required. ResourceName *string // contains filtered or unexported fields }
The request body for CreateBackendAuth.
type CreateBackendAuthOutput ¶
type CreateBackendAuthOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateBackendConfigInput ¶
type CreateBackendConfigInput struct { // The app ID. // // This member is required. AppId *string // The app ID for the backend manager. BackendManagerAppId *string // contains filtered or unexported fields }
The request body for CreateBackendConfig.
type CreateBackendConfigOutput ¶
type CreateBackendConfigOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // The ID for the job. JobId *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateBackendInput ¶
type CreateBackendInput struct { // The app ID. // // This member is required. AppId *string // The name of the app. // // This member is required. AppName *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The resource configuration for the create backend request. ResourceConfig *types.ResourceConfig // The name of the resource. ResourceName *string // contains filtered or unexported fields }
The request body for CreateBackend.
type CreateBackendOutput ¶
type CreateBackendOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateTokenInput ¶
type CreateTokenInput struct { // The app ID. // // This member is required. AppId *string // contains filtered or unexported fields }
type CreateTokenOutput ¶
type CreateTokenOutput struct { // The app ID. AppId *string // One-time challenge code for authenticating into the Amplify Admin UI. ChallengeCode *string // A unique ID provided when creating a new challenge token. SessionId *string // The expiry time for the one-time generated token code. Ttl *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBackendAPIInput ¶
type DeleteBackendAPIInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of this resource. // // This member is required. ResourceName *string // Defines the resource configuration for the data model in your Amplify project. ResourceConfig *types.BackendAPIResourceConfig // contains filtered or unexported fields }
The request body for DeleteBackendAPI.
type DeleteBackendAPIOutput ¶
type DeleteBackendAPIOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBackendAuthInput ¶
type DeleteBackendAuthInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of this resource. // // This member is required. ResourceName *string // contains filtered or unexported fields }
The request body for DeleteBackendAuth.
type DeleteBackendAuthOutput ¶
type DeleteBackendAuthOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBackendInput ¶
type DeleteBackendOutput ¶
type DeleteBackendOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTokenInput ¶
type DeleteTokenOutput ¶
type DeleteTokenOutput struct { // Indicates whether the request succeeded or failed. IsSuccess bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GenerateBackendAPIModelsInput ¶
type GenerateBackendAPIModelsInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of this resource. // // This member is required. ResourceName *string // contains filtered or unexported fields }
The request body for GenerateBackendAPIModels.
type GenerateBackendAPIModelsOutput ¶
type GenerateBackendAPIModelsOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackendAPIInput ¶
type GetBackendAPIInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of this resource. // // This member is required. ResourceName *string // Defines the resource configuration for the data model in your Amplify project. ResourceConfig *types.BackendAPIResourceConfig // contains filtered or unexported fields }
The request body for GetBackendAPI.
type GetBackendAPIModelsInput ¶
type GetBackendAPIModelsInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of this resource. // // This member is required. ResourceName *string // contains filtered or unexported fields }
The request body for GetBackendAPIModels.
type GetBackendAPIModelsOutput ¶
type GetBackendAPIModelsOutput struct { // Stringified JSON of the datastore model. Models *string // The current status of the request. Status types.Status // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackendAPIOutput ¶
type GetBackendAPIOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The resource configuration for this response object. ResourceConfig *types.BackendAPIResourceConfig // The name of this resource. ResourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackendAuthInput ¶
type GetBackendAuthInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of this resource. // // This member is required. ResourceName *string // contains filtered or unexported fields }
The request body for GetBackendAuth.
type GetBackendAuthOutput ¶
type GetBackendAuthOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The resource configuration for authorization requests to the backend of your // Amplify project. ResourceConfig *types.CreateBackendAuthResourceConfig // The name of this resource. ResourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackendInput ¶
type GetBackendInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. BackendEnvironmentName *string // contains filtered or unexported fields }
The request body for GetBackend.
type GetBackendJobInput ¶
type GetBackendJobInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The ID for the job. // // This member is required. JobId *string // contains filtered or unexported fields }
type GetBackendJobOutput ¶
type GetBackendJobOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // The time when the job was created. CreateTime *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // The time when the job was last updated. UpdateTime *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBackendOutput ¶
type GetBackendOutput struct { // A stringified version of the cli.json file for your Amplify project. AmplifyFeatureFlags *string // A stringified version of the current configs for your Amplify project. AmplifyMetaConfig *string // The app ID. AppId *string // The name of the app. AppName *string // A list of backend environments in an array. BackendEnvironmentList []string // The name of the backend environment. BackendEnvironmentName *string // If the request failed, this is the returned error. Error *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetTokenInput ¶
type GetTokenOutput ¶
type GetTokenOutput struct { // The app ID. AppId *string // The one-time challenge code for authenticating into the Amplify Admin UI. ChallengeCode *string // A unique ID provided when creating a new challenge token. SessionId *string // The expiry time for the one-time generated token code. Ttl *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ImportBackendAuthInput ¶ added in v1.2.0
type ImportBackendAuthInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The ID of the Amazon Cognito native client. // // This member is required. NativeClientId *string // The ID of the Amazon Cognito user pool. // // This member is required. UserPoolId *string // The ID of the Amazon Cognito web client. // // This member is required. WebClientId *string // The ID of the Amazon Cognito identity pool. IdentityPoolId *string // contains filtered or unexported fields }
The request body for ImportBackendAuth.
type ImportBackendAuthOutput ¶ added in v1.2.0
type ImportBackendAuthOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBackendJobsInput ¶
type ListBackendJobsInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The ID for the job. JobId *string // The maximum number of results that you want in the response. MaxResults int32 // The token for the next set of results. NextToken *string // Filters the list of response objects to include only those with the specified // operation name. Operation *string // Filters the list of response objects to include only those with the specified // status. Status *string // contains filtered or unexported fields }
The request body for ListBackendJobs.
type ListBackendJobsOutput ¶
type ListBackendJobsOutput struct { // An array of jobs and their properties. Jobs []types.BackendJobRespObj // The token for the next set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type RemoveAllBackendsInput ¶
type RemoveAllBackendsInput struct { // The app ID. // // This member is required. AppId *string // Cleans up the Amplify Console app if this value is set to true. CleanAmplifyApp bool // contains filtered or unexported fields }
The request body for RemoveAllBackends.
type RemoveAllBackendsOutput ¶
type RemoveAllBackendsOutput struct { // The app ID. AppId *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RemoveBackendConfigInput ¶
type RemoveBackendConfigInput struct { // The app ID. // // This member is required. AppId *string // contains filtered or unexported fields }
type RemoveBackendConfigOutput ¶
type RemoveBackendConfigOutput struct { // If the request fails, this error is returned. Error *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type UpdateBackendAPIInput ¶
type UpdateBackendAPIInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The name of this resource. // // This member is required. ResourceName *string // Defines the resource configuration for the data model in your Amplify project. ResourceConfig *types.BackendAPIResourceConfig // contains filtered or unexported fields }
The request body for UpdateBackendAPI.
type UpdateBackendAPIOutput ¶
type UpdateBackendAPIOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateBackendAuthInput ¶
type UpdateBackendAuthInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The resource configuration for this request object. // // This member is required. ResourceConfig *types.UpdateBackendAuthResourceConfig // The name of this resource. // // This member is required. ResourceName *string // contains filtered or unexported fields }
The request body for UpdateBackendAuth.
type UpdateBackendAuthOutput ¶
type UpdateBackendAuthOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateBackendConfigInput ¶
type UpdateBackendConfigInput struct { // The app ID. // // This member is required. AppId *string // Describes the Amazon Cognito configuration for Admin UI access. LoginAuthConfig *types.LoginAuthConfigReqObj // contains filtered or unexported fields }
The request body for UpdateBackendConfig.
type UpdateBackendConfigOutput ¶
type UpdateBackendConfigOutput struct { // The app ID. AppId *string // The app ID for the backend manager. BackendManagerAppId *string // If the request fails, this error is returned. Error *string // Describes the Amazon Cognito configurations for the Admin UI auth resource to // log in with. LoginAuthConfig *types.LoginAuthConfigReqObj // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateBackendJobInput ¶
type UpdateBackendJobInput struct { // The app ID. // // This member is required. AppId *string // The name of the backend environment. // // This member is required. BackendEnvironmentName *string // The ID for the job. // // This member is required. JobId *string // Filters the list of response objects to include only those with the specified // operation name. Operation *string // Filters the list of response objects to include only those with the specified // status. Status *string // contains filtered or unexported fields }
The request body for GetBackendJob.
type UpdateBackendJobOutput ¶
type UpdateBackendJobOutput struct { // The app ID. AppId *string // The name of the backend environment. BackendEnvironmentName *string // The time when the job was created. CreateTime *string // If the request fails, this error is returned. Error *string // The ID for the job. JobId *string // The name of the operation. Operation *string // The current status of the request. Status *string // The time when the job was last updated. UpdateTime *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files
¶
- api_client.go
- api_op_CloneBackend.go
- api_op_CreateBackend.go
- api_op_CreateBackendAPI.go
- api_op_CreateBackendAuth.go
- api_op_CreateBackendConfig.go
- api_op_CreateToken.go
- api_op_DeleteBackend.go
- api_op_DeleteBackendAPI.go
- api_op_DeleteBackendAuth.go
- api_op_DeleteToken.go
- api_op_GenerateBackendAPIModels.go
- api_op_GetBackend.go
- api_op_GetBackendAPI.go
- api_op_GetBackendAPIModels.go
- api_op_GetBackendAuth.go
- api_op_GetBackendJob.go
- api_op_GetToken.go
- api_op_ImportBackendAuth.go
- api_op_ListBackendJobs.go
- api_op_RemoveAllBackends.go
- api_op_RemoveBackendConfig.go
- api_op_UpdateBackendAPI.go
- api_op_UpdateBackendAuth.go
- api_op_UpdateBackendConfig.go
- api_op_UpdateBackendJob.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- serializers.go
- validators.go