Documentation ¶
Overview ¶
Package mobile provides the client and types for making API requests to AWS Mobile.
AWS Mobile Service provides mobile app and website developers with capabilities required to configure AWS resources and bootstrap their developer desktop projects with the necessary SDKs, constants, tools and samples to make use of those resources.
See https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01 for more information on this service.
See mobile package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/mobile/
Using the Client ¶
To contact AWS Mobile with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Mobile client Mobile for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mobile/#New
Index ¶
- Constants
- func Platform_Values() []string
- func ProjectState_Values() []string
- type AccountActionRequiredException
- func (s *AccountActionRequiredException) Code() string
- func (s *AccountActionRequiredException) Error() string
- func (s AccountActionRequiredException) GoString() string
- func (s *AccountActionRequiredException) Message() string
- func (s *AccountActionRequiredException) OrigErr() error
- func (s *AccountActionRequiredException) RequestID() string
- func (s *AccountActionRequiredException) StatusCode() int
- func (s AccountActionRequiredException) String() string
- type BadRequestException
- func (s *BadRequestException) Code() string
- func (s *BadRequestException) Error() string
- func (s BadRequestException) GoString() string
- func (s *BadRequestException) Message() string
- func (s *BadRequestException) OrigErr() error
- func (s *BadRequestException) RequestID() string
- func (s *BadRequestException) StatusCode() int
- func (s BadRequestException) String() string
- type BundleDetails
- func (s BundleDetails) GoString() string
- func (s *BundleDetails) SetAvailablePlatforms(v []*string) *BundleDetails
- func (s *BundleDetails) SetBundleId(v string) *BundleDetails
- func (s *BundleDetails) SetDescription(v string) *BundleDetails
- func (s *BundleDetails) SetIconUrl(v string) *BundleDetails
- func (s *BundleDetails) SetTitle(v string) *BundleDetails
- func (s *BundleDetails) SetVersion(v string) *BundleDetails
- func (s BundleDetails) String() string
- type CreateProjectInput
- func (s CreateProjectInput) GoString() string
- func (s *CreateProjectInput) SetContents(v []byte) *CreateProjectInput
- func (s *CreateProjectInput) SetName(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetRegion(v string) *CreateProjectInput
- func (s *CreateProjectInput) SetSnapshotId(v string) *CreateProjectInput
- func (s CreateProjectInput) String() string
- type CreateProjectOutput
- type DeleteProjectInput
- type DeleteProjectOutput
- type DescribeBundleInput
- type DescribeBundleOutput
- type DescribeProjectInput
- type DescribeProjectOutput
- type ExportBundleInput
- func (s ExportBundleInput) GoString() string
- func (s *ExportBundleInput) SetBundleId(v string) *ExportBundleInput
- func (s *ExportBundleInput) SetPlatform(v string) *ExportBundleInput
- func (s *ExportBundleInput) SetProjectId(v string) *ExportBundleInput
- func (s ExportBundleInput) String() string
- func (s *ExportBundleInput) Validate() error
- type ExportBundleOutput
- type ExportProjectInput
- type ExportProjectOutput
- func (s ExportProjectOutput) GoString() string
- func (s *ExportProjectOutput) SetDownloadUrl(v string) *ExportProjectOutput
- func (s *ExportProjectOutput) SetShareUrl(v string) *ExportProjectOutput
- func (s *ExportProjectOutput) SetSnapshotId(v string) *ExportProjectOutput
- func (s ExportProjectOutput) String() string
- type InternalFailureException
- func (s *InternalFailureException) Code() string
- func (s *InternalFailureException) Error() string
- func (s InternalFailureException) GoString() string
- func (s *InternalFailureException) Message() string
- func (s *InternalFailureException) OrigErr() error
- func (s *InternalFailureException) RequestID() string
- func (s *InternalFailureException) StatusCode() int
- func (s InternalFailureException) String() string
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type ListBundlesInput
- type ListBundlesOutput
- type ListProjectsInput
- type ListProjectsOutput
- type Mobile
- func (c *Mobile) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)
- func (c *Mobile) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)
- func (c *Mobile) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)
- func (c *Mobile) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)
- func (c *Mobile) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)
- func (c *Mobile) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)
- func (c *Mobile) DescribeBundle(input *DescribeBundleInput) (*DescribeBundleOutput, error)
- func (c *Mobile) DescribeBundleRequest(input *DescribeBundleInput) (req *request.Request, output *DescribeBundleOutput)
- func (c *Mobile) DescribeBundleWithContext(ctx aws.Context, input *DescribeBundleInput, opts ...request.Option) (*DescribeBundleOutput, error)
- func (c *Mobile) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error)
- func (c *Mobile) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput)
- func (c *Mobile) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error)
- func (c *Mobile) ExportBundle(input *ExportBundleInput) (*ExportBundleOutput, error)
- func (c *Mobile) ExportBundleRequest(input *ExportBundleInput) (req *request.Request, output *ExportBundleOutput)
- func (c *Mobile) ExportBundleWithContext(ctx aws.Context, input *ExportBundleInput, opts ...request.Option) (*ExportBundleOutput, error)
- func (c *Mobile) ExportProject(input *ExportProjectInput) (*ExportProjectOutput, error)
- func (c *Mobile) ExportProjectRequest(input *ExportProjectInput) (req *request.Request, output *ExportProjectOutput)
- func (c *Mobile) ExportProjectWithContext(ctx aws.Context, input *ExportProjectInput, opts ...request.Option) (*ExportProjectOutput, error)
- func (c *Mobile) ListBundles(input *ListBundlesInput) (*ListBundlesOutput, error)
- func (c *Mobile) ListBundlesPages(input *ListBundlesInput, fn func(*ListBundlesOutput, bool) bool) error
- func (c *Mobile) ListBundlesPagesWithContext(ctx aws.Context, input *ListBundlesInput, ...) error
- func (c *Mobile) ListBundlesRequest(input *ListBundlesInput) (req *request.Request, output *ListBundlesOutput)
- func (c *Mobile) ListBundlesWithContext(ctx aws.Context, input *ListBundlesInput, opts ...request.Option) (*ListBundlesOutput, error)
- func (c *Mobile) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)
- func (c *Mobile) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error
- func (c *Mobile) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, ...) error
- func (c *Mobile) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)
- func (c *Mobile) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)
- func (c *Mobile) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)
- func (c *Mobile) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)
- func (c *Mobile) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)
- type NotFoundException
- func (s *NotFoundException) Code() string
- func (s *NotFoundException) Error() string
- func (s NotFoundException) GoString() string
- func (s *NotFoundException) Message() string
- func (s *NotFoundException) OrigErr() error
- func (s *NotFoundException) RequestID() string
- func (s *NotFoundException) StatusCode() int
- func (s NotFoundException) String() string
- type ProjectDetails
- func (s ProjectDetails) GoString() string
- func (s *ProjectDetails) SetConsoleUrl(v string) *ProjectDetails
- func (s *ProjectDetails) SetCreatedDate(v time.Time) *ProjectDetails
- func (s *ProjectDetails) SetLastUpdatedDate(v time.Time) *ProjectDetails
- func (s *ProjectDetails) SetName(v string) *ProjectDetails
- func (s *ProjectDetails) SetProjectId(v string) *ProjectDetails
- func (s *ProjectDetails) SetRegion(v string) *ProjectDetails
- func (s *ProjectDetails) SetResources(v []*Resource) *ProjectDetails
- func (s *ProjectDetails) SetState(v string) *ProjectDetails
- func (s ProjectDetails) String() string
- type ProjectSummary
- type Resource
- func (s Resource) GoString() string
- func (s *Resource) SetArn(v string) *Resource
- func (s *Resource) SetAttributes(v map[string]*string) *Resource
- func (s *Resource) SetFeature(v string) *Resource
- func (s *Resource) SetName(v string) *Resource
- func (s *Resource) SetType(v string) *Resource
- func (s Resource) String() string
- type ServiceUnavailableException
- func (s *ServiceUnavailableException) Code() string
- func (s *ServiceUnavailableException) Error() string
- func (s ServiceUnavailableException) GoString() string
- func (s *ServiceUnavailableException) Message() string
- func (s *ServiceUnavailableException) OrigErr() error
- func (s *ServiceUnavailableException) RequestID() string
- func (s *ServiceUnavailableException) StatusCode() int
- func (s ServiceUnavailableException) String() string
- type TooManyRequestsException
- func (s *TooManyRequestsException) Code() string
- func (s *TooManyRequestsException) Error() string
- func (s TooManyRequestsException) GoString() string
- func (s *TooManyRequestsException) Message() string
- func (s *TooManyRequestsException) OrigErr() error
- func (s *TooManyRequestsException) RequestID() string
- func (s *TooManyRequestsException) StatusCode() int
- func (s TooManyRequestsException) String() string
- type UnauthorizedException
- func (s *UnauthorizedException) Code() string
- func (s *UnauthorizedException) Error() string
- func (s UnauthorizedException) GoString() string
- func (s *UnauthorizedException) Message() string
- func (s *UnauthorizedException) OrigErr() error
- func (s *UnauthorizedException) RequestID() string
- func (s *UnauthorizedException) StatusCode() int
- func (s UnauthorizedException) String() string
- type UpdateProjectInput
- type UpdateProjectOutput
Constants ¶
const ( // PlatformOsx is a Platform enum value PlatformOsx = "OSX" // PlatformWindows is a Platform enum value PlatformWindows = "WINDOWS" // PlatformLinux is a Platform enum value PlatformLinux = "LINUX" // PlatformObjc is a Platform enum value PlatformObjc = "OBJC" // PlatformSwift is a Platform enum value PlatformSwift = "SWIFT" // PlatformAndroid is a Platform enum value PlatformAndroid = "ANDROID" // PlatformJavascript is a Platform enum value PlatformJavascript = "JAVASCRIPT" )
Developer desktop or target mobile app or website platform.
const ( // ProjectStateNormal is a ProjectState enum value ProjectStateNormal = "NORMAL" // ProjectStateSyncing is a ProjectState enum value ProjectStateSyncing = "SYNCING" // ProjectStateImporting is a ProjectState enum value ProjectStateImporting = "IMPORTING" )
Synchronization state for a project.
const ( // ErrCodeAccountActionRequiredException for service response error code // "AccountActionRequiredException". // // Account Action is required in order to continue the request. ErrCodeAccountActionRequiredException = "AccountActionRequiredException" // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request cannot be processed because some parameter is not valid or the // project state prevents the operation from being performed. ErrCodeBadRequestException = "BadRequestException" // ErrCodeInternalFailureException for service response error code // "InternalFailureException". // // The service has encountered an unexpected error condition which prevents // it from servicing the request. ErrCodeInternalFailureException = "InternalFailureException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // There are too many AWS Mobile Hub projects in the account or the account // has exceeded the maximum number of resources in some AWS service. You should // create another sub-account using AWS Organizations or remove some resources // and retry your request. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // No entity can be found with the specified identifier. ErrCodeNotFoundException = "NotFoundException" // "ServiceUnavailableException". // // The service is temporarily unavailable. The request should be retried after // some time delay. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // Too many requests have been received for this AWS account in too short a // time. The request should be retried after some time delay. ErrCodeTooManyRequestsException = "TooManyRequestsException" // "UnauthorizedException". // // Credentials of the caller are insufficient to authorize the request. ErrCodeUnauthorizedException = "UnauthorizedException" )
const ( ServiceName = "mobile" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "Mobile" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func Platform_Values ¶ added in v1.34.3
func Platform_Values() []string
Platform_Values returns all elements of the Platform enum
func ProjectState_Values ¶ added in v1.34.3
func ProjectState_Values() []string
ProjectState_Values returns all elements of the ProjectState enum
Types ¶
type AccountActionRequiredException ¶ added in v1.28.0
type AccountActionRequiredException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The Exception Error Message. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Account Action is required in order to continue the request.
func (*AccountActionRequiredException) Code ¶ added in v1.28.0
func (s *AccountActionRequiredException) Code() string
Code returns the exception type name.
func (*AccountActionRequiredException) Error ¶ added in v1.28.0
func (s *AccountActionRequiredException) Error() string
func (AccountActionRequiredException) GoString ¶ added in v1.28.0
func (s AccountActionRequiredException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountActionRequiredException) Message ¶ added in v1.28.0
func (s *AccountActionRequiredException) Message() string
Message returns the exception's message.
func (*AccountActionRequiredException) OrigErr ¶ added in v1.28.0
func (s *AccountActionRequiredException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccountActionRequiredException) RequestID ¶ added in v1.28.0
func (s *AccountActionRequiredException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccountActionRequiredException) StatusCode ¶ added in v1.28.0
func (s *AccountActionRequiredException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccountActionRequiredException) String ¶ added in v1.28.0
func (s AccountActionRequiredException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BadRequestException ¶ added in v1.28.0
type BadRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The Exception Error Message. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
func (*BadRequestException) Code ¶ added in v1.28.0
func (s *BadRequestException) Code() string
Code returns the exception type name.
func (*BadRequestException) Error ¶ added in v1.28.0
func (s *BadRequestException) Error() string
func (BadRequestException) GoString ¶ added in v1.28.0
func (s BadRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BadRequestException) Message ¶ added in v1.28.0
func (s *BadRequestException) Message() string
Message returns the exception's message.
func (*BadRequestException) OrigErr ¶ added in v1.28.0
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*BadRequestException) RequestID ¶ added in v1.28.0
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*BadRequestException) StatusCode ¶ added in v1.28.0
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (BadRequestException) String ¶ added in v1.28.0
func (s BadRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BundleDetails ¶
type BundleDetails struct { // Developer desktop or mobile app or website platforms. AvailablePlatforms []*string `locationName:"availablePlatforms" type:"list" enum:"Platform"` // Unique bundle identifier. BundleId *string `locationName:"bundleId" type:"string"` // Description of the download bundle. Description *string `locationName:"description" type:"string"` // Icon for the download bundle. IconUrl *string `locationName:"iconUrl" type:"string"` // Title of the download bundle. Title *string `locationName:"title" type:"string"` // Version of the download bundle. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
The details of the bundle.
func (BundleDetails) GoString ¶
func (s BundleDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BundleDetails) SetAvailablePlatforms ¶
func (s *BundleDetails) SetAvailablePlatforms(v []*string) *BundleDetails
SetAvailablePlatforms sets the AvailablePlatforms field's value.
func (*BundleDetails) SetBundleId ¶
func (s *BundleDetails) SetBundleId(v string) *BundleDetails
SetBundleId sets the BundleId field's value.
func (*BundleDetails) SetDescription ¶
func (s *BundleDetails) SetDescription(v string) *BundleDetails
SetDescription sets the Description field's value.
func (*BundleDetails) SetIconUrl ¶
func (s *BundleDetails) SetIconUrl(v string) *BundleDetails
SetIconUrl sets the IconUrl field's value.
func (*BundleDetails) SetTitle ¶
func (s *BundleDetails) SetTitle(v string) *BundleDetails
SetTitle sets the Title field's value.
func (*BundleDetails) SetVersion ¶
func (s *BundleDetails) SetVersion(v string) *BundleDetails
SetVersion sets the Version field's value.
func (BundleDetails) String ¶
func (s BundleDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateProjectInput ¶
type CreateProjectInput struct { // ZIP or YAML file which contains configuration settings to be used when creating // the project. This may be the contents of the file downloaded from the URL // provided in an export project operation. Contents []byte `locationName:"contents" type:"blob"` // Name of the project. Name *string `location:"querystring" locationName:"name" type:"string"` // Default region where project resources should be created. Region *string `location:"querystring" locationName:"region" type:"string"` // Unique identifier for an exported snapshot of project configuration. This // snapshot identifier is included in the share URL when a project is exported. SnapshotId *string `location:"querystring" locationName:"snapshotId" type:"string"` // contains filtered or unexported fields }
Request structure used to request a project be created.
func (CreateProjectInput) GoString ¶
func (s CreateProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProjectInput) SetContents ¶
func (s *CreateProjectInput) SetContents(v []byte) *CreateProjectInput
SetContents sets the Contents field's value.
func (*CreateProjectInput) SetName ¶
func (s *CreateProjectInput) SetName(v string) *CreateProjectInput
SetName sets the Name field's value.
func (*CreateProjectInput) SetRegion ¶
func (s *CreateProjectInput) SetRegion(v string) *CreateProjectInput
SetRegion sets the Region field's value.
func (*CreateProjectInput) SetSnapshotId ¶
func (s *CreateProjectInput) SetSnapshotId(v string) *CreateProjectInput
SetSnapshotId sets the SnapshotId field's value.
func (CreateProjectInput) String ¶
func (s CreateProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateProjectOutput ¶
type CreateProjectOutput struct { // Detailed information about the created AWS Mobile Hub project. Details *ProjectDetails `locationName:"details" type:"structure"` // contains filtered or unexported fields }
Result structure used in response to a request to create a project.
func (CreateProjectOutput) GoString ¶
func (s CreateProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProjectOutput) SetDetails ¶
func (s *CreateProjectOutput) SetDetails(v *ProjectDetails) *CreateProjectOutput
SetDetails sets the Details field's value.
func (CreateProjectOutput) String ¶
func (s CreateProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteProjectInput ¶
type DeleteProjectInput struct { // Unique project identifier. // // ProjectId is a required field ProjectId *string `location:"uri" locationName:"projectId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure used to request a project be deleted.
func (DeleteProjectInput) GoString ¶
func (s DeleteProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProjectInput) SetProjectId ¶
func (s *DeleteProjectInput) SetProjectId(v string) *DeleteProjectInput
SetProjectId sets the ProjectId field's value.
func (DeleteProjectInput) String ¶
func (s DeleteProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProjectInput) Validate ¶
func (s *DeleteProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProjectOutput ¶
type DeleteProjectOutput struct { // Resources which were deleted. DeletedResources []*Resource `locationName:"deletedResources" type:"list"` // Resources which were not deleted, due to a risk of losing potentially important // data or files. OrphanedResources []*Resource `locationName:"orphanedResources" type:"list"` // contains filtered or unexported fields }
Result structure used in response to request to delete a project.
func (DeleteProjectOutput) GoString ¶
func (s DeleteProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProjectOutput) SetDeletedResources ¶
func (s *DeleteProjectOutput) SetDeletedResources(v []*Resource) *DeleteProjectOutput
SetDeletedResources sets the DeletedResources field's value.
func (*DeleteProjectOutput) SetOrphanedResources ¶
func (s *DeleteProjectOutput) SetOrphanedResources(v []*Resource) *DeleteProjectOutput
SetOrphanedResources sets the OrphanedResources field's value.
func (DeleteProjectOutput) String ¶
func (s DeleteProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeBundleInput ¶
type DescribeBundleInput struct { // Unique bundle identifier. // // BundleId is a required field BundleId *string `location:"uri" locationName:"bundleId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure to request the details of a specific bundle.
func (DescribeBundleInput) GoString ¶
func (s DescribeBundleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBundleInput) SetBundleId ¶
func (s *DescribeBundleInput) SetBundleId(v string) *DescribeBundleInput
SetBundleId sets the BundleId field's value.
func (DescribeBundleInput) String ¶
func (s DescribeBundleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBundleInput) Validate ¶
func (s *DescribeBundleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeBundleOutput ¶
type DescribeBundleOutput struct { // The details of the bundle. Details *BundleDetails `locationName:"details" type:"structure"` // contains filtered or unexported fields }
Result structure contains the details of the bundle.
func (DescribeBundleOutput) GoString ¶
func (s DescribeBundleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeBundleOutput) SetDetails ¶
func (s *DescribeBundleOutput) SetDetails(v *BundleDetails) *DescribeBundleOutput
SetDetails sets the Details field's value.
func (DescribeBundleOutput) String ¶
func (s DescribeBundleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeProjectInput ¶
type DescribeProjectInput struct { // Unique project identifier. // // ProjectId is a required field ProjectId *string `location:"querystring" locationName:"projectId" type:"string" required:"true"` // If set to true, causes AWS Mobile Hub to synchronize information from other // services, e.g., update state of AWS CloudFormation stacks in the AWS Mobile // Hub project. SyncFromResources *bool `location:"querystring" locationName:"syncFromResources" type:"boolean"` // contains filtered or unexported fields }
Request structure used to request details about a project.
func (DescribeProjectInput) GoString ¶
func (s DescribeProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProjectInput) SetProjectId ¶
func (s *DescribeProjectInput) SetProjectId(v string) *DescribeProjectInput
SetProjectId sets the ProjectId field's value.
func (*DescribeProjectInput) SetSyncFromResources ¶
func (s *DescribeProjectInput) SetSyncFromResources(v bool) *DescribeProjectInput
SetSyncFromResources sets the SyncFromResources field's value.
func (DescribeProjectInput) String ¶
func (s DescribeProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProjectInput) Validate ¶
func (s *DescribeProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeProjectOutput ¶
type DescribeProjectOutput struct { // Detailed information about an AWS Mobile Hub project. Details *ProjectDetails `locationName:"details" type:"structure"` // contains filtered or unexported fields }
Result structure used for requests of project details.
func (DescribeProjectOutput) GoString ¶
func (s DescribeProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeProjectOutput) SetDetails ¶
func (s *DescribeProjectOutput) SetDetails(v *ProjectDetails) *DescribeProjectOutput
SetDetails sets the Details field's value.
func (DescribeProjectOutput) String ¶
func (s DescribeProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportBundleInput ¶
type ExportBundleInput struct { // Unique bundle identifier. // // BundleId is a required field BundleId *string `location:"uri" locationName:"bundleId" type:"string" required:"true"` // Developer desktop or target application platform. Platform *string `location:"querystring" locationName:"platform" type:"string" enum:"Platform"` // Unique project identifier. ProjectId *string `location:"querystring" locationName:"projectId" type:"string"` // contains filtered or unexported fields }
Request structure used to request generation of custom SDK and tool packages required to integrate mobile web or app clients with backed AWS resources.
func (ExportBundleInput) GoString ¶
func (s ExportBundleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportBundleInput) SetBundleId ¶
func (s *ExportBundleInput) SetBundleId(v string) *ExportBundleInput
SetBundleId sets the BundleId field's value.
func (*ExportBundleInput) SetPlatform ¶
func (s *ExportBundleInput) SetPlatform(v string) *ExportBundleInput
SetPlatform sets the Platform field's value.
func (*ExportBundleInput) SetProjectId ¶
func (s *ExportBundleInput) SetProjectId(v string) *ExportBundleInput
SetProjectId sets the ProjectId field's value.
func (ExportBundleInput) String ¶
func (s ExportBundleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportBundleInput) Validate ¶
func (s *ExportBundleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportBundleOutput ¶
type ExportBundleOutput struct { // URL which contains the custom-generated SDK and tool packages used to integrate // the client mobile app or web app with the AWS resources created by the AWS // Mobile Hub project. DownloadUrl *string `locationName:"downloadUrl" type:"string"` // contains filtered or unexported fields }
Result structure which contains link to download custom-generated SDK and tool packages used to integrate mobile web or app clients with backed AWS resources.
func (ExportBundleOutput) GoString ¶
func (s ExportBundleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportBundleOutput) SetDownloadUrl ¶
func (s *ExportBundleOutput) SetDownloadUrl(v string) *ExportBundleOutput
SetDownloadUrl sets the DownloadUrl field's value.
func (ExportBundleOutput) String ¶
func (s ExportBundleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExportProjectInput ¶
type ExportProjectInput struct { // Unique project identifier. // // ProjectId is a required field ProjectId *string `location:"uri" locationName:"projectId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure used in requests to export project configuration details.
func (ExportProjectInput) GoString ¶
func (s ExportProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportProjectInput) SetProjectId ¶
func (s *ExportProjectInput) SetProjectId(v string) *ExportProjectInput
SetProjectId sets the ProjectId field's value.
func (ExportProjectInput) String ¶
func (s ExportProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportProjectInput) Validate ¶
func (s *ExportProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportProjectOutput ¶
type ExportProjectOutput struct { // URL which can be used to download the exported project configuation file(s). DownloadUrl *string `locationName:"downloadUrl" type:"string"` // in AWS Mobile Hub with the same configuration as the specified project. This // URL pertains to a snapshot in time of the project configuration that is created // when this API is called. If you want to share additional changes to your // project configuration, then you will need to create and share a new snapshot // by calling this method again. ShareUrl *string `locationName:"shareUrl" type:"string"` // Unique identifier for the exported snapshot of the project configuration. // This snapshot identifier is included in the share URL. SnapshotId *string `locationName:"snapshotId" type:"string"` // contains filtered or unexported fields }
Result structure used for requests to export project configuration details.
func (ExportProjectOutput) GoString ¶
func (s ExportProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExportProjectOutput) SetDownloadUrl ¶
func (s *ExportProjectOutput) SetDownloadUrl(v string) *ExportProjectOutput
SetDownloadUrl sets the DownloadUrl field's value.
func (*ExportProjectOutput) SetShareUrl ¶
func (s *ExportProjectOutput) SetShareUrl(v string) *ExportProjectOutput
SetShareUrl sets the ShareUrl field's value.
func (*ExportProjectOutput) SetSnapshotId ¶
func (s *ExportProjectOutput) SetSnapshotId(v string) *ExportProjectOutput
SetSnapshotId sets the SnapshotId field's value.
func (ExportProjectOutput) String ¶
func (s ExportProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalFailureException ¶ added in v1.28.0
type InternalFailureException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The Exception Error Message. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The service has encountered an unexpected error condition which prevents it from servicing the request.
func (*InternalFailureException) Code ¶ added in v1.28.0
func (s *InternalFailureException) Code() string
Code returns the exception type name.
func (*InternalFailureException) Error ¶ added in v1.28.0
func (s *InternalFailureException) Error() string
func (InternalFailureException) GoString ¶ added in v1.28.0
func (s InternalFailureException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalFailureException) Message ¶ added in v1.28.0
func (s *InternalFailureException) Message() string
Message returns the exception's message.
func (*InternalFailureException) OrigErr ¶ added in v1.28.0
func (s *InternalFailureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalFailureException) RequestID ¶ added in v1.28.0
func (s *InternalFailureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalFailureException) StatusCode ¶ added in v1.28.0
func (s *InternalFailureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalFailureException) String ¶ added in v1.28.0
func (s InternalFailureException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LimitExceededException ¶ added in v1.28.0
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The Exception Error Message. Message_ *string `locationName:"message" type:"string"` // The Exception Error Message. RetryAfterSeconds *string `location:"header" locationName:"Retry-After" type:"string"` // contains filtered or unexported fields }
There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number of resources in some AWS service. You should create another sub-account using AWS Organizations or remove some resources and retry your request.
func (*LimitExceededException) Code ¶ added in v1.28.0
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶ added in v1.28.0
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶ added in v1.28.0
func (s LimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LimitExceededException) Message ¶ added in v1.28.0
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶ added in v1.28.0
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶ added in v1.28.0
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶ added in v1.28.0
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶ added in v1.28.0
func (s LimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBundlesInput ¶
type ListBundlesInput struct { // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // Pagination token. Set to null to start listing bundles from start. If non-null // pagination token is returned in a result, then pass its value in here in // another request to list more bundles. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure to request all available bundles.
func (ListBundlesInput) GoString ¶
func (s ListBundlesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBundlesInput) SetMaxResults ¶
func (s *ListBundlesInput) SetMaxResults(v int64) *ListBundlesInput
SetMaxResults sets the MaxResults field's value.
func (*ListBundlesInput) SetNextToken ¶
func (s *ListBundlesInput) SetNextToken(v string) *ListBundlesInput
SetNextToken sets the NextToken field's value.
func (ListBundlesInput) String ¶
func (s ListBundlesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListBundlesOutput ¶
type ListBundlesOutput struct { // A list of bundles. BundleList []*BundleDetails `locationName:"bundleList" type:"list"` // Pagination token. If non-null pagination token is returned in a result, then // pass its value in another request to fetch more entries. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Result structure contains a list of all available bundles with details.
func (ListBundlesOutput) GoString ¶
func (s ListBundlesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListBundlesOutput) SetBundleList ¶
func (s *ListBundlesOutput) SetBundleList(v []*BundleDetails) *ListBundlesOutput
SetBundleList sets the BundleList field's value.
func (*ListBundlesOutput) SetNextToken ¶
func (s *ListBundlesOutput) SetNextToken(v string) *ListBundlesOutput
SetNextToken sets the NextToken field's value.
func (ListBundlesOutput) String ¶
func (s ListBundlesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProjectsInput ¶
type ListProjectsInput struct { // Maximum number of records to list in a single response. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // Pagination token. Set to null to start listing projects from start. If non-null // pagination token is returned in a result, then pass its value in here in // another request to list more projects. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Request structure used to request projects list in AWS Mobile Hub.
func (ListProjectsInput) GoString ¶
func (s ListProjectsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProjectsInput) SetMaxResults ¶
func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput
SetMaxResults sets the MaxResults field's value.
func (*ListProjectsInput) SetNextToken ¶
func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput
SetNextToken sets the NextToken field's value.
func (ListProjectsInput) String ¶
func (s ListProjectsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProjectsOutput ¶
type ListProjectsOutput struct { // Pagination token. Set to null to start listing records from start. If non-null // pagination token is returned in a result, then pass its value in here in // another request to list more entries. NextToken *string `locationName:"nextToken" type:"string"` // List of projects. Projects []*ProjectSummary `locationName:"projects" type:"list"` // contains filtered or unexported fields }
Result structure used for requests to list projects in AWS Mobile Hub.
func (ListProjectsOutput) GoString ¶
func (s ListProjectsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProjectsOutput) SetNextToken ¶
func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput
SetNextToken sets the NextToken field's value.
func (*ListProjectsOutput) SetProjects ¶
func (s *ListProjectsOutput) SetProjects(v []*ProjectSummary) *ListProjectsOutput
SetProjects sets the Projects field's value.
func (ListProjectsOutput) String ¶
func (s ListProjectsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Mobile ¶
Mobile provides the API operation methods for making requests to AWS Mobile. See this package's package overview docs for details on the service.
Mobile 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) *Mobile
New creates a new instance of the Mobile 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 Mobile client from just a session. svc := mobile.New(mySession) // Create a Mobile client with additional configuration svc := mobile.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Mobile) CreateProject ¶
func (c *Mobile) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)
CreateProject API operation for AWS Mobile.
Creates an AWS Mobile Hub 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 AWS Mobile's API operation CreateProject for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
NotFoundException No entity can be found with the specified identifier.
LimitExceededException There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number of resources in some AWS service. You should create another sub-account using AWS Organizations or remove some resources and retry your request.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/CreateProject
func (*Mobile) CreateProjectRequest ¶
func (c *Mobile) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)
CreateProjectRequest generates a "aws/request.Request" representing the client's request for the CreateProject 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 CreateProject for more information on using the CreateProject 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 CreateProjectRequest method. req, resp := client.CreateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/CreateProject
func (*Mobile) CreateProjectWithContext ¶
func (c *Mobile) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)
CreateProjectWithContext is the same as CreateProject with the addition of the ability to pass a context and additional request options.
See CreateProject 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 (*Mobile) DeleteProject ¶
func (c *Mobile) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)
DeleteProject API operation for AWS Mobile.
Delets a project in AWS Mobile Hub.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Mobile's API operation DeleteProject for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
NotFoundException No entity can be found with the specified identifier.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DeleteProject
func (*Mobile) DeleteProjectRequest ¶
func (c *Mobile) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)
DeleteProjectRequest generates a "aws/request.Request" representing the client's request for the DeleteProject 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 DeleteProject for more information on using the DeleteProject 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 DeleteProjectRequest method. req, resp := client.DeleteProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DeleteProject
func (*Mobile) DeleteProjectWithContext ¶
func (c *Mobile) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)
DeleteProjectWithContext is the same as DeleteProject with the addition of the ability to pass a context and additional request options.
See DeleteProject 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 (*Mobile) DescribeBundle ¶
func (c *Mobile) DescribeBundle(input *DescribeBundleInput) (*DescribeBundleOutput, error)
DescribeBundle API operation for AWS Mobile.
Get the bundle details for the requested bundle id.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Mobile's API operation DescribeBundle for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
NotFoundException No entity can be found with the specified identifier.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeBundle
func (*Mobile) DescribeBundleRequest ¶
func (c *Mobile) DescribeBundleRequest(input *DescribeBundleInput) (req *request.Request, output *DescribeBundleOutput)
DescribeBundleRequest generates a "aws/request.Request" representing the client's request for the DescribeBundle 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 DescribeBundle for more information on using the DescribeBundle 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 DescribeBundleRequest method. req, resp := client.DescribeBundleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeBundle
func (*Mobile) DescribeBundleWithContext ¶
func (c *Mobile) DescribeBundleWithContext(ctx aws.Context, input *DescribeBundleInput, opts ...request.Option) (*DescribeBundleOutput, error)
DescribeBundleWithContext is the same as DescribeBundle with the addition of the ability to pass a context and additional request options.
See DescribeBundle 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 (*Mobile) DescribeProject ¶
func (c *Mobile) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error)
DescribeProject API operation for AWS Mobile.
Gets details about a project in AWS Mobile Hub.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Mobile's API operation DescribeProject for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
NotFoundException No entity can be found with the specified identifier.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeProject
func (*Mobile) DescribeProjectRequest ¶
func (c *Mobile) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput)
DescribeProjectRequest generates a "aws/request.Request" representing the client's request for the DescribeProject 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 DescribeProject for more information on using the DescribeProject 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 DescribeProjectRequest method. req, resp := client.DescribeProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeProject
func (*Mobile) DescribeProjectWithContext ¶
func (c *Mobile) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error)
DescribeProjectWithContext is the same as DescribeProject with the addition of the ability to pass a context and additional request options.
See DescribeProject 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 (*Mobile) ExportBundle ¶
func (c *Mobile) ExportBundle(input *ExportBundleInput) (*ExportBundleOutput, error)
ExportBundle API operation for AWS Mobile.
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Mobile's API operation ExportBundle for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
NotFoundException No entity can be found with the specified identifier.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportBundle
func (*Mobile) ExportBundleRequest ¶
func (c *Mobile) ExportBundleRequest(input *ExportBundleInput) (req *request.Request, output *ExportBundleOutput)
ExportBundleRequest generates a "aws/request.Request" representing the client's request for the ExportBundle 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 ExportBundle for more information on using the ExportBundle 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 ExportBundleRequest method. req, resp := client.ExportBundleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportBundle
func (*Mobile) ExportBundleWithContext ¶
func (c *Mobile) ExportBundleWithContext(ctx aws.Context, input *ExportBundleInput, opts ...request.Option) (*ExportBundleOutput, error)
ExportBundleWithContext is the same as ExportBundle with the addition of the ability to pass a context and additional request options.
See ExportBundle 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 (*Mobile) ExportProject ¶
func (c *Mobile) ExportProject(input *ExportProjectInput) (*ExportProjectOutput, error)
ExportProject API operation for AWS Mobile.
Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Mobile's API operation ExportProject for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
NotFoundException No entity can be found with the specified identifier.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportProject
func (*Mobile) ExportProjectRequest ¶
func (c *Mobile) ExportProjectRequest(input *ExportProjectInput) (req *request.Request, output *ExportProjectOutput)
ExportProjectRequest generates a "aws/request.Request" representing the client's request for the ExportProject 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 ExportProject for more information on using the ExportProject 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 ExportProjectRequest method. req, resp := client.ExportProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportProject
func (*Mobile) ExportProjectWithContext ¶
func (c *Mobile) ExportProjectWithContext(ctx aws.Context, input *ExportProjectInput, opts ...request.Option) (*ExportProjectOutput, error)
ExportProjectWithContext is the same as ExportProject with the addition of the ability to pass a context and additional request options.
See ExportProject 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 (*Mobile) ListBundles ¶
func (c *Mobile) ListBundles(input *ListBundlesInput) (*ListBundlesOutput, error)
ListBundles API operation for AWS Mobile.
List all available bundles.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Mobile's API operation ListBundles for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListBundles
func (*Mobile) ListBundlesPages ¶
func (c *Mobile) ListBundlesPages(input *ListBundlesInput, fn func(*ListBundlesOutput, bool) bool) error
ListBundlesPages iterates over the pages of a ListBundles operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListBundles 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 ListBundles operation. pageNum := 0 err := client.ListBundlesPages(params, func(page *mobile.ListBundlesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Mobile) ListBundlesPagesWithContext ¶
func (c *Mobile) ListBundlesPagesWithContext(ctx aws.Context, input *ListBundlesInput, fn func(*ListBundlesOutput, bool) bool, opts ...request.Option) error
ListBundlesPagesWithContext same as ListBundlesPages 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 (*Mobile) ListBundlesRequest ¶
func (c *Mobile) ListBundlesRequest(input *ListBundlesInput) (req *request.Request, output *ListBundlesOutput)
ListBundlesRequest generates a "aws/request.Request" representing the client's request for the ListBundles 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 ListBundles for more information on using the ListBundles 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 ListBundlesRequest method. req, resp := client.ListBundlesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListBundles
func (*Mobile) ListBundlesWithContext ¶
func (c *Mobile) ListBundlesWithContext(ctx aws.Context, input *ListBundlesInput, opts ...request.Option) (*ListBundlesOutput, error)
ListBundlesWithContext is the same as ListBundles with the addition of the ability to pass a context and additional request options.
See ListBundles 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 (*Mobile) ListProjects ¶
func (c *Mobile) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)
ListProjects API operation for AWS Mobile.
Lists projects in AWS Mobile Hub.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Mobile's API operation ListProjects for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListProjects
func (*Mobile) ListProjectsPages ¶
func (c *Mobile) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error
ListProjectsPages iterates over the pages of a ListProjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProjects 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 ListProjects operation. pageNum := 0 err := client.ListProjectsPages(params, func(page *mobile.ListProjectsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Mobile) ListProjectsPagesWithContext ¶
func (c *Mobile) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error
ListProjectsPagesWithContext same as ListProjectsPages 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 (*Mobile) ListProjectsRequest ¶
func (c *Mobile) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)
ListProjectsRequest generates a "aws/request.Request" representing the client's request for the ListProjects 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 ListProjects for more information on using the ListProjects 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 ListProjectsRequest method. req, resp := client.ListProjectsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListProjects
func (*Mobile) ListProjectsWithContext ¶
func (c *Mobile) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)
ListProjectsWithContext is the same as ListProjects with the addition of the ability to pass a context and additional request options.
See ListProjects 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 (*Mobile) UpdateProject ¶
func (c *Mobile) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)
UpdateProject API operation for AWS Mobile.
Update an existing 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 AWS Mobile's API operation UpdateProject for usage and error information.
Returned Error Types:
InternalFailureException The service has encountered an unexpected error condition which prevents it from servicing the request.
ServiceUnavailableException The service is temporarily unavailable. The request should be retried after some time delay.
UnauthorizedException Credentials of the caller are insufficient to authorize the request.
TooManyRequestsException Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
BadRequestException The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.
NotFoundException No entity can be found with the specified identifier.
AccountActionRequiredException Account Action is required in order to continue the request.
LimitExceededException There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number of resources in some AWS service. You should create another sub-account using AWS Organizations or remove some resources and retry your request.
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/UpdateProject
func (*Mobile) UpdateProjectRequest ¶
func (c *Mobile) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)
UpdateProjectRequest generates a "aws/request.Request" representing the client's request for the UpdateProject 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 UpdateProject for more information on using the UpdateProject 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 UpdateProjectRequest method. req, resp := client.UpdateProjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/UpdateProject
func (*Mobile) UpdateProjectWithContext ¶
func (c *Mobile) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)
UpdateProjectWithContext is the same as UpdateProject with the addition of the ability to pass a context and additional request options.
See UpdateProject 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 NotFoundException ¶ added in v1.28.0
type NotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The Exception Error Message. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
No entity can be found with the specified identifier.
func (*NotFoundException) Code ¶ added in v1.28.0
func (s *NotFoundException) Code() string
Code returns the exception type name.
func (*NotFoundException) Error ¶ added in v1.28.0
func (s *NotFoundException) Error() string
func (NotFoundException) GoString ¶ added in v1.28.0
func (s NotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NotFoundException) Message ¶ added in v1.28.0
func (s *NotFoundException) Message() string
Message returns the exception's message.
func (*NotFoundException) OrigErr ¶ added in v1.28.0
func (s *NotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*NotFoundException) RequestID ¶ added in v1.28.0
func (s *NotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*NotFoundException) StatusCode ¶ added in v1.28.0
func (s *NotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (NotFoundException) String ¶ added in v1.28.0
func (s NotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProjectDetails ¶
type ProjectDetails struct { // Website URL for this project in the AWS Mobile Hub console. ConsoleUrl *string `locationName:"consoleUrl" type:"string"` // Date the project was created. CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` // Date of the last modification of the project. LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"` // Name of the project. Name *string `locationName:"name" type:"string"` // Unique project identifier. ProjectId *string `locationName:"projectId" type:"string"` // Default region to use for AWS resource creation in the AWS Mobile Hub project. Region *string `locationName:"region" type:"string"` // List of AWS resources associated with a project. Resources []*Resource `locationName:"resources" type:"list"` // Synchronization state for a project. State *string `locationName:"state" type:"string" enum:"ProjectState"` // contains filtered or unexported fields }
Detailed information about an AWS Mobile Hub project.
func (ProjectDetails) GoString ¶
func (s ProjectDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProjectDetails) SetConsoleUrl ¶
func (s *ProjectDetails) SetConsoleUrl(v string) *ProjectDetails
SetConsoleUrl sets the ConsoleUrl field's value.
func (*ProjectDetails) SetCreatedDate ¶
func (s *ProjectDetails) SetCreatedDate(v time.Time) *ProjectDetails
SetCreatedDate sets the CreatedDate field's value.
func (*ProjectDetails) SetLastUpdatedDate ¶
func (s *ProjectDetails) SetLastUpdatedDate(v time.Time) *ProjectDetails
SetLastUpdatedDate sets the LastUpdatedDate field's value.
func (*ProjectDetails) SetName ¶
func (s *ProjectDetails) SetName(v string) *ProjectDetails
SetName sets the Name field's value.
func (*ProjectDetails) SetProjectId ¶
func (s *ProjectDetails) SetProjectId(v string) *ProjectDetails
SetProjectId sets the ProjectId field's value.
func (*ProjectDetails) SetRegion ¶
func (s *ProjectDetails) SetRegion(v string) *ProjectDetails
SetRegion sets the Region field's value.
func (*ProjectDetails) SetResources ¶
func (s *ProjectDetails) SetResources(v []*Resource) *ProjectDetails
SetResources sets the Resources field's value.
func (*ProjectDetails) SetState ¶
func (s *ProjectDetails) SetState(v string) *ProjectDetails
SetState sets the State field's value.
func (ProjectDetails) String ¶
func (s ProjectDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProjectSummary ¶
type ProjectSummary struct { // Name of the project. Name *string `locationName:"name" type:"string"` // Unique project identifier. ProjectId *string `locationName:"projectId" type:"string"` // contains filtered or unexported fields }
Summary information about an AWS Mobile Hub project.
func (ProjectSummary) GoString ¶
func (s ProjectSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProjectSummary) SetName ¶
func (s *ProjectSummary) SetName(v string) *ProjectSummary
SetName sets the Name field's value.
func (*ProjectSummary) SetProjectId ¶
func (s *ProjectSummary) SetProjectId(v string) *ProjectSummary
SetProjectId sets the ProjectId field's value.
func (ProjectSummary) String ¶
func (s ProjectSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Resource ¶
type Resource struct { // AWS resource name which uniquely identifies the resource in AWS systems. Arn *string `locationName:"arn" type:"string"` // Key-value attribute pairs. Attributes map[string]*string `locationName:"attributes" type:"map"` // Identifies which feature in AWS Mobile Hub is associated with this AWS resource. Feature *string `locationName:"feature" type:"string"` // Name of the AWS resource (e.g., for an Amazon S3 bucket this is the name // of the bucket). Name *string `locationName:"name" type:"string"` // Simplified name for type of AWS resource (e.g., bucket is an Amazon S3 bucket). Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Information about an instance of an AWS resource associated with a project.
func (Resource) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Resource) SetAttributes ¶
SetAttributes sets the Attributes field's value.
func (*Resource) SetFeature ¶
SetFeature sets the Feature field's value.
type ServiceUnavailableException ¶ added in v1.28.0
type ServiceUnavailableException struct { string `locationName:"message" type:"string"` RetryAfterSeconds *string `location:"header" locationName:"Retry-After" type:"string"` // contains filtered or unexported fields }Message_ *
The service is temporarily unavailable. The request should be retried after some time delay.
func (*ServiceUnavailableException) Code ¶ added in v1.28.0
func (s *ServiceUnavailableException) Code() string
Code returns the exception type name.
func (*ServiceUnavailableException) Error ¶ added in v1.28.0
func (s *ServiceUnavailableException) Error() string
func (ServiceUnavailableException) GoString ¶ added in v1.28.0
func (s ServiceUnavailableException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceUnavailableException) Message ¶ added in v1.28.0
func (s *ServiceUnavailableException) Message() string
Message returns the exception's message.
func (*ServiceUnavailableException) OrigErr ¶ added in v1.28.0
func (s *ServiceUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceUnavailableException) RequestID ¶ added in v1.28.0
func (s *ServiceUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceUnavailableException) StatusCode ¶ added in v1.28.0
func (s *ServiceUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceUnavailableException) String ¶ added in v1.28.0
func (s ServiceUnavailableException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TooManyRequestsException ¶ added in v1.28.0
type TooManyRequestsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The Exception Error Message. Message_ *string `locationName:"message" type:"string"` // The Exception Error Message. RetryAfterSeconds *string `location:"header" locationName:"Retry-After" type:"string"` // contains filtered or unexported fields }
Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
func (*TooManyRequestsException) Code ¶ added in v1.28.0
func (s *TooManyRequestsException) Code() string
Code returns the exception type name.
func (*TooManyRequestsException) Error ¶ added in v1.28.0
func (s *TooManyRequestsException) Error() string
func (TooManyRequestsException) GoString ¶ added in v1.28.0
func (s TooManyRequestsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TooManyRequestsException) Message ¶ added in v1.28.0
func (s *TooManyRequestsException) Message() string
Message returns the exception's message.
func (*TooManyRequestsException) OrigErr ¶ added in v1.28.0
func (s *TooManyRequestsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyRequestsException) RequestID ¶ added in v1.28.0
func (s *TooManyRequestsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyRequestsException) StatusCode ¶ added in v1.28.0
func (s *TooManyRequestsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyRequestsException) String ¶ added in v1.28.0
func (s TooManyRequestsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UnauthorizedException ¶ added in v1.28.0
type UnauthorizedException struct { string `locationName:"message" type:"string"` // contains filtered or unexported fields }Message_ *
Credentials of the caller are insufficient to authorize the request.
func (*UnauthorizedException) Code ¶ added in v1.28.0
func (s *UnauthorizedException) Code() string
Code returns the exception type name.
func (*UnauthorizedException) Error ¶ added in v1.28.0
func (s *UnauthorizedException) Error() string
func (UnauthorizedException) GoString ¶ added in v1.28.0
func (s UnauthorizedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UnauthorizedException) Message ¶ added in v1.28.0
func (s *UnauthorizedException) Message() string
Message returns the exception's message.
func (*UnauthorizedException) OrigErr ¶ added in v1.28.0
func (s *UnauthorizedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnauthorizedException) RequestID ¶ added in v1.28.0
func (s *UnauthorizedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnauthorizedException) StatusCode ¶ added in v1.28.0
func (s *UnauthorizedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnauthorizedException) String ¶ added in v1.28.0
func (s UnauthorizedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateProjectInput ¶
type UpdateProjectInput struct { // ZIP or YAML file which contains project configuration to be updated. This // should be the contents of the file downloaded from the URL provided in an // export project operation. Contents []byte `locationName:"contents" type:"blob"` // Unique project identifier. // // ProjectId is a required field ProjectId *string `location:"querystring" locationName:"projectId" type:"string" required:"true"` // contains filtered or unexported fields }
Request structure used for requests to update project configuration.
func (UpdateProjectInput) GoString ¶
func (s UpdateProjectInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateProjectInput) SetContents ¶
func (s *UpdateProjectInput) SetContents(v []byte) *UpdateProjectInput
SetContents sets the Contents field's value.
func (*UpdateProjectInput) SetProjectId ¶
func (s *UpdateProjectInput) SetProjectId(v string) *UpdateProjectInput
SetProjectId sets the ProjectId field's value.
func (UpdateProjectInput) String ¶
func (s UpdateProjectInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateProjectInput) Validate ¶
func (s *UpdateProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateProjectOutput ¶
type UpdateProjectOutput struct { // Detailed information about the updated AWS Mobile Hub project. Details *ProjectDetails `locationName:"details" type:"structure"` // contains filtered or unexported fields }
Result structure used for requests to updated project configuration.
func (UpdateProjectOutput) GoString ¶
func (s UpdateProjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateProjectOutput) SetDetails ¶
func (s *UpdateProjectOutput) SetDetails(v *ProjectDetails) *UpdateProjectOutput
SetDetails sets the Details field's value.
func (UpdateProjectOutput) String ¶
func (s UpdateProjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package mobileiface provides an interface to enable mocking the AWS Mobile service client for testing your code.
|
Package mobileiface provides an interface to enable mocking the AWS Mobile service client for testing your code. |