mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
72 lines
1.6 KiB
Ruby
72 lines
1.6 KiB
Ruby
class AWS
|
|
module DataPipeline
|
|
module Formats
|
|
BASIC = {
|
|
'pipelineId' => String,
|
|
}
|
|
|
|
FIELDS = [
|
|
{
|
|
"key" => String,
|
|
"refValue" => Fog::Nullable::String,
|
|
"stringValue" => Fog::Nullable::String,
|
|
}
|
|
]
|
|
|
|
LIST_PIPELINES = {
|
|
"hasMoreResults" => Fog::Nullable::Boolean,
|
|
"marker" => Fog::Nullable::String,
|
|
"pipelineIdList" => [
|
|
{
|
|
"id" => String,
|
|
"name" => String,
|
|
}
|
|
]
|
|
}
|
|
|
|
QUERY_OBJECTS = {
|
|
"hasMoreResults" => Fog::Nullable::Boolean,
|
|
"marker" => Fog::Nullable::String,
|
|
"ids" => Fog::Nullable::Array,
|
|
}
|
|
|
|
DESCRIBE_OBJECTS = {
|
|
"hasMoreResults" => Fog::Nullable::Boolean,
|
|
"marker" => Fog::Nullable::String,
|
|
"pipelineObjects" => [
|
|
{
|
|
'id' => String,
|
|
'name' => String,
|
|
'fields' => FIELDS,
|
|
}
|
|
]
|
|
}
|
|
|
|
DESCRIBE_PIPELINES = {
|
|
"pipelineDescriptionList" => [
|
|
{
|
|
"description" => Fog::Nullable::String,
|
|
"name" => String,
|
|
"pipelineId" => String,
|
|
"fields" => FIELDS,
|
|
}
|
|
]
|
|
}
|
|
|
|
PUT_PIPELINE_DEFINITION = {
|
|
"errored" => Fog::Boolean,
|
|
"validationErrors" => Fog::Nullable::Array,
|
|
}
|
|
|
|
GET_PIPELINE_DEFINITION = {
|
|
"pipelineObjects" => [
|
|
{
|
|
"id" => String,
|
|
"name" => String,
|
|
"fields" => FIELDS,
|
|
}
|
|
]
|
|
}
|
|
end
|
|
end
|
|
end
|