Module: Aws::InspectorScan::ClientApi Private

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

AccessDeniedException =

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: 'AccessDeniedException')
Integer =

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: 'Integer')
InternalServerException =

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: 'InternalServerException')
InternalServerExceptionReason =

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: 'InternalServerExceptionReason')
OutputFormat =

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: 'OutputFormat')
Sbom =

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::DocumentShape.new(name: 'Sbom', document: true)
ScanSbomRequest =

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: 'ScanSbomRequest')
ScanSbomResponse =

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: 'ScanSbomResponse')
String =

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: 'String')
ThrottlingException =

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: 'ThrottlingException')
ValidationException =

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: 'ValidationException')
ValidationExceptionField =

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: 'ValidationExceptionField')
ValidationExceptionFields =

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: 'ValidationExceptionFields')
ValidationExceptionReason =

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: 'ValidationExceptionReason')
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 = "2023-08-08"

  api. = {
    "apiVersion" => "2023-08-08",
    "endpointPrefix" => "inspector-scan",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceAbbreviation" => "inspector-scan",
    "serviceFullName" => "Inspector Scan",
    "serviceId" => "Inspector Scan",
    "signatureVersion" => "v4",
    "signingName" => "inspector-scan",
    "uid" => "inspector-scan-2023-08-08",
  }

  api.add_operation(:scan_sbom, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ScanSbom"
    o.http_method = "POST"
    o.http_request_uri = "/scan/sbom"
    o.input = Shapes::ShapeRef.new(shape: ScanSbomRequest)
    o.output = Shapes::ShapeRef.new(shape: ScanSbomResponse)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)
end