=begin #Datadog API V1 Collection #Collection of all Datadog Public endpoints. The version of the OpenAPI document: 1.0 Contact: support@datadoghq.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.0.0-SNAPSHOT =end require 'spec_helper' require 'json' # Unit tests for DatadogAPIClient::V1::AWSIntegrationApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AWSIntegrationApi' do before do # run before each test @api_instance = DatadogAPIClient::V1::AWSIntegrationApi.new end after do # run after each test end describe 'test an instance of AWSIntegrationApi' do it 'should create an instance of AWSIntegrationApi' do expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::AWSIntegrationApi) end end # unit tests for create_aws_account # Create an AWS integration # Create a Datadog-Amazon Web Services integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. A unique AWS Account ID for role based authentication. # @param body AWS Request Object # @param [Hash] opts the optional parameters # @return [AWSAccountCreateResponse] describe 'create_aws_account test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create_new_aws_external_id # Generate a new external ID # Generate a new AWS external ID for a given AWS account ID and role name pair. # @param body Your Datadog role delegation name. For more information about your AWS account Role name, see the [Datadog AWS integration configuration info](https://github.com/DataDog/documentation/blob/master/integrations/amazon_web_services/#installation). # @param [Hash] opts the optional parameters # @return [AWSAccountCreateResponse] describe 'create_new_aws_external_id test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete_aws_account # Delete an AWS integration # Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`. # @param body AWS request object # @param [Hash] opts the optional parameters # @return [Object] describe 'delete_aws_account test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for list_available_aws_namespaces # List namespace rules # List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments. # @param [Hash] opts the optional parameters # @return [Array] describe 'list_available_aws_namespaces test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for list_aws_accounts # List all AWS integrations # List all Datadog-AWS integrations available in your Datadog organization. # @param [Hash] opts the optional parameters # @option opts [String] :account_id Only return AWS accounts that matches this `account_id`. # @option opts [String] :role_name Only return AWS accounts that matches this role_name. # @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`. # @return [AWSAccountListResponse] describe 'list_aws_accounts test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for update_aws_account # Update an AWS integration # Update a Datadog-Amazon Web Services integration. # @param body AWS request object # @param [Hash] opts the optional parameters # @option opts [String] :account_id Only return AWS accounts that matches this `account_id`. # @option opts [String] :role_name Only return AWS accounts that match this `role_name`. Required if `account_id` is specified. # @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`. Required if none of the other two options are specified. # @return [Object] describe 'update_aws_account test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end