Module: Aws::Mobile::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-mobile/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

AccountActionRequiredException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AccountActionRequiredException')
AttributeKey =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'AttributeKey')
AttributeValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'AttributeValue')
Attributes =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::MapShape.new(name: 'Attributes')
BadRequestException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'BadRequestException')
Boolean =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'Boolean')
BundleDescription =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BundleDescription')
BundleDetails =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'BundleDetails')
BundleId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BundleId')
BundleList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'BundleList')
BundleTitle =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BundleTitle')
BundleVersion =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'BundleVersion')
ConsoleUrl =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ConsoleUrl')
Contents =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BlobShape.new(name: 'Contents')
CreateProjectRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateProjectRequest')
CreateProjectResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateProjectResult')
Date =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'Date')
DeleteProjectRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteProjectRequest')
DeleteProjectResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteProjectResult')
DescribeBundleRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeBundleRequest')
DescribeBundleResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeBundleResult')
DescribeProjectRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeProjectRequest')
DescribeProjectResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeProjectResult')
DownloadUrl =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'DownloadUrl')
ErrorMessage =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ErrorMessage')
ExportBundleRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExportBundleRequest')
ExportBundleResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExportBundleResult')
ExportProjectRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExportProjectRequest')
ExportProjectResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExportProjectResult')
Feature =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Feature')
IconUrl =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'IconUrl')
InternalFailureException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InternalFailureException')
LimitExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LimitExceededException')
ListBundlesRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListBundlesRequest')
ListBundlesResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListBundlesResult')
ListProjectsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListProjectsRequest')
ListProjectsResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListProjectsResult')
MaxResults =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'MaxResults')
NextToken =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NextToken')
NotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'NotFoundException')
Platform =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Platform')
Platforms =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'Platforms')
ProjectDetails =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ProjectDetails')
ProjectId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ProjectId')
ProjectName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ProjectName')
ProjectRegion =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ProjectRegion')
ProjectState =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ProjectState')
ProjectSummaries =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'ProjectSummaries')
ProjectSummary =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ProjectSummary')
Resource =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Resource')
ResourceArn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourceArn')
ResourceName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourceName')
ResourceType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourceType')
Resources =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'Resources')
ServiceUnavailableException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ServiceUnavailableException')
ShareUrl =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ShareUrl')
SnapshotId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SnapshotId')
TooManyRequestsException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TooManyRequestsException')
UnauthorizedException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UnauthorizedException')
UpdateProjectRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateProjectRequest')
UpdateProjectResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateProjectResult')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2017-07-01"

  api. = {
    "apiVersion" => "2017-07-01",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "mobile",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceFullName" => "AWS Mobile",
    "serviceId" => "Mobile",
    "signatureVersion" => "v4",
    "signingName" => "AWSMobileHubService",
    "uid" => "mobile-2017-07-01",
  }

  api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateProject"
    o.http_method = "POST"
    o.http_request_uri = "/projects"
    o.input = Shapes::ShapeRef.new(shape: CreateProjectRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateProjectResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
  end)

  api.add_operation(:delete_project, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteProject"
    o.http_method = "DELETE"
    o.http_request_uri = "/projects/{projectId}"
    o.input = Shapes::ShapeRef.new(shape: DeleteProjectRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteProjectResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
  end)

  api.add_operation(:describe_bundle, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeBundle"
    o.http_method = "GET"
    o.http_request_uri = "/bundles/{bundleId}"
    o.input = Shapes::ShapeRef.new(shape: DescribeBundleRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeBundleResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
  end)

  api.add_operation(:describe_project, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeProject"
    o.http_method = "GET"
    o.http_request_uri = "/project"
    o.input = Shapes::ShapeRef.new(shape: DescribeProjectRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeProjectResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
  end)

  api.add_operation(:export_bundle, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ExportBundle"
    o.http_method = "POST"
    o.http_request_uri = "/bundles/{bundleId}"
    o.input = Shapes::ShapeRef.new(shape: ExportBundleRequest)
    o.output = Shapes::ShapeRef.new(shape: ExportBundleResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
  end)

  api.add_operation(:export_project, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ExportProject"
    o.http_method = "POST"
    o.http_request_uri = "/exports/{projectId}"
    o.input = Shapes::ShapeRef.new(shape: ExportProjectRequest)
    o.output = Shapes::ShapeRef.new(shape: ExportProjectResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
  end)

  api.add_operation(:list_bundles, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListBundles"
    o.http_method = "GET"
    o.http_request_uri = "/bundles"
    o.input = Shapes::ShapeRef.new(shape: ListBundlesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListBundlesResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_projects, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListProjects"
    o.http_method = "GET"
    o.http_request_uri = "/projects"
    o.input = Shapes::ShapeRef.new(shape: ListProjectsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListProjectsResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:update_project, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateProject"
    o.http_method = "POST"
    o.http_request_uri = "/update"
    o.input = Shapes::ShapeRef.new(shape: UpdateProjectRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateProjectResult)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: AccountActionRequiredException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
  end)
end