amplifybackend

package
v1.38.63 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation ¶

Overview ¶

Package amplifybackend provides the client and types for making API requests to AmplifyBackend.

AWS Amplify Admin API ¶

See https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11 for more information on this service.

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

Using the Client ¶

To contact AmplifyBackend 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 AmplifyBackend client AmplifyBackend for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/amplifybackend/#New

Index ¶

Constants ¶

View Source
const (
	// AdditionalConstraintsElementRequireDigit is a AdditionalConstraintsElement enum value
	AdditionalConstraintsElementRequireDigit = "REQUIRE_DIGIT"

	// AdditionalConstraintsElementRequireLowercase is a AdditionalConstraintsElement enum value
	AdditionalConstraintsElementRequireLowercase = "REQUIRE_LOWERCASE"

	// AdditionalConstraintsElementRequireSymbol is a AdditionalConstraintsElement enum value
	AdditionalConstraintsElementRequireSymbol = "REQUIRE_SYMBOL"

	// AdditionalConstraintsElementRequireUppercase is a AdditionalConstraintsElement enum value
	AdditionalConstraintsElementRequireUppercase = "REQUIRE_UPPERCASE"
)
View Source
const (
	// AuthResourcesUserPoolOnly is a AuthResources enum value
	AuthResourcesUserPoolOnly = "USER_POOL_ONLY"

	// AuthResourcesIdentityPoolAndUserPool is a AuthResources enum value
	AuthResourcesIdentityPoolAndUserPool = "IDENTITY_POOL_AND_USER_POOL"
)
View Source
const (
	// DeliveryMethodEmail is a DeliveryMethod enum value
	DeliveryMethodEmail = "EMAIL"

	// DeliveryMethodSms is a DeliveryMethod enum value
	DeliveryMethodSms = "SMS"
)
View Source
const (
	// MFAModeOn is a MFAMode enum value
	MFAModeOn = "ON"

	// MFAModeOff is a MFAMode enum value
	MFAModeOff = "OFF"

	// MFAModeOptional is a MFAMode enum value
	MFAModeOptional = "OPTIONAL"
)
View Source
const (
	// MfaTypesElementSms is a MfaTypesElement enum value
	MfaTypesElementSms = "SMS"

	// MfaTypesElementTotp is a MfaTypesElement enum value
	MfaTypesElementTotp = "TOTP"
)
View Source
const (
	// ModeApiKey is a Mode enum value
	ModeApiKey = "API_KEY"

	// ModeAwsIam is a Mode enum value
	ModeAwsIam = "AWS_IAM"

	// ModeAmazonCognitoUserPools is a Mode enum value
	ModeAmazonCognitoUserPools = "AMAZON_COGNITO_USER_POOLS"

	// ModeOpenidConnect is a Mode enum value
	ModeOpenidConnect = "OPENID_CONNECT"
)
View Source
const (
	// OAuthGrantTypeCode is a OAuthGrantType enum value
	OAuthGrantTypeCode = "CODE"

	// OAuthGrantTypeImplicit is a OAuthGrantType enum value
	OAuthGrantTypeImplicit = "IMPLICIT"
)
View Source
const (
	// OAuthScopesElementPhone is a OAuthScopesElement enum value
	OAuthScopesElementPhone = "PHONE"

	// OAuthScopesElementEmail is a OAuthScopesElement enum value
	OAuthScopesElementEmail = "EMAIL"

	// OAuthScopesElementOpenid is a OAuthScopesElement enum value
	OAuthScopesElementOpenid = "OPENID"

	// OAuthScopesElementProfile is a OAuthScopesElement enum value
	OAuthScopesElementProfile = "PROFILE"

	// OAuthScopesElementAwsCognitoSigninUserAdmin is a OAuthScopesElement enum value
	OAuthScopesElementAwsCognitoSigninUserAdmin = "AWS_COGNITO_SIGNIN_USER_ADMIN"
)
View Source
const (
	// RequiredSignUpAttributesElementAddress is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementAddress = "ADDRESS"

	// RequiredSignUpAttributesElementBirthdate is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementBirthdate = "BIRTHDATE"

	// RequiredSignUpAttributesElementEmail is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementEmail = "EMAIL"

	// RequiredSignUpAttributesElementFamilyName is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementFamilyName = "FAMILY_NAME"

	// RequiredSignUpAttributesElementGender is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementGender = "GENDER"

	// RequiredSignUpAttributesElementGivenName is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementGivenName = "GIVEN_NAME"

	// RequiredSignUpAttributesElementLocale is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementLocale = "LOCALE"

	// RequiredSignUpAttributesElementMiddleName is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementMiddleName = "MIDDLE_NAME"

	// RequiredSignUpAttributesElementName is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementName = "NAME"

	// RequiredSignUpAttributesElementNickname is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementNickname = "NICKNAME"

	// RequiredSignUpAttributesElementPhoneNumber is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementPhoneNumber = "PHONE_NUMBER"

	// RequiredSignUpAttributesElementPicture is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementPicture = "PICTURE"

	// RequiredSignUpAttributesElementPreferredUsername is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementPreferredUsername = "PREFERRED_USERNAME"

	// RequiredSignUpAttributesElementProfile is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementProfile = "PROFILE"

	// RequiredSignUpAttributesElementUpdatedAt is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementUpdatedAt = "UPDATED_AT"

	// RequiredSignUpAttributesElementWebsite is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementWebsite = "WEBSITE"

	// RequiredSignUpAttributesElementZoneInfo is a RequiredSignUpAttributesElement enum value
	RequiredSignUpAttributesElementZoneInfo = "ZONE_INFO"
)
View Source
const (
	// ResolutionStrategyOptimisticConcurrency is a ResolutionStrategy enum value
	ResolutionStrategyOptimisticConcurrency = "OPTIMISTIC_CONCURRENCY"

	// ResolutionStrategyLambda is a ResolutionStrategy enum value
	ResolutionStrategyLambda = "LAMBDA"

	// ResolutionStrategyAutomerge is a ResolutionStrategy enum value
	ResolutionStrategyAutomerge = "AUTOMERGE"

	// ResolutionStrategyNone is a ResolutionStrategy enum value
	ResolutionStrategyNone = "NONE"
)
View Source
const (
	// SignInMethodEmail is a SignInMethod enum value
	SignInMethodEmail = "EMAIL"

	// SignInMethodEmailAndPhoneNumber is a SignInMethod enum value
	SignInMethodEmailAndPhoneNumber = "EMAIL_AND_PHONE_NUMBER"

	// SignInMethodPhoneNumber is a SignInMethod enum value
	SignInMethodPhoneNumber = "PHONE_NUMBER"

	// SignInMethodUsername is a SignInMethod enum value
	SignInMethodUsername = "USERNAME"
)
View Source
const (
	// StatusLatest is a Status enum value
	StatusLatest = "LATEST"

	// StatusStale is a Status enum value
	StatusStale = "STALE"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// An error returned if a request is not formed properly.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeGatewayTimeoutException for service response error code
	// "GatewayTimeoutException".
	//
	// An error returned if there's a temporary issue with the service.
	ErrCodeGatewayTimeoutException = "GatewayTimeoutException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// An error returned when a specific resource type is not found.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// An error that is returned when a limit of a specific type is exceeded.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
View Source
const (
	ServiceName = "AmplifyBackend" // Name of service.
	EndpointsID = "amplifybackend" // ID to lookup a service endpoint with.
	ServiceID   = "AmplifyBackend" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// ServiceCognito is a Service enum value
	ServiceCognito = "COGNITO"
)

Variables ¶

This section is empty.

Functions ¶

func AdditionalConstraintsElement_Values ¶

func AdditionalConstraintsElement_Values() []string

AdditionalConstraintsElement_Values returns all elements of the AdditionalConstraintsElement enum

func AuthResources_Values ¶

func AuthResources_Values() []string

AuthResources_Values returns all elements of the AuthResources enum

func DeliveryMethod_Values ¶

func DeliveryMethod_Values() []string

DeliveryMethod_Values returns all elements of the DeliveryMethod enum

func MFAMode_Values ¶

func MFAMode_Values() []string

MFAMode_Values returns all elements of the MFAMode enum

func MfaTypesElement_Values ¶

func MfaTypesElement_Values() []string

MfaTypesElement_Values returns all elements of the MfaTypesElement enum

func Mode_Values ¶

func Mode_Values() []string

Mode_Values returns all elements of the Mode enum

func OAuthGrantType_Values ¶

func OAuthGrantType_Values() []string

OAuthGrantType_Values returns all elements of the OAuthGrantType enum

func OAuthScopesElement_Values ¶

func OAuthScopesElement_Values() []string

OAuthScopesElement_Values returns all elements of the OAuthScopesElement enum

func RequiredSignUpAttributesElement_Values ¶

func RequiredSignUpAttributesElement_Values() []string

RequiredSignUpAttributesElement_Values returns all elements of the RequiredSignUpAttributesElement enum

func ResolutionStrategy_Values ¶

func ResolutionStrategy_Values() []string

ResolutionStrategy_Values returns all elements of the ResolutionStrategy enum

func Service_Values ¶

func Service_Values() []string

Service_Values returns all elements of the Service enum

func SignInMethod_Values ¶

func SignInMethod_Values() []string

SignInMethod_Values returns all elements of the SignInMethod enum

func Status_Values ¶

func Status_Values() []string

Status_Values returns all elements of the Status enum

Types ¶

type AmplifyBackend ¶

type AmplifyBackend struct {
	*client.Client
}

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

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

New creates a new instance of the AmplifyBackend 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:

mySession := session.Must(session.NewSession())

// Create a AmplifyBackend client from just a session.
svc := amplifybackend.New(mySession)

// Create a AmplifyBackend client with additional configuration
svc := amplifybackend.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*AmplifyBackend) CloneBackend ¶

func (c *AmplifyBackend) CloneBackend(input *CloneBackendInput) (*CloneBackendOutput, error)

CloneBackend API operation for AmplifyBackend.

This operation clones an existing backend.

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 AmplifyBackend's API operation CloneBackend for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend

func (*AmplifyBackend) CloneBackendRequest ¶

func (c *AmplifyBackend) CloneBackendRequest(input *CloneBackendInput) (req *request.Request, output *CloneBackendOutput)

CloneBackendRequest generates a "aws/request.Request" representing the client's request for the CloneBackend 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 CloneBackend for more information on using the CloneBackend 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 CloneBackendRequest method.
req, resp := client.CloneBackendRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend

func (*AmplifyBackend) CloneBackendWithContext ¶

func (c *AmplifyBackend) CloneBackendWithContext(ctx aws.Context, input *CloneBackendInput, opts ...request.Option) (*CloneBackendOutput, error)

CloneBackendWithContext is the same as CloneBackend with the addition of the ability to pass a context and additional request options.

See CloneBackend 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 (*AmplifyBackend) CreateBackend ¶

func (c *AmplifyBackend) CreateBackend(input *CreateBackendInput) (*CreateBackendOutput, error)

CreateBackend API operation for AmplifyBackend.

This operation creates a backend for an Amplify app. Backends are automatically created at the time of app creation.

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 AmplifyBackend's API operation CreateBackend for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend

func (*AmplifyBackend) CreateBackendAPI ¶

func (c *AmplifyBackend) CreateBackendAPI(input *CreateBackendAPIInput) (*CreateBackendAPIOutput, error)

CreateBackendAPI API operation for AmplifyBackend.

Creates a new backend API resource.

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 AmplifyBackend's API operation CreateBackendAPI for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI

func (*AmplifyBackend) CreateBackendAPIRequest ¶

func (c *AmplifyBackend) CreateBackendAPIRequest(input *CreateBackendAPIInput) (req *request.Request, output *CreateBackendAPIOutput)

CreateBackendAPIRequest generates a "aws/request.Request" representing the client's request for the CreateBackendAPI 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 CreateBackendAPI for more information on using the CreateBackendAPI 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 CreateBackendAPIRequest method.
req, resp := client.CreateBackendAPIRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI

func (*AmplifyBackend) CreateBackendAPIWithContext ¶

func (c *AmplifyBackend) CreateBackendAPIWithContext(ctx aws.Context, input *CreateBackendAPIInput, opts ...request.Option) (*CreateBackendAPIOutput, error)

CreateBackendAPIWithContext is the same as CreateBackendAPI with the addition of the ability to pass a context and additional request options.

See CreateBackendAPI 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 (*AmplifyBackend) CreateBackendAuth ¶

func (c *AmplifyBackend) CreateBackendAuth(input *CreateBackendAuthInput) (*CreateBackendAuthOutput, error)

CreateBackendAuth API operation for AmplifyBackend.

Creates a new backend authentication resource.

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 AmplifyBackend's API operation CreateBackendAuth for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth

func (*AmplifyBackend) CreateBackendAuthRequest ¶

func (c *AmplifyBackend) CreateBackendAuthRequest(input *CreateBackendAuthInput) (req *request.Request, output *CreateBackendAuthOutput)

CreateBackendAuthRequest generates a "aws/request.Request" representing the client's request for the CreateBackendAuth 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 CreateBackendAuth for more information on using the CreateBackendAuth 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 CreateBackendAuthRequest method.
req, resp := client.CreateBackendAuthRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth

func (*AmplifyBackend) CreateBackendAuthWithContext ¶

func (c *AmplifyBackend) CreateBackendAuthWithContext(ctx aws.Context, input *CreateBackendAuthInput, opts ...request.Option) (*CreateBackendAuthOutput, error)

CreateBackendAuthWithContext is the same as CreateBackendAuth with the addition of the ability to pass a context and additional request options.

See CreateBackendAuth 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 (*AmplifyBackend) CreateBackendConfig ¶

func (c *AmplifyBackend) CreateBackendConfig(input *CreateBackendConfigInput) (*CreateBackendConfigOutput, error)

CreateBackendConfig API operation for AmplifyBackend.

Creates a config object for a backend.

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 AmplifyBackend's API operation CreateBackendConfig for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig

func (*AmplifyBackend) CreateBackendConfigRequest ¶

func (c *AmplifyBackend) CreateBackendConfigRequest(input *CreateBackendConfigInput) (req *request.Request, output *CreateBackendConfigOutput)

CreateBackendConfigRequest generates a "aws/request.Request" representing the client's request for the CreateBackendConfig 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 CreateBackendConfig for more information on using the CreateBackendConfig 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 CreateBackendConfigRequest method.
req, resp := client.CreateBackendConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig

func (*AmplifyBackend) CreateBackendConfigWithContext ¶

func (c *AmplifyBackend) CreateBackendConfigWithContext(ctx aws.Context, input *CreateBackendConfigInput, opts ...request.Option) (*CreateBackendConfigOutput, error)

CreateBackendConfigWithContext is the same as CreateBackendConfig with the addition of the ability to pass a context and additional request options.

See CreateBackendConfig 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 (*AmplifyBackend) CreateBackendRequest ¶

func (c *AmplifyBackend) CreateBackendRequest(input *CreateBackendInput) (req *request.Request, output *CreateBackendOutput)

CreateBackendRequest generates a "aws/request.Request" representing the client's request for the CreateBackend 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 CreateBackend for more information on using the CreateBackend 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 CreateBackendRequest method.
req, resp := client.CreateBackendRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend

func (*AmplifyBackend) CreateBackendWithContext ¶

func (c *AmplifyBackend) CreateBackendWithContext(ctx aws.Context, input *CreateBackendInput, opts ...request.Option) (*CreateBackendOutput, error)

CreateBackendWithContext is the same as CreateBackend with the addition of the ability to pass a context and additional request options.

