Module: Aws::ServerlessApplicationRepository::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-serverlessapplicationrepository/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

Application =

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: 'Application')
ApplicationDependencyPage =

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: 'ApplicationDependencyPage')
ApplicationDependencySummary =

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: 'ApplicationDependencySummary')
ApplicationPage =

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: 'ApplicationPage')
ApplicationPolicy =

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: 'ApplicationPolicy')
ApplicationPolicyStatement =

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: 'ApplicationPolicyStatement')
ApplicationSummary =

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: 'ApplicationSummary')
ApplicationVersionPage =

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: 'ApplicationVersionPage')
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')
Capability =

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: 'Capability')
ChangeSetDetails =

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: 'ChangeSetDetails')
ConflictException =

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: 'ConflictException')
CreateApplicationInput =

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: 'CreateApplicationInput')
CreateApplicationRequest =

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: 'CreateApplicationRequest')
CreateApplicationResponse =

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: 'CreateApplicationResponse')
CreateApplicationVersionInput =

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: 'CreateApplicationVersionInput')
CreateApplicationVersionRequest =

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: 'CreateApplicationVersionRequest')
CreateApplicationVersionResponse =

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: 'CreateApplicationVersionResponse')
CreateCloudFormationChangeSetInput =

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: 'CreateCloudFormationChangeSetInput')
CreateCloudFormationChangeSetRequest =

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: 'CreateCloudFormationChangeSetRequest')
CreateCloudFormationChangeSetResponse =

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: 'CreateCloudFormationChangeSetResponse')
CreateCloudFormationTemplateRequest =

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: 'CreateCloudFormationTemplateRequest')
CreateCloudFormationTemplateResponse =

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: 'CreateCloudFormationTemplateResponse')
DeleteApplicationRequest =

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: 'DeleteApplicationRequest')
ForbiddenException =

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: 'ForbiddenException')
GetApplicationPolicyRequest =

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: 'GetApplicationPolicyRequest')
GetApplicationPolicyResponse =

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: 'GetApplicationPolicyResponse')
GetApplicationRequest =

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: 'GetApplicationRequest')
GetApplicationResponse =

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: 'GetApplicationResponse')
GetCloudFormationTemplateRequest =

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: 'GetCloudFormationTemplateRequest')
GetCloudFormationTemplateResponse =

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: 'GetCloudFormationTemplateResponse')
InternalServerErrorException =

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: 'InternalServerErrorException')
ListApplicationDependenciesRequest =

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: 'ListApplicationDependenciesRequest')
ListApplicationDependenciesResponse =

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: 'ListApplicationDependenciesResponse')
ListApplicationVersionsRequest =

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: 'ListApplicationVersionsRequest')
ListApplicationVersionsResponse =

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: 'ListApplicationVersionsResponse')
ListApplicationsRequest =

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: 'ListApplicationsRequest')
ListApplicationsResponse =

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: 'ListApplicationsResponse')
MaxItems =

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: 'MaxItems')
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')
ParameterDefinition =

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: 'ParameterDefinition')
ParameterValue =

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: 'ParameterValue')
PutApplicationPolicyRequest =

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: 'PutApplicationPolicyRequest')
PutApplicationPolicyResponse =

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: 'PutApplicationPolicyResponse')
RollbackConfiguration =

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: 'RollbackConfiguration')
RollbackTrigger =

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: 'RollbackTrigger')
Status =

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: 'Status')
Tag =

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: 'Tag')
TemplateDetails =

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: 'TemplateDetails')
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')
UnshareApplicationInput =

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: 'UnshareApplicationInput')
UnshareApplicationRequest =

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: 'UnshareApplicationRequest')
UpdateApplicationInput =

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: 'UpdateApplicationInput')
UpdateApplicationRequest =

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: 'UpdateApplicationRequest')
UpdateApplicationResponse =

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: 'UpdateApplicationResponse')
Version =

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: 'Version')
VersionSummary =

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: 'VersionSummary')
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-09-08"

  api. = {
    "apiVersion" => "2017-09-08",
    "endpointPrefix" => "serverlessrepo",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceFullName" => "AWSServerlessApplicationRepository",
    "serviceId" => "ServerlessApplicationRepository",
    "signatureVersion" => "v4",
    "signingName" => "serverlessrepo",
    "uid" => "serverlessrepo-2017-09-08",
  }

  api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateApplication"
    o.http_method = "POST"
    o.http_request_uri = "/applications"
    o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:create_application_version, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateApplicationVersion"
    o.http_method = "PUT"
    o.http_request_uri = "/applications/{applicationId}/versions/{semanticVersion}"
    o.input = Shapes::ShapeRef.new(shape: CreateApplicationVersionRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateApplicationVersionResponse)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:create_cloud_formation_change_set, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateCloudFormationChangeSet"
    o.http_method = "POST"
    o.http_request_uri = "/applications/{applicationId}/changesets"
    o.input = Shapes::ShapeRef.new(shape: CreateCloudFormationChangeSetRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateCloudFormationChangeSetResponse)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:create_cloud_formation_template, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateCloudFormationTemplate"
    o.http_method = "POST"
    o.http_request_uri = "/applications/{applicationId}/templates"
    o.input = Shapes::ShapeRef.new(shape: CreateCloudFormationTemplateRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateCloudFormationTemplateResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteApplication"
    o.http_method = "DELETE"
    o.http_request_uri = "/applications/{applicationId}"
    o.input = Shapes::ShapeRef.new(shape: DeleteApplicationRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
  end)

  api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetApplication"
    o.http_method = "GET"
    o.http_request_uri = "/applications/{applicationId}"
    o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
    o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:get_application_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetApplicationPolicy"
    o.http_method = "GET"
    o.http_request_uri = "/applications/{applicationId}/policy"
    o.input = Shapes::ShapeRef.new(shape: GetApplicationPolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: GetApplicationPolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:get_cloud_formation_template, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetCloudFormationTemplate"
    o.http_method = "GET"
    o.http_request_uri = "/applications/{applicationId}/templates/{templateId}"
    o.input = Shapes::ShapeRef.new(shape: GetCloudFormationTemplateRequest)
    o.output = Shapes::ShapeRef.new(shape: GetCloudFormationTemplateResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:list_application_dependencies, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListApplicationDependencies"
    o.http_method = "GET"
    o.http_request_uri = "/applications/{applicationId}/dependencies"
    o.input = Shapes::ShapeRef.new(shape: ListApplicationDependenciesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListApplicationDependenciesResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_items",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_application_versions, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListApplicationVersions"
    o.http_method = "GET"
    o.http_request_uri = "/applications/{applicationId}/versions"
    o.input = Shapes::ShapeRef.new(shape: ListApplicationVersionsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListApplicationVersionsResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_items",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListApplications"
    o.http_method = "GET"
    o.http_request_uri = "/applications"
    o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_items",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:put_application_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutApplicationPolicy"
    o.http_method = "PUT"
    o.http_request_uri = "/applications/{applicationId}/policy"
    o.input = Shapes::ShapeRef.new(shape: PutApplicationPolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: PutApplicationPolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:unshare_application, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UnshareApplication"
    o.http_method = "POST"
    o.http_request_uri = "/applications/{applicationId}/unshare"
    o.input = Shapes::ShapeRef.new(shape: UnshareApplicationRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateApplication"
    o.http_method = "PATCH"
    o.http_request_uri = "/applications/{applicationId}"
    o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
  end)
end