Sha256: 31d174f1fae0c84ab997d9fdcb068acc78302b05382c4d9c3fe84440b2442b0f

Contents?: true

Size: 981 Bytes

Versions: 4

Compression:

Stored size: 981 Bytes

Contents

# language: en
@dynamodb @raw_json
Feature: Amazon DynamoDB without translation

  As a user of Amazon DynamoDB
  I want to disable extra translation of request and responses
  So that I can use the API without extra overhead

  Background:
    Given I disable translation features Aws::DynamoDB

  Scenario: Sending a request with a simplified hash structure
    When I call "list_tables" on "dynamodb" with:
    """
    { 'Limit' => 1 }
    """
    Then the HTTP request body should be:
    """
    {"Limit":1}
    """

  Scenario: Receiving a response with a simplified hash structure
    When I call "list_tables" on "dynamodb"
    Then I expect response data to be a hash
    And I expect response data["TableNames"] to be an array

  Scenario: Using simple mode does not disable error handling
    When I call "describe_table" on "dynamodb" with:
    """
    { 'TableName' => 'fake-table' }
    """
    Then I expect the response error code to be "ResourceNotFoundException"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aws-sdk-core-2.0.0.rc4 features/dynamodb/simplified.feature
aws-sdk-core-2.0.0.rc3 features/dynamodb/simplified.feature
aws-sdk-core-2.0.0.rc2 features/dynamodb/simplified.feature
aws-sdk-core-2.0.0.rc1 features/dynamodb/simplified.feature