See CreateBackend 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 (*AmplifyBackend) CreateToken ¶

func (c *AmplifyBackend) CreateToken(input *CreateTokenInput) (*CreateTokenOutput, error)

CreateToken API operation for AmplifyBackend.

Generates a one-time challenge code to authenticate a user into your Amplify Admin UI.

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 AmplifyBackend's API operation CreateToken for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken

func (*AmplifyBackend) CreateTokenRequest ¶

func (c *AmplifyBackend) CreateTokenRequest(input *CreateTokenInput) (req *request.Request, output *CreateTokenOutput)

CreateTokenRequest generates a "aws/request.Request" representing the client's request for the CreateToken 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 CreateToken for more information on using the CreateToken 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 CreateTokenRequest method.
req, resp := client.CreateTokenRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken

func (*AmplifyBackend) CreateTokenWithContext ¶

func (c *AmplifyBackend) CreateTokenWithContext(ctx aws.Context, input *CreateTokenInput, opts ...request.Option) (*CreateTokenOutput, error)

CreateTokenWithContext is the same as CreateToken with the addition of the ability to pass a context and additional request options.

See CreateToken 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 (*AmplifyBackend) DeleteBackend ¶

func (c *AmplifyBackend) DeleteBackend(input *DeleteBackendInput) (*DeleteBackendOutput, error)

DeleteBackend API operation for AmplifyBackend.

Removes an existing environment from your Amplify project.

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 AmplifyBackend's API operation DeleteBackend for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend

func (*AmplifyBackend) DeleteBackendAPI ¶

func (c *AmplifyBackend) DeleteBackendAPI(input *DeleteBackendAPIInput) (*DeleteBackendAPIOutput, error)

DeleteBackendAPI API operation for AmplifyBackend.

Deletes an existing backend API resource.

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 AmplifyBackend's API operation DeleteBackendAPI for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI

func (*AmplifyBackend) DeleteBackendAPIRequest ¶

func (c *AmplifyBackend) DeleteBackendAPIRequest(input *DeleteBackendAPIInput) (req *request.Request, output *DeleteBackendAPIOutput)

DeleteBackendAPIRequest generates a "aws/request.Request" representing the client's request for the DeleteBackendAPI 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 DeleteBackendAPI for more information on using the DeleteBackendAPI 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 DeleteBackendAPIRequest method.
req, resp := client.DeleteBackendAPIRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI

func (*AmplifyBackend) DeleteBackendAPIWithContext ¶

func (c *AmplifyBackend) DeleteBackendAPIWithContext(ctx aws.Context, input *DeleteBackendAPIInput, opts ...request.Option) (*DeleteBackendAPIOutput, error)

DeleteBackendAPIWithContext is the same as DeleteBackendAPI with the addition of the ability to pass a context and additional request options.

See DeleteBackendAPI 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 (*AmplifyBackend) DeleteBackendAuth ¶

func (c *AmplifyBackend) DeleteBackendAuth(input *DeleteBackendAuthInput) (*DeleteBackendAuthOutput, error)

DeleteBackendAuth API operation for AmplifyBackend.

Deletes an existing backend authentication resource.

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 AmplifyBackend's API operation DeleteBackendAuth for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth

func (*AmplifyBackend) DeleteBackendAuthRequest ¶

func (c *AmplifyBackend) DeleteBackendAuthRequest(input *DeleteBackendAuthInput) (req *request.Request, output *DeleteBackendAuthOutput)

DeleteBackendAuthRequest generates a "aws/request.Request" representing the client's request for the DeleteBackendAuth 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 DeleteBackendAuth for more information on using the DeleteBackendAuth 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 DeleteBackendAuthRequest method.
req, resp := client.DeleteBackendAuthRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth

func (*AmplifyBackend) DeleteBackendAuthWithContext ¶

func (c *AmplifyBackend) DeleteBackendAuthWithContext(ctx aws.Context, input *DeleteBackendAuthInput, opts ...request.Option) (*DeleteBackendAuthOutput, error)

DeleteBackendAuthWithContext is the same as DeleteBackendAuth with the addition of the ability to pass a context and additional request options.

See DeleteBackendAuth 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 (*AmplifyBackend) DeleteBackendRequest ¶

func (c *AmplifyBackend) DeleteBackendRequest(input *DeleteBackendInput) (req *request.Request, output *DeleteBackendOutput)

DeleteBackendRequest generates a "aws/request.Request" representing the client's request for the DeleteBackend 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 DeleteBackend for more information on using the DeleteBackend 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 DeleteBackendRequest method.
req, resp := client.DeleteBackendRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend

func (*AmplifyBackend) DeleteBackendWithContext ¶

func (c *AmplifyBackend) DeleteBackendWithContext(ctx aws.Context, input *DeleteBackendInput, opts ...request.Option) (*DeleteBackendOutput, error)

DeleteBackendWithContext is the same as DeleteBackend with the addition of the ability to pass a context and additional request options.

See DeleteBackend 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 (*AmplifyBackend) DeleteToken ¶

func (c *AmplifyBackend) DeleteToken(input *DeleteTokenInput) (*DeleteTokenOutput, error)

DeleteToken API operation for AmplifyBackend.

Deletes the challenge token based on the given appId and sessionId.

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 AmplifyBackend's API operation DeleteToken for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken

func (*AmplifyBackend) DeleteTokenRequest ¶

func (c *AmplifyBackend) DeleteTokenRequest(input *DeleteTokenInput) (req *request.Request, output *DeleteTokenOutput)

DeleteTokenRequest generates a "aws/request.Request" representing the client's request for the DeleteToken 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 DeleteToken for more information on using the DeleteToken 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 DeleteTokenRequest method.
req, resp := client.DeleteTokenRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken

func (*AmplifyBackend) DeleteTokenWithContext ¶

func (c *AmplifyBackend) DeleteTokenWithContext(ctx aws.Context, input *DeleteTokenInput, opts ...request.Option) (*DeleteTokenOutput, error)

DeleteTokenWithContext is the same as DeleteToken with the addition of the ability to pass a context and additional request options.

See DeleteToken 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 (*AmplifyBackend) GenerateBackendAPIModels ¶

func (c *AmplifyBackend) GenerateBackendAPIModels(input *GenerateBackendAPIModelsInput) (*GenerateBackendAPIModelsOutput, error)

GenerateBackendAPIModels API operation for AmplifyBackend.

Generates a model schema for an existing backend API resource.

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 AmplifyBackend's API operation GenerateBackendAPIModels for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels

func (*AmplifyBackend) GenerateBackendAPIModelsRequest ¶

func (c *AmplifyBackend) GenerateBackendAPIModelsRequest(input *GenerateBackendAPIModelsInput) (req *request.Request, output *GenerateBackendAPIModelsOutput)

GenerateBackendAPIModelsRequest generates a "aws/request.Request" representing the client's request for the GenerateBackendAPIModels 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 GenerateBackendAPIModels for more information on using the GenerateBackendAPIModels 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 GenerateBackendAPIModelsRequest method.
req, resp := client.GenerateBackendAPIModelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels

func (*AmplifyBackend) GenerateBackendAPIModelsWithContext ¶

func (c *AmplifyBackend) GenerateBackendAPIModelsWithContext(ctx aws.Context, input *GenerateBackendAPIModelsInput, opts ...request.Option) (*GenerateBackendAPIModelsOutput, error)

GenerateBackendAPIModelsWithContext is the same as GenerateBackendAPIModels with the addition of the ability to pass a context and additional request options.

See GenerateBackendAPIModels 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 (*AmplifyBackend) GetBackend ¶

func (c *AmplifyBackend) GetBackend(input *GetBackendInput) (*GetBackendOutput, error)

GetBackend API operation for AmplifyBackend.

Provides project-level details for your Amplify UI project.

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 AmplifyBackend's API operation GetBackend for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend

func (*AmplifyBackend) GetBackendAPI ¶

func (c *AmplifyBackend) GetBackendAPI(input *GetBackendAPIInput) (*GetBackendAPIOutput, error)

GetBackendAPI API operation for AmplifyBackend.

Gets the details for a backend API.

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 AmplifyBackend's API operation GetBackendAPI for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI

func (*AmplifyBackend) GetBackendAPIModels ¶

func (c *AmplifyBackend) GetBackendAPIModels(input *GetBackendAPIModelsInput) (*GetBackendAPIModelsOutput, error)

GetBackendAPIModels API operation for AmplifyBackend.

Generates a model schema for existing backend API resource.

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 AmplifyBackend's API operation GetBackendAPIModels for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels

func (*AmplifyBackend) GetBackendAPIModelsRequest ¶

func (c *AmplifyBackend) GetBackendAPIModelsRequest(input *GetBackendAPIModelsInput) (req *request.Request, output *GetBackendAPIModelsOutput)

GetBackendAPIModelsRequest generates a "aws/request.Request" representing the client's request for the GetBackendAPIModels 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 GetBackendAPIModels for more information on using the GetBackendAPIModels 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 GetBackendAPIModelsRequest method.
req, resp := client.GetBackendAPIModelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels

func (*AmplifyBackend) GetBackendAPIModelsWithContext ¶

func (c *AmplifyBackend) GetBackendAPIModelsWithContext(ctx aws.Context, input *GetBackendAPIModelsInput, opts ...request.Option) (*GetBackendAPIModelsOutput, error)

GetBackendAPIModelsWithContext is the same as GetBackendAPIModels with the addition of the ability to pass a context and additional request options.

See GetBackendAPIModels 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 (*AmplifyBackend) GetBackendAPIRequest ¶

func (c *AmplifyBackend) GetBackendAPIRequest(input *GetBackendAPIInput) (req *request.Request, output *GetBackendAPIOutput)

GetBackendAPIRequest generates a "aws/request.Request" representing the client's request for the GetBackendAPI 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 GetBackendAPI for more information on using the GetBackendAPI 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 GetBackendAPIRequest method.
req, resp := client.GetBackendAPIRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI

func (*AmplifyBackend) GetBackendAPIWithContext ¶

func (c *AmplifyBackend) GetBackendAPIWithContext(ctx aws.Context, input *GetBackendAPIInput, opts ...request.Option) (*GetBackendAPIOutput, error)

GetBackendAPIWithContext is the same as GetBackendAPI with the addition of the ability to pass a context and additional request options.

See GetBackendAPI 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 (*AmplifyBackend) GetBackendAuth ¶

func (c *AmplifyBackend) GetBackendAuth(input *GetBackendAuthInput) (*GetBackendAuthOutput, error)

GetBackendAuth API operation for AmplifyBackend.

Gets backend auth details.

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 AmplifyBackend's API operation GetBackendAuth for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth

func (*AmplifyBackend) GetBackendAuthRequest ¶

func (c *AmplifyBackend) GetBackendAuthRequest(input *GetBackendAuthInput) (req *request.Request, output *GetBackendAuthOutput)

GetBackendAuthRequest generates a "aws/request.Request" representing the client's request for the GetBackendAuth 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 GetBackendAuth for more information on using the GetBackendAuth 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 GetBackendAuthRequest method.
req, resp := client.GetBackendAuthRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth

func (*AmplifyBackend) GetBackendAuthWithContext ¶

func (c *AmplifyBackend) GetBackendAuthWithContext(ctx aws.Context, input *GetBackendAuthInput, opts ...request.Option) (*GetBackendAuthOutput, error)

GetBackendAuthWithContext is the same as GetBackendAuth with the addition of the ability to pass a context and additional request options.

See GetBackendAuth 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 (*AmplifyBackend) GetBackendJob ¶

func (c *AmplifyBackend) GetBackendJob(input *GetBackendJobInput) (*GetBackendJobOutput, error)

GetBackendJob API operation for AmplifyBackend.

Returns information about a specific job.

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 AmplifyBackend's API operation GetBackendJob for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob

func (*AmplifyBackend) GetBackendJobRequest ¶

func (c *AmplifyBackend) GetBackendJobRequest(input *GetBackendJobInput) (req *request.Request, output *GetBackendJobOutput)

GetBackendJobRequest generates a "aws/request.Request" representing the client's request for the GetBackendJob 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 GetBackendJob for more information on using the GetBackendJob 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 GetBackendJobRequest method.
req, resp := client.GetBackendJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob

func (*AmplifyBackend) GetBackendJobWithContext ¶

func (c *AmplifyBackend) GetBackendJobWithContext(ctx aws.Context, input *GetBackendJobInput, opts ...request.Option) (*GetBackendJobOutput, error)

GetBackendJobWithContext is the same as GetBackendJob with the addition of the ability to pass a context and additional request options.

See GetBackendJob 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 (*AmplifyBackend) GetBackendRequest ¶

func (c *AmplifyBackend) GetBackendRequest(input *GetBackendInput) (req *request.Request, output *GetBackendOutput)

GetBackendRequest generates a "aws/request.Request" representing the client's request for the GetBackend 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 GetBackend for more information on using the GetBackend 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 GetBackendRequest method.
req, resp := client.GetBackendRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend

func (*AmplifyBackend) GetBackendWithContext ¶

func (c *AmplifyBackend) GetBackendWithContext(ctx aws.Context, input *GetBackendInput, opts ...request.Option) (*GetBackendOutput, error)

GetBackendWithContext is the same as GetBackend with the addition of the ability to pass a context and additional request options.

See GetBackend 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 (*AmplifyBackend) GetToken ¶

func (c *AmplifyBackend) GetToken(input *GetTokenInput) (*GetTokenOutput, error)

GetToken API operation for AmplifyBackend.

Gets the challenge token based on the given appId and sessionId.

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 AmplifyBackend's API operation GetToken for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken

func (*AmplifyBackend) GetTokenRequest ¶

func (c *AmplifyBackend) GetTokenRequest(input *GetTokenInput) (req *request.Request, output *GetTokenOutput)

GetTokenRequest generates a "aws/request.Request" representing the client's request for the GetToken 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 GetToken for more information on using the GetToken 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 GetTokenRequest method.
req, resp := client.GetTokenRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken

func (*AmplifyBackend) GetTokenWithContext ¶

func (c *AmplifyBackend) GetTokenWithContext(ctx aws.Context, input *GetTokenInput, opts ...request.Option) (*GetTokenOutput, error)

GetTokenWithContext is the same as GetToken with the addition of the ability to pass a context and additional request options.

See GetToken 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 (*AmplifyBackend) ListBackendJobs ¶

func (c *AmplifyBackend) ListBackendJobs(input *ListBackendJobsInput) (*ListBackendJobsOutput, error)

ListBackendJobs API operation for AmplifyBackend.

Lists the jobs for the backend 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 AmplifyBackend's API operation ListBackendJobs for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs

func (*AmplifyBackend) ListBackendJobsPages ¶

func (c *AmplifyBackend) ListBackendJobsPages(input *ListBackendJobsInput, fn func(*ListBackendJobsOutput, bool) bool) error

