Sha256: bd2b26c94906a3e0ee98810ba6acd1e0b374d44ed70a4fd5cbc4e8ff81b95582

Contents?: true

Size: 629 Bytes

Versions: 1

Compression:

Stored size: 629 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new
opts = {
  account_id: "account_id_example", # String | Only return AWS accounts that matches this `account_id`.
  role_name: "role_name_example", # String | Only return AWS accounts that matches this role_name.
  access_key_id: "access_key_id_example", # String | Only return AWS accounts that matches this `access_key_id`.
}

begin
  # List all AWS integrations
  result = api_instance.list_aws_accounts(opts)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling AWSIntegrationAPI->list_aws_accounts: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/aws-integration/ListAWSAccounts.rb