converter: Utility functions

Description Usage Arguments Value Examples

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

1
2
3

Arguments

prefix

Character, the name of the parameter

x

List or Vector, the value of the parameter

Value

A list object

Examples

1
2
3
4
5
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)

aws.ecx documentation built on Jan. 27, 2022, 1:10 a.m.