ListBackendJobsPages iterates over the pages of a ListBackendJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBackendJobs method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListBackendJobs operation.
pageNum := 0
err := client.ListBackendJobsPages(params,
    func(page *amplifybackend.ListBackendJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*AmplifyBackend) ListBackendJobsPagesWithContext ¶

func (c *AmplifyBackend) ListBackendJobsPagesWithContext(ctx aws.Context, input *ListBackendJobsInput, fn func(*ListBackendJobsOutput, bool) bool, opts ...request.Option) error

ListBackendJobsPagesWithContext same as ListBackendJobsPages except it takes a Context and allows setting request options on the pages.

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 (*AmplifyBackend) ListBackendJobsRequest ¶

func (c *AmplifyBackend) ListBackendJobsRequest(input *ListBackendJobsInput) (req *request.Request, output *ListBackendJobsOutput)

ListBackendJobsRequest generates a "aws/request.Request" representing the client's request for the ListBackendJobs 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 ListBackendJobs for more information on using the ListBackendJobs 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 ListBackendJobsRequest method.
req, resp := client.ListBackendJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs

func (*AmplifyBackend) ListBackendJobsWithContext ¶

func (c *AmplifyBackend) ListBackendJobsWithContext(ctx aws.Context, input *ListBackendJobsInput, opts ...request.Option) (*ListBackendJobsOutput, error)

ListBackendJobsWithContext is the same as ListBackendJobs with the addition of the ability to pass a context and additional request options.

See ListBackendJobs 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 (*AmplifyBackend) RemoveAllBackends ¶

func (c *AmplifyBackend) RemoveAllBackends(input *RemoveAllBackendsInput) (*RemoveAllBackendsOutput, error)

RemoveAllBackends API operation for AmplifyBackend.

Removes all backend environments from your Amplify project.

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 AmplifyBackend's API operation RemoveAllBackends for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends

func (*AmplifyBackend) RemoveAllBackendsRequest ¶

func (c *AmplifyBackend) RemoveAllBackendsRequest(input *RemoveAllBackendsInput) (req *request.Request, output *RemoveAllBackendsOutput)

RemoveAllBackendsRequest generates a "aws/request.Request" representing the client's request for the RemoveAllBackends 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 RemoveAllBackends for more information on using the RemoveAllBackends 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 RemoveAllBackendsRequest method.
req, resp := client.RemoveAllBackendsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends

func (*AmplifyBackend) RemoveAllBackendsWithContext ¶

func (c *AmplifyBackend) RemoveAllBackendsWithContext(ctx aws.Context, input *RemoveAllBackendsInput, opts ...request.Option) (*RemoveAllBackendsOutput, error)

RemoveAllBackendsWithContext is the same as RemoveAllBackends with the addition of the ability to pass a context and additional request options.

See RemoveAllBackends 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 (*AmplifyBackend) RemoveBackendConfig ¶

func (c *AmplifyBackend) RemoveBackendConfig(input *RemoveBackendConfigInput) (*RemoveBackendConfigOutput, error)

RemoveBackendConfig API operation for AmplifyBackend.

Removes the AWS resources that are required to access the Amplify Admin UI.

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 AmplifyBackend's API operation RemoveBackendConfig for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig

func (*AmplifyBackend) RemoveBackendConfigRequest ¶

func (c *AmplifyBackend) RemoveBackendConfigRequest(input *RemoveBackendConfigInput) (req *request.Request, output *RemoveBackendConfigOutput)

RemoveBackendConfigRequest generates a "aws/request.Request" representing the client's request for the RemoveBackendConfig 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 RemoveBackendConfig for more information on using the RemoveBackendConfig 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 RemoveBackendConfigRequest method.
req, resp := client.RemoveBackendConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig

func (*AmplifyBackend) RemoveBackendConfigWithContext ¶

func (c *AmplifyBackend) RemoveBackendConfigWithContext(ctx aws.Context, input *RemoveBackendConfigInput, opts ...request.Option) (*RemoveBackendConfigOutput, error)

RemoveBackendConfigWithContext is the same as RemoveBackendConfig with the addition of the ability to pass a context and additional request options.

See RemoveBackendConfig 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 (*AmplifyBackend) UpdateBackendAPI ¶

func (c *AmplifyBackend) UpdateBackendAPI(input *UpdateBackendAPIInput) (*UpdateBackendAPIOutput, error)

UpdateBackendAPI API operation for AmplifyBackend.

Updates an existing backend API resource.

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 AmplifyBackend's API operation UpdateBackendAPI for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI

func (*AmplifyBackend) UpdateBackendAPIRequest ¶

func (c *AmplifyBackend) UpdateBackendAPIRequest(input *UpdateBackendAPIInput) (req *request.Request, output *UpdateBackendAPIOutput)

UpdateBackendAPIRequest generates a "aws/request.Request" representing the client's request for the UpdateBackendAPI 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 UpdateBackendAPI for more information on using the UpdateBackendAPI 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 UpdateBackendAPIRequest method.
req, resp := client.UpdateBackendAPIRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI

func (*AmplifyBackend) UpdateBackendAPIWithContext ¶

func (c *AmplifyBackend) UpdateBackendAPIWithContext(ctx aws.Context, input *UpdateBackendAPIInput, opts ...request.Option) (*UpdateBackendAPIOutput, error)

UpdateBackendAPIWithContext is the same as UpdateBackendAPI with the addition of the ability to pass a context and additional request options.

See UpdateBackendAPI 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 (*AmplifyBackend) UpdateBackendAuth ¶

func (c *AmplifyBackend) UpdateBackendAuth(input *UpdateBackendAuthInput) (*UpdateBackendAuthOutput, error)

UpdateBackendAuth API operation for AmplifyBackend.

Updates an existing backend authentication resource.

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 AmplifyBackend's API operation UpdateBackendAuth for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth

func (*AmplifyBackend) UpdateBackendAuthRequest ¶

func (c *AmplifyBackend) UpdateBackendAuthRequest(input *UpdateBackendAuthInput) (req *request.Request, output *UpdateBackendAuthOutput)

UpdateBackendAuthRequest generates a "aws/request.Request" representing the client's request for the UpdateBackendAuth 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 UpdateBackendAuth for more information on using the UpdateBackendAuth 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 UpdateBackendAuthRequest method.
req, resp := client.UpdateBackendAuthRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth

func (*AmplifyBackend) UpdateBackendAuthWithContext ¶

func (c *AmplifyBackend) UpdateBackendAuthWithContext(ctx aws.Context, input *UpdateBackendAuthInput, opts ...request.Option) (*UpdateBackendAuthOutput, error)

UpdateBackendAuthWithContext is the same as UpdateBackendAuth with the addition of the ability to pass a context and additional request options.

See UpdateBackendAuth 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 (*AmplifyBackend) UpdateBackendConfig ¶

func (c *AmplifyBackend) UpdateBackendConfig(input *UpdateBackendConfigInput) (*UpdateBackendConfigOutput, error)

UpdateBackendConfig API operation for AmplifyBackend.

Updates the AWS resources that are required to access the Amplify Admin UI.

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 AmplifyBackend's API operation UpdateBackendConfig for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig

func (*AmplifyBackend) UpdateBackendConfigRequest ¶

func (c *AmplifyBackend) UpdateBackendConfigRequest(input *UpdateBackendConfigInput) (req *request.Request, output *UpdateBackendConfigOutput)

UpdateBackendConfigRequest generates a "aws/request.Request" representing the client's request for the UpdateBackendConfig 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 UpdateBackendConfig for more information on using the UpdateBackendConfig 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 UpdateBackendConfigRequest method.
req, resp := client.UpdateBackendConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig

func (*AmplifyBackend) UpdateBackendConfigWithContext ¶

func (c *AmplifyBackend) UpdateBackendConfigWithContext(ctx aws.Context, input *UpdateBackendConfigInput, opts ...request.Option) (*UpdateBackendConfigOutput, error)

UpdateBackendConfigWithContext is the same as UpdateBackendConfig with the addition of the ability to pass a context and additional request options.

See UpdateBackendConfig 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 (*AmplifyBackend) UpdateBackendJob ¶

func (c *AmplifyBackend) UpdateBackendJob(input *UpdateBackendJobInput) (*UpdateBackendJobOutput, error)

UpdateBackendJob API operation for AmplifyBackend.

Updates a specific job.

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 AmplifyBackend's API operation UpdateBackendJob for usage and error information.

Returned Error Types:

  • NotFoundException An error returned when a specific resource type is not found.

  • GatewayTimeoutException An error returned if there's a temporary issue with the service.

  • TooManyRequestsException An error that is returned when a limit of a specific type is exceeded.

  • BadRequestException An error returned if a request is not formed properly.

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob

func (*AmplifyBackend) UpdateBackendJobRequest ¶

func (c *AmplifyBackend) UpdateBackendJobRequest(input *UpdateBackendJobInput) (req *request.Request, output *UpdateBackendJobOutput)

UpdateBackendJobRequest generates a "aws/request.Request" representing the client's request for the UpdateBackendJob 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 UpdateBackendJob for more information on using the UpdateBackendJob 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 UpdateBackendJobRequest method.
req, resp := client.UpdateBackendJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob

func (*AmplifyBackend) UpdateBackendJobWithContext ¶

func (c *AmplifyBackend) UpdateBackendJobWithContext(ctx aws.Context, input *UpdateBackendJobInput, opts ...request.Option) (*UpdateBackendJobOutput, error)

UpdateBackendJobWithContext is the same as UpdateBackendJob with the addition of the ability to pass a context and additional request options.

See UpdateBackendJob 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 BackendAPIAppSyncAuthSettings ¶

type BackendAPIAppSyncAuthSettings struct {

	// The Amazon Cognito user pool ID, if Amazon Cognito is used as an authentication
	// setting to access your data models.
	CognitoUserPoolId *string `locationName:"cognitoUserPoolId" type:"string"`

	// The API key description for API_KEY, if it is used as an authentication mechanism
	// to access your data models.
	Description *string `locationName:"description" type:"string"`

	// The API key expiration time for API_KEY, if it is used as an authentication
	// mechanism to access your data models.
	ExpirationTime *float64 `locationName:"expirationTime" type:"double"`

	// The expiry time for the OpenID authentication mechanism.
	OpenIDAuthTTL *string `locationName:"openIDAuthTTL" type:"string"`

	// The clientID for openID, if openID is used as an authentication setting to
	// access your data models.
	OpenIDClientId *string `locationName:"openIDClientId" type:"string"`

	// The expiry time for the OpenID authentication mechanism.
	OpenIDIatTTL *string `locationName:"openIDIatTTL" type:"string"`

	// The openID issuer URL, if openID is used as an authentication setting to
	// access your data models.
	OpenIDIssueURL *string `locationName:"openIDIssueURL" type:"string"`

	// The openID provider name, if openID is used as an authentication mechanism
	// to access your data models.
	OpenIDProviderName *string `locationName:"openIDProviderName" type:"string"`
	// contains filtered or unexported fields
}

The authentication settings for accessing provisioned data models in your Amplify project.

func (BackendAPIAppSyncAuthSettings) GoString ¶

GoString returns the string representation

func (*BackendAPIAppSyncAuthSettings) SetCognitoUserPoolId ¶

SetCognitoUserPoolId sets the CognitoUserPoolId field's value.

func (*BackendAPIAppSyncAuthSettings) SetDescription ¶

SetDescription sets the Description field's value.

func (*BackendAPIAppSyncAuthSettings) SetExpirationTime ¶

SetExpirationTime sets the ExpirationTime field's value.

func (*BackendAPIAppSyncAuthSettings) SetOpenIDAuthTTL ¶

SetOpenIDAuthTTL sets the OpenIDAuthTTL field's value.

func (*BackendAPIAppSyncAuthSettings) SetOpenIDClientId ¶

SetOpenIDClientId sets the OpenIDClientId field's value.

func (*BackendAPIAppSyncAuthSettings) SetOpenIDIatTTL ¶

SetOpenIDIatTTL sets the OpenIDIatTTL field's value.

func (*BackendAPIAppSyncAuthSettings) SetOpenIDIssueURL ¶

SetOpenIDIssueURL sets the OpenIDIssueURL field's value.

func (*BackendAPIAppSyncAuthSettings) SetOpenIDProviderName ¶

SetOpenIDProviderName sets the OpenIDProviderName field's value.

func (BackendAPIAppSyncAuthSettings) String ¶

String returns the string representation

type BackendAPIAuthType ¶

type BackendAPIAuthType struct {

	// Describes the authentication mode.
	Mode *string `locationName:"mode" type:"string" enum:"Mode"`

	// Describes settings for the authentication mode.
	Settings *BackendAPIAppSyncAuthSettings `locationName:"settings" type:"structure"`
	// contains filtered or unexported fields
}

Describes the auth types for your configured data models.

func (BackendAPIAuthType) GoString ¶

func (s BackendAPIAuthType) GoString() string

GoString returns the string representation

func (*BackendAPIAuthType) SetMode ¶

SetMode sets the Mode field's value.

func (*BackendAPIAuthType) SetSettings ¶

SetSettings sets the Settings field's value.

func (BackendAPIAuthType) String ¶

func (s BackendAPIAuthType) String() string

String returns the string representation

type BackendAPIConflictResolution ¶

type BackendAPIConflictResolution struct {

	// The strategy for conflict resolution.
	ResolutionStrategy *string `locationName:"resolutionStrategy" type:"string" enum:"ResolutionStrategy"`
	// contains filtered or unexported fields
}

Describes the conflict resolution configuration for the data model configured in your Amplify project.

func (BackendAPIConflictResolution) GoString ¶

func (s BackendAPIConflictResolution) GoString() string

GoString returns the string representation

func (*BackendAPIConflictResolution) SetResolutionStrategy ¶

SetResolutionStrategy sets the ResolutionStrategy field's value.

func (BackendAPIConflictResolution) String ¶

String returns the string representation

type BackendAPIResourceConfig ¶

type BackendAPIResourceConfig struct {

	// Additional authentication methods used to interact with your data models.
	AdditionalAuthTypes []*BackendAPIAuthType `locationName:"additionalAuthTypes" type:"list"`

	// The API name used to interact with the data model, configured as a part of
	// the Amplify project.
	ApiName *string `locationName:"apiName" type:"string"`

	// The conflict resolution strategy for your data stored in the data models.
	ConflictResolution *BackendAPIConflictResolution `locationName:"conflictResolution" type:"structure"`

	// The default authentication type for interacting with the configured data
	// models in your Amplify project.
	DefaultAuthType *BackendAPIAuthType `locationName:"defaultAuthType" type:"structure"`

	// The service used to provision and interact with the data model.
	Service *string `locationName:"service" type:"string"`

	// The definition of the data model in the annotated transform of the GraphQL
	// schema.
	TransformSchema *string `locationName:"transformSchema" type:"string"`
	// contains filtered or unexported fields
}

The resource configuration for the data model, configured as a part of the Amplify project.

func (BackendAPIResourceConfig) GoString ¶

func (s BackendAPIResourceConfig) GoString() string

GoString returns the string representation

func (*BackendAPIResourceConfig) SetAdditionalAuthTypes ¶

func (s *BackendAPIResourceConfig) SetAdditionalAuthTypes(v []*BackendAPIAuthType) *BackendAPIResourceConfig

SetAdditionalAuthTypes sets the AdditionalAuthTypes field's value.

func (*BackendAPIResourceConfig) SetApiName ¶

SetApiName sets the ApiName field's value.

func (*BackendAPIResourceConfig) SetConflictResolution ¶

SetConflictResolution sets the ConflictResolution field's value.

func (*BackendAPIResourceConfig) SetDefaultAuthType ¶

SetDefaultAuthType sets the DefaultAuthType field's value.

func (*BackendAPIResourceConfig) SetService ¶

SetService sets the Service field's value.

func (*BackendAPIResourceConfig) SetTransformSchema ¶

func (s *BackendAPIResourceConfig) SetTransformSchema(v string) *BackendAPIResourceConfig

SetTransformSchema sets the TransformSchema field's value.

func (BackendAPIResourceConfig) String ¶

func (s BackendAPIResourceConfig) String() string

String returns the string representation

type BackendAuthSocialProviderConfig ¶

type BackendAuthSocialProviderConfig struct {

	// Describes the client_id that can be obtained from the third-party social
	// federation provider.
	ClientId *string `locationName:"client_id" type:"string"`

	// Describes the client_secret that can be obtained from third-party social
	// federation providers.
	ClientSecret *string `locationName:"client_secret" type:"string"`
	// contains filtered or unexported fields
}

Describes third-party social federation configurations for allowing your app users to sign in using OAuth.

func (BackendAuthSocialProviderConfig) GoString ¶

GoString returns the string representation

func (*BackendAuthSocialProviderConfig) SetClientId ¶

SetClientId sets the ClientId field's value.

func (*BackendAuthSocialProviderConfig) SetClientSecret ¶

SetClientSecret sets the ClientSecret field's value.

func (BackendAuthSocialProviderConfig) String ¶

String returns the string representation

type BackendJobRespObj ¶

type BackendJobRespObj struct {

	// The app ID.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`

	// The name of the backend environment.
	//
	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string" required:"true"`

	// The time when the job was created.
	CreateTime *string `locationName:"createTime" type:"string"`

	// If the request failed, this is the returned error.
	Error *string `locationName:"error" type:"string"`

	// The ID for the job.
	JobId *string `locationName:"jobId" type:"string"`

	// The name of the operation.
	Operation *string `locationName:"operation" type:"string"`

	// The current status of the request.
	Status *string `locationName:"status" type:"string"`

	// The time when the job was last updated.
	UpdateTime *string `locationName:"updateTime" type:"string"`
	// contains filtered or unexported fields
}

The response object for this operation.

func (BackendJobRespObj) GoString ¶

func (s BackendJobRespObj) GoString() string

GoString returns the string representation

func (*BackendJobRespObj) SetAppId ¶

func (s *BackendJobRespObj) SetAppId(v string) *BackendJobRespObj

SetAppId sets the AppId field's value.

func (*BackendJobRespObj) SetBackendEnvironmentName ¶

func (s *BackendJobRespObj) SetBackendEnvironmentName(v string) *BackendJobRespObj

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*BackendJobRespObj) SetCreateTime ¶

