Sha256: 0c3ab3553617bc4e8cbbd428f56fbc028486010535eb417da709d7d38bb6f914

Contents?: true

Size: 1.89 KB

Versions: 12

Compression:

Stored size: 1.89 KB

Contents

class AWS
  module ELBV2
    module Formats
      BASIC = {
        'ResponseMetadata' => {'RequestId' => String}
      }

      LOAD_BALANCER = {
        "AvailabilityZones" => [{
          "SubnetId" => String, "ZoneName" => String,
          "LoadBalancerAddresses" => [Fog::Nullable::Hash]
        }],
        "LoadBalancerArn" => String,
        "DNSName" => String,
        "CreatedTime" => Time,
        "LoadBalancerName" => String,
        "VpcId" => String,
        "CanonicalHostedZoneId" => String,
        "Scheme" => String,
        "Type" => String,
        "State" => {"Code" => String},
        "SecurityGroups" => [Fog::Nullable::String]
      }

      DESCRIBE_LOAD_BALANCERS = BASIC.merge({
        'DescribeLoadBalancersResult' => {'LoadBalancers' => [LOAD_BALANCER], 'NextMarker' => Fog::Nullable::String}
      })

      CREATE_LOAD_BALANCER = BASIC.merge({
        'CreateLoadBalancerResult' => {'LoadBalancers' => [LOAD_BALANCER]}
      })

      LISTENER_DEFAULT_ACTIONS = [{
        "Type" => String,
        "Order" => String,
        "TargetGroupArn" => String,
        "RedirectConfig" => Fog::Nullable::Hash,
        "ForwardConfig" => Fog::Nullable::Hash,
        "FixedResponseConfig" => Fog::Nullable::Hash
      }]

      LISTENER = {
        "LoadBalancerArn" => String,
        "Protocol" => String,
        "Port" => String,
        "ListenerArn" => String,
        "SslPolicy" => String,
        "DefaultActions" => LISTENER_DEFAULT_ACTIONS,
        "Certificates" => [{"CertificateArn" => String}]
      }

      DESCRIBE_LISTENERS = BASIC.merge({
        'DescribeListenersResult' => {'Listeners' => [LISTENER], 'NextMarker' => Fog::Nullable::String}
      })

      TAG_DESCRIPTIONS = [{
        "Tags" => Hash,
        "ResourceArn" => String
      }]

      DESCRIBE_TAGS = BASIC.merge({
        'DescribeTagsResult' => {'TagDescriptions' => TAG_DESCRIPTIONS}
      })
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fog-aws-3.12.0 tests/requests/elbv2/helper.rb
fog-aws-3.11.0 tests/requests/elbv2/helper.rb
fog-aws-3.10.0 tests/requests/elbv2/helper.rb
fog-aws-3.9.0 tests/requests/elbv2/helper.rb
fog-aws-3.8.0 tests/requests/elbv2/helper.rb
fog-aws-3.7.0 tests/requests/elbv2/helper.rb
fog-aws-3.6.7 tests/requests/elbv2/helper.rb
fog-aws-3.6.6 tests/requests/elbv2/helper.rb
fog-aws-3.6.5 tests/requests/elbv2/helper.rb
fog-aws-3.6.4 tests/requests/elbv2/helper.rb
fog-aws-3.6.3 tests/requests/elbv2/helper.rb
fog-aws-3.6.2 tests/requests/elbv2/helper.rb