list_to_array {aws.ecx}R Documentation

Utility functions

Description

Utility functions. list_to_array converts a list or a vector to an Array object in AWS Documentation. list_to_filter converts a filter list to an Array object.

Usage

list_to_array(prefix, x)

list_to_filter(x)

Arguments

prefix

Character, the name of the parameter

x

List or Vector, the value of the parameter

Value

A list object

Examples

vpc_id = c("vpc-081ec835f3", "vpc-0ee975135d", "vpc-06e4ab6c6c")
list_to_array("VpcId", vpc_id)

filter = list(`dhcp-options-id` = c("dopt-7a8b9c2d", "dopt-2b2a3d3c"), state="available")
list_to_filter(filter)

[Package aws.ecx version 1.0.5 Index]