func (s *BackendJobRespObj) SetCreateTime(v string) *BackendJobRespObj

SetCreateTime sets the CreateTime field's value.

func (*BackendJobRespObj) SetError ¶

func (s *BackendJobRespObj) SetError(v string) *BackendJobRespObj

SetError sets the Error field's value.

func (*BackendJobRespObj) SetJobId ¶

func (s *BackendJobRespObj) SetJobId(v string) *BackendJobRespObj

SetJobId sets the JobId field's value.

func (*BackendJobRespObj) SetOperation ¶

func (s *BackendJobRespObj) SetOperation(v string) *BackendJobRespObj

SetOperation sets the Operation field's value.

func (*BackendJobRespObj) SetStatus ¶

func (s *BackendJobRespObj) SetStatus(v string) *BackendJobRespObj

SetStatus sets the Status field's value.

func (*BackendJobRespObj) SetUpdateTime ¶

func (s *BackendJobRespObj) SetUpdateTime(v string) *BackendJobRespObj

SetUpdateTime sets the UpdateTime field's value.

func (BackendJobRespObj) String ¶

func (s BackendJobRespObj) String() string

String returns the string representation

type BadRequestException ¶

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// An error message to inform that the request failed.
	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An error returned if a request is not formed properly.

func (*BadRequestException) Code ¶

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error ¶

func (s *BadRequestException) Error() string

func (BadRequestException) GoString ¶

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message ¶

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr ¶

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID ¶

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode ¶

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String ¶

func (s BadRequestException) String() string

String returns the string representation

type CloneBackendInput ¶

type CloneBackendInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// TargetEnvironmentName is a required field
	TargetEnvironmentName *string `locationName:"targetEnvironmentName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CloneBackendInput) GoString ¶

func (s CloneBackendInput) GoString() string

GoString returns the string representation

func (*CloneBackendInput) SetAppId ¶

func (s *CloneBackendInput) SetAppId(v string) *CloneBackendInput

SetAppId sets the AppId field's value.

func (*CloneBackendInput) SetBackendEnvironmentName ¶

func (s *CloneBackendInput) SetBackendEnvironmentName(v string) *CloneBackendInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CloneBackendInput) SetTargetEnvironmentName ¶

func (s *CloneBackendInput) SetTargetEnvironmentName(v string) *CloneBackendInput

SetTargetEnvironmentName sets the TargetEnvironmentName field's value.

func (CloneBackendInput) String ¶

func (s CloneBackendInput) String() string

String returns the string representation

func (*CloneBackendInput) Validate ¶

func (s *CloneBackendInput) Validate() error

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

type CloneBackendOutput ¶

type CloneBackendOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (CloneBackendOutput) GoString ¶

func (s CloneBackendOutput) GoString() string

GoString returns the string representation

func (*CloneBackendOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CloneBackendOutput) SetBackendEnvironmentName ¶

func (s *CloneBackendOutput) SetBackendEnvironmentName(v string) *CloneBackendOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CloneBackendOutput) SetError ¶

SetError sets the Error field's value.

func (*CloneBackendOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*CloneBackendOutput) SetOperation ¶

func (s *CloneBackendOutput) SetOperation(v string) *CloneBackendOutput

SetOperation sets the Operation field's value.

func (*CloneBackendOutput) SetStatus ¶

func (s *CloneBackendOutput) SetStatus(v string) *CloneBackendOutput

SetStatus sets the Status field's value.

func (CloneBackendOutput) String ¶

func (s CloneBackendOutput) String() string

String returns the string representation

type CreateBackendAPIInput ¶

type CreateBackendAPIInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string" required:"true"`

	// The resource configuration for the data model, configured as a part of the
	// Amplify project.
	//
	// ResourceConfig is a required field
	ResourceConfig *BackendAPIResourceConfig `locationName:"resourceConfig" type:"structure" required:"true"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateBackendAPIInput) GoString ¶

func (s CreateBackendAPIInput) GoString() string

GoString returns the string representation

func (*CreateBackendAPIInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendAPIInput) SetBackendEnvironmentName ¶

func (s *CreateBackendAPIInput) SetBackendEnvironmentName(v string) *CreateBackendAPIInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CreateBackendAPIInput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*CreateBackendAPIInput) SetResourceName ¶

func (s *CreateBackendAPIInput) SetResourceName(v string) *CreateBackendAPIInput

SetResourceName sets the ResourceName field's value.

func (CreateBackendAPIInput) String ¶

func (s CreateBackendAPIInput) String() string

String returns the string representation

func (*CreateBackendAPIInput) Validate ¶

func (s *CreateBackendAPIInput) Validate() error

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

type CreateBackendAPIOutput ¶

type CreateBackendAPIOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackendAPIOutput) GoString ¶

func (s CreateBackendAPIOutput) GoString() string

GoString returns the string representation

func (*CreateBackendAPIOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendAPIOutput) SetBackendEnvironmentName ¶

func (s *CreateBackendAPIOutput) SetBackendEnvironmentName(v string) *CreateBackendAPIOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CreateBackendAPIOutput) SetError ¶

SetError sets the Error field's value.

func (*CreateBackendAPIOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*CreateBackendAPIOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*CreateBackendAPIOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (CreateBackendAPIOutput) String ¶

func (s CreateBackendAPIOutput) String() string

String returns the string representation

type CreateBackendAuthForgotPasswordConfig ¶

type CreateBackendAuthForgotPasswordConfig struct {

	// Describes which method to use (either SMS or email) to deliver messages to
	// app users that want to recover their password.
	//
	// DeliveryMethod is a required field
	DeliveryMethod *string `locationName:"deliveryMethod" type:"string" required:"true" enum:"DeliveryMethod"`

	// The configuration for the email sent when an app user forgets their password.
	EmailSettings *EmailSettings `locationName:"emailSettings" type:"structure"`

	// The configuration for the SMS message sent when an app user forgets their
	// password.
	SmsSettings *SmsSettings `locationName:"smsSettings" type:"structure"`
	// contains filtered or unexported fields
}

Describes the forgot password policy for authenticating into the Amplify app.

func (CreateBackendAuthForgotPasswordConfig) GoString ¶

GoString returns the string representation

func (*CreateBackendAuthForgotPasswordConfig) SetDeliveryMethod ¶

SetDeliveryMethod sets the DeliveryMethod field's value.

func (*CreateBackendAuthForgotPasswordConfig) SetEmailSettings ¶

SetEmailSettings sets the EmailSettings field's value.

func (*CreateBackendAuthForgotPasswordConfig) SetSmsSettings ¶

SetSmsSettings sets the SmsSettings field's value.

func (CreateBackendAuthForgotPasswordConfig) String ¶

String returns the string representation

func (*CreateBackendAuthForgotPasswordConfig) Validate ¶

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

type CreateBackendAuthIdentityPoolConfig ¶

type CreateBackendAuthIdentityPoolConfig struct {

	// Name of the identity pool used for authorization.
	//
	// IdentityPoolName is a required field
	IdentityPoolName *string `locationName:"identityPoolName" type:"string" required:"true"`

	// Set to true or false based on whether you want to enable guest authorization
	// to your Amplify app.
	//
	// UnauthenticatedLogin is a required field
	UnauthenticatedLogin *bool `locationName:"unauthenticatedLogin" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Describes authorization configurations for the auth resources, configured as a part of your Amplify project.

func (CreateBackendAuthIdentityPoolConfig) GoString ¶

GoString returns the string representation

func (*CreateBackendAuthIdentityPoolConfig) SetIdentityPoolName ¶

SetIdentityPoolName sets the IdentityPoolName field's value.

func (*CreateBackendAuthIdentityPoolConfig) SetUnauthenticatedLogin ¶

SetUnauthenticatedLogin sets the UnauthenticatedLogin field's value.

func (CreateBackendAuthIdentityPoolConfig) String ¶

String returns the string representation

func (*CreateBackendAuthIdentityPoolConfig) Validate ¶

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

type CreateBackendAuthInput ¶

type CreateBackendAuthInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string" required:"true"`

	// Defines the resource configuration when creating an auth resource in your
	// Amplify project.
	//
	// ResourceConfig is a required field
	ResourceConfig *CreateBackendAuthResourceConfig `locationName:"resourceConfig" type:"structure" required:"true"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateBackendAuthInput) GoString ¶

func (s CreateBackendAuthInput) GoString() string

GoString returns the string representation

func (*CreateBackendAuthInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendAuthInput) SetBackendEnvironmentName ¶

func (s *CreateBackendAuthInput) SetBackendEnvironmentName(v string) *CreateBackendAuthInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CreateBackendAuthInput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*CreateBackendAuthInput) SetResourceName ¶

func (s *CreateBackendAuthInput) SetResourceName(v string) *CreateBackendAuthInput

SetResourceName sets the ResourceName field's value.

func (CreateBackendAuthInput) String ¶

func (s CreateBackendAuthInput) String() string

String returns the string representation

func (*CreateBackendAuthInput) Validate ¶

func (s *CreateBackendAuthInput) Validate() error

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

type CreateBackendAuthMFAConfig ¶

type CreateBackendAuthMFAConfig struct {

	// Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication
	// in your Amplify project.
	//
	// MFAMode is a required field
	MFAMode *string `type:"string" required:"true" enum:"MFAMode"`

	// Describes the configuration settings and methods for your Amplify app users
	// to use MFA.
	Settings *Settings `locationName:"settings" type:"structure"`
	// contains filtered or unexported fields
}

Describes whether to apply multi-factor authentication (MFA) policies for your Amazon Cognito user pool that's configured as a part of your Amplify project.

func (CreateBackendAuthMFAConfig) GoString ¶

func (s CreateBackendAuthMFAConfig) GoString() string

GoString returns the string representation

func (*CreateBackendAuthMFAConfig) SetMFAMode ¶

SetMFAMode sets the MFAMode field's value.

func (*CreateBackendAuthMFAConfig) SetSettings ¶

SetSettings sets the Settings field's value.

func (CreateBackendAuthMFAConfig) String ¶

String returns the string representation

func (*CreateBackendAuthMFAConfig) Validate ¶

func (s *CreateBackendAuthMFAConfig) Validate() error

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

type CreateBackendAuthOAuthConfig ¶

type CreateBackendAuthOAuthConfig struct {

	// The domain prefix for your Amplify app.
	DomainPrefix *string `locationName:"domainPrefix" type:"string"`

	// The OAuth grant type that you use to allow app users to authenticate from
	// your Amplify app.
	//
	// OAuthGrantType is a required field
	OAuthGrantType *string `locationName:"oAuthGrantType" type:"string" required:"true" enum:"OAuthGrantType"`

	// List of OAuth-related flows that allow your app users to authenticate from
	// your Amplify app.
	//
	// OAuthScopes is a required field
	OAuthScopes []*string `locationName:"oAuthScopes" type:"list" required:"true"`

	// The redirected URI for signing in to your Amplify app.
	//
	// RedirectSignInURIs is a required field
	RedirectSignInURIs []*string `locationName:"redirectSignInURIs" type:"list" required:"true"`

	// Redirect URLs that OAuth uses when a user signs out of an Amplify app.
	//
	// RedirectSignOutURIs is a required field
	RedirectSignOutURIs []*string `locationName:"redirectSignOutURIs" type:"list" required:"true"`

	// The settings for using social identity providers for access to your Amplify
	// app.
	SocialProviderSettings *SocialProviderSettings `locationName:"socialProviderSettings" type:"structure"`
	// contains filtered or unexported fields
}

Creates the OAuth configuration for your Amplify project.

func (CreateBackendAuthOAuthConfig) GoString ¶

func (s CreateBackendAuthOAuthConfig) GoString() string

GoString returns the string representation

func (*CreateBackendAuthOAuthConfig) SetDomainPrefix ¶

SetDomainPrefix sets the DomainPrefix field's value.

func (*CreateBackendAuthOAuthConfig) SetOAuthGrantType ¶

SetOAuthGrantType sets the OAuthGrantType field's value.

func (*CreateBackendAuthOAuthConfig) SetOAuthScopes ¶

SetOAuthScopes sets the OAuthScopes field's value.

func (*CreateBackendAuthOAuthConfig) SetRedirectSignInURIs ¶

func (s *CreateBackendAuthOAuthConfig) SetRedirectSignInURIs(v []*string) *CreateBackendAuthOAuthConfig

SetRedirectSignInURIs sets the RedirectSignInURIs field's value.

func (*CreateBackendAuthOAuthConfig) SetRedirectSignOutURIs ¶

func (s *CreateBackendAuthOAuthConfig) SetRedirectSignOutURIs(v []*string) *CreateBackendAuthOAuthConfig

SetRedirectSignOutURIs sets the RedirectSignOutURIs field's value.

func (*CreateBackendAuthOAuthConfig) SetSocialProviderSettings ¶

SetSocialProviderSettings sets the SocialProviderSettings field's value.

func (CreateBackendAuthOAuthConfig) String ¶

String returns the string representation

func (*CreateBackendAuthOAuthConfig) Validate ¶

func (s *CreateBackendAuthOAuthConfig) Validate() error

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

type CreateBackendAuthOutput ¶

type CreateBackendAuthOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackendAuthOutput) GoString ¶

func (s CreateBackendAuthOutput) GoString() string

GoString returns the string representation

func (*CreateBackendAuthOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendAuthOutput) SetBackendEnvironmentName ¶

func (s *CreateBackendAuthOutput) SetBackendEnvironmentName(v string) *CreateBackendAuthOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CreateBackendAuthOutput) SetError ¶

SetError sets the Error field's value.

func (*CreateBackendAuthOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*CreateBackendAuthOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*CreateBackendAuthOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (CreateBackendAuthOutput) String ¶

func (s CreateBackendAuthOutput) String() string

String returns the string representation

type CreateBackendAuthPasswordPolicyConfig ¶

type CreateBackendAuthPasswordPolicyConfig struct {

	// Additional constraints for the password used to access the backend of your
	// Amplify project.
	AdditionalConstraints []*string `locationName:"additionalConstraints" type:"list"`

	// The minimum length of the password used to access the backend of your Amplify
	// project.
	//
	// MinimumLength is a required field
	MinimumLength *float64 `locationName:"minimumLength" type:"double" required:"true"`
	// contains filtered or unexported fields
}

The password policy configuration for the backend of your Amplify project.

func (CreateBackendAuthPasswordPolicyConfig) GoString ¶

GoString returns the string representation

func (*CreateBackendAuthPasswordPolicyConfig) SetAdditionalConstraints ¶

SetAdditionalConstraints sets the AdditionalConstraints field's value.

func (*CreateBackendAuthPasswordPolicyConfig) SetMinimumLength ¶

SetMinimumLength sets the MinimumLength field's value.

func (CreateBackendAuthPasswordPolicyConfig) String ¶

String returns the string representation

func (*CreateBackendAuthPasswordPolicyConfig) Validate ¶

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

type CreateBackendAuthResourceConfig ¶

type CreateBackendAuthResourceConfig struct {

	// Defines whether you want to configure only authentication or both authentication
	// and authorization settings.
	//
	// AuthResources is a required field
	AuthResources *string `locationName:"authResources" type:"string" required:"true" enum:"AuthResources"`

	// Describes the authorization configuration for the Amazon Cognito identity
	// pool, provisioned as a part of the auth resource in your Amplify project.
	IdentityPoolConfigs *CreateBackendAuthIdentityPoolConfig `locationName:"identityPoolConfigs" type:"structure"`

	// Defines the service name to use when configuring an authentication resource
	// in your Amplify project.
	//
	// Service is a required field
	Service *string `locationName:"service" type:"string" required:"true" enum:"Service"`

	// Describes the authentication configuration for the Amazon Cognito user pool,
	// provisioned as a part of the auth resource in your Amplify project.
	//
	// UserPoolConfigs is a required field
	UserPoolConfigs *CreateBackendAuthUserPoolConfig `locationName:"userPoolConfigs" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Defines the resource configuration when creating an auth resource in your Amplify project.

func (CreateBackendAuthResourceConfig) GoString ¶

GoString returns the string representation

func (*CreateBackendAuthResourceConfig) SetAuthResources ¶

SetAuthResources sets the AuthResources field's value.

func (*CreateBackendAuthResourceConfig) SetIdentityPoolConfigs ¶

SetIdentityPoolConfigs sets the IdentityPoolConfigs field's value.

func (*CreateBackendAuthResourceConfig) SetService ¶

SetService sets the Service field's value.

func (*CreateBackendAuthResourceConfig) SetUserPoolConfigs ¶

SetUserPoolConfigs sets the UserPoolConfigs field's value.

func (CreateBackendAuthResourceConfig) String ¶

String returns the string representation

func (*CreateBackendAuthResourceConfig) Validate ¶

func (s *CreateBackendAuthResourceConfig) Validate() error

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

type CreateBackendAuthUserPoolConfig ¶

type CreateBackendAuthUserPoolConfig struct {

	// Describes the forgotten password policy for your Amazon Cognito user pool,
	// configured as a part of your Amplify project.
	ForgotPassword *CreateBackendAuthForgotPasswordConfig `locationName:"forgotPassword" type:"structure"`

	// Describes whether to apply multi-factor authentication (MFA) policies for
	// your Amazon Cognito user pool that's configured as a part of your Amplify
	// project.
	Mfa *CreateBackendAuthMFAConfig `locationName:"mfa" type:"structure"`

	// Describes the OAuth policy and rules for your Amazon Cognito user pool, configured
	// as a part of your Amplify project.
	OAuth *CreateBackendAuthOAuthConfig `locationName:"oAuth" type:"structure"`

	// Describes the password policy for your Amazon Cognito user pool, configured
	// as a part of your Amplify project.
	PasswordPolicy *CreateBackendAuthPasswordPolicyConfig `locationName:"passwordPolicy" type:"structure"`

	// The required attributes to sign up new users in the Amazon Cognito user pool.
	//
	// RequiredSignUpAttributes is a required field
	RequiredSignUpAttributes []*string `locationName:"requiredSignUpAttributes" type:"list" required:"true"`

	// Describes the sign-in methods that your Amplify app users to log in using
	// the Amazon Cognito user pool that's configured as a part of your Amplify
	// project.
	//
	// SignInMethod is a required field
	SignInMethod *string `locationName:"signInMethod" type:"string" required:"true" enum:"SignInMethod"`

	// The Amazon Cognito user pool name.
	//
	// UserPoolName is a required field
	UserPoolName *string `locationName:"userPoolName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes the Amazon Cognito user pool configuration for the auth resource to be configured for your Amplify project.

func (CreateBackendAuthUserPoolConfig) GoString ¶

GoString returns the string representation

func (*CreateBackendAuthUserPoolConfig) SetForgotPassword ¶

SetForgotPassword sets the ForgotPassword field's value.

func (*CreateBackendAuthUserPoolConfig) SetMfa ¶

SetMfa sets the Mfa field's value.

func (*CreateBackendAuthUserPoolConfig) SetOAuth ¶

SetOAuth sets the OAuth field's value.

func (*CreateBackendAuthUserPoolConfig) SetPasswordPolicy ¶

SetPasswordPolicy sets the PasswordPolicy field's value.

func (*CreateBackendAuthUserPoolConfig) SetRequiredSignUpAttributes ¶

func (s *CreateBackendAuthUserPoolConfig) SetRequiredSignUpAttributes(v []*string) *CreateBackendAuthUserPoolConfig

SetRequiredSignUpAttributes sets the RequiredSignUpAttributes field's value.

func (*CreateBackendAuthUserPoolConfig) SetSignInMethod ¶

SetSignInMethod sets the SignInMethod field's value.

func (*CreateBackendAuthUserPoolConfig) SetUserPoolName ¶

SetUserPoolName sets the UserPoolName field's value.

func (CreateBackendAuthUserPoolConfig) String ¶

String returns the string representation

func (*CreateBackendAuthUserPoolConfig) Validate ¶

func (s *CreateBackendAuthUserPoolConfig) Validate() error

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

type CreateBackendConfigInput ¶

type CreateBackendConfigInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	BackendManagerAppId *string `locationName:"backendManagerAppId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackendConfigInput) GoString ¶

func (s CreateBackendConfigInput) GoString() string

GoString returns the string representation

func (*CreateBackendConfigInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendConfigInput) SetBackendManagerAppId ¶

func (s *CreateBackendConfigInput) SetBackendManagerAppId(v string) *CreateBackendConfigInput

SetBackendManagerAppId sets the BackendManagerAppId field's value.

func (CreateBackendConfigInput) String ¶

func (s CreateBackendConfigInput) String() string

String returns the string representation

func (*CreateBackendConfigInput) Validate ¶

func (s *CreateBackendConfigInput) Validate() error

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

type CreateBackendConfigOutput ¶

type CreateBackendConfigOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackendConfigOutput) GoString ¶

func (s CreateBackendConfigOutput) GoString() string

GoString returns the string representation

func (*CreateBackendConfigOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendConfigOutput) SetBackendEnvironmentName ¶

func (s *CreateBackendConfigOutput) SetBackendEnvironmentName(v string) *CreateBackendConfigOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CreateBackendConfigOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*CreateBackendConfigOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (CreateBackendConfigOutput) String ¶

func (s CreateBackendConfigOutput) String() string

String returns the string representation

type CreateBackendInput ¶

type CreateBackendInput struct {

	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`

	// AppName is a required field
	AppName *string `locationName:"appName" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string" required:"true"`

	ResourceConfig *ResourceConfig `locationName:"resourceConfig" type:"structure"`

	ResourceName *string `locationName:"resourceName" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackendInput) GoString ¶

func (s CreateBackendInput) GoString() string

GoString returns the string representation

func (*CreateBackendInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendInput) SetAppName ¶

func (s *CreateBackendInput) SetAppName(v string) *CreateBackendInput

SetAppName sets the AppName field's value.

func (*CreateBackendInput) SetBackendEnvironmentName ¶

func (s *CreateBackendInput) SetBackendEnvironmentName(v string) *CreateBackendInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CreateBackendInput) SetResourceConfig ¶

func (s *CreateBackendInput) SetResourceConfig(v *ResourceConfig) *CreateBackendInput

SetResourceConfig sets the ResourceConfig field's value.

func (*CreateBackendInput) SetResourceName ¶

func (s *CreateBackendInput) SetResourceName(v string) *CreateBackendInput

SetResourceName sets the ResourceName field's value.

func (CreateBackendInput) String ¶

func (s CreateBackendInput) String() string

String returns the string representation

func (*CreateBackendInput) Validate ¶

func (s *CreateBackendInput) Validate() error

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

type CreateBackendOutput ¶

type CreateBackendOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBackendOutput) GoString ¶

func (s CreateBackendOutput) GoString() string

GoString returns the string representation

func (*CreateBackendOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*CreateBackendOutput) SetBackendEnvironmentName ¶

func (s *CreateBackendOutput) SetBackendEnvironmentName(v string) *CreateBackendOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*CreateBackendOutput) SetError ¶

SetError sets the Error field's value.

func (*CreateBackendOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*CreateBackendOutput) SetOperation ¶

func (s *CreateBackendOutput) SetOperation(v string) *CreateBackendOutput

SetOperation sets the Operation field's value.

func (*CreateBackendOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (CreateBackendOutput) String ¶

func (s CreateBackendOutput) String() string

String returns the string representation

type CreateTokenInput ¶

type CreateTokenInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateTokenInput) GoString ¶

func (s CreateTokenInput) GoString() string

GoString returns the string representation

func (*CreateTokenInput) SetAppId ¶

func (s *CreateTokenInput) SetAppId(v string) *CreateTokenInput

SetAppId sets the AppId field's value.

func (CreateTokenInput) String ¶

func (s CreateTokenInput) String() string

String returns the string representation

func (*CreateTokenInput) Validate ¶

func (s *CreateTokenInput) Validate() error

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

type CreateTokenOutput ¶

type CreateTokenOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	ChallengeCode *string `locationName:"challengeCode" type:"string"`

	SessionId *string `locationName:"sessionId" type:"string"`

	Ttl *string `locationName:"ttl" type:"string"`
	// contains filtered or unexported fields
}

func (CreateTokenOutput) GoString ¶

func (s CreateTokenOutput) GoString() string

GoString returns the string representation

func (*CreateTokenOutput) SetAppId ¶

func (s *CreateTokenOutput) SetAppId(v string) *CreateTokenOutput

SetAppId sets the AppId field's value.

func (*CreateTokenOutput) SetChallengeCode ¶

func (s *CreateTokenOutput) SetChallengeCode(v string) *CreateTokenOutput

SetChallengeCode sets the ChallengeCode field's value.

func (*CreateTokenOutput) SetSessionId ¶

func (s *CreateTokenOutput) SetSessionId(v string) *CreateTokenOutput

SetSessionId sets the SessionId field's value.

func (*CreateTokenOutput) SetTtl ¶

SetTtl sets the Ttl field's value.

func (CreateTokenOutput) String ¶

func (s CreateTokenOutput) String() string

String returns the string representation

type DeleteBackendAPIInput ¶

type DeleteBackendAPIInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// The resource configuration for the data model, configured as a part of the
	// Amplify project.
	ResourceConfig *BackendAPIResourceConfig `locationName:"resourceConfig" type:"structure"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackendAPIInput) GoString ¶

func (s DeleteBackendAPIInput) GoString() string

GoString returns the string representation

func (*DeleteBackendAPIInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*DeleteBackendAPIInput) SetBackendEnvironmentName ¶

func (s *DeleteBackendAPIInput) SetBackendEnvironmentName(v string) *DeleteBackendAPIInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*DeleteBackendAPIInput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*DeleteBackendAPIInput) SetResourceName ¶

func (s *DeleteBackendAPIInput) SetResourceName(v string) *DeleteBackendAPIInput

SetResourceName sets the ResourceName field's value.

func (DeleteBackendAPIInput) String ¶

func (s DeleteBackendAPIInput) String() string

String returns the string representation

func (*DeleteBackendAPIInput) Validate ¶

func (s *DeleteBackendAPIInput) Validate() error

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

type DeleteBackendAPIOutput ¶

type DeleteBackendAPIOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBackendAPIOutput) GoString ¶

func (s DeleteBackendAPIOutput) GoString() string

GoString returns the string representation

func (*DeleteBackendAPIOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*DeleteBackendAPIOutput) SetBackendEnvironmentName ¶

func (s *DeleteBackendAPIOutput) SetBackendEnvironmentName(v string) *DeleteBackendAPIOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*DeleteBackendAPIOutput) SetError ¶

SetError sets the Error field's value.

func (*DeleteBackendAPIOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*DeleteBackendAPIOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*DeleteBackendAPIOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (DeleteBackendAPIOutput) String ¶

func (s DeleteBackendAPIOutput) String() string

String returns the string representation

type DeleteBackendAuthInput ¶

type DeleteBackendAuthInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackendAuthInput) GoString ¶

func (s DeleteBackendAuthInput) GoString() string

GoString returns the string representation

func (*DeleteBackendAuthInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*DeleteBackendAuthInput) SetBackendEnvironmentName ¶

func (s *DeleteBackendAuthInput) SetBackendEnvironmentName(v string) *DeleteBackendAuthInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*DeleteBackendAuthInput) SetResourceName ¶

func (s *DeleteBackendAuthInput) SetResourceName(v string) *DeleteBackendAuthInput

SetResourceName sets the ResourceName field's value.

func (DeleteBackendAuthInput) String ¶

func (s DeleteBackendAuthInput) String() string

String returns the string representation

func (*DeleteBackendAuthInput) Validate ¶

func (s *DeleteBackendAuthInput) Validate() error

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

type DeleteBackendAuthOutput ¶

type DeleteBackendAuthOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBackendAuthOutput) GoString ¶

func (s DeleteBackendAuthOutput) GoString() string

GoString returns the string representation

func (*DeleteBackendAuthOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*DeleteBackendAuthOutput) SetBackendEnvironmentName ¶

func (s *DeleteBackendAuthOutput) SetBackendEnvironmentName(v string) *DeleteBackendAuthOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*DeleteBackendAuthOutput) SetError ¶

SetError sets the Error field's value.

func (*DeleteBackendAuthOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*DeleteBackendAuthOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*DeleteBackendAuthOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (DeleteBackendAuthOutput) String ¶

func (s DeleteBackendAuthOutput) String() string

String returns the string representation

type DeleteBackendInput ¶

type DeleteBackendInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBackendInput) GoString ¶

func (s DeleteBackendInput) GoString() string

GoString returns the string representation

func (*DeleteBackendInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*DeleteBackendInput) SetBackendEnvironmentName ¶

func (s *DeleteBackendInput) SetBackendEnvironmentName(v string) *DeleteBackendInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (DeleteBackendInput) String ¶

func (s DeleteBackendInput) String() string

String returns the string representation

func (*DeleteBackendInput) Validate ¶

func (s *DeleteBackendInput) Validate() error

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

type DeleteBackendOutput ¶

type DeleteBackendOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBackendOutput) GoString ¶

func (s DeleteBackendOutput) GoString() string

GoString returns the string representation

func (*DeleteBackendOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*DeleteBackendOutput) SetBackendEnvironmentName ¶

func (s *DeleteBackendOutput) SetBackendEnvironmentName(v string) *DeleteBackendOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*DeleteBackendOutput) SetError ¶

SetError sets the Error field's value.

func (*DeleteBackendOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*DeleteBackendOutput) SetOperation ¶

func (s *DeleteBackendOutput) SetOperation(v string) *DeleteBackendOutput

SetOperation sets the Operation field's value.

func (*DeleteBackendOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (DeleteBackendOutput) String ¶

func (s DeleteBackendOutput) String() string

String returns the string representation

type DeleteTokenInput ¶

type DeleteTokenInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// SessionId is a required field
	SessionId *string `location:"uri" locationName:"sessionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTokenInput) GoString ¶

func (s DeleteTokenInput) GoString() string

GoString returns the string representation

func (*DeleteTokenInput) SetAppId ¶

func (s *DeleteTokenInput) SetAppId(v string) *DeleteTokenInput

SetAppId sets the AppId field's value.

func (*DeleteTokenInput) SetSessionId ¶

func (s *DeleteTokenInput) SetSessionId(v string) *DeleteTokenInput

SetSessionId sets the SessionId field's value.

func (DeleteTokenInput) String ¶

func (s DeleteTokenInput) String() string

String returns the string representation

func (*DeleteTokenInput) Validate ¶

func (s *DeleteTokenInput) Validate() error

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

type DeleteTokenOutput ¶

type DeleteTokenOutput struct {
	IsSuccess *bool `locationName:"isSuccess" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeleteTokenOutput) GoString ¶

func (s DeleteTokenOutput) GoString() string

GoString returns the string representation

func (*DeleteTokenOutput) SetIsSuccess ¶

func (s *DeleteTokenOutput) SetIsSuccess(v bool) *DeleteTokenOutput

SetIsSuccess sets the IsSuccess field's value.

func (DeleteTokenOutput) String ¶

func (s DeleteTokenOutput) String() string

String returns the string representation

type EmailSettings ¶

type EmailSettings struct {

	// The body of the email.
	EmailMessage *string `locationName:"emailMessage" type:"string"`

	// The subject of the email.
	EmailSubject *string `locationName:"emailSubject" type:"string"`
	// contains filtered or unexported fields
}

func (EmailSettings) GoString ¶

func (s EmailSettings) GoString() string

GoString returns the string representation

func (*EmailSettings) SetEmailMessage ¶

func (s *EmailSettings) SetEmailMessage(v string) *EmailSettings

SetEmailMessage sets the EmailMessage field's value.

func (*EmailSettings) SetEmailSubject ¶

func (s *EmailSettings) SetEmailSubject(v string) *EmailSettings

SetEmailSubject sets the EmailSubject field's value.

func (EmailSettings) String ¶

func (s EmailSettings) String() string

String returns the string representation

type GatewayTimeoutException ¶

type GatewayTimeoutException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An error returned if there's a temporary issue with the service.

func (*GatewayTimeoutException) Code ¶

func (s *GatewayTimeoutException) Code() string

Code returns the exception type name.

func (*GatewayTimeoutException) Error ¶

func (s *GatewayTimeoutException) Error() string

func (GatewayTimeoutException) GoString ¶

func (s GatewayTimeoutException) GoString() string

GoString returns the string representation

func (*GatewayTimeoutException) Message ¶

func (s *GatewayTimeoutException) Message() string

Message returns the exception's message.

func (*GatewayTimeoutException) OrigErr ¶

func (s *GatewayTimeoutException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*GatewayTimeoutException) RequestID ¶

func (s *GatewayTimeoutException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*GatewayTimeoutException) StatusCode ¶

func (s *GatewayTimeoutException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (GatewayTimeoutException) String ¶

func (s GatewayTimeoutException) String() string

String returns the string representation

type GenerateBackendAPIModelsInput ¶

type GenerateBackendAPIModelsInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GenerateBackendAPIModelsInput) GoString ¶

GoString returns the string representation

func (*GenerateBackendAPIModelsInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GenerateBackendAPIModelsInput) SetBackendEnvironmentName ¶

func (s *GenerateBackendAPIModelsInput) SetBackendEnvironmentName(v string) *GenerateBackendAPIModelsInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GenerateBackendAPIModelsInput) SetResourceName ¶

SetResourceName sets the ResourceName field's value.

func (GenerateBackendAPIModelsInput) String ¶

String returns the string representation

func (*GenerateBackendAPIModelsInput) Validate ¶

func (s *GenerateBackendAPIModelsInput) Validate() error

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

type GenerateBackendAPIModelsOutput ¶

type GenerateBackendAPIModelsOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (GenerateBackendAPIModelsOutput) GoString ¶

GoString returns the string representation

func (*GenerateBackendAPIModelsOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GenerateBackendAPIModelsOutput) SetBackendEnvironmentName ¶

func (s *GenerateBackendAPIModelsOutput) SetBackendEnvironmentName(v string) *GenerateBackendAPIModelsOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GenerateBackendAPIModelsOutput) SetError ¶

SetError sets the Error field's value.

func (*GenerateBackendAPIModelsOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*GenerateBackendAPIModelsOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*GenerateBackendAPIModelsOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (GenerateBackendAPIModelsOutput) String ¶

String returns the string representation

type GetBackendAPIInput ¶

type GetBackendAPIInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// The resource configuration for the data model, configured as a part of the
	// Amplify project.
	ResourceConfig *BackendAPIResourceConfig `locationName:"resourceConfig" type:"structure"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackendAPIInput) GoString ¶

func (s GetBackendAPIInput) GoString() string

GoString returns the string representation

func (*GetBackendAPIInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GetBackendAPIInput) SetBackendEnvironmentName ¶

func (s *GetBackendAPIInput) SetBackendEnvironmentName(v string) *GetBackendAPIInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendAPIInput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*GetBackendAPIInput) SetResourceName ¶

func (s *GetBackendAPIInput) SetResourceName(v string) *GetBackendAPIInput

SetResourceName sets the ResourceName field's value.

func (GetBackendAPIInput) String ¶

func (s GetBackendAPIInput) String() string

String returns the string representation

func (*GetBackendAPIInput) Validate ¶

func (s *GetBackendAPIInput) Validate() error

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

type GetBackendAPIModelsInput ¶

type GetBackendAPIModelsInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackendAPIModelsInput) GoString ¶

func (s GetBackendAPIModelsInput) GoString() string

GoString returns the string representation

func (*GetBackendAPIModelsInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GetBackendAPIModelsInput) SetBackendEnvironmentName ¶

func (s *GetBackendAPIModelsInput) SetBackendEnvironmentName(v string) *GetBackendAPIModelsInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendAPIModelsInput) SetResourceName ¶

SetResourceName sets the ResourceName field's value.

func (GetBackendAPIModelsInput) String ¶

func (s GetBackendAPIModelsInput) String() string

String returns the string representation

func (*GetBackendAPIModelsInput) Validate ¶

func (s *GetBackendAPIModelsInput) Validate() error

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

type GetBackendAPIModelsOutput ¶

type GetBackendAPIModelsOutput struct {
	Models *string `locationName:"models" type:"string"`

	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

func (GetBackendAPIModelsOutput) GoString ¶

func (s GetBackendAPIModelsOutput) GoString() string

GoString returns the string representation

func (*GetBackendAPIModelsOutput) SetModels ¶

SetModels sets the Models field's value.

func (*GetBackendAPIModelsOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (GetBackendAPIModelsOutput) String ¶

func (s GetBackendAPIModelsOutput) String() string

String returns the string representation

type GetBackendAPIOutput ¶

type GetBackendAPIOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	// The resource configuration for the data model, configured as a part of the
	// Amplify project.
	ResourceConfig *BackendAPIResourceConfig `locationName:"resourceConfig" type:"structure"`

	ResourceName *string `locationName:"resourceName" type:"string"`
	// contains filtered or unexported fields
}

func (GetBackendAPIOutput) GoString ¶

func (s GetBackendAPIOutput) GoString() string

GoString returns the string representation

func (*GetBackendAPIOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GetBackendAPIOutput) SetBackendEnvironmentName ¶

func (s *GetBackendAPIOutput) SetBackendEnvironmentName(v string) *GetBackendAPIOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendAPIOutput) SetError ¶

SetError sets the Error field's value.

func (*GetBackendAPIOutput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*GetBackendAPIOutput) SetResourceName ¶

func (s *GetBackendAPIOutput) SetResourceName(v string) *GetBackendAPIOutput

SetResourceName sets the ResourceName field's value.

func (GetBackendAPIOutput) String ¶

func (s GetBackendAPIOutput) String() string

String returns the string representation

type GetBackendAuthInput ¶

type GetBackendAuthInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackendAuthInput) GoString ¶

func (s GetBackendAuthInput) GoString() string

GoString returns the string representation

func (*GetBackendAuthInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GetBackendAuthInput) SetBackendEnvironmentName ¶

func (s *GetBackendAuthInput) SetBackendEnvironmentName(v string) *GetBackendAuthInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendAuthInput) SetResourceName ¶

func (s *GetBackendAuthInput) SetResourceName(v string) *GetBackendAuthInput

SetResourceName sets the ResourceName field's value.

func (GetBackendAuthInput) String ¶

func (s GetBackendAuthInput) String() string

String returns the string representation

func (*GetBackendAuthInput) Validate ¶

func (s *GetBackendAuthInput) Validate() error

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

type GetBackendAuthOutput ¶

type GetBackendAuthOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	// Defines the resource configuration when creating an auth resource in your
	// Amplify project.
	ResourceConfig *CreateBackendAuthResourceConfig `locationName:"resourceConfig" type:"structure"`

	ResourceName *string `locationName:"resourceName" type:"string"`
	// contains filtered or unexported fields
}

func (GetBackendAuthOutput) GoString ¶

func (s GetBackendAuthOutput) GoString() string

GoString returns the string representation

func (*GetBackendAuthOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GetBackendAuthOutput) SetBackendEnvironmentName ¶

func (s *GetBackendAuthOutput) SetBackendEnvironmentName(v string) *GetBackendAuthOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendAuthOutput) SetError ¶

SetError sets the Error field's value.

func (*GetBackendAuthOutput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*GetBackendAuthOutput) SetResourceName ¶

func (s *GetBackendAuthOutput) SetResourceName(v string) *GetBackendAuthOutput

SetResourceName sets the ResourceName field's value.

func (GetBackendAuthOutput) String ¶

func (s GetBackendAuthOutput) String() string

String returns the string representation

type GetBackendInput ¶

type GetBackendInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`
	// contains filtered or unexported fields
}

func (GetBackendInput) GoString ¶

func (s GetBackendInput) GoString() string

GoString returns the string representation

func (*GetBackendInput) SetAppId ¶

func (s *GetBackendInput) SetAppId(v string) *GetBackendInput

SetAppId sets the AppId field's value.

func (*GetBackendInput) SetBackendEnvironmentName ¶

func (s *GetBackendInput) SetBackendEnvironmentName(v string) *GetBackendInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (GetBackendInput) String ¶

func (s GetBackendInput) String() string

String returns the string representation

func (*GetBackendInput) Validate ¶

func (s *GetBackendInput) Validate() error

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

type GetBackendJobInput ¶

type GetBackendJobInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetBackendJobInput) GoString ¶

func (s GetBackendJobInput) GoString() string

GoString returns the string representation

func (*GetBackendJobInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GetBackendJobInput) SetBackendEnvironmentName ¶

func (s *GetBackendJobInput) SetBackendEnvironmentName(v string) *GetBackendJobInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendJobInput) SetJobId ¶

SetJobId sets the JobId field's value.

func (GetBackendJobInput) String ¶

func (s GetBackendJobInput) String() string

String returns the string representation

func (*GetBackendJobInput) Validate ¶

func (s *GetBackendJobInput) Validate() error

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

type GetBackendJobOutput ¶

type GetBackendJobOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	CreateTime *string `locationName:"createTime" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`

	UpdateTime *string `locationName:"updateTime" type:"string"`
	// contains filtered or unexported fields
}

func (GetBackendJobOutput) GoString ¶

func (s GetBackendJobOutput) GoString() string

GoString returns the string representation

func (*GetBackendJobOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*GetBackendJobOutput) SetBackendEnvironmentName ¶

func (s *GetBackendJobOutput) SetBackendEnvironmentName(v string) *GetBackendJobOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendJobOutput) SetCreateTime ¶

func (s *GetBackendJobOutput) SetCreateTime(v string) *GetBackendJobOutput

SetCreateTime sets the CreateTime field's value.

func (*GetBackendJobOutput) SetError ¶

SetError sets the Error field's value.

func (*GetBackendJobOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*GetBackendJobOutput) SetOperation ¶

func (s *GetBackendJobOutput) SetOperation(v string) *GetBackendJobOutput

SetOperation sets the Operation field's value.

func (*GetBackendJobOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (*GetBackendJobOutput) SetUpdateTime ¶

func (s *GetBackendJobOutput) SetUpdateTime(v string) *GetBackendJobOutput

SetUpdateTime sets the UpdateTime field's value.

func (GetBackendJobOutput) String ¶

func (s GetBackendJobOutput) String() string

String returns the string representation

type GetBackendOutput ¶

type GetBackendOutput struct {
	AmplifyMetaConfig *string `locationName:"amplifyMetaConfig" type:"string"`

	AppId *string `locationName:"appId" type:"string"`

	AppName *string `locationName:"appName" type:"string"`

	BackendEnvironmentList []*string `locationName:"backendEnvironmentList" type:"list"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`
	// contains filtered or unexported fields
}

func (GetBackendOutput) GoString ¶

func (s GetBackendOutput) GoString() string

GoString returns the string representation

func (*GetBackendOutput) SetAmplifyMetaConfig ¶

func (s *GetBackendOutput) SetAmplifyMetaConfig(v string) *GetBackendOutput

SetAmplifyMetaConfig sets the AmplifyMetaConfig field's value.

func (*GetBackendOutput) SetAppId ¶

func (s *GetBackendOutput) SetAppId(v string) *GetBackendOutput

SetAppId sets the AppId field's value.

func (*GetBackendOutput) SetAppName ¶

func (s *GetBackendOutput) SetAppName(v string) *GetBackendOutput

SetAppName sets the AppName field's value.

func (*GetBackendOutput) SetBackendEnvironmentList ¶

func (s *GetBackendOutput) SetBackendEnvironmentList(v []*string) *GetBackendOutput

SetBackendEnvironmentList sets the BackendEnvironmentList field's value.

func (*GetBackendOutput) SetBackendEnvironmentName ¶

func (s *GetBackendOutput) SetBackendEnvironmentName(v string) *GetBackendOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*GetBackendOutput) SetError ¶

func (s *GetBackendOutput) SetError(v string) *GetBackendOutput

SetError sets the Error field's value.

func (GetBackendOutput) String ¶

func (s GetBackendOutput) String() string

String returns the string representation

type GetTokenInput ¶

type GetTokenInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// SessionId is a required field
	SessionId *string `location:"uri" locationName:"sessionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTokenInput) GoString ¶

func (s GetTokenInput) GoString() string

GoString returns the string representation

func (*GetTokenInput) SetAppId ¶

func (s *GetTokenInput) SetAppId(v string) *GetTokenInput

SetAppId sets the AppId field's value.

func (*GetTokenInput) SetSessionId ¶

func (s *GetTokenInput) SetSessionId(v string) *GetTokenInput

SetSessionId sets the SessionId field's value.

func (GetTokenInput) String ¶

func (s GetTokenInput) String() string

String returns the string representation

func (*GetTokenInput) Validate ¶

func (s *GetTokenInput) Validate() error

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

type GetTokenOutput ¶

type GetTokenOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	ChallengeCode *string `locationName:"challengeCode" type:"string"`

	SessionId *string `locationName:"sessionId" type:"string"`

	Ttl *string `locationName:"ttl" type:"string"`
	// contains filtered or unexported fields
}

func (GetTokenOutput) GoString ¶

func (s GetTokenOutput) GoString() string

GoString returns the string representation

func (*GetTokenOutput) SetAppId ¶

func (s *GetTokenOutput) SetAppId(v string) *GetTokenOutput

SetAppId sets the AppId field's value.

func (*GetTokenOutput) SetChallengeCode ¶

func (s *GetTokenOutput) SetChallengeCode(v string) *GetTokenOutput

SetChallengeCode sets the ChallengeCode field's value.

func (*GetTokenOutput) SetSessionId ¶

func (s *GetTokenOutput) SetSessionId(v string) *GetTokenOutput

SetSessionId sets the SessionId field's value.

func (*GetTokenOutput) SetTtl ¶

func (s *GetTokenOutput) SetTtl(v string) *GetTokenOutput

SetTtl sets the Ttl field's value.

func (GetTokenOutput) String ¶

func (s GetTokenOutput) String() string

String returns the string representation

type ListBackendJobsInput ¶

type ListBackendJobsInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	JobId *string `locationName:"jobId" type:"string"`

	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `locationName:"nextToken" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackendJobsInput) GoString ¶

func (s ListBackendJobsInput) GoString() string

GoString returns the string representation

func (*ListBackendJobsInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*ListBackendJobsInput) SetBackendEnvironmentName ¶

func (s *ListBackendJobsInput) SetBackendEnvironmentName(v string) *ListBackendJobsInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*ListBackendJobsInput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*ListBackendJobsInput) SetMaxResults ¶

func (s *ListBackendJobsInput) SetMaxResults(v int64) *ListBackendJobsInput

SetMaxResults sets the MaxResults field's value.

func (*ListBackendJobsInput) SetNextToken ¶

func (s *ListBackendJobsInput) SetNextToken(v string) *ListBackendJobsInput

SetNextToken sets the NextToken field's value.

func (*ListBackendJobsInput) SetOperation ¶

func (s *ListBackendJobsInput) SetOperation(v string) *ListBackendJobsInput

SetOperation sets the Operation field's value.

func (*ListBackendJobsInput) SetStatus ¶

SetStatus sets the Status field's value.

func (ListBackendJobsInput) String ¶

func (s ListBackendJobsInput) String() string

String returns the string representation

func (*ListBackendJobsInput) Validate ¶

func (s *ListBackendJobsInput) Validate() error

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

type ListBackendJobsOutput ¶

type ListBackendJobsOutput struct {
	Jobs []*BackendJobRespObj `locationName:"jobs" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBackendJobsOutput) GoString ¶

func (s ListBackendJobsOutput) GoString() string

GoString returns the string representation

func (*ListBackendJobsOutput) SetJobs ¶

SetJobs sets the Jobs field's value.

func (*ListBackendJobsOutput) SetNextToken ¶

SetNextToken sets the NextToken field's value.

func (ListBackendJobsOutput) String ¶

func (s ListBackendJobsOutput) String() string

String returns the string representation

type LoginAuthConfigReqObj ¶

type LoginAuthConfigReqObj struct {

	// The Amazon Cognito identity pool ID used for Amplify Admin UI login authorization.
	AwsCognitoIdentityPoolId *string `locationName:"aws_cognito_identity_pool_id" type:"string"`

	// The AWS Region for the Amplify Admin UI login.
	AwsCognitoRegion *string `locationName:"aws_cognito_region" type:"string"`

	// The Amazon Cognito user pool ID used for Amplify Admin UI login authentication.
	AwsUserPoolsId *string `locationName:"aws_user_pools_id" type:"string"`

	// The web client ID for the Amazon Cognito user pools.
	AwsUserPoolsWebClientId *string `locationName:"aws_user_pools_web_client_id" type:"string"`
	// contains filtered or unexported fields
}

The request object for this operation.

func (LoginAuthConfigReqObj) GoString ¶

func (s LoginAuthConfigReqObj) GoString() string

GoString returns the string representation

func (*LoginAuthConfigReqObj) SetAwsCognitoIdentityPoolId ¶

func (s *LoginAuthConfigReqObj) SetAwsCognitoIdentityPoolId(v string) *LoginAuthConfigReqObj

SetAwsCognitoIdentityPoolId sets the AwsCognitoIdentityPoolId field's value.

func (*LoginAuthConfigReqObj) SetAwsCognitoRegion ¶

func (s *LoginAuthConfigReqObj) SetAwsCognitoRegion(v string) *LoginAuthConfigReqObj

SetAwsCognitoRegion sets the AwsCognitoRegion field's value.

func (*LoginAuthConfigReqObj) SetAwsUserPoolsId ¶

func (s *LoginAuthConfigReqObj) SetAwsUserPoolsId(v string) *LoginAuthConfigReqObj

SetAwsUserPoolsId sets the AwsUserPoolsId field's value.

func (*LoginAuthConfigReqObj) SetAwsUserPoolsWebClientId ¶

func (s *LoginAuthConfigReqObj) SetAwsUserPoolsWebClientId(v string) *LoginAuthConfigReqObj

SetAwsUserPoolsWebClientId sets the AwsUserPoolsWebClientId field's value.

func (LoginAuthConfigReqObj) String ¶

func (s LoginAuthConfigReqObj) String() string

String returns the string representation

type NotFoundException ¶

type NotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// An error message to inform that the request failed.
	Message_ *string `locationName:"message" type:"string"`

	// The type of resource that wasn't found.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

An error returned when a specific resource type is not found.

func (*NotFoundException) Code ¶

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error ¶

func (s *NotFoundException) Error() string

func (NotFoundException) GoString ¶

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message ¶

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr ¶

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID ¶

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode ¶

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String ¶

func (s NotFoundException) String() string

String returns the string representation

type RemoveAllBackendsInput ¶

type RemoveAllBackendsInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	CleanAmplifyApp *bool `locationName:"cleanAmplifyApp" type:"boolean"`
	// contains filtered or unexported fields
}

func (RemoveAllBackendsInput) GoString ¶

func (s RemoveAllBackendsInput) GoString() string

GoString returns the string representation

func (*RemoveAllBackendsInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*RemoveAllBackendsInput) SetCleanAmplifyApp ¶

func (s *RemoveAllBackendsInput) SetCleanAmplifyApp(v bool) *RemoveAllBackendsInput

SetCleanAmplifyApp sets the CleanAmplifyApp field's value.

func (RemoveAllBackendsInput) String ¶

func (s RemoveAllBackendsInput) String() string

String returns the string representation

func (*RemoveAllBackendsInput) Validate ¶

func (s *RemoveAllBackendsInput) Validate() error

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

type RemoveAllBackendsOutput ¶

type RemoveAllBackendsOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (RemoveAllBackendsOutput) GoString ¶

func (s RemoveAllBackendsOutput) GoString() string

GoString returns the string representation

func (*RemoveAllBackendsOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*RemoveAllBackendsOutput) SetError ¶

SetError sets the Error field's value.

func (*RemoveAllBackendsOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*RemoveAllBackendsOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*RemoveAllBackendsOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (RemoveAllBackendsOutput) String ¶

func (s RemoveAllBackendsOutput) String() string

String returns the string representation

type RemoveBackendConfigInput ¶

type RemoveBackendConfigInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveBackendConfigInput) GoString ¶

func (s RemoveBackendConfigInput) GoString() string

GoString returns the string representation

func (*RemoveBackendConfigInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (RemoveBackendConfigInput) String ¶

func (s RemoveBackendConfigInput) String() string

String returns the string representation

func (*RemoveBackendConfigInput) Validate ¶

func (s *RemoveBackendConfigInput) Validate() error

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

type RemoveBackendConfigOutput ¶

type RemoveBackendConfigOutput struct {
	Error *string `locationName:"error" type:"string"`
	// contains filtered or unexported fields
}

func (RemoveBackendConfigOutput) GoString ¶

func (s RemoveBackendConfigOutput) GoString() string

GoString returns the string representation

func (*RemoveBackendConfigOutput) SetError ¶

SetError sets the Error field's value.

func (RemoveBackendConfigOutput) String ¶

func (s RemoveBackendConfigOutput) String() string

String returns the string representation

type ResourceConfig ¶

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

func (ResourceConfig) GoString ¶

func (s ResourceConfig) GoString() string

GoString returns the string representation

func (ResourceConfig) String ¶

func (s ResourceConfig) String() string

String returns the string representation

type Settings ¶

type Settings struct {
	MfaTypes []*string `locationName:"mfaTypes" type:"list"`

	// The body of the SMS message.
	SmsMessage *string `locationName:"smsMessage" type:"string"`
	// contains filtered or unexported fields
}

func (Settings) GoString ¶

func (s Settings) GoString() string

GoString returns the string representation

func (*Settings) SetMfaTypes ¶

func (s *Settings) SetMfaTypes(v []*string) *Settings

SetMfaTypes sets the MfaTypes field's value.

func (*Settings) SetSmsMessage ¶

func (s *Settings) SetSmsMessage(v string) *Settings

SetSmsMessage sets the SmsMessage field's value.

func (Settings) String ¶

func (s Settings) String() string

String returns the string representation

type SmsSettings ¶

type SmsSettings struct {

	// The body of the SMS message.
	SmsMessage *string `locationName:"smsMessage" type:"string"`
	// contains filtered or unexported fields
}

func (SmsSettings) GoString ¶

func (s SmsSettings) GoString() string

GoString returns the string representation

func (*SmsSettings) SetSmsMessage ¶

func (s *SmsSettings) SetSmsMessage(v string) *SmsSettings

SetSmsMessage sets the SmsMessage field's value.

func (SmsSettings) String ¶

func (s SmsSettings) String() string

String returns the string representation

type SocialProviderSettings ¶

type SocialProviderSettings struct {

	// Describes third-party social federation configurations for allowing your
	// app users to sign in using OAuth.
	Facebook *BackendAuthSocialProviderConfig `type:"structure"`

	// Describes third-party social federation configurations for allowing your
	// app users to sign in using OAuth.
	Google *BackendAuthSocialProviderConfig `type:"structure"`

	// Describes third-party social federation configurations for allowing your
	// app users to sign in using OAuth.
	LoginWithAmazon *BackendAuthSocialProviderConfig `type:"structure"`
	// contains filtered or unexported fields
}

func (SocialProviderSettings) GoString ¶

func (s SocialProviderSettings) GoString() string

GoString returns the string representation

func (*SocialProviderSettings) SetFacebook ¶

SetFacebook sets the Facebook field's value.

func (*SocialProviderSettings) SetGoogle ¶

SetGoogle sets the Google field's value.

func (*SocialProviderSettings) SetLoginWithAmazon ¶

SetLoginWithAmazon sets the LoginWithAmazon field's value.

func (SocialProviderSettings) String ¶

func (s SocialProviderSettings) String() string

String returns the string representation

type TooManyRequestsException ¶

type TooManyRequestsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	LimitType *string `locationName:"limitType" type:"string"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An error that is returned when a limit of a specific type is exceeded.

func (*TooManyRequestsException) Code ¶

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error ¶

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString ¶

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (*TooManyRequestsException) Message ¶

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr ¶

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID ¶

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode ¶

func (s *TooManyRequestsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyRequestsException) String ¶

func (s TooManyRequestsException) String() string

String returns the string representation

type UpdateBackendAPIInput ¶

type UpdateBackendAPIInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// The resource configuration for the data model, configured as a part of the
	// Amplify project.
	ResourceConfig *BackendAPIResourceConfig `locationName:"resourceConfig" type:"structure"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateBackendAPIInput) GoString ¶

func (s UpdateBackendAPIInput) GoString() string

GoString returns the string representation

func (*UpdateBackendAPIInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendAPIInput) SetBackendEnvironmentName ¶

func (s *UpdateBackendAPIInput) SetBackendEnvironmentName(v string) *UpdateBackendAPIInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*UpdateBackendAPIInput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*UpdateBackendAPIInput) SetResourceName ¶

func (s *UpdateBackendAPIInput) SetResourceName(v string) *UpdateBackendAPIInput

SetResourceName sets the ResourceName field's value.

func (UpdateBackendAPIInput) String ¶

func (s UpdateBackendAPIInput) String() string

String returns the string representation

func (*UpdateBackendAPIInput) Validate ¶

func (s *UpdateBackendAPIInput) Validate() error

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

type UpdateBackendAPIOutput ¶

type UpdateBackendAPIOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateBackendAPIOutput) GoString ¶

func (s UpdateBackendAPIOutput) GoString() string

GoString returns the string representation

func (*UpdateBackendAPIOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendAPIOutput) SetBackendEnvironmentName ¶

func (s *UpdateBackendAPIOutput) SetBackendEnvironmentName(v string) *UpdateBackendAPIOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*UpdateBackendAPIOutput) SetError ¶

SetError sets the Error field's value.

func (*UpdateBackendAPIOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*UpdateBackendAPIOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*UpdateBackendAPIOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (UpdateBackendAPIOutput) String ¶

func (s UpdateBackendAPIOutput) String() string

String returns the string representation

type UpdateBackendAuthForgotPasswordConfig ¶

type UpdateBackendAuthForgotPasswordConfig struct {

	// Describes which method to use (either SMS or email) to deliver messages to
	// app users that want to recover their password.
	DeliveryMethod *string `locationName:"deliveryMethod" type:"string" enum:"DeliveryMethod"`

	// The configuration for the email sent when an app user forgets their password.
	EmailSettings *EmailSettings `locationName:"emailSettings" type:"structure"`

	// The configuration for the SMS message sent when an Amplify app user forgets
	// their password.
	SmsSettings *SmsSettings `locationName:"smsSettings" type:"structure"`
	// contains filtered or unexported fields
}

Describes the forgot password policy for authenticating into the Amplify app.

func (UpdateBackendAuthForgotPasswordConfig) GoString ¶

GoString returns the string representation

func (*UpdateBackendAuthForgotPasswordConfig) SetDeliveryMethod ¶

SetDeliveryMethod sets the DeliveryMethod field's value.

func (*UpdateBackendAuthForgotPasswordConfig) SetEmailSettings ¶

SetEmailSettings sets the EmailSettings field's value.

func (*UpdateBackendAuthForgotPasswordConfig) SetSmsSettings ¶

SetSmsSettings sets the SmsSettings field's value.

func (UpdateBackendAuthForgotPasswordConfig) String ¶

String returns the string representation

type UpdateBackendAuthIdentityPoolConfig ¶

type UpdateBackendAuthIdentityPoolConfig struct {

	// A Boolean value that you can set to allow or disallow guest-level authorization
	// into your Amplify app.
	UnauthenticatedLogin *bool `locationName:"unauthenticatedLogin" type:"boolean"`
	// contains filtered or unexported fields
}

Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.

func (UpdateBackendAuthIdentityPoolConfig) GoString ¶

GoString returns the string representation

func (*UpdateBackendAuthIdentityPoolConfig) SetUnauthenticatedLogin ¶

SetUnauthenticatedLogin sets the UnauthenticatedLogin field's value.

func (UpdateBackendAuthIdentityPoolConfig) String ¶

String returns the string representation

type UpdateBackendAuthInput ¶

type UpdateBackendAuthInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// Defines the resource configuration when updating an authentication resource
	// in your Amplify project.
	//
	// ResourceConfig is a required field
	ResourceConfig *UpdateBackendAuthResourceConfig `locationName:"resourceConfig" type:"structure" required:"true"`

	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateBackendAuthInput) GoString ¶

func (s UpdateBackendAuthInput) GoString() string

GoString returns the string representation

func (*UpdateBackendAuthInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendAuthInput) SetBackendEnvironmentName ¶

func (s *UpdateBackendAuthInput) SetBackendEnvironmentName(v string) *UpdateBackendAuthInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*UpdateBackendAuthInput) SetResourceConfig ¶

SetResourceConfig sets the ResourceConfig field's value.

func (*UpdateBackendAuthInput) SetResourceName ¶

func (s *UpdateBackendAuthInput) SetResourceName(v string) *UpdateBackendAuthInput

SetResourceName sets the ResourceName field's value.

func (UpdateBackendAuthInput) String ¶

func (s UpdateBackendAuthInput) String() string

String returns the string representation

func (*UpdateBackendAuthInput) Validate ¶

func (s *UpdateBackendAuthInput) Validate() error

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

type UpdateBackendAuthMFAConfig ¶

type UpdateBackendAuthMFAConfig struct {

	// The MFA mode for the backend of your Amplify project.
	MFAMode *string `type:"string" enum:"MFAMode"`

	// The settings of your MFA configuration for the backend of your Amplify project.
	Settings *Settings `locationName:"settings" type:"structure"`
	// contains filtered or unexported fields
}

Updates the multi-factor authentication (MFA) configuration for the backend of your Amplify project.

func (UpdateBackendAuthMFAConfig) GoString ¶

func (s UpdateBackendAuthMFAConfig) GoString() string

GoString returns the string representation

func (*UpdateBackendAuthMFAConfig) SetMFAMode ¶

SetMFAMode sets the MFAMode field's value.

func (*UpdateBackendAuthMFAConfig) SetSettings ¶

SetSettings sets the Settings field's value.

func (UpdateBackendAuthMFAConfig) String ¶

String returns the string representation

type UpdateBackendAuthOAuthConfig ¶

type UpdateBackendAuthOAuthConfig struct {

	// The Amazon Cognito domain prefix used to create a hosted UI for authentication.
	DomainPrefix *string `locationName:"domainPrefix" type:"string"`

	// The OAuth grant type to allow app users to authenticate from your Amplify
	// app.
	OAuthGrantType *string `locationName:"oAuthGrantType" type:"string" enum:"OAuthGrantType"`

	// The list of OAuth-related flows that can allow users to authenticate from
	// your Amplify app.
	OAuthScopes []*string `locationName:"oAuthScopes" type:"list"`

	// Redirect URLs that OAuth uses when a user signs in to an Amplify app.
	RedirectSignInURIs []*string `locationName:"redirectSignInURIs" type:"list"`

	// Redirect URLs that OAuth uses when a user signs out of an Amplify app.
	RedirectSignOutURIs []*string `locationName:"redirectSignOutURIs" type:"list"`

	// Describes third-party social federation configurations for allowing your
	// users to sign in with OAuth.
	SocialProviderSettings *SocialProviderSettings `locationName:"socialProviderSettings" type:"structure"`
	// contains filtered or unexported fields
}

The OAuth configurations for authenticating users into your Amplify app.

func (UpdateBackendAuthOAuthConfig) GoString ¶

func (s UpdateBackendAuthOAuthConfig) GoString() string

GoString returns the string representation

func (*UpdateBackendAuthOAuthConfig) SetDomainPrefix ¶

SetDomainPrefix sets the DomainPrefix field's value.

func (*UpdateBackendAuthOAuthConfig) SetOAuthGrantType ¶

SetOAuthGrantType sets the OAuthGrantType field's value.

func (*UpdateBackendAuthOAuthConfig) SetOAuthScopes ¶

SetOAuthScopes sets the OAuthScopes field's value.

func (*UpdateBackendAuthOAuthConfig) SetRedirectSignInURIs ¶

func (s *UpdateBackendAuthOAuthConfig) SetRedirectSignInURIs(v []*string) *UpdateBackendAuthOAuthConfig

SetRedirectSignInURIs sets the RedirectSignInURIs field's value.

func (*UpdateBackendAuthOAuthConfig) SetRedirectSignOutURIs ¶

func (s *UpdateBackendAuthOAuthConfig) SetRedirectSignOutURIs(v []*string) *UpdateBackendAuthOAuthConfig

SetRedirectSignOutURIs sets the RedirectSignOutURIs field's value.

func (*UpdateBackendAuthOAuthConfig) SetSocialProviderSettings ¶

SetSocialProviderSettings sets the SocialProviderSettings field's value.

func (UpdateBackendAuthOAuthConfig) String ¶

String returns the string representation

type UpdateBackendAuthOutput ¶

type UpdateBackendAuthOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateBackendAuthOutput) GoString ¶

func (s UpdateBackendAuthOutput) GoString() string

GoString returns the string representation

func (*UpdateBackendAuthOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendAuthOutput) SetBackendEnvironmentName ¶

func (s *UpdateBackendAuthOutput) SetBackendEnvironmentName(v string) *UpdateBackendAuthOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*UpdateBackendAuthOutput) SetError ¶

SetError sets the Error field's value.

func (*UpdateBackendAuthOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*UpdateBackendAuthOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*UpdateBackendAuthOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (UpdateBackendAuthOutput) String ¶

func (s UpdateBackendAuthOutput) String() string

String returns the string representation

type UpdateBackendAuthPasswordPolicyConfig ¶

type UpdateBackendAuthPasswordPolicyConfig struct {

	// Describes additional constrains on the password requirements to sign in to
	// the auth resource, configured as a part of your Amplify project.
	AdditionalConstraints []*string `locationName:"additionalConstraints" type:"list"`

	// Describes the minimum length of the password required to sign in to the auth
	// resource, configured as a part of your Amplify project.
	MinimumLength *float64 `locationName:"minimumLength" type:"double"`
	// contains filtered or unexported fields
}

Describes the password policy for your Amazon Cognito user pool that's configured as a part of your Amplify project.

func (UpdateBackendAuthPasswordPolicyConfig) GoString ¶

GoString returns the string representation

func (*UpdateBackendAuthPasswordPolicyConfig) SetAdditionalConstraints ¶

SetAdditionalConstraints sets the AdditionalConstraints field's value.

func (*UpdateBackendAuthPasswordPolicyConfig) SetMinimumLength ¶

SetMinimumLength sets the MinimumLength field's value.

func (UpdateBackendAuthPasswordPolicyConfig) String ¶

String returns the string representation

type UpdateBackendAuthResourceConfig ¶

type UpdateBackendAuthResourceConfig struct {

	// Defines the service name to use when configuring an authentication resource
	// in your Amplify project.
	//
	// AuthResources is a required field
	AuthResources *string `locationName:"authResources" type:"string" required:"true" enum:"AuthResources"`

	// Describes the authorization configuration for the Amazon Cognito identity
	// pool, provisioned as a part of the auth resource in your Amplify project.
	IdentityPoolConfigs *UpdateBackendAuthIdentityPoolConfig `locationName:"identityPoolConfigs" type:"structure"`

	// Defines the service name to use when configuring an authentication resource
	// in your Amplify project.
	//
	// Service is a required field
	Service *string `locationName:"service" type:"string" required:"true" enum:"Service"`

	// Describes the authentication configuration for the Amazon Cognito user pool,
	// provisioned as a part of the auth resource in your Amplify project.
	//
	// UserPoolConfigs is a required field
	UserPoolConfigs *UpdateBackendAuthUserPoolConfig `locationName:"userPoolConfigs" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Defines the resource configuration when updating an authentication resource in your Amplify project.

func (UpdateBackendAuthResourceConfig) GoString ¶

GoString returns the string representation

func (*UpdateBackendAuthResourceConfig) SetAuthResources ¶

SetAuthResources sets the AuthResources field's value.

func (*UpdateBackendAuthResourceConfig) SetIdentityPoolConfigs ¶

SetIdentityPoolConfigs sets the IdentityPoolConfigs field's value.

func (*UpdateBackendAuthResourceConfig) SetService ¶

SetService sets the Service field's value.

func (*UpdateBackendAuthResourceConfig) SetUserPoolConfigs ¶

SetUserPoolConfigs sets the UserPoolConfigs field's value.

func (UpdateBackendAuthResourceConfig) String ¶

String returns the string representation

func (*UpdateBackendAuthResourceConfig) Validate ¶

func (s *UpdateBackendAuthResourceConfig) Validate() error

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

type UpdateBackendAuthUserPoolConfig ¶

type UpdateBackendAuthUserPoolConfig struct {

	// Describes the forgot password policy for your Amazon Cognito user pool, configured
	// as a part of your Amplify project.
	ForgotPassword *UpdateBackendAuthForgotPasswordConfig `locationName:"forgotPassword" type:"structure"`

	// Describes whether to apply multi-factor authentication (MFA) policies for
	// your Amazon Cognito user pool that's configured as a part of your Amplify
	// project.
	Mfa *UpdateBackendAuthMFAConfig `locationName:"mfa" type:"structure"`

	// Describes the OAuth policy and rules for your Amazon Cognito user pool, configured
	// as a part of your Amplify project.
	OAuth *UpdateBackendAuthOAuthConfig `locationName:"oAuth" type:"structure"`

	// Describes the password policy for your Amazon Cognito user pool, configured
	// as a part of your Amplify project.
	PasswordPolicy *UpdateBackendAuthPasswordPolicyConfig `locationName:"passwordPolicy" type:"structure"`
	// contains filtered or unexported fields
}

Describes the Amazon Cognito user pool configuration to configure the authorization resource for your Amplify project on an update.

func (UpdateBackendAuthUserPoolConfig) GoString ¶

GoString returns the string representation

func (*UpdateBackendAuthUserPoolConfig) SetForgotPassword ¶

SetForgotPassword sets the ForgotPassword field's value.

func (*UpdateBackendAuthUserPoolConfig) SetMfa ¶

SetMfa sets the Mfa field's value.

func (*UpdateBackendAuthUserPoolConfig) SetOAuth ¶

SetOAuth sets the OAuth field's value.

func (*UpdateBackendAuthUserPoolConfig) SetPasswordPolicy ¶

SetPasswordPolicy sets the PasswordPolicy field's value.

func (UpdateBackendAuthUserPoolConfig) String ¶

String returns the string representation

type UpdateBackendConfigInput ¶

type UpdateBackendConfigInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// The request object for this operation.
	LoginAuthConfig *LoginAuthConfigReqObj `locationName:"loginAuthConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBackendConfigInput) GoString ¶

func (s UpdateBackendConfigInput) GoString() string

GoString returns the string representation

func (*UpdateBackendConfigInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendConfigInput) SetLoginAuthConfig ¶

SetLoginAuthConfig sets the LoginAuthConfig field's value.

func (UpdateBackendConfigInput) String ¶

func (s UpdateBackendConfigInput) String() string

String returns the string representation

func (*UpdateBackendConfigInput) Validate ¶

func (s *UpdateBackendConfigInput) Validate() error

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

type UpdateBackendConfigOutput ¶

type UpdateBackendConfigOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendManagerAppId *string `locationName:"backendManagerAppId" type:"string"`

	Error *string `locationName:"error" type:"string"`

	// The request object for this operation.
	LoginAuthConfig *LoginAuthConfigReqObj `locationName:"loginAuthConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBackendConfigOutput) GoString ¶

func (s UpdateBackendConfigOutput) GoString() string

GoString returns the string representation

func (*UpdateBackendConfigOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendConfigOutput) SetBackendManagerAppId ¶

func (s *UpdateBackendConfigOutput) SetBackendManagerAppId(v string) *UpdateBackendConfigOutput

SetBackendManagerAppId sets the BackendManagerAppId field's value.

func (*UpdateBackendConfigOutput) SetError ¶

SetError sets the Error field's value.

func (*UpdateBackendConfigOutput) SetLoginAuthConfig ¶

SetLoginAuthConfig sets the LoginAuthConfig field's value.

func (UpdateBackendConfigOutput) String ¶

func (s UpdateBackendConfigOutput) String() string

String returns the string representation

type UpdateBackendJobInput ¶

type UpdateBackendJobInput struct {

	// AppId is a required field
	AppId *string `location:"uri" locationName:"appId" type:"string" required:"true"`

	// BackendEnvironmentName is a required field
	BackendEnvironmentName *string `location:"uri" locationName:"backendEnvironmentName" type:"string" required:"true"`

	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateBackendJobInput) GoString ¶

func (s UpdateBackendJobInput) GoString() string

GoString returns the string representation

func (*UpdateBackendJobInput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendJobInput) SetBackendEnvironmentName ¶

func (s *UpdateBackendJobInput) SetBackendEnvironmentName(v string) *UpdateBackendJobInput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*UpdateBackendJobInput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*UpdateBackendJobInput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*UpdateBackendJobInput) SetStatus ¶

SetStatus sets the Status field's value.

func (UpdateBackendJobInput) String ¶

func (s UpdateBackendJobInput) String() string

String returns the string representation

func (*UpdateBackendJobInput) Validate ¶

func (s *UpdateBackendJobInput) Validate() error

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

type UpdateBackendJobOutput ¶

type UpdateBackendJobOutput struct {
	AppId *string `locationName:"appId" type:"string"`

	BackendEnvironmentName *string `locationName:"backendEnvironmentName" type:"string"`

	CreateTime *string `locationName:"createTime" type:"string"`

	Error *string `locationName:"error" type:"string"`

	JobId *string `locationName:"jobId" type:"string"`

	Operation *string `locationName:"operation" type:"string"`

	Status *string `locationName:"status" type:"string"`

	UpdateTime *string `locationName:"updateTime" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateBackendJobOutput) GoString ¶

func (s UpdateBackendJobOutput) GoString() string

GoString returns the string representation

func (*UpdateBackendJobOutput) SetAppId ¶

SetAppId sets the AppId field's value.

func (*UpdateBackendJobOutput) SetBackendEnvironmentName ¶

func (s *UpdateBackendJobOutput) SetBackendEnvironmentName(v string) *UpdateBackendJobOutput

SetBackendEnvironmentName sets the BackendEnvironmentName field's value.

func (*UpdateBackendJobOutput) SetCreateTime ¶

SetCreateTime sets the CreateTime field's value.

func (*UpdateBackendJobOutput) SetError ¶

SetError sets the Error field's value.

func (*UpdateBackendJobOutput) SetJobId ¶

SetJobId sets the JobId field's value.

func (*UpdateBackendJobOutput) SetOperation ¶

SetOperation sets the Operation field's value.

func (*UpdateBackendJobOutput) SetStatus ¶

SetStatus sets the Status field's value.

func (*UpdateBackendJobOutput) SetUpdateTime ¶

SetUpdateTime sets the UpdateTime field's value.

func (UpdateBackendJobOutput) String ¶

func (s UpdateBackendJobOutput) String() string

String returns the string representation

Directories ¶

Path Synopsis
Package amplifybackendiface provides an interface to enable mocking the AmplifyBackend service client for testing your code.
Package amplifybackendiface provides an interface to enable mocking the AmplifyBackend service client for testing your code.

Jump to

Keyboard shortcuts

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