From e2ac5e61200dd188f6141b47cbc8726b79adf693 Mon Sep 17 00:00:00 2001 From: Amit Murthy Date: Mon, 21 Sep 2015 13:28:31 +0530 Subject: [PATCH 1/2] 0.4 changes --- src/AWS.jl | 10 +- src/EC2.jl | 12 +- src/S3.jl | 158 +- src/aws_utils.jl | 18 +- src/crypto.jl | 52 +- src/ec2_simple.jl | 20 +- src/ec2_typed.jl | 4 +- src/ec2_types.jl | 3712 ++++++++++++++++++++++----------------------- src/s3_types.jl | 372 ++--- src/show.jl | 4 +- test/testec2.jl | 106 +- 11 files changed, 2234 insertions(+), 2234 deletions(-) diff --git a/src/AWS.jl b/src/AWS.jl index 5d4da7a526..cccba1b171 100644 --- a/src/AWS.jl +++ b/src/AWS.jl @@ -45,11 +45,11 @@ else end type AWSEnv - aws_id::String # AWS Access Key id - aws_seckey::String # AWS Secret key for signing requests - aws_token::String # AWS Security Token for temporary credentials - ep_host::String # region endpoint (host) - ep_path::String # region endpoint (path) + aws_id::AbstractString # AWS Access Key id + aws_seckey::AbstractString # AWS Secret key for signing requests + aws_token::AbstractString # AWS Security Token for temporary credentials + ep_host::AbstractString # region endpoint (host) + ep_path::AbstractString # region endpoint (path) timeout::Float64 # request timeout in seconds, default is no timeout. dry_run::Bool # If true, no actual request will be made - implies dbg flag below dbg::Bool # print request to screen diff --git a/src/EC2.jl b/src/EC2.jl index bba5c5aeeb..011d94edbc 100644 --- a/src/EC2.jl +++ b/src/EC2.jl @@ -31,9 +31,9 @@ const VM_MICRO = "t1.micro" #Micro type EC2Error - code::String - msg::String - request_id::Union(String, Nothing) + code::AbstractString + msg::AbstractString + request_id::Union{AbstractString, Void} end export EC2Error @@ -44,8 +44,8 @@ export ec2_error_str type EC2Response http_code::Int headers - body::Union(String, Nothing) - pd::Union(ETree, Nothing) + body::Union{AbstractString, Void} + pd::Union{ETree, Void} obj::Any EC2Response() = new(0, Dict{Any, Any}(), "", nothing, nothing) @@ -78,7 +78,7 @@ function get_utc_timestamp(addsecs=0) end -function ec2_execute(env::AWSEnv, action::String, params_in=nothing) +function ec2_execute(env::AWSEnv, action::AbstractString, params_in=nothing) # Prepare the standard params params=Array(Tuple,0) if params_in != nothing diff --git a/src/S3.jl b/src/S3.jl index 1b5f3d5cda..1051aff8d1 100644 --- a/src/S3.jl +++ b/src/S3.jl @@ -15,7 +15,7 @@ include("s3_types.jl") macro req_n_process(resp_obj_type) quote s3_resp = do_request(env, ro) - if (isa(s3_resp.obj, String) && (length(s3_resp.obj) > 0)) + if (isa(s3_resp.obj, AbstractString) && (length(s3_resp.obj) > 0)) s3_resp.pd = xp_parse(s3_resp.obj) s3_resp.obj = $(esc(resp_obj_type))(s3_resp.pd) end @@ -28,37 +28,37 @@ end type S3Response content_length::Int #Connection (open or closed) - we will not use this - date::String #The date and time Amazon S3 responded, for example, Wed, 01 Mar 2009 12:00:00 GMT. - server::String #The name of the server that created the response. - eTag::String + date::AbstractString #The date and time Amazon S3 responded, for example, Wed, 01 Mar 2009 12:00:00 GMT. + server::AbstractString #The name of the server that created the response. + eTag::AbstractString http_code::Int # Common amz fields here delete_marker::Bool - id_2::String - request_id::String - version_id::String + id_2::AbstractString + request_id::AbstractString + version_id::AbstractString # all header fields headers::Dict # All header fields obj::Any - pd::Union(ETree, Nothing) + pd::Union{ETree, Void} - S3Response() = new(0, "", "", "", 0, false, "","","",Dict{String,String}(), nothing, nothing) + S3Response() = new(0, "", "", "", 0, false, "","","",Dict{AbstractString,AbstractString}(), nothing, nothing) end export S3Response type RO # RequestOptions verb::Symbol # HTTP verb - bkt::String # bucket - key::String # object id typically + bkt::AbstractString # bucket + key::AbstractString # object id typically sub_res::Vector{Tuple} http_hdrs::Vector{Tuple} amz_hdrs::Vector{Tuple} - cont_typ::String - body::String + cont_typ::AbstractString + body::AbstractString istream::Any ostream::Any @@ -73,14 +73,14 @@ function list_all_buckets(env::AWSEnv) end -function del_bkt(env::AWSEnv, bkt::String) +function del_bkt(env::AWSEnv, bkt::AbstractString) ro = RO(:DELETE, bkt, "") s3_resp = do_request(env, ro) s3_resp end -function del_bkt_cors(env::AWSEnv, bkt::String) +function del_bkt_cors(env::AWSEnv, bkt::AbstractString) ro = RO(:DELETE, bkt, "") ro.sub_res=[("cors", "")] @@ -88,7 +88,7 @@ function del_bkt_cors(env::AWSEnv, bkt::String) s3_resp end -function del_bkt_lifecycle(env::AWSEnv, bkt::String) +function del_bkt_lifecycle(env::AWSEnv, bkt::AbstractString) ro = RO(:DELETE, bkt, "") ro.sub_res=[("lifecycle", "")] @@ -97,7 +97,7 @@ function del_bkt_lifecycle(env::AWSEnv, bkt::String) end -function del_bkt_policy(env::AWSEnv, bkt::String) +function del_bkt_policy(env::AWSEnv, bkt::AbstractString) ro = RO(:DELETE, bkt, "") ro.sub_res=[("policy", "")] @@ -105,7 +105,7 @@ function del_bkt_policy(env::AWSEnv, bkt::String) s3_resp end -function del_bkt_tagging(env::AWSEnv, bkt::String) +function del_bkt_tagging(env::AWSEnv, bkt::AbstractString) ro = RO(:DELETE, bkt, "") ro.sub_res=[("tagging", "")] @@ -113,7 +113,7 @@ function del_bkt_tagging(env::AWSEnv, bkt::String) s3_resp end -function del_bkt_website(env::AWSEnv, bkt::String) +function del_bkt_website(env::AWSEnv, bkt::AbstractString) ro = RO(:DELETE, bkt, "") ro.sub_res=[("website", "")] @@ -122,28 +122,28 @@ function del_bkt_website(env::AWSEnv, bkt::String) end -function get_bkt(env::AWSEnv, bkt::String; options::GetBucketOptions=GetBucketOptions()) +function get_bkt(env::AWSEnv, bkt::AbstractString; options::GetBucketOptions=GetBucketOptions()) ro = RO(:GET, bkt, "") ro.sub_res=get_subres(Tuple[], options) @req_n_process(ListBucketResult) end -function get_bkt_acl(env::AWSEnv, bkt::String) +function get_bkt_acl(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("acl", "")] @req_n_process(AccessControlPolicy) end -function get_bkt_cors(env::AWSEnv, bkt::String) +function get_bkt_cors(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("cors", "")] @req_n_process(CORSConfiguration) end -function get_bkt_lifecycle(env::AWSEnv, bkt::String) +function get_bkt_lifecycle(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("lifecycle", "")] @@ -152,7 +152,7 @@ function get_bkt_lifecycle(env::AWSEnv, bkt::String) end -function get_bkt_policy(env::AWSEnv, bkt::String) +function get_bkt_policy(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("policy", "")] @@ -161,28 +161,28 @@ function get_bkt_policy(env::AWSEnv, bkt::String) end -function get_bkt_location(env::AWSEnv, bkt::String) +function get_bkt_location(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("location", "")] @req_n_process(LocationConstraint) end -function get_bkt_logging(env::AWSEnv, bkt::String) +function get_bkt_logging(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("logging", "")] @req_n_process(BucketLoggingStatus) end -function get_bkt_notification(env::AWSEnv, bkt::String) +function get_bkt_notification(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("notification", "")] @req_n_process(NotificationConfiguration) end -function get_bkt_tagging(env::AWSEnv, bkt::String) +function get_bkt_tagging(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("tagging", "")] @@ -191,28 +191,28 @@ function get_bkt_tagging(env::AWSEnv, bkt::String) end -function get_bkt_object_versions(env::AWSEnv, bkt::String; options::GetBucketObjectVersionsOptions=GetBucketObjectVersionsOptions()) +function get_bkt_object_versions(env::AWSEnv, bkt::AbstractString; options::GetBucketObjectVersionsOptions=GetBucketObjectVersionsOptions()) ro = RO(:GET, bkt, "") ro.sub_res=get_subres([("versions", "")], options) @req_n_process(ListVersionsResult) end -function get_bkt_request_payment(env::AWSEnv, bkt::String) +function get_bkt_request_payment(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("requestPayment", "")] @req_n_process(RequestPaymentConfiguration) end -function get_bkt_versioning(env::AWSEnv, bkt::String) +function get_bkt_versioning(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("versioning", "")] @req_n_process(VersioningConfiguration) end -function get_bkt_website(env::AWSEnv, bkt::String) +function get_bkt_website(env::AWSEnv, bkt::AbstractString) ro = RO(:GET, bkt, "") ro.sub_res=[("website", "")] @@ -220,7 +220,7 @@ function get_bkt_website(env::AWSEnv, bkt::String) s3_resp end -function test_bkt(env::AWSEnv, bkt::String) +function test_bkt(env::AWSEnv, bkt::AbstractString) ro = RO(:HEAD, bkt, "") s3_resp = do_request(env, ro) @@ -228,7 +228,7 @@ function test_bkt(env::AWSEnv, bkt::String) end -function get_bkt_multipart_uploads(env::AWSEnv, bkt::String; options::GetBucketUploadsOptions=GetBucketUploadsOptions()) +function get_bkt_multipart_uploads(env::AWSEnv, bkt::AbstractString; options::GetBucketUploadsOptions=GetBucketUploadsOptions()) ro = RO(:GET, bkt, "") ro.sub_res=get_subres([("uploads", "")], options) @@ -239,7 +239,7 @@ end -function create_bkt(env::AWSEnv, bkt::String; acl::Union(S3_ACL, Nothing)=nothing, config::Union(CreateBucketConfiguration, Nothing)=nothing) +function create_bkt(env::AWSEnv, bkt::AbstractString; acl::Union{S3_ACL, Void}=nothing, config::Union{CreateBucketConfiguration, Void}=nothing) ro = RO(:PUT, bkt, "") if isa(acl, AccessControlPolicy) ro.amz_hdrs = amz_headers(Tuple[], acl) @@ -253,7 +253,7 @@ function create_bkt(env::AWSEnv, bkt::String; acl::Union(S3_ACL, Nothing)=nothin end -function set_bkt_acl(env::AWSEnv, bkt::String, acl::Union(AccessControlPolicy, S3_ACL)) +function set_bkt_acl(env::AWSEnv, bkt::AbstractString, acl:: Union{AccessControlPolicy, S3_ACL}) ro = RO(:PUT, bkt, "") ro.sub_res=[("acl", "")] if isa(acl, AccessControlPolicy) @@ -266,7 +266,7 @@ function set_bkt_acl(env::AWSEnv, bkt::String, acl::Union(AccessControlPolicy, S s3_resp end -function set_bkt_cors(env::AWSEnv, bkt::String, cors::CORSConfiguration) +function set_bkt_cors(env::AWSEnv, bkt::AbstractString, cors::CORSConfiguration) ro = RO(:PUT, bkt, "") ro.sub_res = [("cors", "")] ro.body = xml(cors) @@ -276,7 +276,7 @@ function set_bkt_cors(env::AWSEnv, bkt::String, cors::CORSConfiguration) end #TODO : Create LifecycleCongig type -function set_bkt_lifecycle(env::AWSEnv, bkt::String, lifecycleconfig::String) +function set_bkt_lifecycle(env::AWSEnv, bkt::AbstractString, lifecycleconfig::AbstractString) ro = RO(:PUT, bkt, "") ro.sub_res = [("lifecycle", "")] ro.body = lifecycleconfig @@ -286,7 +286,7 @@ function set_bkt_lifecycle(env::AWSEnv, bkt::String, lifecycleconfig::String) end -function set_bkt_policy(env::AWSEnv, bkt::String, policy_json::String) +function set_bkt_policy(env::AWSEnv, bkt::AbstractString, policy_json::AbstractString) ro = RO(:PUT, bkt, "") ro.sub_res = [("policy", "")] ro.body = policy_json @@ -295,7 +295,7 @@ function set_bkt_policy(env::AWSEnv, bkt::String, policy_json::String) s3_resp end -function set_bkt_logging(env::AWSEnv, bkt::String, logging::BucketLoggingStatus) +function set_bkt_logging(env::AWSEnv, bkt::AbstractString, logging::BucketLoggingStatus) ro = RO(:PUT, bkt, "") ro.sub_res = [("logging", "")] ro.body = xml(logging) @@ -306,7 +306,7 @@ end -function set_bkt_notification(env::AWSEnv, bkt::String, notif::NotificationConfiguration) +function set_bkt_notification(env::AWSEnv, bkt::AbstractString, notif::NotificationConfiguration) ro = RO(:PUT, bkt, "") ro.sub_res = [("notification", "")] ro.body = xml(notif) @@ -316,7 +316,7 @@ function set_bkt_notification(env::AWSEnv, bkt::String, notif::NotificationConfi end -function set_bkt_tagging(env::AWSEnv, bkt::String, tagging::Tagging) +function set_bkt_tagging(env::AWSEnv, bkt::AbstractString, tagging::Tagging) ro = RO(:PUT, bkt, "") ro.sub_res = [("tagging", "")] ro.body = xml(tagging) @@ -325,7 +325,7 @@ function set_bkt_tagging(env::AWSEnv, bkt::String, tagging::Tagging) s3_resp end -function set_bkt_request_payment(env::AWSEnv, bkt::String, pay::RequestPaymentConfiguration) +function set_bkt_request_payment(env::AWSEnv, bkt::AbstractString, pay::RequestPaymentConfiguration) ro = RO(:PUT, bkt, "") ro.sub_res = [("requestPayment", "")] ro.body = xml(pay) @@ -334,7 +334,7 @@ function set_bkt_request_payment(env::AWSEnv, bkt::String, pay::RequestPaymentCo s3_resp end -function set_bkt_versioning(env::AWSEnv, bkt::String, config::VersioningConfiguration; mfa::String="") +function set_bkt_versioning(env::AWSEnv, bkt::AbstractString, config::VersioningConfiguration; mfa::AbstractString="") ro = RO(:PUT, bkt, "") ro.sub_res = [("versioning", "")] ro.body = xml(config) @@ -345,7 +345,7 @@ function set_bkt_versioning(env::AWSEnv, bkt::String, config::VersioningConfigur end #TODO: Define WebsiteConfiguration as a type and use that.... -function set_bkt_website(env::AWSEnv, bkt::String, websiteconfig::String) +function set_bkt_website(env::AWSEnv, bkt::AbstractString, websiteconfig::AbstractString) ro = RO(:PUT, bkt, "") ro.sub_res = [("website", "")] ro.body = websiteconfig @@ -358,7 +358,7 @@ end ### OPERATIONS ON OBJECTS ###################################### -function del_object(env::AWSEnv, bkt::String, key::String; version_id::String="", mfa::String="") +function del_object(env::AWSEnv, bkt::AbstractString, key::AbstractString; version_id::AbstractString="", mfa::AbstractString="") ro = RO(:DELETE, bkt, key) if (version_id != "") ro.sub_res = [("versionId", version_id)] end if (mfa != "") ro.amz_hdrs = [("mfa", mfa)] end @@ -367,7 +367,7 @@ function del_object(env::AWSEnv, bkt::String, key::String; version_id::String="" s3_resp end -function del_object_multi(env::AWSEnv, bkt::String, delset::DeleteObjectsType; mfa::String="") +function del_object_multi(env::AWSEnv, bkt::AbstractString, delset::DeleteObjectsType; mfa::AbstractString="") ro = RO(:POST, bkt, "") ro.sub_res = [("delete", "")] ro.body= xml(delset) @@ -377,7 +377,7 @@ function del_object_multi(env::AWSEnv, bkt::String, delset::DeleteObjectsType; m end -function get_object(env::AWSEnv, bkt::String, key::String; options::GetObjectOptions=GetObjectOptions(), out::Union(IO, String, Nothing)=nothing, version_id::String="") +function get_object(env::AWSEnv, bkt::AbstractString, key::AbstractString; options::GetObjectOptions=GetObjectOptions(), out::Union{IO, AbstractString, Void}=nothing, version_id::AbstractString="") ro = RO(:GET, bkt, key) ro.sub_res = Tuple[] @@ -391,7 +391,7 @@ function get_object(env::AWSEnv, bkt::String, key::String; options::GetObjectOpt s3_resp end -function get_object_acl(env::AWSEnv, bkt::String, key::String; version_id::String="") +function get_object_acl(env::AWSEnv, bkt::AbstractString, key::AbstractString; version_id::AbstractString="") ro = RO(:GET, bkt, key) ro.sub_res=[("acl", "")] if (version_id != "") push!(ro.sub_res, ("versionId", version_id)) end @@ -399,7 +399,7 @@ function get_object_acl(env::AWSEnv, bkt::String, key::String; version_id::Strin @req_n_process(AccessControlPolicy) end -function get_object_torrent(env::AWSEnv, bkt::String, key::String, out::Union(IO, String)) # out is either an IOStream or a filename +function get_object_torrent(env::AWSEnv, bkt::AbstractString, key::AbstractString, out::Union{IO, AbstractString}) # out is either an IOStream or a filename ro = RO(:GET, bkt, key) ro.sub_res=[("torrent","")] ro.ostream = out @@ -408,7 +408,7 @@ function get_object_torrent(env::AWSEnv, bkt::String, key::String, out::Union(IO s3_resp end -function describe_object(env::AWSEnv, bkt::String, key::String; options::GetObjectOptions=GetObjectOptions(), version_id::String="") +function describe_object(env::AWSEnv, bkt::AbstractString, key::AbstractString; options::GetObjectOptions=GetObjectOptions(), version_id::AbstractString="") ro = RO(:HEAD, bkt, key) ro.http_hdrs = http_headers(options) if (version_id != "") ro.sub_res=[("versionId", version_id)] end @@ -417,7 +417,7 @@ function describe_object(env::AWSEnv, bkt::String, key::String; options::GetObje s3_resp end -function test_object(env::AWSEnv, bkt::String, key::String, origin::String, acc_ctrl_req_method::String; acc_ctrl_req_hdrs::Union(String, Nothing)=nothing) +function test_object(env::AWSEnv, bkt::AbstractString, key::AbstractString, origin::AbstractString, acc_ctrl_req_method::AbstractString; acc_ctrl_req_hdrs::Union{AbstractString, Void}=nothing) ro = RO(:OPTIONS, bkt, key) ro.http_hdrs = [("Origin", origin), ("Access-Control-Request-Method",acc_ctrl_req_method)] if headers != nothing @@ -431,7 +431,7 @@ end #post_object, a different version of put_object is not supported -function restore_object(env::AWSEnv, bkt::String, key::String, days::Int) +function restore_object(env::AWSEnv, bkt::AbstractString, key::AbstractString, days::Int) # TODO qp = "restore" # convert days to RestoreRequest ro = RO(:POST, bkt, key) @@ -444,21 +444,21 @@ function restore_object(env::AWSEnv, bkt::String, key::String, days::Int) end -function put_object(env::AWSEnv, bkt::String, key::String, data::Union(IOStream, String, Tuple); content_type="", options::PutObjectOptions=PutObjectOptions(), version_id::String="") +function put_object(env::AWSEnv, bkt::AbstractString, key::AbstractString, data:: Union{IOStream, AbstractString, Tuple}; content_type="", options::PutObjectOptions=PutObjectOptions(), version_id::AbstractString="") ro = RO(:PUT, bkt, key) ro.amz_hdrs = amz_headers(Tuple[], options) ro.http_hdrs = http_headers(Array(Tuple, 0), options) if (content_type != "") ro.cont_typ = content_type end - if isa(data, String) + if isa(data, AbstractString) ro.body = data elseif isa(data, IO) ro.istream = data elseif (isa(data, Tuple) && data[1] == :file) ro.istream = data[2] else - error("Nothing to upload") + error("Void to upload") end if (version_id != "") ro.sub_res=[("versionId", version_id)] end @@ -467,7 +467,7 @@ function put_object(env::AWSEnv, bkt::String, key::String, data::Union(IOStream, s3_resp end -function put_object_acl(env::AWSEnv, bkt::String, key::String, acl::Union(AccessControlPolicy, S3_ACL)) +function put_object_acl(env::AWSEnv, bkt::AbstractString, key::AbstractString, acl:: Union{AccessControlPolicy, S3_ACL}) ro = RO(:PUT, bkt, key) ro.sub_res=[("acl", "")] if isa(acl, AccessControlPolicy) @@ -481,7 +481,7 @@ function put_object_acl(env::AWSEnv, bkt::String, key::String, acl::Union(Access end -function copy_object(env::AWSEnv, dest_bkt::String, dest_key::String, options::CopyObjectOptions, version_id::String="") +function copy_object(env::AWSEnv, dest_bkt::AbstractString, dest_key::AbstractString, options::CopyObjectOptions, version_id::AbstractString="") ro = RO(:PUT, dest_bkt, dest_key) ro.amz_hdrs = amz_headers(Tuple[], options) if (version_id != "") @@ -491,7 +491,7 @@ function copy_object(env::AWSEnv, dest_bkt::String, dest_key::String, options::C @req_n_process(CopyObjectResult) end -function initiate_multipart_upload(env::AWSEnv, bkt::String, key::String; content_type="", options::PutObjectOptions=PutObjectOptions()) +function initiate_multipart_upload(env::AWSEnv, bkt::AbstractString, key::AbstractString; content_type="", options::PutObjectOptions=PutObjectOptions()) ro = RO(:POST, bkt, key) ro.amz_hdrs = amz_headers(Tuple[], options) ro.http_hdrs = http_headers(Array(Tuple, 0), options) @@ -501,18 +501,18 @@ function initiate_multipart_upload(env::AWSEnv, bkt::String, key::String; conten @req_n_process(InitiateMultipartUploadResult) end -function upload_part(env::AWSEnv, bkt::String, key::String, part_number::String, upload_id::String, data::Union(IO, String, Tuple)) +function upload_part(env::AWSEnv, bkt::AbstractString, key::AbstractString, part_number::AbstractString, upload_id::AbstractString, data:: Union{IO, AbstractString, Tuple}) ro = RO(:PUT, bkt, key) ro.sub_res = [("partNumber", "$(part_number)"), ("uploadId", "$(upload_id)")] - if isa(data, String) + if isa(data, AbstractString) ro.body = data elseif isa(data, IO) ro.istream = data elseif (isa(data, Tuple) && data[1] == :file) ro.istream = data[2] else - error("Nothing to upload") + error("Void to upload") end s3_resp = do_request(env, ro) @@ -520,7 +520,7 @@ function upload_part(env::AWSEnv, bkt::String, key::String, part_number::String, end -function copy_upload_part(env::AWSEnv, bkt::String, key::String, part_number::String, upload_id::String, options::CopyUploadPartOptions) +function copy_upload_part(env::AWSEnv, bkt::AbstractString, key::AbstractString, part_number::AbstractString, upload_id::AbstractString, options::CopyUploadPartOptions) ro = RO(:PUT, bkt, key) ro.sub_res = [("partNumber", "$(part_number)"), ("uploadId", "$(upload_id)")] ro.amz_hdrs = amz_headers(options) @@ -529,7 +529,7 @@ function copy_upload_part(env::AWSEnv, bkt::String, key::String, part_number::St end -function complete_multipart_upload(env::AWSEnv, bkt::String, key::String, upload_id::String, part_ids::Vector{S3PartTag}) +function complete_multipart_upload(env::AWSEnv, bkt::AbstractString, key::AbstractString, upload_id::AbstractString, part_ids::Vector{S3PartTag}) ro = RO(:POST, bkt, key) ro.sub_res = [("uploadId", "$(upload_id)")] @@ -539,7 +539,7 @@ function complete_multipart_upload(env::AWSEnv, bkt::String, key::String, upload end -function abort_multipart_upload(env::AWSEnv, bkt::String, key::String, upload_id::String) +function abort_multipart_upload(env::AWSEnv, bkt::AbstractString, key::AbstractString, upload_id::AbstractString) ro = RO(:DELETE, bkt, key) ro.sub_res = [("uploadId", "$(upload_id)")] @@ -547,10 +547,10 @@ function abort_multipart_upload(env::AWSEnv, bkt::String, key::String, upload_id s3_resp end -function list_upload_parts(env::AWSEnv, bkt::String, key::String, - upload_id::String; - max_parts::Union(Int, Nothing)=nothing, - part_number_marker::Union(Int, Nothing)=nothing) +function list_upload_parts(env::AWSEnv, bkt::AbstractString, key::AbstractString, + upload_id::AbstractString; + max_parts:: Union{Int, Void}=nothing, + part_number_marker:: Union{Int, Void}=nothing) ro = RO(:GET, bkt, key) ro.sub_res = [("uploadId", "$(upload_id)"), ("max-parts", "$max_parts"), ("part-number-marker", "$part_number_marker")] @@ -594,15 +594,15 @@ function do_request(env::AWSEnv, ro::RO; conv_to_string=true) end function do_http(env::AWSEnv, ro::RO) - if isa(ro.body, String) && (ro.body != "") -# digest = zeros(Uint8, 16) + if isa(ro.body, AbstractString) && (ro.body != "") +# digest = zeros(UInt8, 16) # MD5(body, length(body), digest) md5 = base64encode(Crypto.md5(ro.body)) elseif isa(ro.istream, IO) # Read the entire istream to get the MD5 of the same. md5 = base64encode(Crypto.md5(ro.istream)) seekstart(ro.istream) - elseif isa(ro.istream, String) + elseif isa(ro.istream, AbstractString) # The file will be read twice (once to get the MD5 and once while sending - no other way? md5 = base64encode(Crypto.md5_file(ro.istream)) else @@ -650,8 +650,8 @@ function do_http(env::AWSEnv, ro::RO) http_resp = HTTPC.get(url, http_options) elseif (ro.verb == :PUT) || (ro.verb == :POST) senddata = isa(ro.istream, IO) ? ro.istream : - isa(ro.istream, String) ? (:file, ro.istream) : - (isa(ro.body, String) && (ro.body != "")) ? ro.body : + isa(ro.istream, AbstractString) ? (:file, ro.istream) : + (isa(ro.body, AbstractString) && (ro.body != "")) ? ro.body : "" # error("Must specify either a body or istream for PUT/POST") @@ -679,7 +679,7 @@ function do_http(env::AWSEnv, ro::RO) end -function canonicalize_and_sign(env::AWSEnv, ro::RO, md5::String) +function canonicalize_and_sign(env::AWSEnv, ro::RO, md5::AbstractString) if env.aws_token != "" push!(ro.amz_hdrs, ("x-amz-security-token", env.aws_token)) end @@ -773,11 +773,11 @@ function get_canon_amz_headers(headers::Vector{Tuple}) push!(lcase, ("x-amz-date", rfc1123_date())) - reduced = Dict{String, String}() + reduced = Dict{AbstractString, AbstractString}() for (k,v) in lcase if startswith(k,"x-amz-") new_v = strip(replace(v, "\n", ' ')) - if in(k, reduced) + if haskey(reduced, k) ev = reduced[k] reduced[k] = ev * "," * new_v else @@ -787,7 +787,7 @@ function get_canon_amz_headers(headers::Vector{Tuple}) end # Use the sorted one in the final request too since the order of 'values' - sorted = sort(collect(reduced)) + sorted = sort([(x[1], x[2]) for x in collect(reduced)]) canon_hdr_str = "" for x in sorted (k,v) = x @@ -814,7 +814,7 @@ function rfc1123_date(dt) # "Tue, 24 Feb 2015 05:21:51 GMT" return "$dayofweek, $dd $monthname $yy $hh:$mii:$ss GMT" end -rfc1123_date(d::Nothing) = nothing +rfc1123_date(d::Void) = nothing end diff --git a/src/aws_utils.jl b/src/aws_utils.jl index 1b9a176b6f..a5d252e56f 100644 --- a/src/aws_utils.jl +++ b/src/aws_utils.jl @@ -4,8 +4,8 @@ safe_parseint64(s) = (s != nothing) ? Base.parse(Int64, s) : nothing safe_parseint(s) = (s != nothing) ? Base.parse(Int, s) : nothing safe_parsebool(s) = (s != nothing) ? ((lowercase(s) == "true") ? true : false) : nothing -function safe_parse_as(as::Type, s::Union(String, Nothing)) - if (as == String) || (s == nothing) +function safe_parse_as(as::Type, s::Union{AbstractString, Void}) + if (as == AbstractString) || (s == nothing) return s elseif (as == Int) return Base.parse(Int, s) @@ -18,13 +18,13 @@ function safe_parse_as(as::Type, s::Union(String, Nothing)) elseif (as == Bool) return (lowercase(s) == "true" ? true : false) elseif (as == DateTime) - return DateTime(s[1:end-1], "y-m-d'T'H:M:S") + return DateTime(s[1:end-1]) end error("Unsupported parse type") end export safe_parse_as -macro parse_vector (typ, vect) +macro parse_vector(typ, vect) quote jl_vect = $(esc(typ))[] if ($(esc(vect)) != nothing) @@ -38,7 +38,7 @@ end export @parse_vector -function parse_vector_as (as_type::Type, typ_str::String, vect) +function parse_vector_as(as_type::Type, typ_str::AbstractString, vect) jl_vect = as_type[] if (vect == nothing) return jl_vect end for pd in vect @@ -52,17 +52,17 @@ function parse_vector_as (as_type::Type, typ_str::String, vect) end export parse_vector_as -function parse_calendar_time(pd::ETree, elem::String, format::String) +function parse_calendar_time(pd::ETree, elem::AbstractString, format::AbstractString) datestr = find(pd, "$(elem)#text") DateTime(datestr[1:end-1], format) end -parse_calendar_time(pd::ETree, elem::String) = parse_calendar_time(pd, elem, "yyyy-MM-DD'T'HH:mm:ss") +parse_calendar_time(pd::ETree, elem::AbstractString) = parse_calendar_time(pd, elem, "yyyy-MM-DD'T'HH:mm:ss") xml(o::Any) = string(o) -xml(tag::String, value::Any) = (value != nothing) ? "<$(tag)>" * xml(value) * "" : "" +xml(tag::AbstractString, value::Any) = (value != nothing) ? "<$(tag)>" * xml(value) * "" : "" -function xml(tag::String, children::Array; xmlns="", xsi_type="") +function xml(tag::AbstractString, children::Array; xmlns="", xsi_type="") if (xsi_type != "") open_tag = "<$(tag)$(xmlns) xsi:type=\"$(xsi_type)\">" else diff --git a/src/crypto.jl b/src/crypto.jl index 9639fed0f8..d6fae53600 100644 --- a/src/crypto.jl +++ b/src/crypto.jl @@ -20,8 +20,8 @@ end typealias size_t Csize_t -@c Ptr{Uint8} HMAC (Ptr{EVP_MD}, Ptr{Void}, Int32, Ptr{Uint8}, size_t, Ptr{Uint8}, Ptr{Uint32}) libcrypto -@c Ptr{Uint8} MD5 (Ptr{Uint8}, size_t, Ptr{Uint8}) libcrypto +@c Ptr{UInt8} HMAC (Ptr{EVP_MD}, Ptr{Void}, Int32, Ptr{UInt8}, size_t, Ptr{UInt8}, Ptr{UInt32}) libcrypto +@c Ptr{UInt8} MD5 (Ptr{UInt8}, size_t, Ptr{UInt8}) libcrypto @c Ptr{EVP_MD} EVP_md5 () libcrypto @c Ptr{EVP_MD} EVP_sha1 () libcrypto @@ -30,34 +30,34 @@ typealias size_t Csize_t @c Ptr{EVP_MD_CTX} EVP_MD_CTX_create () libcrypto @c Int32 EVP_DigestInit_ex (Ptr{EVP_MD_CTX}, Ptr{EVP_MD}, Ptr{ENGINE}) libcrypto @c Int32 EVP_DigestUpdate (Ptr{EVP_MD_CTX}, Ptr{Void}, size_t) libcrypto -@c Int32 EVP_DigestFinal_ex (Ptr{EVP_MD_CTX}, Ptr{Uint8}, Ptr{Uint32}) libcrypto -@c None EVP_MD_CTX_destroy (Ptr{EVP_MD_CTX},) libcrypto +@c Int32 EVP_DigestFinal_ex (Ptr{EVP_MD_CTX}, Ptr{UInt8}, Ptr{UInt32}) libcrypto +@c Union{} EVP_MD_CTX_destroy (Ptr{EVP_MD_CTX},) libcrypto -hmacsha256_digest(s::String, k::Union(String, Vector{Uint8})) = hmacsha_digest(s, k, EVP_sha256(), 32) +hmacsha256_digest(s::AbstractString, k::Union{ASCIIString, Vector{UInt8}}) = hmacsha_digest(s, k, EVP_sha256(), 32) export hmacsha256_digest -hmacsha1_digest(s::String, k::Union(String, Vector{Uint8})) = hmacsha_digest(s, k, EVP_sha1(), 20) +hmacsha1_digest(s::AbstractString, k::Union{ASCIIString, Vector{UInt8}}) = hmacsha_digest(s, k, EVP_sha1(), 20) export hmacsha1_digest -function hmacsha_digest(s::String, k::Union(String, Vector{Uint8}), evp, dgst_len) +function hmacsha_digest(s::AbstractString, k::Union{ASCIIString, Vector{UInt8}}, evp, dgst_len) if evp == C_NULL error("EVP_sha1() failed!") end - sig = zeros(Uint8, dgst_len) - sig_len = zeros(Uint32, 1) - - if isa(k, String) - k = convert(Array{Uint8}, k) + sig = zeros(UInt8, dgst_len) + sig_len = zeros(UInt32, 1) + + if isa(k, AbstractString) + k = convert(Array{UInt8}, k) end if HMAC(evp, k, length(k), s, length(s), sig, sig_len) == C_NULL error("HMAC() failed!") end if (sig_len[1] != dgst_len) error("Wrong length of signature!") end - + return sig end -function md5_file(s::String) +function md5_file(s::AbstractString) f = open(s) md = nothing try @@ -71,36 +71,36 @@ function md5_file(s::String) end export md5_file -function md5(s::String) - md = zeros(Uint8, 16) - assert (MD5(s, length(s), md) != C_NULL) +function md5(s::AbstractString) + md = zeros(UInt8, 16) + assert(MD5(s, length(s), md) != C_NULL) return md end function md5(s::IO) evp_md_ctx = EVP_MD_CTX_create() - assert (evp_md_ctx != C_NULL) + assert(evp_md_ctx != C_NULL) - md = zeros(Uint8, 16) + md = zeros(UInt8, 16) try evp_md = EVP_md5() - assert (evp_md != C_NULL) - + assert(evp_md != C_NULL) + rc = EVP_DigestInit_ex(evp_md_ctx, evp_md, C_NULL) assert(rc == 1) - + while (!eof(s)) - b = read(s, Uint8, min(nb_available(s), 65536)) # Read in 64 K chunks.... - + b = read(s, UInt8, min(nb_available(s), 65536)) # Read in 64 K chunks.... + rc = EVP_DigestUpdate(evp_md_ctx, b, length(b)); assert(rc == 1) end - + rc = EVP_DigestFinal_ex(evp_md_ctx, md, C_NULL) assert(rc == 1) finally - EVP_MD_CTX_destroy(evp_md_ctx) + EVP_MD_CTX_destroy(evp_md_ctx) end return md diff --git a/src/ec2_simple.jl b/src/ec2_simple.jl index 578d776c8f..4c91d5fb0d 100644 --- a/src/ec2_simple.jl +++ b/src/ec2_simple.jl @@ -2,13 +2,13 @@ export ec2_terminate, ec2_addprocs, ec2_launch, ec2_start, ec2_stop, ec2_show_st export ec2_mount_snapshot -ec2_basic(env::AWSEnv, action::String, params_in::Dict) = ec2_execute(env, action, flatten_params(params_in)) +ec2_basic(env::AWSEnv, action::AbstractString, params_in::Dict) = ec2_execute(env, action, flatten_params(params_in)) export ec2_basic flatten_params(d::Dict) = flatten_params(Array(Tuple, 0), "", d) -function flatten_params(ft::Array, pfx::String, d::Dict) +function flatten_params(ft::Array, pfx::AbstractString, d::Dict) for (k, v) in collect(d) if isa(v, Array) for (i, x) in enumerate(v) @@ -36,7 +36,7 @@ end CHK_ERR(resp::EC2Response) = (typeof(resp.obj) == EC2Error) ? error(ec2_error_str(resp.obj)) : resp.obj -function ec2_terminate (instances; env=AWSEnv()) +function ec2_terminate(instances; env=AWSEnv()) if length(instances) > 0 req = TerminateInstancesType(instancesSet=instances) resp = CHK_ERR(TerminateInstances(env, req)) @@ -72,8 +72,8 @@ end -function ec2_launch(ami::String, seckey::String; env=AWSEnv(), insttype::String="m1.small", n::Integer=1, - owner::String="julia", clustername::String="julia", launchset::String="") +function ec2_launch(ami::AbstractString, seckey::AbstractString; env=AWSEnv(), insttype::AbstractString="m1.small", n::Integer=1, + owner::AbstractString="julia", clustername::AbstractString="julia", launchset::AbstractString="") # "c1.medium" # "m1.small" @@ -119,7 +119,7 @@ end function generate_sshnames(hostnames, num_workers, workers_per_instance, use_public_dnsname, sshflags, hostuser="ubuntu") num_hosts = length(hostnames) idx = use_public_dnsname ? 2 : 3 - sshnames = Dict{String, Any}() + sshnames = Dict{AbstractString, Any}() if num_workers > 0 if num_workers < num_hosts for i in 1:num_workers @@ -162,7 +162,7 @@ function generate_sshnames(hostnames, num_workers, workers_per_instance, use_pub end -function ec2_addprocs(instances, ec2_keyfile::String; env=AWSEnv(), hostuser::String="ubuntu", +function ec2_addprocs(instances, ec2_keyfile::AbstractString; env=AWSEnv(), hostuser::AbstractString="ubuntu", dir=JULIA_HOME, tunnel=true, use_public_dnsname=true, exename=joinpath(JULIA_HOME,Base.julia_exename()), workers_per_instance=0, num_workers=0, machines_only=false) @@ -267,7 +267,7 @@ function ec2_show_status(instances; env=AWSEnv()) end -function ec2_instances_by_tag (tag, tagvalue; env=AWSEnv(), running_only=true) +function ec2_instances_by_tag(tag, tagvalue; env=AWSEnv(), running_only=true) tagfilter = FilterType(name="tag:" * tag, valueSet=[tagvalue]) if running_only @@ -290,8 +290,8 @@ function ec2_instances_by_tag (tag, tagvalue; env=AWSEnv(), running_only=true) end -function ec2_mount_snapshot (instance::String, snapshot::String, mount::String, ec2_keyfile::String; env=AWSEnv(), dev="/dev/xvdh", - hostuser::String="ubuntu") +function ec2_mount_snapshot(instance::AbstractString, snapshot::AbstractString, mount::AbstractString, ec2_keyfile::AbstractString; env=AWSEnv(), dev="/dev/xvdh", + hostuser::AbstractString="ubuntu") # first get the availability zone.... resp = CHK_ERR(DescribeInstances(env, instancesSet=[instance])) zone = resp.reservationSet[1].instancesSet[1].placement.availabilityZone diff --git a/src/ec2_typed.jl b/src/ec2_typed.jl index c370a73f0c..504a026d0a 100644 --- a/src/ec2_typed.jl +++ b/src/ec2_typed.jl @@ -6,7 +6,7 @@ include("ec2_operations.jl") function is_basic_type(v) - if isa(v, String) || isa(v, Int) || isa(v, Int32) || + if isa(v, AbstractString) || isa(v, Int) || isa(v, Int32) || isa(v, Int64) || isa(v, Float64) || isa(v, Bool) || isa(v, DateTime) @@ -70,7 +70,7 @@ function add_to_params(params, obj, pfx) end end -function call_ec2(env::AWSEnv, action::String, msg=nothing) +function call_ec2(env::AWSEnv, action::AbstractString, msg=nothing) params = Array(Tuple, 0) if (msg != nothing) # make sure it is a valid type diff --git a/src/ec2_types.jl b/src/ec2_types.jl index 8ae2f08171..96a78f3726 100644 --- a/src/ec2_types.jl +++ b/src/ec2_types.jl @@ -1,8 +1,8 @@ type CreateImageResponseType - requestId::Union(ASCIIString, Nothing) - imageId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + imageId::Union{ASCIIString, Void} - CreateImageResponseType(; requestId=nothing, imageId=nothing) = + CreateImageResponseType(; requestId=nothing, imageId=nothing) = new(requestId, imageId) end function CreateImageResponseType(pd::ETree) @@ -16,10 +16,10 @@ export CreateImageResponseType type RegisterImageResponseType - requestId::Union(ASCIIString, Nothing) - imageId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + imageId::Union{ASCIIString, Void} - RegisterImageResponseType(; requestId=nothing, imageId=nothing) = + RegisterImageResponseType(; requestId=nothing, imageId=nothing) = new(requestId, imageId) end function RegisterImageResponseType(pd::ETree) @@ -33,9 +33,9 @@ export RegisterImageResponseType type DeregisterImageType - imageId::Union(ASCIIString, Nothing) + imageId::Union{ASCIIString, Void} - DeregisterImageType(; imageId=nothing) = + DeregisterImageType(; imageId=nothing) = new(imageId) end function DeregisterImageType(pd::ETree) @@ -48,10 +48,10 @@ export DeregisterImageType type DeregisterImageResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeregisterImageResponseType(; requestId=nothing, _return=nothing) = + DeregisterImageResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeregisterImageResponseType(pd::ETree) @@ -65,9 +65,9 @@ export DeregisterImageResponseType type CreateKeyPairType - keyName::Union(ASCIIString, Nothing) + keyName::Union{ASCIIString, Void} - CreateKeyPairType(; keyName=nothing) = + CreateKeyPairType(; keyName=nothing) = new(keyName) end function CreateKeyPairType(pd::ETree) @@ -80,12 +80,12 @@ export CreateKeyPairType type CreateKeyPairResponseType - requestId::Union(ASCIIString, Nothing) - keyName::Union(ASCIIString, Nothing) - keyFingerprint::Union(ASCIIString, Nothing) - keyMaterial::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + keyName::Union{ASCIIString, Void} + keyFingerprint::Union{ASCIIString, Void} + keyMaterial::Union{ASCIIString, Void} - CreateKeyPairResponseType(; requestId=nothing, keyName=nothing, keyFingerprint=nothing, keyMaterial=nothing) = + CreateKeyPairResponseType(; requestId=nothing, keyName=nothing, keyFingerprint=nothing, keyMaterial=nothing) = new(requestId, keyName, keyFingerprint, keyMaterial) end function CreateKeyPairResponseType(pd::ETree) @@ -101,10 +101,10 @@ export CreateKeyPairResponseType type ImportKeyPairType - keyName::Union(ASCIIString, Nothing) - publicKeyMaterial::Union(ASCIIString, Nothing) + keyName::Union{ASCIIString, Void} + publicKeyMaterial::Union{ASCIIString, Void} - ImportKeyPairType(; keyName=nothing, publicKeyMaterial=nothing) = + ImportKeyPairType(; keyName=nothing, publicKeyMaterial=nothing) = new(keyName, publicKeyMaterial) end function ImportKeyPairType(pd::ETree) @@ -118,11 +118,11 @@ export ImportKeyPairType type ImportKeyPairResponseType - requestId::Union(ASCIIString, Nothing) - keyName::Union(ASCIIString, Nothing) - keyFingerprint::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + keyName::Union{ASCIIString, Void} + keyFingerprint::Union{ASCIIString, Void} - ImportKeyPairResponseType(; requestId=nothing, keyName=nothing, keyFingerprint=nothing) = + ImportKeyPairResponseType(; requestId=nothing, keyName=nothing, keyFingerprint=nothing) = new(requestId, keyName, keyFingerprint) end function ImportKeyPairResponseType(pd::ETree) @@ -137,9 +137,9 @@ export ImportKeyPairResponseType type DeleteKeyPairType - keyName::Union(ASCIIString, Nothing) + keyName::Union{ASCIIString, Void} - DeleteKeyPairType(; keyName=nothing) = + DeleteKeyPairType(; keyName=nothing) = new(keyName) end function DeleteKeyPairType(pd::ETree) @@ -152,10 +152,10 @@ export DeleteKeyPairType type DeleteKeyPairResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteKeyPairResponseType(; requestId=nothing, _return=nothing) = + DeleteKeyPairResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteKeyPairResponseType(pd::ETree) @@ -169,9 +169,9 @@ export DeleteKeyPairResponseType type DescribeKeyPairsItemType - keyName::Union(ASCIIString, Nothing) + keyName::Union{ASCIIString, Void} - DescribeKeyPairsItemType(; keyName=nothing) = + DescribeKeyPairsItemType(; keyName=nothing) = new(keyName) end function DescribeKeyPairsItemType(pd::ETree) @@ -184,10 +184,10 @@ export DescribeKeyPairsItemType type DescribeKeyPairsResponseItemType - keyName::Union(ASCIIString, Nothing) - keyFingerprint::Union(ASCIIString, Nothing) + keyName::Union{ASCIIString, Void} + keyFingerprint::Union{ASCIIString, Void} - DescribeKeyPairsResponseItemType(; keyName=nothing, keyFingerprint=nothing) = + DescribeKeyPairsResponseItemType(; keyName=nothing, keyFingerprint=nothing) = new(keyName, keyFingerprint) end function DescribeKeyPairsResponseItemType(pd::ETree) @@ -201,10 +201,10 @@ export DescribeKeyPairsResponseItemType type IamInstanceProfileRequestType - arn::Union(ASCIIString, Nothing) - name::Union(ASCIIString, Nothing) + arn::Union{ASCIIString, Void} + name::Union{ASCIIString, Void} - IamInstanceProfileRequestType(; arn=nothing, name=nothing) = + IamInstanceProfileRequestType(; arn=nothing, name=nothing) = new(arn, name) end function IamInstanceProfileRequestType(pd::ETree) @@ -218,10 +218,10 @@ export IamInstanceProfileRequestType type PrivateIpAddressesSetItemRequestType - privateIpAddress::Union(ASCIIString, Nothing) - primary::Union(Bool, Nothing) + privateIpAddress::Union{ASCIIString, Void} + primary::Union{Bool, Void} - PrivateIpAddressesSetItemRequestType(; privateIpAddress=nothing, primary=nothing) = + PrivateIpAddressesSetItemRequestType(; privateIpAddress=nothing, primary=nothing) = new(privateIpAddress, primary) end function PrivateIpAddressesSetItemRequestType(pd::ETree) @@ -235,10 +235,10 @@ export PrivateIpAddressesSetItemRequestType type ImportInstanceGroupItemType - groupId::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) + groupId::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} - ImportInstanceGroupItemType(; groupId=nothing, groupName=nothing) = + ImportInstanceGroupItemType(; groupId=nothing, groupName=nothing) = new(groupId, groupName) end function ImportInstanceGroupItemType(pd::ETree) @@ -252,10 +252,10 @@ export ImportInstanceGroupItemType type GroupItemType - groupId::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) + groupId::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} - GroupItemType(; groupId=nothing, groupName=nothing) = + GroupItemType(; groupId=nothing, groupName=nothing) = new(groupId, groupName) end function GroupItemType(pd::ETree) @@ -269,9 +269,9 @@ export GroupItemType type UserDataType - data::Union(ASCIIString, Nothing) + data::Union{ASCIIString, Void} - UserDataType(; data=nothing) = + UserDataType(; data=nothing) = new(data) end function UserDataType(pd::ETree) @@ -284,9 +284,9 @@ export UserDataType type BlockDeviceMappingItemType - deviceName::Union(ASCIIString, Nothing) + deviceName::Union{ASCIIString, Void} - BlockDeviceMappingItemType(; deviceName=nothing) = + BlockDeviceMappingItemType(; deviceName=nothing) = new(deviceName) end function BlockDeviceMappingItemType(pd::ETree) @@ -299,13 +299,13 @@ export BlockDeviceMappingItemType type EbsBlockDeviceType - snapshotId::Union(ASCIIString, Nothing) - volumeSize::Union(Int64, Nothing) - deleteOnTermination::Union(Bool, Nothing) - volumeType::Union(ASCIIString, Nothing) - iops::Union(Int64, Nothing) + snapshotId::Union{ASCIIString, Void} + volumeSize::Union{Int64, Void} + deleteOnTermination::Union{Bool, Void} + volumeType::Union{ASCIIString, Void} + iops::Union{Int64, Void} - EbsBlockDeviceType(; snapshotId=nothing, volumeSize=nothing, deleteOnTermination=nothing, volumeType=nothing, iops=nothing) = + EbsBlockDeviceType(; snapshotId=nothing, volumeSize=nothing, deleteOnTermination=nothing, volumeType=nothing, iops=nothing) = new(snapshotId, volumeSize, deleteOnTermination, volumeType, iops) end function EbsBlockDeviceType(pd::ETree) @@ -322,11 +322,11 @@ export EbsBlockDeviceType type PlacementRequestType - availabilityZone::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) - tenancy::Union(ASCIIString, Nothing) + availabilityZone::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} + tenancy::Union{ASCIIString, Void} - PlacementRequestType(; availabilityZone=nothing, groupName=nothing, tenancy=nothing) = + PlacementRequestType(; availabilityZone=nothing, groupName=nothing, tenancy=nothing) = new(availabilityZone, groupName, tenancy) end function PlacementRequestType(pd::ETree) @@ -341,10 +341,10 @@ export PlacementRequestType type SpotPlacementRequestType - availabilityZone::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) + availabilityZone::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} - SpotPlacementRequestType(; availabilityZone=nothing, groupName=nothing) = + SpotPlacementRequestType(; availabilityZone=nothing, groupName=nothing) = new(availabilityZone, groupName) end function SpotPlacementRequestType(pd::ETree) @@ -358,10 +358,10 @@ export SpotPlacementRequestType type InstancePlacementType - availabilityZone::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) + availabilityZone::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} - InstancePlacementType(; availabilityZone=nothing, groupName=nothing) = + InstancePlacementType(; availabilityZone=nothing, groupName=nothing) = new(availabilityZone, groupName) end function InstancePlacementType(pd::ETree) @@ -375,9 +375,9 @@ export InstancePlacementType type MonitoringInstanceType - enabled::Union(Bool, Nothing) + enabled::Union{Bool, Void} - MonitoringInstanceType(; enabled=nothing) = + MonitoringInstanceType(; enabled=nothing) = new(enabled) end function MonitoringInstanceType(pd::ETree) @@ -390,9 +390,9 @@ export MonitoringInstanceType type InstanceLicenseRequestType - pool::Union(ASCIIString, Nothing) + pool::Union{ASCIIString, Void} - InstanceLicenseRequestType(; pool=nothing) = + InstanceLicenseRequestType(; pool=nothing) = new(pool) end function InstanceLicenseRequestType(pd::ETree) @@ -405,10 +405,10 @@ export InstanceLicenseRequestType type IamInstanceProfileResponseType - arn::Union(ASCIIString, Nothing) - id::Union(ASCIIString, Nothing) + arn::Union{ASCIIString, Void} + id::Union{ASCIIString, Void} - IamInstanceProfileResponseType(; arn=nothing, id=nothing) = + IamInstanceProfileResponseType(; arn=nothing, id=nothing) = new(arn, id) end function IamInstanceProfileResponseType(pd::ETree) @@ -422,13 +422,13 @@ export IamInstanceProfileResponseType type InstanceNetworkInterfaceAttachmentType - attachmentId::Union(ASCIIString, Nothing) - deviceIndex::Union(Int64, Nothing) - status::Union(ASCIIString, Nothing) - attachTime::Union(Base.Dates.DateTime, Nothing) - deleteOnTermination::Union(Bool, Nothing) + attachmentId::Union{ASCIIString, Void} + deviceIndex::Union{Int64, Void} + status::Union{ASCIIString, Void} + attachTime::Union{Base.Dates.DateTime, Void} + deleteOnTermination::Union{Bool, Void} - InstanceNetworkInterfaceAttachmentType(; attachmentId=nothing, deviceIndex=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = + InstanceNetworkInterfaceAttachmentType(; attachmentId=nothing, deviceIndex=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = new(attachmentId, deviceIndex, status, attachTime, deleteOnTermination) end function InstanceNetworkInterfaceAttachmentType(pd::ETree) @@ -445,11 +445,11 @@ export InstanceNetworkInterfaceAttachmentType type InstanceNetworkInterfaceAssociationType - publicIp::Union(ASCIIString, Nothing) - publicDnsName::Union(ASCIIString, Nothing) - ipOwnerId::Union(ASCIIString, Nothing) + publicIp::Union{ASCIIString, Void} + publicDnsName::Union{ASCIIString, Void} + ipOwnerId::Union{ASCIIString, Void} - InstanceNetworkInterfaceAssociationType(; publicIp=nothing, publicDnsName=nothing, ipOwnerId=nothing) = + InstanceNetworkInterfaceAssociationType(; publicIp=nothing, publicDnsName=nothing, ipOwnerId=nothing) = new(publicIp, publicDnsName, ipOwnerId) end function InstanceNetworkInterfaceAssociationType(pd::ETree) @@ -464,11 +464,11 @@ export InstanceNetworkInterfaceAssociationType type PlacementResponseType - availabilityZone::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) - tenancy::Union(ASCIIString, Nothing) + availabilityZone::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} + tenancy::Union{ASCIIString, Void} - PlacementResponseType(; availabilityZone=nothing, groupName=nothing, tenancy=nothing) = + PlacementResponseType(; availabilityZone=nothing, groupName=nothing, tenancy=nothing) = new(availabilityZone, groupName, tenancy) end function PlacementResponseType(pd::ETree) @@ -483,10 +483,10 @@ export PlacementResponseType type StateReasonType - code::Union(ASCIIString, Nothing) - message::Union(ASCIIString, Nothing) + code::Union{ASCIIString, Void} + message::Union{ASCIIString, Void} - StateReasonType(; code=nothing, message=nothing) = + StateReasonType(; code=nothing, message=nothing) = new(code, message) end function StateReasonType(pd::ETree) @@ -500,9 +500,9 @@ export StateReasonType type InstanceBlockDeviceMappingResponseItemType - deviceName::Union(ASCIIString, Nothing) + deviceName::Union{ASCIIString, Void} - InstanceBlockDeviceMappingResponseItemType(; deviceName=nothing) = + InstanceBlockDeviceMappingResponseItemType(; deviceName=nothing) = new(deviceName) end function InstanceBlockDeviceMappingResponseItemType(pd::ETree) @@ -515,12 +515,12 @@ export InstanceBlockDeviceMappingResponseItemType type EbsInstanceBlockDeviceMappingResponseType - volumeId::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - attachTime::Union(Base.Dates.DateTime, Nothing) - deleteOnTermination::Union(Bool, Nothing) + volumeId::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + attachTime::Union{Base.Dates.DateTime, Void} + deleteOnTermination::Union{Bool, Void} - EbsInstanceBlockDeviceMappingResponseType(; volumeId=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = + EbsInstanceBlockDeviceMappingResponseType(; volumeId=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = new(volumeId, status, attachTime, deleteOnTermination) end function EbsInstanceBlockDeviceMappingResponseType(pd::ETree) @@ -536,9 +536,9 @@ export EbsInstanceBlockDeviceMappingResponseType type InstanceLicenseResponseType - pool::Union(ASCIIString, Nothing) + pool::Union{ASCIIString, Void} - InstanceLicenseResponseType(; pool=nothing) = + InstanceLicenseResponseType(; pool=nothing) = new(pool) end function InstanceLicenseResponseType(pd::ETree) @@ -551,9 +551,9 @@ export InstanceLicenseResponseType type AccountAttributeNameSetItemType - attributeName::Union(ASCIIString, Nothing) + attributeName::Union{ASCIIString, Void} - AccountAttributeNameSetItemType(; attributeName=nothing) = + AccountAttributeNameSetItemType(; attributeName=nothing) = new(attributeName) end function AccountAttributeNameSetItemType(pd::ETree) @@ -566,10 +566,10 @@ export AccountAttributeNameSetItemType type AccountAttributeSetItemType - attributeName::Union(ASCIIString, Nothing) - attributeValueSet::Union(Vector{ASCIIString}, Nothing) + attributeName::Union{ASCIIString, Void} + attributeValueSet::Union{Vector{ASCIIString}, Void} - AccountAttributeSetItemType(; attributeName=nothing, attributeValueSet=nothing) = + AccountAttributeSetItemType(; attributeName=nothing, attributeValueSet=nothing) = new(attributeName, attributeValueSet) end function AccountAttributeSetItemType(pd::ETree) @@ -583,9 +583,9 @@ export AccountAttributeSetItemType type AccountAttributeValueSetItemType - attributeValue::Union(ASCIIString, Nothing) + attributeValue::Union{ASCIIString, Void} - AccountAttributeValueSetItemType(; attributeValue=nothing) = + AccountAttributeValueSetItemType(; attributeValue=nothing) = new(attributeValue) end function AccountAttributeValueSetItemType(pd::ETree) @@ -598,9 +598,9 @@ export AccountAttributeValueSetItemType type DescribeVpcAttributeType - vpcId::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} - DescribeVpcAttributeType(; vpcId=nothing) = + DescribeVpcAttributeType(; vpcId=nothing) = new(vpcId) end function DescribeVpcAttributeType(pd::ETree) @@ -613,10 +613,10 @@ export DescribeVpcAttributeType type DescribeVpcAttributeResponseType - requestId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} - DescribeVpcAttributeResponseType(; requestId=nothing, vpcId=nothing) = + DescribeVpcAttributeResponseType(; requestId=nothing, vpcId=nothing) = new(requestId, vpcId) end function DescribeVpcAttributeResponseType(pd::ETree) @@ -630,9 +630,9 @@ export DescribeVpcAttributeResponseType type ModifyVpcAttributeType - vpcId::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} - ModifyVpcAttributeType(; vpcId=nothing) = + ModifyVpcAttributeType(; vpcId=nothing) = new(vpcId) end function ModifyVpcAttributeType(pd::ETree) @@ -645,10 +645,10 @@ export ModifyVpcAttributeType type ModifyVpcAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ModifyVpcAttributeResponseType(; requestId=nothing, _return=nothing) = + ModifyVpcAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ModifyVpcAttributeResponseType(pd::ETree) @@ -662,9 +662,9 @@ export ModifyVpcAttributeResponseType type GetConsoleOutputType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - GetConsoleOutputType(; instanceId=nothing) = + GetConsoleOutputType(; instanceId=nothing) = new(instanceId) end function GetConsoleOutputType(pd::ETree) @@ -677,12 +677,12 @@ export GetConsoleOutputType type GetConsoleOutputResponseType - requestId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - timestamp::Union(Base.Dates.DateTime, Nothing) - output::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + timestamp::Union{Base.Dates.DateTime, Void} + output::Union{ASCIIString, Void} - GetConsoleOutputResponseType(; requestId=nothing, instanceId=nothing, timestamp=nothing, output=nothing) = + GetConsoleOutputResponseType(; requestId=nothing, instanceId=nothing, timestamp=nothing, output=nothing) = new(requestId, instanceId, timestamp, output) end function GetConsoleOutputResponseType(pd::ETree) @@ -698,9 +698,9 @@ export GetConsoleOutputResponseType type GetPasswordDataType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - GetPasswordDataType(; instanceId=nothing) = + GetPasswordDataType(; instanceId=nothing) = new(instanceId) end function GetPasswordDataType(pd::ETree) @@ -713,12 +713,12 @@ export GetPasswordDataType type GetPasswordDataResponseType - requestId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - timestamp::Union(Base.Dates.DateTime, Nothing) - passwordData::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + timestamp::Union{Base.Dates.DateTime, Void} + passwordData::Union{ASCIIString, Void} - GetPasswordDataResponseType(; requestId=nothing, instanceId=nothing, timestamp=nothing, passwordData=nothing) = + GetPasswordDataResponseType(; requestId=nothing, instanceId=nothing, timestamp=nothing, passwordData=nothing) = new(requestId, instanceId, timestamp, passwordData) end function GetPasswordDataResponseType(pd::ETree) @@ -734,9 +734,9 @@ export GetPasswordDataResponseType type InstanceIdType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - InstanceIdType(; instanceId=nothing) = + InstanceIdType(; instanceId=nothing) = new(instanceId) end function InstanceIdType(pd::ETree) @@ -749,9 +749,9 @@ export InstanceIdType type TerminateInstancesType - instancesSet::Union(Vector{ASCIIString}, Nothing) + instancesSet::Union{Vector{ASCIIString}, Void} - TerminateInstancesType(; instancesSet=nothing) = + TerminateInstancesType(; instancesSet=nothing) = new(instancesSet) end function TerminateInstancesType(pd::ETree) @@ -764,9 +764,9 @@ export TerminateInstancesType type InstanceBlockDeviceMappingItemType - deviceName::Union(ASCIIString, Nothing) + deviceName::Union{ASCIIString, Void} - InstanceBlockDeviceMappingItemType(; deviceName=nothing) = + InstanceBlockDeviceMappingItemType(; deviceName=nothing) = new(deviceName) end function InstanceBlockDeviceMappingItemType(pd::ETree) @@ -779,10 +779,10 @@ export InstanceBlockDeviceMappingItemType type InstanceEbsBlockDeviceType - volumeId::Union(ASCIIString, Nothing) - deleteOnTermination::Union(Bool, Nothing) + volumeId::Union{ASCIIString, Void} + deleteOnTermination::Union{Bool, Void} - InstanceEbsBlockDeviceType(; volumeId=nothing, deleteOnTermination=nothing) = + InstanceEbsBlockDeviceType(; volumeId=nothing, deleteOnTermination=nothing) = new(volumeId, deleteOnTermination) end function InstanceEbsBlockDeviceType(pd::ETree) @@ -796,10 +796,10 @@ export InstanceEbsBlockDeviceType type StopInstancesType - instancesSet::Union(Vector{ASCIIString}, Nothing) - force::Union(Bool, Nothing) + instancesSet::Union{Vector{ASCIIString}, Void} + force::Union{Bool, Void} - StopInstancesType(; instancesSet=nothing, force=nothing) = + StopInstancesType(; instancesSet=nothing, force=nothing) = new(instancesSet, force) end function StopInstancesType(pd::ETree) @@ -813,9 +813,9 @@ export StopInstancesType type StartInstancesType - instancesSet::Union(Vector{ASCIIString}, Nothing) + instancesSet::Union{Vector{ASCIIString}, Void} - StartInstancesType(; instancesSet=nothing) = + StartInstancesType(; instancesSet=nothing) = new(instancesSet) end function StartInstancesType(pd::ETree) @@ -828,9 +828,9 @@ export StartInstancesType type RebootInstancesType - instancesSet::Union(Vector{ASCIIString}, Nothing) + instancesSet::Union{Vector{ASCIIString}, Void} - RebootInstancesType(; instancesSet=nothing) = + RebootInstancesType(; instancesSet=nothing) = new(instancesSet) end function RebootInstancesType(pd::ETree) @@ -843,9 +843,9 @@ export RebootInstancesType type RebootInstancesItemType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - RebootInstancesItemType(; instanceId=nothing) = + RebootInstancesItemType(; instanceId=nothing) = new(instanceId) end function RebootInstancesItemType(pd::ETree) @@ -858,10 +858,10 @@ export RebootInstancesItemType type RebootInstancesResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - RebootInstancesResponseType(; requestId=nothing, _return=nothing) = + RebootInstancesResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function RebootInstancesResponseType(pd::ETree) @@ -875,9 +875,9 @@ export RebootInstancesResponseType type DescribeInstancesItemType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - DescribeInstancesItemType(; instanceId=nothing) = + DescribeInstancesItemType(; instanceId=nothing) = new(instanceId) end function DescribeInstancesItemType(pd::ETree) @@ -890,9 +890,9 @@ export DescribeInstancesItemType type UnavailableResultType - availabilityZone::Union(ASCIIString, Nothing) + availabilityZone::Union{ASCIIString, Void} - UnavailableResultType(; availabilityZone=nothing) = + UnavailableResultType(; availabilityZone=nothing) = new(availabilityZone) end function UnavailableResultType(pd::ETree) @@ -905,9 +905,9 @@ export UnavailableResultType type DescribeImagesItemType - imageId::Union(ASCIIString, Nothing) + imageId::Union{ASCIIString, Void} - DescribeImagesItemType(; imageId=nothing) = + DescribeImagesItemType(; imageId=nothing) = new(imageId) end function DescribeImagesItemType(pd::ETree) @@ -920,9 +920,9 @@ export DescribeImagesItemType type DescribeImagesOwnerType - owner::Union(ASCIIString, Nothing) + owner::Union{ASCIIString, Void} - DescribeImagesOwnerType(; owner=nothing) = + DescribeImagesOwnerType(; owner=nothing) = new(owner) end function DescribeImagesOwnerType(pd::ETree) @@ -935,9 +935,9 @@ export DescribeImagesOwnerType type DescribeImagesExecutableByType - user::Union(ASCIIString, Nothing) + user::Union{ASCIIString, Void} - DescribeImagesExecutableByType(; user=nothing) = + DescribeImagesExecutableByType(; user=nothing) = new(user) end function DescribeImagesExecutableByType(pd::ETree) @@ -950,11 +950,11 @@ export DescribeImagesExecutableByType type CreateSecurityGroupType - groupName::Union(ASCIIString, Nothing) - groupDescription::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) + groupName::Union{ASCIIString, Void} + groupDescription::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} - CreateSecurityGroupType(; groupName=nothing, groupDescription=nothing, vpcId=nothing) = + CreateSecurityGroupType(; groupName=nothing, groupDescription=nothing, vpcId=nothing) = new(groupName, groupDescription, vpcId) end function CreateSecurityGroupType(pd::ETree) @@ -969,11 +969,11 @@ export CreateSecurityGroupType type CreateSecurityGroupResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) - groupId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} + groupId::Union{ASCIIString, Void} - CreateSecurityGroupResponseType(; requestId=nothing, _return=nothing, groupId=nothing) = + CreateSecurityGroupResponseType(; requestId=nothing, _return=nothing, groupId=nothing) = new(requestId, _return, groupId) end function CreateSecurityGroupResponseType(pd::ETree) @@ -988,10 +988,10 @@ export CreateSecurityGroupResponseType type DeleteSecurityGroupType - groupId::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) + groupId::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} - DeleteSecurityGroupType(; groupId=nothing, groupName=nothing) = + DeleteSecurityGroupType(; groupId=nothing, groupName=nothing) = new(groupId, groupName) end function DeleteSecurityGroupType(pd::ETree) @@ -1005,10 +1005,10 @@ export DeleteSecurityGroupType type DeleteSecurityGroupResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteSecurityGroupResponseType(; requestId=nothing, _return=nothing) = + DeleteSecurityGroupResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteSecurityGroupResponseType(pd::ETree) @@ -1022,9 +1022,9 @@ export DeleteSecurityGroupResponseType type DescribeSecurityGroupsSetItemType - groupName::Union(ASCIIString, Nothing) + groupName::Union{ASCIIString, Void} - DescribeSecurityGroupsSetItemType(; groupName=nothing) = + DescribeSecurityGroupsSetItemType(; groupName=nothing) = new(groupName) end function DescribeSecurityGroupsSetItemType(pd::ETree) @@ -1037,9 +1037,9 @@ export DescribeSecurityGroupsSetItemType type DescribeSecurityGroupsIdSetItemType - groupId::Union(ASCIIString, Nothing) + groupId::Union{ASCIIString, Void} - DescribeSecurityGroupsIdSetItemType(; groupId=nothing) = + DescribeSecurityGroupsIdSetItemType(; groupId=nothing) = new(groupId) end function DescribeSecurityGroupsIdSetItemType(pd::ETree) @@ -1052,9 +1052,9 @@ export DescribeSecurityGroupsIdSetItemType type IpRangeItemType - cidrIp::Union(ASCIIString, Nothing) + cidrIp::Union{ASCIIString, Void} - IpRangeItemType(; cidrIp=nothing) = + IpRangeItemType(; cidrIp=nothing) = new(cidrIp) end function IpRangeItemType(pd::ETree) @@ -1067,11 +1067,11 @@ export IpRangeItemType type UserIdGroupPairType - userId::Union(ASCIIString, Nothing) - groupId::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) + userId::Union{ASCIIString, Void} + groupId::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} - UserIdGroupPairType(; userId=nothing, groupId=nothing, groupName=nothing) = + UserIdGroupPairType(; userId=nothing, groupId=nothing, groupName=nothing) = new(userId, groupId, groupName) end function UserIdGroupPairType(pd::ETree) @@ -1086,10 +1086,10 @@ export UserIdGroupPairType type AuthorizeSecurityGroupIngressResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - AuthorizeSecurityGroupIngressResponseType(; requestId=nothing, _return=nothing) = + AuthorizeSecurityGroupIngressResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function AuthorizeSecurityGroupIngressResponseType(pd::ETree) @@ -1103,10 +1103,10 @@ export AuthorizeSecurityGroupIngressResponseType type RevokeSecurityGroupIngressResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - RevokeSecurityGroupIngressResponseType(; requestId=nothing, _return=nothing) = + RevokeSecurityGroupIngressResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function RevokeSecurityGroupIngressResponseType(pd::ETree) @@ -1120,10 +1120,10 @@ export RevokeSecurityGroupIngressResponseType type AuthorizeSecurityGroupEgressResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - AuthorizeSecurityGroupEgressResponseType(; requestId=nothing, _return=nothing) = + AuthorizeSecurityGroupEgressResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function AuthorizeSecurityGroupEgressResponseType(pd::ETree) @@ -1137,10 +1137,10 @@ export AuthorizeSecurityGroupEgressResponseType type RevokeSecurityGroupEgressResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - RevokeSecurityGroupEgressResponseType(; requestId=nothing, _return=nothing) = + RevokeSecurityGroupEgressResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function RevokeSecurityGroupEgressResponseType(pd::ETree) @@ -1154,10 +1154,10 @@ export RevokeSecurityGroupEgressResponseType type InstanceStateType - code::Union(Int64, Nothing) - name::Union(ASCIIString, Nothing) + code::Union{Int64, Void} + name::Union{ASCIIString, Void} - InstanceStateType(; code=nothing, name=nothing) = + InstanceStateType(; code=nothing, name=nothing) = new(code, name) end function InstanceStateType(pd::ETree) @@ -1171,9 +1171,9 @@ export InstanceStateType type ModifyInstanceAttributeType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - ModifyInstanceAttributeType(; instanceId=nothing) = + ModifyInstanceAttributeType(; instanceId=nothing) = new(instanceId) end function ModifyInstanceAttributeType(pd::ETree) @@ -1186,9 +1186,9 @@ export ModifyInstanceAttributeType type SecurityGroupIdSetItemType - groupId::Union(ASCIIString, Nothing) + groupId::Union{ASCIIString, Void} - SecurityGroupIdSetItemType(; groupId=nothing) = + SecurityGroupIdSetItemType(; groupId=nothing) = new(groupId) end function SecurityGroupIdSetItemType(pd::ETree) @@ -1201,10 +1201,10 @@ export SecurityGroupIdSetItemType type ModifyInstanceAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ModifyInstanceAttributeResponseType(; requestId=nothing, _return=nothing) = + ModifyInstanceAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ModifyInstanceAttributeResponseType(pd::ETree) @@ -1218,9 +1218,9 @@ export ModifyInstanceAttributeResponseType type ResetInstanceAttributeType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - ResetInstanceAttributeType(; instanceId=nothing) = + ResetInstanceAttributeType(; instanceId=nothing) = new(instanceId) end function ResetInstanceAttributeType(pd::ETree) @@ -1233,10 +1233,10 @@ export ResetInstanceAttributeType type ResetInstanceAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ResetInstanceAttributeResponseType(; requestId=nothing, _return=nothing) = + ResetInstanceAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ResetInstanceAttributeResponseType(pd::ETree) @@ -1250,9 +1250,9 @@ export ResetInstanceAttributeResponseType type DescribeInstanceAttributeType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - DescribeInstanceAttributeType(; instanceId=nothing) = + DescribeInstanceAttributeType(; instanceId=nothing) = new(instanceId) end function DescribeInstanceAttributeType(pd::ETree) @@ -1265,10 +1265,10 @@ export DescribeInstanceAttributeType type DescribeInstanceAttributeResponseType - requestId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} - DescribeInstanceAttributeResponseType(; requestId=nothing, instanceId=nothing) = + DescribeInstanceAttributeResponseType(; requestId=nothing, instanceId=nothing) = new(requestId, instanceId) end function DescribeInstanceAttributeResponseType(pd::ETree) @@ -1282,9 +1282,9 @@ export DescribeInstanceAttributeResponseType type ModifyImageAttributeType - imageId::Union(ASCIIString, Nothing) + imageId::Union{ASCIIString, Void} - ModifyImageAttributeType(; imageId=nothing) = + ModifyImageAttributeType(; imageId=nothing) = new(imageId) end function ModifyImageAttributeType(pd::ETree) @@ -1297,10 +1297,10 @@ export ModifyImageAttributeType type LaunchPermissionItemType - userId::Union(ASCIIString, Nothing) - group::Union(ASCIIString, Nothing) + userId::Union{ASCIIString, Void} + group::Union{ASCIIString, Void} - LaunchPermissionItemType(; userId=nothing, group=nothing) = + LaunchPermissionItemType(; userId=nothing, group=nothing) = new(userId, group) end function LaunchPermissionItemType(pd::ETree) @@ -1314,9 +1314,9 @@ export LaunchPermissionItemType type ProductCodeItemType - productCode::Union(ASCIIString, Nothing) + productCode::Union{ASCIIString, Void} - ProductCodeItemType(; productCode=nothing) = + ProductCodeItemType(; productCode=nothing) = new(productCode) end function ProductCodeItemType(pd::ETree) @@ -1329,10 +1329,10 @@ export ProductCodeItemType type ModifyImageAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ModifyImageAttributeResponseType(; requestId=nothing, _return=nothing) = + ModifyImageAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ModifyImageAttributeResponseType(pd::ETree) @@ -1346,9 +1346,9 @@ export ModifyImageAttributeResponseType type ResetImageAttributeType - imageId::Union(ASCIIString, Nothing) + imageId::Union{ASCIIString, Void} - ResetImageAttributeType(; imageId=nothing) = + ResetImageAttributeType(; imageId=nothing) = new(imageId) end function ResetImageAttributeType(pd::ETree) @@ -1361,10 +1361,10 @@ export ResetImageAttributeType type ResetImageAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ResetImageAttributeResponseType(; requestId=nothing, _return=nothing) = + ResetImageAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ResetImageAttributeResponseType(pd::ETree) @@ -1378,9 +1378,9 @@ export ResetImageAttributeResponseType type DescribeImageAttributeType - imageId::Union(ASCIIString, Nothing) + imageId::Union{ASCIIString, Void} - DescribeImageAttributeType(; imageId=nothing) = + DescribeImageAttributeType(; imageId=nothing) = new(imageId) end function DescribeImageAttributeType(pd::ETree) @@ -1393,10 +1393,10 @@ export DescribeImageAttributeType type DescribeImageAttributeResponseType - requestId::Union(ASCIIString, Nothing) - imageId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + imageId::Union{ASCIIString, Void} - DescribeImageAttributeResponseType(; requestId=nothing, imageId=nothing) = + DescribeImageAttributeResponseType(; requestId=nothing, imageId=nothing) = new(requestId, imageId) end function DescribeImageAttributeResponseType(pd::ETree) @@ -1410,9 +1410,9 @@ export DescribeImageAttributeResponseType type NullableAttributeValueType - value::Union(ASCIIString, Nothing) + value::Union{ASCIIString, Void} - NullableAttributeValueType(; value=nothing) = + NullableAttributeValueType(; value=nothing) = new(value) end function NullableAttributeValueType(pd::ETree) @@ -1425,9 +1425,9 @@ export NullableAttributeValueType type NullableAttributeBooleanValueType - value::Union(Bool, Nothing) + value::Union{Bool, Void} - NullableAttributeBooleanValueType(; value=nothing) = + NullableAttributeBooleanValueType(; value=nothing) = new(value) end function NullableAttributeBooleanValueType(pd::ETree) @@ -1440,9 +1440,9 @@ export NullableAttributeBooleanValueType type AttributeValueType - value::Union(ASCIIString, Nothing) + value::Union{ASCIIString, Void} - AttributeValueType(; value=nothing) = + AttributeValueType(; value=nothing) = new(value) end function AttributeValueType(pd::ETree) @@ -1455,9 +1455,9 @@ export AttributeValueType type AttributeBooleanValueType - value::Union(Bool, Nothing) + value::Union{Bool, Void} - AttributeBooleanValueType(; value=nothing) = + AttributeBooleanValueType(; value=nothing) = new(value) end function AttributeBooleanValueType(pd::ETree) @@ -1470,10 +1470,10 @@ export AttributeBooleanValueType type ConfirmProductInstanceType - productCode::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) + productCode::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} - ConfirmProductInstanceType(; productCode=nothing, instanceId=nothing) = + ConfirmProductInstanceType(; productCode=nothing, instanceId=nothing) = new(productCode, instanceId) end function ConfirmProductInstanceType(pd::ETree) @@ -1487,10 +1487,10 @@ export ConfirmProductInstanceType type ProductCodesSetItemType - productCode::Union(ASCIIString, Nothing) - _type::Union(ASCIIString, Nothing) + productCode::Union{ASCIIString, Void} + _type::Union{ASCIIString, Void} - ProductCodesSetItemType(; productCode=nothing, _type=nothing) = + ProductCodesSetItemType(; productCode=nothing, _type=nothing) = new(productCode, _type) end function ProductCodesSetItemType(pd::ETree) @@ -1504,11 +1504,11 @@ export ProductCodesSetItemType type ConfirmProductInstanceResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) - ownerId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} + ownerId::Union{ASCIIString, Void} - ConfirmProductInstanceResponseType(; requestId=nothing, _return=nothing, ownerId=nothing) = + ConfirmProductInstanceResponseType(; requestId=nothing, _return=nothing, ownerId=nothing) = new(requestId, _return, ownerId) end function ConfirmProductInstanceResponseType(pd::ETree) @@ -1523,9 +1523,9 @@ export ConfirmProductInstanceResponseType type DescribeAvailabilityZonesSetItemType - zoneName::Union(ASCIIString, Nothing) + zoneName::Union{ASCIIString, Void} - DescribeAvailabilityZonesSetItemType(; zoneName=nothing) = + DescribeAvailabilityZonesSetItemType(; zoneName=nothing) = new(zoneName) end function DescribeAvailabilityZonesSetItemType(pd::ETree) @@ -1538,9 +1538,9 @@ export DescribeAvailabilityZonesSetItemType type AvailabilityZoneMessageType - message::Union(ASCIIString, Nothing) + message::Union{ASCIIString, Void} - AvailabilityZoneMessageType(; message=nothing) = + AvailabilityZoneMessageType(; message=nothing) = new(message) end function AvailabilityZoneMessageType(pd::ETree) @@ -1553,12 +1553,12 @@ export AvailabilityZoneMessageType type AvailabilityZoneItemType - zoneName::Union(ASCIIString, Nothing) - zoneState::Union(ASCIIString, Nothing) - regionName::Union(ASCIIString, Nothing) - messageSet::Union(Vector{ASCIIString}, Nothing) + zoneName::Union{ASCIIString, Void} + zoneState::Union{ASCIIString, Void} + regionName::Union{ASCIIString, Void} + messageSet::Union{Vector{ASCIIString}, Void} - AvailabilityZoneItemType(; zoneName=nothing, zoneState=nothing, regionName=nothing, messageSet=nothing) = + AvailabilityZoneItemType(; zoneName=nothing, zoneState=nothing, regionName=nothing, messageSet=nothing) = new(zoneName, zoneState, regionName, messageSet) end function AvailabilityZoneItemType(pd::ETree) @@ -1574,9 +1574,9 @@ export AvailabilityZoneItemType type AllocateAddressType - domain::Union(ASCIIString, Nothing) + domain::Union{ASCIIString, Void} - AllocateAddressType(; domain=nothing) = + AllocateAddressType(; domain=nothing) = new(domain) end function AllocateAddressType(pd::ETree) @@ -1589,12 +1589,12 @@ export AllocateAddressType type AllocateAddressResponseType - requestId::Union(ASCIIString, Nothing) - publicIp::Union(ASCIIString, Nothing) - domain::Union(ASCIIString, Nothing) - allocationId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + publicIp::Union{ASCIIString, Void} + domain::Union{ASCIIString, Void} + allocationId::Union{ASCIIString, Void} - AllocateAddressResponseType(; requestId=nothing, publicIp=nothing, domain=nothing, allocationId=nothing) = + AllocateAddressResponseType(; requestId=nothing, publicIp=nothing, domain=nothing, allocationId=nothing) = new(requestId, publicIp, domain, allocationId) end function AllocateAddressResponseType(pd::ETree) @@ -1610,10 +1610,10 @@ export AllocateAddressResponseType type ReleaseAddressType - publicIp::Union(ASCIIString, Nothing) - allocationId::Union(ASCIIString, Nothing) + publicIp::Union{ASCIIString, Void} + allocationId::Union{ASCIIString, Void} - ReleaseAddressType(; publicIp=nothing, allocationId=nothing) = + ReleaseAddressType(; publicIp=nothing, allocationId=nothing) = new(publicIp, allocationId) end function ReleaseAddressType(pd::ETree) @@ -1627,10 +1627,10 @@ export ReleaseAddressType type ReleaseAddressResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ReleaseAddressResponseType(; requestId=nothing, _return=nothing) = + ReleaseAddressResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ReleaseAddressResponseType(pd::ETree) @@ -1644,9 +1644,9 @@ export ReleaseAddressResponseType type AllocationIdSetItemType - allocationId::Union(ASCIIString, Nothing) + allocationId::Union{ASCIIString, Void} - AllocationIdSetItemType(; allocationId=nothing) = + AllocationIdSetItemType(; allocationId=nothing) = new(allocationId) end function AllocationIdSetItemType(pd::ETree) @@ -1659,9 +1659,9 @@ export AllocationIdSetItemType type DescribeAddressesItemType - publicIp::Union(ASCIIString, Nothing) + publicIp::Union{ASCIIString, Void} - DescribeAddressesItemType(; publicIp=nothing) = + DescribeAddressesItemType(; publicIp=nothing) = new(publicIp) end function DescribeAddressesItemType(pd::ETree) @@ -1674,16 +1674,16 @@ export DescribeAddressesItemType type DescribeAddressesResponseItemType - publicIp::Union(ASCIIString, Nothing) - allocationId::Union(ASCIIString, Nothing) - domain::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - associationId::Union(ASCIIString, Nothing) - networkInterfaceId::Union(ASCIIString, Nothing) - networkInterfaceOwnerId::Union(ASCIIString, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - - DescribeAddressesResponseItemType(; publicIp=nothing, allocationId=nothing, domain=nothing, instanceId=nothing, associationId=nothing, networkInterfaceId=nothing, networkInterfaceOwnerId=nothing, privateIpAddress=nothing) = + publicIp::Union{ASCIIString, Void} + allocationId::Union{ASCIIString, Void} + domain::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + associationId::Union{ASCIIString, Void} + networkInterfaceId::Union{ASCIIString, Void} + networkInterfaceOwnerId::Union{ASCIIString, Void} + privateIpAddress::Union{ASCIIString, Void} + + DescribeAddressesResponseItemType(; publicIp=nothing, allocationId=nothing, domain=nothing, instanceId=nothing, associationId=nothing, networkInterfaceId=nothing, networkInterfaceOwnerId=nothing, privateIpAddress=nothing) = new(publicIp, allocationId, domain, instanceId, associationId, networkInterfaceId, networkInterfaceOwnerId, privateIpAddress) end function DescribeAddressesResponseItemType(pd::ETree) @@ -1703,10 +1703,10 @@ export DescribeAddressesResponseItemType type AssociateAddressType - privateIpAddress::Union(ASCIIString, Nothing) - allowReassociation::Union(Bool, Nothing) + privateIpAddress::Union{ASCIIString, Void} + allowReassociation::Union{Bool, Void} - AssociateAddressType(; privateIpAddress=nothing, allowReassociation=nothing) = + AssociateAddressType(; privateIpAddress=nothing, allowReassociation=nothing) = new(privateIpAddress, allowReassociation) end function AssociateAddressType(pd::ETree) @@ -1720,11 +1720,11 @@ export AssociateAddressType type AssociateAddressResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) - associationId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} + associationId::Union{ASCIIString, Void} - AssociateAddressResponseType(; requestId=nothing, _return=nothing, associationId=nothing) = + AssociateAddressResponseType(; requestId=nothing, _return=nothing, associationId=nothing) = new(requestId, _return, associationId) end function AssociateAddressResponseType(pd::ETree) @@ -1739,10 +1739,10 @@ export AssociateAddressResponseType type DisassociateAddressType - publicIp::Union(ASCIIString, Nothing) - associationId::Union(ASCIIString, Nothing) + publicIp::Union{ASCIIString, Void} + associationId::Union{ASCIIString, Void} - DisassociateAddressType(; publicIp=nothing, associationId=nothing) = + DisassociateAddressType(; publicIp=nothing, associationId=nothing) = new(publicIp, associationId) end function DisassociateAddressType(pd::ETree) @@ -1756,10 +1756,10 @@ export DisassociateAddressType type DisassociateAddressResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DisassociateAddressResponseType(; requestId=nothing, _return=nothing) = + DisassociateAddressResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DisassociateAddressResponseType(pd::ETree) @@ -1773,13 +1773,13 @@ export DisassociateAddressResponseType type CreateVolumeType - size::Union(ASCIIString, Nothing) - snapshotId::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - volumeType::Union(ASCIIString, Nothing) - iops::Union(Int64, Nothing) + size::Union{ASCIIString, Void} + snapshotId::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + volumeType::Union{ASCIIString, Void} + iops::Union{Int64, Void} - CreateVolumeType(; size=nothing, snapshotId=nothing, availabilityZone=nothing, volumeType=nothing, iops=nothing) = + CreateVolumeType(; size=nothing, snapshotId=nothing, availabilityZone=nothing, volumeType=nothing, iops=nothing) = new(size, snapshotId, availabilityZone, volumeType, iops) end function CreateVolumeType(pd::ETree) @@ -1796,17 +1796,17 @@ export CreateVolumeType type CreateVolumeResponseType - requestId::Union(ASCIIString, Nothing) - volumeId::Union(ASCIIString, Nothing) - size::Union(ASCIIString, Nothing) - snapshotId::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - createTime::Union(Base.Dates.DateTime, Nothing) - volumeType::Union(ASCIIString, Nothing) - iops::Union(Int64, Nothing) - - CreateVolumeResponseType(; requestId=nothing, volumeId=nothing, size=nothing, snapshotId=nothing, availabilityZone=nothing, status=nothing, createTime=nothing, volumeType=nothing, iops=nothing) = + requestId::Union{ASCIIString, Void} + volumeId::Union{ASCIIString, Void} + size::Union{ASCIIString, Void} + snapshotId::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + createTime::Union{Base.Dates.DateTime, Void} + volumeType::Union{ASCIIString, Void} + iops::Union{Int64, Void} + + CreateVolumeResponseType(; requestId=nothing, volumeId=nothing, size=nothing, snapshotId=nothing, availabilityZone=nothing, status=nothing, createTime=nothing, volumeType=nothing, iops=nothing) = new(requestId, volumeId, size, snapshotId, availabilityZone, status, createTime, volumeType, iops) end function CreateVolumeResponseType(pd::ETree) @@ -1827,9 +1827,9 @@ export CreateVolumeResponseType type DeleteVolumeType - volumeId::Union(ASCIIString, Nothing) + volumeId::Union{ASCIIString, Void} - DeleteVolumeType(; volumeId=nothing) = + DeleteVolumeType(; volumeId=nothing) = new(volumeId) end function DeleteVolumeType(pd::ETree) @@ -1842,10 +1842,10 @@ export DeleteVolumeType type DeleteVolumeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteVolumeResponseType(; requestId=nothing, _return=nothing) = + DeleteVolumeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteVolumeResponseType(pd::ETree) @@ -1859,9 +1859,9 @@ export DeleteVolumeResponseType type DescribeVolumesSetItemType - volumeId::Union(ASCIIString, Nothing) + volumeId::Union{ASCIIString, Void} - DescribeVolumesSetItemType(; volumeId=nothing) = + DescribeVolumesSetItemType(; volumeId=nothing) = new(volumeId) end function DescribeVolumesSetItemType(pd::ETree) @@ -1874,14 +1874,14 @@ export DescribeVolumesSetItemType type AttachmentSetItemResponseType - volumeId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - device::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - attachTime::Union(Base.Dates.DateTime, Nothing) - deleteOnTermination::Union(Bool, Nothing) - - AttachmentSetItemResponseType(; volumeId=nothing, instanceId=nothing, device=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = + volumeId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + device::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + attachTime::Union{Base.Dates.DateTime, Void} + deleteOnTermination::Union{Bool, Void} + + AttachmentSetItemResponseType(; volumeId=nothing, instanceId=nothing, device=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = new(volumeId, instanceId, device, status, attachTime, deleteOnTermination) end function AttachmentSetItemResponseType(pd::ETree) @@ -1899,11 +1899,11 @@ export AttachmentSetItemResponseType type AttachVolumeType - volumeId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - device::Union(ASCIIString, Nothing) + volumeId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + device::Union{ASCIIString, Void} - AttachVolumeType(; volumeId=nothing, instanceId=nothing, device=nothing) = + AttachVolumeType(; volumeId=nothing, instanceId=nothing, device=nothing) = new(volumeId, instanceId, device) end function AttachVolumeType(pd::ETree) @@ -1918,14 +1918,14 @@ export AttachVolumeType type AttachVolumeResponseType - requestId::Union(ASCIIString, Nothing) - volumeId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - device::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - attachTime::Union(Base.Dates.DateTime, Nothing) - - AttachVolumeResponseType(; requestId=nothing, volumeId=nothing, instanceId=nothing, device=nothing, status=nothing, attachTime=nothing) = + requestId::Union{ASCIIString, Void} + volumeId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + device::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + attachTime::Union{Base.Dates.DateTime, Void} + + AttachVolumeResponseType(; requestId=nothing, volumeId=nothing, instanceId=nothing, device=nothing, status=nothing, attachTime=nothing) = new(requestId, volumeId, instanceId, device, status, attachTime) end function AttachVolumeResponseType(pd::ETree) @@ -1943,12 +1943,12 @@ export AttachVolumeResponseType type DetachVolumeType - volumeId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - device::Union(ASCIIString, Nothing) - force::Union(Bool, Nothing) + volumeId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + device::Union{ASCIIString, Void} + force::Union{Bool, Void} - DetachVolumeType(; volumeId=nothing, instanceId=nothing, device=nothing, force=nothing) = + DetachVolumeType(; volumeId=nothing, instanceId=nothing, device=nothing, force=nothing) = new(volumeId, instanceId, device, force) end function DetachVolumeType(pd::ETree) @@ -1964,14 +1964,14 @@ export DetachVolumeType type DetachVolumeResponseType - requestId::Union(ASCIIString, Nothing) - volumeId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - device::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - attachTime::Union(Base.Dates.DateTime, Nothing) - - DetachVolumeResponseType(; requestId=nothing, volumeId=nothing, instanceId=nothing, device=nothing, status=nothing, attachTime=nothing) = + requestId::Union{ASCIIString, Void} + volumeId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + device::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + attachTime::Union{Base.Dates.DateTime, Void} + + DetachVolumeResponseType(; requestId=nothing, volumeId=nothing, instanceId=nothing, device=nothing, status=nothing, attachTime=nothing) = new(requestId, volumeId, instanceId, device, status, attachTime) end function DetachVolumeResponseType(pd::ETree) @@ -1989,10 +1989,10 @@ export DetachVolumeResponseType type CreateSnapshotType - volumeId::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) + volumeId::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} - CreateSnapshotType(; volumeId=nothing, description=nothing) = + CreateSnapshotType(; volumeId=nothing, description=nothing) = new(volumeId, description) end function CreateSnapshotType(pd::ETree) @@ -2006,17 +2006,17 @@ export CreateSnapshotType type CreateSnapshotResponseType - requestId::Union(ASCIIString, Nothing) - snapshotId::Union(ASCIIString, Nothing) - volumeId::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - startTime::Union(Base.Dates.DateTime, Nothing) - progress::Union(ASCIIString, Nothing) - ownerId::Union(ASCIIString, Nothing) - volumeSize::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - - CreateSnapshotResponseType(; requestId=nothing, snapshotId=nothing, volumeId=nothing, status=nothing, startTime=nothing, progress=nothing, ownerId=nothing, volumeSize=nothing, description=nothing) = + requestId::Union{ASCIIString, Void} + snapshotId::Union{ASCIIString, Void} + volumeId::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + startTime::Union{Base.Dates.DateTime, Void} + progress::Union{ASCIIString, Void} + ownerId::Union{ASCIIString, Void} + volumeSize::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + + CreateSnapshotResponseType(; requestId=nothing, snapshotId=nothing, volumeId=nothing, status=nothing, startTime=nothing, progress=nothing, ownerId=nothing, volumeSize=nothing, description=nothing) = new(requestId, snapshotId, volumeId, status, startTime, progress, ownerId, volumeSize, description) end function CreateSnapshotResponseType(pd::ETree) @@ -2037,11 +2037,11 @@ export CreateSnapshotResponseType type CopySnapshotType - sourceRegion::Union(ASCIIString, Nothing) - sourceSnapshotId::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) + sourceRegion::Union{ASCIIString, Void} + sourceSnapshotId::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} - CopySnapshotType(; sourceRegion=nothing, sourceSnapshotId=nothing, description=nothing) = + CopySnapshotType(; sourceRegion=nothing, sourceSnapshotId=nothing, description=nothing) = new(sourceRegion, sourceSnapshotId, description) end function CopySnapshotType(pd::ETree) @@ -2056,10 +2056,10 @@ export CopySnapshotType type CopySnapshotResponseType - requestId::Union(ASCIIString, Nothing) - snapshotId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + snapshotId::Union{ASCIIString, Void} - CopySnapshotResponseType(; requestId=nothing, snapshotId=nothing) = + CopySnapshotResponseType(; requestId=nothing, snapshotId=nothing) = new(requestId, snapshotId) end function CopySnapshotResponseType(pd::ETree) @@ -2073,9 +2073,9 @@ export CopySnapshotResponseType type DeleteSnapshotType - snapshotId::Union(ASCIIString, Nothing) + snapshotId::Union{ASCIIString, Void} - DeleteSnapshotType(; snapshotId=nothing) = + DeleteSnapshotType(; snapshotId=nothing) = new(snapshotId) end function DeleteSnapshotType(pd::ETree) @@ -2088,10 +2088,10 @@ export DeleteSnapshotType type DeleteSnapshotResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteSnapshotResponseType(; requestId=nothing, _return=nothing) = + DeleteSnapshotResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteSnapshotResponseType(pd::ETree) @@ -2105,9 +2105,9 @@ export DeleteSnapshotResponseType type DescribeSnapshotsSetItemType - snapshotId::Union(ASCIIString, Nothing) + snapshotId::Union{ASCIIString, Void} - DescribeSnapshotsSetItemType(; snapshotId=nothing) = + DescribeSnapshotsSetItemType(; snapshotId=nothing) = new(snapshotId) end function DescribeSnapshotsSetItemType(pd::ETree) @@ -2120,9 +2120,9 @@ export DescribeSnapshotsSetItemType type DescribeSnapshotsOwnerType - owner::Union(ASCIIString, Nothing) + owner::Union{ASCIIString, Void} - DescribeSnapshotsOwnerType(; owner=nothing) = + DescribeSnapshotsOwnerType(; owner=nothing) = new(owner) end function DescribeSnapshotsOwnerType(pd::ETree) @@ -2135,9 +2135,9 @@ export DescribeSnapshotsOwnerType type DescribeSnapshotsRestorableByType - user::Union(ASCIIString, Nothing) + user::Union{ASCIIString, Void} - DescribeSnapshotsRestorableByType(; user=nothing) = + DescribeSnapshotsRestorableByType(; user=nothing) = new(user) end function DescribeSnapshotsRestorableByType(pd::ETree) @@ -2150,10 +2150,10 @@ export DescribeSnapshotsRestorableByType type CreateVolumePermissionItemType - userId::Union(ASCIIString, Nothing) - group::Union(ASCIIString, Nothing) + userId::Union{ASCIIString, Void} + group::Union{ASCIIString, Void} - CreateVolumePermissionItemType(; userId=nothing, group=nothing) = + CreateVolumePermissionItemType(; userId=nothing, group=nothing) = new(userId, group) end function CreateVolumePermissionItemType(pd::ETree) @@ -2167,10 +2167,10 @@ export CreateVolumePermissionItemType type ModifySnapshotAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ModifySnapshotAttributeResponseType(; requestId=nothing, _return=nothing) = + ModifySnapshotAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ModifySnapshotAttributeResponseType(pd::ETree) @@ -2184,9 +2184,9 @@ export ModifySnapshotAttributeResponseType type ResetSnapshotAttributeType - snapshotId::Union(ASCIIString, Nothing) + snapshotId::Union{ASCIIString, Void} - ResetSnapshotAttributeType(; snapshotId=nothing) = + ResetSnapshotAttributeType(; snapshotId=nothing) = new(snapshotId) end function ResetSnapshotAttributeType(pd::ETree) @@ -2199,10 +2199,10 @@ export ResetSnapshotAttributeType type ResetSnapshotAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ResetSnapshotAttributeResponseType(; requestId=nothing, _return=nothing) = + ResetSnapshotAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ResetSnapshotAttributeResponseType(pd::ETree) @@ -2216,9 +2216,9 @@ export ResetSnapshotAttributeResponseType type DescribeSnapshotAttributeType - snapshotId::Union(ASCIIString, Nothing) + snapshotId::Union{ASCIIString, Void} - DescribeSnapshotAttributeType(; snapshotId=nothing) = + DescribeSnapshotAttributeType(; snapshotId=nothing) = new(snapshotId) end function DescribeSnapshotAttributeType(pd::ETree) @@ -2231,10 +2231,10 @@ export DescribeSnapshotAttributeType type DescribeSnapshotAttributeResponseType - requestId::Union(ASCIIString, Nothing) - snapshotId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + snapshotId::Union{ASCIIString, Void} - DescribeSnapshotAttributeResponseType(; requestId=nothing, snapshotId=nothing) = + DescribeSnapshotAttributeResponseType(; requestId=nothing, snapshotId=nothing) = new(requestId, snapshotId) end function DescribeSnapshotAttributeResponseType(pd::ETree) @@ -2248,13 +2248,13 @@ export DescribeSnapshotAttributeResponseType type BundleInstanceS3StorageType - bucket::Union(ASCIIString, Nothing) - prefix::Union(ASCIIString, Nothing) - awsAccessKeyId::Union(ASCIIString, Nothing) - uploadPolicy::Union(ASCIIString, Nothing) - uploadPolicySignature::Union(ASCIIString, Nothing) + bucket::Union{ASCIIString, Void} + prefix::Union{ASCIIString, Void} + awsAccessKeyId::Union{ASCIIString, Void} + uploadPolicy::Union{ASCIIString, Void} + uploadPolicySignature::Union{ASCIIString, Void} - BundleInstanceS3StorageType(; bucket=nothing, prefix=nothing, awsAccessKeyId=nothing, uploadPolicy=nothing, uploadPolicySignature=nothing) = + BundleInstanceS3StorageType(; bucket=nothing, prefix=nothing, awsAccessKeyId=nothing, uploadPolicy=nothing, uploadPolicySignature=nothing) = new(bucket, prefix, awsAccessKeyId, uploadPolicy, uploadPolicySignature) end function BundleInstanceS3StorageType(pd::ETree) @@ -2271,10 +2271,10 @@ export BundleInstanceS3StorageType type BundleInstanceTaskErrorType - code::Union(ASCIIString, Nothing) - message::Union(ASCIIString, Nothing) + code::Union{ASCIIString, Void} + message::Union{ASCIIString, Void} - BundleInstanceTaskErrorType(; code=nothing, message=nothing) = + BundleInstanceTaskErrorType(; code=nothing, message=nothing) = new(code, message) end function BundleInstanceTaskErrorType(pd::ETree) @@ -2288,9 +2288,9 @@ export BundleInstanceTaskErrorType type DescribeBundleTasksItemType - bundleId::Union(ASCIIString, Nothing) + bundleId::Union{ASCIIString, Void} - DescribeBundleTasksItemType(; bundleId=nothing) = + DescribeBundleTasksItemType(; bundleId=nothing) = new(bundleId) end function DescribeBundleTasksItemType(pd::ETree) @@ -2303,9 +2303,9 @@ export DescribeBundleTasksItemType type CancelBundleTaskType - bundleId::Union(ASCIIString, Nothing) + bundleId::Union{ASCIIString, Void} - CancelBundleTaskType(; bundleId=nothing) = + CancelBundleTaskType(; bundleId=nothing) = new(bundleId) end function CancelBundleTaskType(pd::ETree) @@ -2318,13 +2318,13 @@ export CancelBundleTaskType type CopyImageType - sourceRegion::Union(ASCIIString, Nothing) - sourceImageId::Union(ASCIIString, Nothing) - name::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - clientToken::Union(ASCIIString, Nothing) + sourceRegion::Union{ASCIIString, Void} + sourceImageId::Union{ASCIIString, Void} + name::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + clientToken::Union{ASCIIString, Void} - CopyImageType(; sourceRegion=nothing, sourceImageId=nothing, name=nothing, description=nothing, clientToken=nothing) = + CopyImageType(; sourceRegion=nothing, sourceImageId=nothing, name=nothing, description=nothing, clientToken=nothing) = new(sourceRegion, sourceImageId, name, description, clientToken) end function CopyImageType(pd::ETree) @@ -2341,10 +2341,10 @@ export CopyImageType type CopyImageResponseType - requestId::Union(ASCIIString, Nothing) - imageId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + imageId::Union{ASCIIString, Void} - CopyImageResponseType(; requestId=nothing, imageId=nothing) = + CopyImageResponseType(; requestId=nothing, imageId=nothing) = new(requestId, imageId) end function CopyImageResponseType(pd::ETree) @@ -2358,9 +2358,9 @@ export CopyImageResponseType type DescribeRegionsSetItemType - regionName::Union(ASCIIString, Nothing) + regionName::Union{ASCIIString, Void} - DescribeRegionsSetItemType(; regionName=nothing) = + DescribeRegionsSetItemType(; regionName=nothing) = new(regionName) end function DescribeRegionsSetItemType(pd::ETree) @@ -2373,10 +2373,10 @@ export DescribeRegionsSetItemType type RegionItemType - regionName::Union(ASCIIString, Nothing) - regionEndpoint::Union(ASCIIString, Nothing) + regionName::Union{ASCIIString, Void} + regionEndpoint::Union{ASCIIString, Void} - RegionItemType(; regionName=nothing, regionEndpoint=nothing) = + RegionItemType(; regionName=nothing, regionEndpoint=nothing) = new(regionName, regionEndpoint) end function RegionItemType(pd::ETree) @@ -2390,9 +2390,9 @@ export RegionItemType type DescribeReservedInstancesOfferingsSetItemType - reservedInstancesOfferingId::Union(ASCIIString, Nothing) + reservedInstancesOfferingId::Union{ASCIIString, Void} - DescribeReservedInstancesOfferingsSetItemType(; reservedInstancesOfferingId=nothing) = + DescribeReservedInstancesOfferingsSetItemType(; reservedInstancesOfferingId=nothing) = new(reservedInstancesOfferingId) end function DescribeReservedInstancesOfferingsSetItemType(pd::ETree) @@ -2405,10 +2405,10 @@ export DescribeReservedInstancesOfferingsSetItemType type RecurringChargesSetItemType - frequency::Union(ASCIIString, Nothing) - amount::Union(Float64, Nothing) + frequency::Union{ASCIIString, Void} + amount::Union{Float64, Void} - RecurringChargesSetItemType(; frequency=nothing, amount=nothing) = + RecurringChargesSetItemType(; frequency=nothing, amount=nothing) = new(frequency, amount) end function RecurringChargesSetItemType(pd::ETree) @@ -2422,10 +2422,10 @@ export RecurringChargesSetItemType type PricingDetailsSetItemType - price::Union(Float64, Nothing) - count::Union(Int64, Nothing) + price::Union{Float64, Void} + count::Union{Int64, Void} - PricingDetailsSetItemType(; price=nothing, count=nothing) = + PricingDetailsSetItemType(; price=nothing, count=nothing) = new(price, count) end function PricingDetailsSetItemType(pd::ETree) @@ -2439,10 +2439,10 @@ export PricingDetailsSetItemType type ReservedInstanceLimitPriceType - amount::Union(Float64, Nothing) - currencyCode::Union(ASCIIString, Nothing) + amount::Union{Float64, Void} + currencyCode::Union{ASCIIString, Void} - ReservedInstanceLimitPriceType(; amount=nothing, currencyCode=nothing) = + ReservedInstanceLimitPriceType(; amount=nothing, currencyCode=nothing) = new(amount, currencyCode) end function ReservedInstanceLimitPriceType(pd::ETree) @@ -2456,10 +2456,10 @@ export ReservedInstanceLimitPriceType type PurchaseReservedInstancesOfferingResponseType - requestId::Union(ASCIIString, Nothing) - reservedInstancesId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + reservedInstancesId::Union{ASCIIString, Void} - PurchaseReservedInstancesOfferingResponseType(; requestId=nothing, reservedInstancesId=nothing) = + PurchaseReservedInstancesOfferingResponseType(; requestId=nothing, reservedInstancesId=nothing) = new(requestId, reservedInstancesId) end function PurchaseReservedInstancesOfferingResponseType(pd::ETree) @@ -2473,9 +2473,9 @@ export PurchaseReservedInstancesOfferingResponseType type DescribeReservedInstancesSetItemType - reservedInstancesId::Union(ASCIIString, Nothing) + reservedInstancesId::Union{ASCIIString, Void} - DescribeReservedInstancesSetItemType(; reservedInstancesId=nothing) = + DescribeReservedInstancesSetItemType(; reservedInstancesId=nothing) = new(reservedInstancesId) end function DescribeReservedInstancesSetItemType(pd::ETree) @@ -2488,11 +2488,11 @@ export DescribeReservedInstancesSetItemType type PriceScheduleRequestSetItemType - term::Union(Int64, Nothing) - price::Union(Float64, Nothing) - currencyCode::Union(ASCIIString, Nothing) + term::Union{Int64, Void} + price::Union{Float64, Void} + currencyCode::Union{ASCIIString, Void} - PriceScheduleRequestSetItemType(; term=nothing, price=nothing, currencyCode=nothing) = + PriceScheduleRequestSetItemType(; term=nothing, price=nothing, currencyCode=nothing) = new(term, price, currencyCode) end function PriceScheduleRequestSetItemType(pd::ETree) @@ -2507,9 +2507,9 @@ export PriceScheduleRequestSetItemType type CancelReservedInstancesListingType - reservedInstancesListingId::Union(ASCIIString, Nothing) + reservedInstancesListingId::Union{ASCIIString, Void} - CancelReservedInstancesListingType(; reservedInstancesListingId=nothing) = + CancelReservedInstancesListingType(; reservedInstancesListingId=nothing) = new(reservedInstancesListingId) end function CancelReservedInstancesListingType(pd::ETree) @@ -2522,9 +2522,9 @@ export CancelReservedInstancesListingType type DescribeReservedInstancesListingSetItemType - reservedInstancesListingId::Union(ASCIIString, Nothing) + reservedInstancesListingId::Union{ASCIIString, Void} - DescribeReservedInstancesListingSetItemType(; reservedInstancesListingId=nothing) = + DescribeReservedInstancesListingSetItemType(; reservedInstancesListingId=nothing) = new(reservedInstancesListingId) end function DescribeReservedInstancesListingSetItemType(pd::ETree) @@ -2537,10 +2537,10 @@ export DescribeReservedInstancesListingSetItemType type InstanceCountsSetItemType - state::Union(ASCIIString, Nothing) - instanceCount::Union(Int64, Nothing) + state::Union{ASCIIString, Void} + instanceCount::Union{Int64, Void} - InstanceCountsSetItemType(; state=nothing, instanceCount=nothing) = + InstanceCountsSetItemType(; state=nothing, instanceCount=nothing) = new(state, instanceCount) end function InstanceCountsSetItemType(pd::ETree) @@ -2554,12 +2554,12 @@ export InstanceCountsSetItemType type PriceScheduleSetItemType - term::Union(Int64, Nothing) - price::Union(Float64, Nothing) - currencyCode::Union(ASCIIString, Nothing) - active::Union(Bool, Nothing) + term::Union{Int64, Void} + price::Union{Float64, Void} + currencyCode::Union{ASCIIString, Void} + active::Union{Bool, Void} - PriceScheduleSetItemType(; term=nothing, price=nothing, currencyCode=nothing, active=nothing) = + PriceScheduleSetItemType(; term=nothing, price=nothing, currencyCode=nothing, active=nothing) = new(term, price, currencyCode, active) end function PriceScheduleSetItemType(pd::ETree) @@ -2575,9 +2575,9 @@ export PriceScheduleSetItemType type MonitorInstancesType - instancesSet::Union(Vector{ASCIIString}, Nothing) + instancesSet::Union{Vector{ASCIIString}, Void} - MonitorInstancesType(; instancesSet=nothing) = + MonitorInstancesType(; instancesSet=nothing) = new(instancesSet) end function MonitorInstancesType(pd::ETree) @@ -2590,9 +2590,9 @@ export MonitorInstancesType type MonitorInstancesSetItemType - instanceId::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} - MonitorInstancesSetItemType(; instanceId=nothing) = + MonitorInstancesSetItemType(; instanceId=nothing) = new(instanceId) end function MonitorInstancesSetItemType(pd::ETree) @@ -2605,9 +2605,9 @@ export MonitorInstancesSetItemType type InstanceMonitoringStateType - state::Union(ASCIIString, Nothing) + state::Union{ASCIIString, Void} - InstanceMonitoringStateType(; state=nothing) = + InstanceMonitoringStateType(; state=nothing) = new(state) end function InstanceMonitoringStateType(pd::ETree) @@ -2620,10 +2620,10 @@ export InstanceMonitoringStateType type AttachmentType - vpcId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} - AttachmentType(; vpcId=nothing, state=nothing) = + AttachmentType(; vpcId=nothing, state=nothing) = new(vpcId, state) end function AttachmentType(pd::ETree) @@ -2637,9 +2637,9 @@ export AttachmentType type VpnConnectionOptionsResponseType - staticRoutesOnly::Union(Bool, Nothing) + staticRoutesOnly::Union{Bool, Void} - VpnConnectionOptionsResponseType(; staticRoutesOnly=nothing) = + VpnConnectionOptionsResponseType(; staticRoutesOnly=nothing) = new(staticRoutesOnly) end function VpnConnectionOptionsResponseType(pd::ETree) @@ -2652,11 +2652,11 @@ export VpnConnectionOptionsResponseType type VpnStaticRouteType - destinationCidrBlock::Union(ASCIIString, Nothing) - source::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) + destinationCidrBlock::Union{ASCIIString, Void} + source::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} - VpnStaticRouteType(; destinationCidrBlock=nothing, source=nothing, state=nothing) = + VpnStaticRouteType(; destinationCidrBlock=nothing, source=nothing, state=nothing) = new(destinationCidrBlock, source, state) end function VpnStaticRouteType(pd::ETree) @@ -2671,13 +2671,13 @@ export VpnStaticRouteType type VpnTunnelTelemetryType - outsideIpAddress::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - lastStatusChange::Union(Base.Dates.DateTime, Nothing) - statusMessage::Union(ASCIIString, Nothing) - acceptedRouteCount::Union(Int64, Nothing) + outsideIpAddress::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + lastStatusChange::Union{Base.Dates.DateTime, Void} + statusMessage::Union{ASCIIString, Void} + acceptedRouteCount::Union{Int64, Void} - VpnTunnelTelemetryType(; outsideIpAddress=nothing, status=nothing, lastStatusChange=nothing, statusMessage=nothing, acceptedRouteCount=nothing) = + VpnTunnelTelemetryType(; outsideIpAddress=nothing, status=nothing, lastStatusChange=nothing, statusMessage=nothing, acceptedRouteCount=nothing) = new(outsideIpAddress, status, lastStatusChange, statusMessage, acceptedRouteCount) end function VpnTunnelTelemetryType(pd::ETree) @@ -2694,9 +2694,9 @@ export VpnTunnelTelemetryType type CustomerGatewayIdSetItemType - customerGatewayId::Union(ASCIIString, Nothing) + customerGatewayId::Union{ASCIIString, Void} - CustomerGatewayIdSetItemType(; customerGatewayId=nothing) = + CustomerGatewayIdSetItemType(; customerGatewayId=nothing) = new(customerGatewayId) end function CustomerGatewayIdSetItemType(pd::ETree) @@ -2709,9 +2709,9 @@ export CustomerGatewayIdSetItemType type VpnGatewayIdSetItemType - vpnGatewayId::Union(ASCIIString, Nothing) + vpnGatewayId::Union{ASCIIString, Void} - VpnGatewayIdSetItemType(; vpnGatewayId=nothing) = + VpnGatewayIdSetItemType(; vpnGatewayId=nothing) = new(vpnGatewayId) end function VpnGatewayIdSetItemType(pd::ETree) @@ -2724,9 +2724,9 @@ export VpnGatewayIdSetItemType type VpnConnectionIdSetItemType - vpnConnectionId::Union(ASCIIString, Nothing) + vpnConnectionId::Union{ASCIIString, Void} - VpnConnectionIdSetItemType(; vpnConnectionId=nothing) = + VpnConnectionIdSetItemType(; vpnConnectionId=nothing) = new(vpnConnectionId) end function VpnConnectionIdSetItemType(pd::ETree) @@ -2739,9 +2739,9 @@ export VpnConnectionIdSetItemType type VpcIdSetItemType - vpcId::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} - VpcIdSetItemType(; vpcId=nothing) = + VpcIdSetItemType(; vpcId=nothing) = new(vpcId) end function VpcIdSetItemType(pd::ETree) @@ -2754,9 +2754,9 @@ export VpcIdSetItemType type SubnetIdSetItemType - subnetId::Union(ASCIIString, Nothing) + subnetId::Union{ASCIIString, Void} - SubnetIdSetItemType(; subnetId=nothing) = + SubnetIdSetItemType(; subnetId=nothing) = new(subnetId) end function SubnetIdSetItemType(pd::ETree) @@ -2769,9 +2769,9 @@ export SubnetIdSetItemType type DhcpOptionsIdSetItemType - dhcpOptionsId::Union(ASCIIString, Nothing) + dhcpOptionsId::Union{ASCIIString, Void} - DhcpOptionsIdSetItemType(; dhcpOptionsId=nothing) = + DhcpOptionsIdSetItemType(; dhcpOptionsId=nothing) = new(dhcpOptionsId) end function DhcpOptionsIdSetItemType(pd::ETree) @@ -2784,10 +2784,10 @@ export DhcpOptionsIdSetItemType type DhcpConfigurationItemType - key::Union(ASCIIString, Nothing) - valueSet::Union(Vector{ASCIIString}, Nothing) + key::Union{ASCIIString, Void} + valueSet::Union{Vector{ASCIIString}, Void} - DhcpConfigurationItemType(; key=nothing, valueSet=nothing) = + DhcpConfigurationItemType(; key=nothing, valueSet=nothing) = new(key, valueSet) end function DhcpConfigurationItemType(pd::ETree) @@ -2801,9 +2801,9 @@ export DhcpConfigurationItemType type DhcpValueType - value::Union(ASCIIString, Nothing) + value::Union{ASCIIString, Void} - DhcpValueType(; value=nothing) = + DhcpValueType(; value=nothing) = new(value) end function DhcpValueType(pd::ETree) @@ -2816,10 +2816,10 @@ export DhcpValueType type FilterType - name::Union(ASCIIString, Nothing) - valueSet::Union(Vector{ASCIIString}, Nothing) + name::Union{ASCIIString, Void} + valueSet::Union{Vector{ASCIIString}, Void} - FilterType(; name=nothing, valueSet=nothing) = + FilterType(; name=nothing, valueSet=nothing) = new(name, valueSet) end function FilterType(pd::ETree) @@ -2833,9 +2833,9 @@ export FilterType type ValueType - value::Union(ASCIIString, Nothing) + value::Union{ASCIIString, Void} - ValueType(; value=nothing) = + ValueType(; value=nothing) = new(value) end function ValueType(pd::ETree) @@ -2848,11 +2848,11 @@ export ValueType type CreateCustomerGatewayType - _type::Union(ASCIIString, Nothing) - ipAddress::Union(ASCIIString, Nothing) - bgpAsn::Union(Int64, Nothing) + _type::Union{ASCIIString, Void} + ipAddress::Union{ASCIIString, Void} + bgpAsn::Union{Int64, Void} - CreateCustomerGatewayType(; _type=nothing, ipAddress=nothing, bgpAsn=nothing) = + CreateCustomerGatewayType(; _type=nothing, ipAddress=nothing, bgpAsn=nothing) = new(_type, ipAddress, bgpAsn) end function CreateCustomerGatewayType(pd::ETree) @@ -2867,9 +2867,9 @@ export CreateCustomerGatewayType type DeleteCustomerGatewayType - customerGatewayId::Union(ASCIIString, Nothing) + customerGatewayId::Union{ASCIIString, Void} - DeleteCustomerGatewayType(; customerGatewayId=nothing) = + DeleteCustomerGatewayType(; customerGatewayId=nothing) = new(customerGatewayId) end function DeleteCustomerGatewayType(pd::ETree) @@ -2882,10 +2882,10 @@ export DeleteCustomerGatewayType type DeleteCustomerGatewayResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteCustomerGatewayResponseType(; requestId=nothing, _return=nothing) = + DeleteCustomerGatewayResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteCustomerGatewayResponseType(pd::ETree) @@ -2899,10 +2899,10 @@ export DeleteCustomerGatewayResponseType type CreateVpnGatewayType - _type::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) + _type::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} - CreateVpnGatewayType(; _type=nothing, availabilityZone=nothing) = + CreateVpnGatewayType(; _type=nothing, availabilityZone=nothing) = new(_type, availabilityZone) end function CreateVpnGatewayType(pd::ETree) @@ -2916,9 +2916,9 @@ export CreateVpnGatewayType type DeleteVpnGatewayType - vpnGatewayId::Union(ASCIIString, Nothing) + vpnGatewayId::Union{ASCIIString, Void} - DeleteVpnGatewayType(; vpnGatewayId=nothing) = + DeleteVpnGatewayType(; vpnGatewayId=nothing) = new(vpnGatewayId) end function DeleteVpnGatewayType(pd::ETree) @@ -2931,10 +2931,10 @@ export DeleteVpnGatewayType type DeleteVpnGatewayResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteVpnGatewayResponseType(; requestId=nothing, _return=nothing) = + DeleteVpnGatewayResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteVpnGatewayResponseType(pd::ETree) @@ -2948,9 +2948,9 @@ export DeleteVpnGatewayResponseType type VpnConnectionOptionsRequestType - staticRoutesOnly::Union(Bool, Nothing) + staticRoutesOnly::Union{Bool, Void} - VpnConnectionOptionsRequestType(; staticRoutesOnly=nothing) = + VpnConnectionOptionsRequestType(; staticRoutesOnly=nothing) = new(staticRoutesOnly) end function VpnConnectionOptionsRequestType(pd::ETree) @@ -2963,10 +2963,10 @@ export VpnConnectionOptionsRequestType type CreateVpnConnectionRouteType - vpnConnectionId::Union(ASCIIString, Nothing) - destinationCidrBlock::Union(ASCIIString, Nothing) + vpnConnectionId::Union{ASCIIString, Void} + destinationCidrBlock::Union{ASCIIString, Void} - CreateVpnConnectionRouteType(; vpnConnectionId=nothing, destinationCidrBlock=nothing) = + CreateVpnConnectionRouteType(; vpnConnectionId=nothing, destinationCidrBlock=nothing) = new(vpnConnectionId, destinationCidrBlock) end function CreateVpnConnectionRouteType(pd::ETree) @@ -2980,10 +2980,10 @@ export CreateVpnConnectionRouteType type CreateVpnConnectionRouteResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - CreateVpnConnectionRouteResponseType(; requestId=nothing, _return=nothing) = + CreateVpnConnectionRouteResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function CreateVpnConnectionRouteResponseType(pd::ETree) @@ -2997,10 +2997,10 @@ export CreateVpnConnectionRouteResponseType type DeleteVpnConnectionRouteType - vpnConnectionId::Union(ASCIIString, Nothing) - destinationCidrBlock::Union(ASCIIString, Nothing) + vpnConnectionId::Union{ASCIIString, Void} + destinationCidrBlock::Union{ASCIIString, Void} - DeleteVpnConnectionRouteType(; vpnConnectionId=nothing, destinationCidrBlock=nothing) = + DeleteVpnConnectionRouteType(; vpnConnectionId=nothing, destinationCidrBlock=nothing) = new(vpnConnectionId, destinationCidrBlock) end function DeleteVpnConnectionRouteType(pd::ETree) @@ -3014,10 +3014,10 @@ export DeleteVpnConnectionRouteType type DeleteVpnConnectionRouteResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteVpnConnectionRouteResponseType(; requestId=nothing, _return=nothing) = + DeleteVpnConnectionRouteResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteVpnConnectionRouteResponseType(pd::ETree) @@ -3031,9 +3031,9 @@ export DeleteVpnConnectionRouteResponseType type DeleteVpnConnectionType - vpnConnectionId::Union(ASCIIString, Nothing) + vpnConnectionId::Union{ASCIIString, Void} - DeleteVpnConnectionType(; vpnConnectionId=nothing) = + DeleteVpnConnectionType(; vpnConnectionId=nothing) = new(vpnConnectionId) end function DeleteVpnConnectionType(pd::ETree) @@ -3046,10 +3046,10 @@ export DeleteVpnConnectionType type DeleteVpnConnectionResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteVpnConnectionResponseType(; requestId=nothing, _return=nothing) = + DeleteVpnConnectionResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteVpnConnectionResponseType(pd::ETree) @@ -3063,10 +3063,10 @@ export DeleteVpnConnectionResponseType type AttachVpnGatewayType - vpnGatewayId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) + vpnGatewayId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} - AttachVpnGatewayType(; vpnGatewayId=nothing, vpcId=nothing) = + AttachVpnGatewayType(; vpnGatewayId=nothing, vpcId=nothing) = new(vpnGatewayId, vpcId) end function AttachVpnGatewayType(pd::ETree) @@ -3080,10 +3080,10 @@ export AttachVpnGatewayType type DetachVpnGatewayType - vpnGatewayId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) + vpnGatewayId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} - DetachVpnGatewayType(; vpnGatewayId=nothing, vpcId=nothing) = + DetachVpnGatewayType(; vpnGatewayId=nothing, vpcId=nothing) = new(vpnGatewayId, vpcId) end function DetachVpnGatewayType(pd::ETree) @@ -3097,10 +3097,10 @@ export DetachVpnGatewayType type DetachVpnGatewayResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DetachVpnGatewayResponseType(; requestId=nothing, _return=nothing) = + DetachVpnGatewayResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DetachVpnGatewayResponseType(pd::ETree) @@ -3114,10 +3114,10 @@ export DetachVpnGatewayResponseType type CreateVpcType - cidrBlock::Union(ASCIIString, Nothing) - instanceTenancy::Union(ASCIIString, Nothing) + cidrBlock::Union{ASCIIString, Void} + instanceTenancy::Union{ASCIIString, Void} - CreateVpcType(; cidrBlock=nothing, instanceTenancy=nothing) = + CreateVpcType(; cidrBlock=nothing, instanceTenancy=nothing) = new(cidrBlock, instanceTenancy) end function CreateVpcType(pd::ETree) @@ -3131,9 +3131,9 @@ export CreateVpcType type DeleteVpcType - vpcId::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} - DeleteVpcType(; vpcId=nothing) = + DeleteVpcType(; vpcId=nothing) = new(vpcId) end function DeleteVpcType(pd::ETree) @@ -3146,10 +3146,10 @@ export DeleteVpcType type DeleteVpcResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteVpcResponseType(; requestId=nothing, _return=nothing) = + DeleteVpcResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteVpcResponseType(pd::ETree) @@ -3163,11 +3163,11 @@ export DeleteVpcResponseType type CreateSubnetType - vpcId::Union(ASCIIString, Nothing) - cidrBlock::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} + cidrBlock::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} - CreateSubnetType(; vpcId=nothing, cidrBlock=nothing, availabilityZone=nothing) = + CreateSubnetType(; vpcId=nothing, cidrBlock=nothing, availabilityZone=nothing) = new(vpcId, cidrBlock, availabilityZone) end function CreateSubnetType(pd::ETree) @@ -3182,9 +3182,9 @@ export CreateSubnetType type DeleteSubnetType - subnetId::Union(ASCIIString, Nothing) + subnetId::Union{ASCIIString, Void} - DeleteSubnetType(; subnetId=nothing) = + DeleteSubnetType(; subnetId=nothing) = new(subnetId) end function DeleteSubnetType(pd::ETree) @@ -3197,10 +3197,10 @@ export DeleteSubnetType type DeleteSubnetResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteSubnetResponseType(; requestId=nothing, _return=nothing) = + DeleteSubnetResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteSubnetResponseType(pd::ETree) @@ -3214,9 +3214,9 @@ export DeleteSubnetResponseType type DeleteDhcpOptionsType - dhcpOptionsId::Union(ASCIIString, Nothing) + dhcpOptionsId::Union{ASCIIString, Void} - DeleteDhcpOptionsType(; dhcpOptionsId=nothing) = + DeleteDhcpOptionsType(; dhcpOptionsId=nothing) = new(dhcpOptionsId) end function DeleteDhcpOptionsType(pd::ETree) @@ -3229,10 +3229,10 @@ export DeleteDhcpOptionsType type DeleteDhcpOptionsResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteDhcpOptionsResponseType(; requestId=nothing, _return=nothing) = + DeleteDhcpOptionsResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteDhcpOptionsResponseType(pd::ETree) @@ -3246,10 +3246,10 @@ export DeleteDhcpOptionsResponseType type AssociateDhcpOptionsType - dhcpOptionsId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) + dhcpOptionsId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} - AssociateDhcpOptionsType(; dhcpOptionsId=nothing, vpcId=nothing) = + AssociateDhcpOptionsType(; dhcpOptionsId=nothing, vpcId=nothing) = new(dhcpOptionsId, vpcId) end function AssociateDhcpOptionsType(pd::ETree) @@ -3263,10 +3263,10 @@ export AssociateDhcpOptionsType type AssociateDhcpOptionsResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - AssociateDhcpOptionsResponseType(; requestId=nothing, _return=nothing) = + AssociateDhcpOptionsResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function AssociateDhcpOptionsResponseType(pd::ETree) @@ -3280,10 +3280,10 @@ export AssociateDhcpOptionsResponseType type SpotInstanceStateFaultType - code::Union(ASCIIString, Nothing) - message::Union(ASCIIString, Nothing) + code::Union{ASCIIString, Void} + message::Union{ASCIIString, Void} - SpotInstanceStateFaultType(; code=nothing, message=nothing) = + SpotInstanceStateFaultType(; code=nothing, message=nothing) = new(code, message) end function SpotInstanceStateFaultType(pd::ETree) @@ -3297,11 +3297,11 @@ export SpotInstanceStateFaultType type SpotInstanceStatusMessageType - code::Union(ASCIIString, Nothing) - updateTime::Union(Base.Dates.DateTime, Nothing) - message::Union(ASCIIString, Nothing) + code::Union{ASCIIString, Void} + updateTime::Union{Base.Dates.DateTime, Void} + message::Union{ASCIIString, Void} - SpotInstanceStatusMessageType(; code=nothing, updateTime=nothing, message=nothing) = + SpotInstanceStatusMessageType(; code=nothing, updateTime=nothing, message=nothing) = new(code, updateTime, message) end function SpotInstanceStatusMessageType(pd::ETree) @@ -3316,9 +3316,9 @@ export SpotInstanceStatusMessageType type SpotInstanceRequestIdSetItemType - spotInstanceRequestId::Union(ASCIIString, Nothing) + spotInstanceRequestId::Union{ASCIIString, Void} - SpotInstanceRequestIdSetItemType(; spotInstanceRequestId=nothing) = + SpotInstanceRequestIdSetItemType(; spotInstanceRequestId=nothing) = new(spotInstanceRequestId) end function SpotInstanceRequestIdSetItemType(pd::ETree) @@ -3331,9 +3331,9 @@ export SpotInstanceRequestIdSetItemType type CancelSpotInstanceRequestsType - spotInstanceRequestIdSet::Union(Vector{ASCIIString}, Nothing) + spotInstanceRequestIdSet::Union{Vector{ASCIIString}, Void} - CancelSpotInstanceRequestsType(; spotInstanceRequestIdSet=nothing) = + CancelSpotInstanceRequestsType(; spotInstanceRequestIdSet=nothing) = new(spotInstanceRequestIdSet) end function CancelSpotInstanceRequestsType(pd::ETree) @@ -3346,10 +3346,10 @@ export CancelSpotInstanceRequestsType type CancelSpotInstanceRequestsResponseSetItemType - spotInstanceRequestId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) + spotInstanceRequestId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} - CancelSpotInstanceRequestsResponseSetItemType(; spotInstanceRequestId=nothing, state=nothing) = + CancelSpotInstanceRequestsResponseSetItemType(; spotInstanceRequestId=nothing, state=nothing) = new(spotInstanceRequestId, state) end function CancelSpotInstanceRequestsResponseSetItemType(pd::ETree) @@ -3363,9 +3363,9 @@ export CancelSpotInstanceRequestsResponseSetItemType type InstanceTypeSetItemType - instanceType::Union(ASCIIString, Nothing) + instanceType::Union{ASCIIString, Void} - InstanceTypeSetItemType(; instanceType=nothing) = + InstanceTypeSetItemType(; instanceType=nothing) = new(instanceType) end function InstanceTypeSetItemType(pd::ETree) @@ -3378,9 +3378,9 @@ export InstanceTypeSetItemType type ProductDescriptionSetItemType - productDescription::Union(ASCIIString, Nothing) + productDescription::Union{ASCIIString, Void} - ProductDescriptionSetItemType(; productDescription=nothing) = + ProductDescriptionSetItemType(; productDescription=nothing) = new(productDescription) end function ProductDescriptionSetItemType(pd::ETree) @@ -3393,13 +3393,13 @@ export ProductDescriptionSetItemType type SpotPriceHistorySetItemType - instanceType::Union(ASCIIString, Nothing) - productDescription::Union(ASCIIString, Nothing) - spotPrice::Union(ASCIIString, Nothing) - timestamp::Union(Base.Dates.DateTime, Nothing) - availabilityZone::Union(ASCIIString, Nothing) + instanceType::Union{ASCIIString, Void} + productDescription::Union{ASCIIString, Void} + spotPrice::Union{ASCIIString, Void} + timestamp::Union{Base.Dates.DateTime, Void} + availabilityZone::Union{ASCIIString, Void} - SpotPriceHistorySetItemType(; instanceType=nothing, productDescription=nothing, spotPrice=nothing, timestamp=nothing, availabilityZone=nothing) = + SpotPriceHistorySetItemType(; instanceType=nothing, productDescription=nothing, spotPrice=nothing, timestamp=nothing, availabilityZone=nothing) = new(instanceType, productDescription, spotPrice, timestamp, availabilityZone) end function SpotPriceHistorySetItemType(pd::ETree) @@ -3416,10 +3416,10 @@ export SpotPriceHistorySetItemType type CreateSpotDatafeedSubscriptionType - bucket::Union(ASCIIString, Nothing) - prefix::Union(ASCIIString, Nothing) + bucket::Union{ASCIIString, Void} + prefix::Union{ASCIIString, Void} - CreateSpotDatafeedSubscriptionType(; bucket=nothing, prefix=nothing) = + CreateSpotDatafeedSubscriptionType(; bucket=nothing, prefix=nothing) = new(bucket, prefix) end function CreateSpotDatafeedSubscriptionType(pd::ETree) @@ -3433,10 +3433,10 @@ export CreateSpotDatafeedSubscriptionType type DeleteSpotDatafeedSubscriptionResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteSpotDatafeedSubscriptionResponseType(; requestId=nothing, _return=nothing) = + DeleteSpotDatafeedSubscriptionResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteSpotDatafeedSubscriptionResponseType(pd::ETree) @@ -3450,9 +3450,9 @@ export DeleteSpotDatafeedSubscriptionResponseType type LicenseIdSetItemType - licenseId::Union(ASCIIString, Nothing) + licenseId::Union{ASCIIString, Void} - LicenseIdSetItemType(; licenseId=nothing) = + LicenseIdSetItemType(; licenseId=nothing) = new(licenseId) end function LicenseIdSetItemType(pd::ETree) @@ -3465,12 +3465,12 @@ export LicenseIdSetItemType type LicenseCapacitySetItemType - capacity::Union(Int64, Nothing) - instanceCapacity::Union(Int64, Nothing) - state::Union(ASCIIString, Nothing) - earliestAllowedDeactivationTime::Union(Base.Dates.DateTime, Nothing) + capacity::Union{Int64, Void} + instanceCapacity::Union{Int64, Void} + state::Union{ASCIIString, Void} + earliestAllowedDeactivationTime::Union{Base.Dates.DateTime, Void} - LicenseCapacitySetItemType(; capacity=nothing, instanceCapacity=nothing, state=nothing, earliestAllowedDeactivationTime=nothing) = + LicenseCapacitySetItemType(; capacity=nothing, instanceCapacity=nothing, state=nothing, earliestAllowedDeactivationTime=nothing) = new(capacity, instanceCapacity, state, earliestAllowedDeactivationTime) end function LicenseCapacitySetItemType(pd::ETree) @@ -3486,10 +3486,10 @@ export LicenseCapacitySetItemType type ActivateLicenseType - licenseId::Union(ASCIIString, Nothing) - capacity::Union(Int64, Nothing) + licenseId::Union{ASCIIString, Void} + capacity::Union{Int64, Void} - ActivateLicenseType(; licenseId=nothing, capacity=nothing) = + ActivateLicenseType(; licenseId=nothing, capacity=nothing) = new(licenseId, capacity) end function ActivateLicenseType(pd::ETree) @@ -3503,10 +3503,10 @@ export ActivateLicenseType type ActivateLicenseResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ActivateLicenseResponseType(; requestId=nothing, _return=nothing) = + ActivateLicenseResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ActivateLicenseResponseType(pd::ETree) @@ -3520,10 +3520,10 @@ export ActivateLicenseResponseType type DeactivateLicenseType - licenseId::Union(ASCIIString, Nothing) - capacity::Union(Int64, Nothing) + licenseId::Union{ASCIIString, Void} + capacity::Union{Int64, Void} - DeactivateLicenseType(; licenseId=nothing, capacity=nothing) = + DeactivateLicenseType(; licenseId=nothing, capacity=nothing) = new(licenseId, capacity) end function DeactivateLicenseType(pd::ETree) @@ -3537,10 +3537,10 @@ export DeactivateLicenseType type DeactivateLicenseResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeactivateLicenseResponseType(; requestId=nothing, _return=nothing) = + DeactivateLicenseResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeactivateLicenseResponseType(pd::ETree) @@ -3554,10 +3554,10 @@ export DeactivateLicenseResponseType type CreatePlacementGroupType - groupName::Union(ASCIIString, Nothing) - strategy::Union(ASCIIString, Nothing) + groupName::Union{ASCIIString, Void} + strategy::Union{ASCIIString, Void} - CreatePlacementGroupType(; groupName=nothing, strategy=nothing) = + CreatePlacementGroupType(; groupName=nothing, strategy=nothing) = new(groupName, strategy) end function CreatePlacementGroupType(pd::ETree) @@ -3571,10 +3571,10 @@ export CreatePlacementGroupType type CreatePlacementGroupResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - CreatePlacementGroupResponseType(; requestId=nothing, _return=nothing) = + CreatePlacementGroupResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function CreatePlacementGroupResponseType(pd::ETree) @@ -3588,9 +3588,9 @@ export CreatePlacementGroupResponseType type DeletePlacementGroupType - groupName::Union(ASCIIString, Nothing) + groupName::Union{ASCIIString, Void} - DeletePlacementGroupType(; groupName=nothing) = + DeletePlacementGroupType(; groupName=nothing) = new(groupName) end function DeletePlacementGroupType(pd::ETree) @@ -3603,10 +3603,10 @@ export DeletePlacementGroupType type DeletePlacementGroupResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeletePlacementGroupResponseType(; requestId=nothing, _return=nothing) = + DeletePlacementGroupResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeletePlacementGroupResponseType(pd::ETree) @@ -3620,9 +3620,9 @@ export DeletePlacementGroupResponseType type DescribePlacementGroupItemType - groupName::Union(ASCIIString, Nothing) + groupName::Union{ASCIIString, Void} - DescribePlacementGroupItemType(; groupName=nothing) = + DescribePlacementGroupItemType(; groupName=nothing) = new(groupName) end function DescribePlacementGroupItemType(pd::ETree) @@ -3635,11 +3635,11 @@ export DescribePlacementGroupItemType type PlacementGroupInfoType - groupName::Union(ASCIIString, Nothing) - strategy::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) + groupName::Union{ASCIIString, Void} + strategy::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} - PlacementGroupInfoType(; groupName=nothing, strategy=nothing, state=nothing) = + PlacementGroupInfoType(; groupName=nothing, strategy=nothing, state=nothing) = new(groupName, strategy, state) end function PlacementGroupInfoType(pd::ETree) @@ -3654,9 +3654,9 @@ export PlacementGroupInfoType type ResourceIdSetItemType - resourceId::Union(ASCIIString, Nothing) + resourceId::Union{ASCIIString, Void} - ResourceIdSetItemType(; resourceId=nothing) = + ResourceIdSetItemType(; resourceId=nothing) = new(resourceId) end function ResourceIdSetItemType(pd::ETree) @@ -3669,10 +3669,10 @@ export ResourceIdSetItemType type ResourceTagSetItemType - key::Union(ASCIIString, Nothing) - value::Union(ASCIIString, Nothing) + key::Union{ASCIIString, Void} + value::Union{ASCIIString, Void} - ResourceTagSetItemType(; key=nothing, value=nothing) = + ResourceTagSetItemType(; key=nothing, value=nothing) = new(key, value) end function ResourceTagSetItemType(pd::ETree) @@ -3686,10 +3686,10 @@ export ResourceTagSetItemType type CreateTagsResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - CreateTagsResponseType(; requestId=nothing, _return=nothing) = + CreateTagsResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function CreateTagsResponseType(pd::ETree) @@ -3703,12 +3703,12 @@ export CreateTagsResponseType type TagSetItemType - resourceId::Union(ASCIIString, Nothing) - resourceType::Union(ASCIIString, Nothing) - key::Union(ASCIIString, Nothing) - value::Union(ASCIIString, Nothing) + resourceId::Union{ASCIIString, Void} + resourceType::Union{ASCIIString, Void} + key::Union{ASCIIString, Void} + value::Union{ASCIIString, Void} - TagSetItemType(; resourceId=nothing, resourceType=nothing, key=nothing, value=nothing) = + TagSetItemType(; resourceId=nothing, resourceType=nothing, key=nothing, value=nothing) = new(resourceId, resourceType, key, value) end function TagSetItemType(pd::ETree) @@ -3724,10 +3724,10 @@ export TagSetItemType type DeleteTagsSetItemType - key::Union(ASCIIString, Nothing) - value::Union(ASCIIString, Nothing) + key::Union{ASCIIString, Void} + value::Union{ASCIIString, Void} - DeleteTagsSetItemType(; key=nothing, value=nothing) = + DeleteTagsSetItemType(; key=nothing, value=nothing) = new(key, value) end function DeleteTagsSetItemType(pd::ETree) @@ -3741,10 +3741,10 @@ export DeleteTagsSetItemType type DeleteTagsResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteTagsResponseType(; requestId=nothing, _return=nothing) = + DeleteTagsResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteTagsResponseType(pd::ETree) @@ -3758,11 +3758,11 @@ export DeleteTagsResponseType type DiskImageDetailType - format::Union(ASCIIString, Nothing) - bytes::Union(Int64, Nothing) - importManifestUrl::Union(ASCIIString, Nothing) + format::Union{ASCIIString, Void} + bytes::Union{Int64, Void} + importManifestUrl::Union{ASCIIString, Void} - DiskImageDetailType(; format=nothing, bytes=nothing, importManifestUrl=nothing) = + DiskImageDetailType(; format=nothing, bytes=nothing, importManifestUrl=nothing) = new(format, bytes, importManifestUrl) end function DiskImageDetailType(pd::ETree) @@ -3777,9 +3777,9 @@ export DiskImageDetailType type DiskImageVolumeType - size::Union(Int64, Nothing) + size::Union{Int64, Void} - DiskImageVolumeType(; size=nothing) = + DiskImageVolumeType(; size=nothing) = new(size) end function DiskImageVolumeType(pd::ETree) @@ -3792,10 +3792,10 @@ export DiskImageVolumeType type DiskImageVolumeDescriptionType - size::Union(Int64, Nothing) - id::Union(ASCIIString, Nothing) + size::Union{Int64, Void} + id::Union{ASCIIString, Void} - DiskImageVolumeDescriptionType(; size=nothing, id=nothing) = + DiskImageVolumeDescriptionType(; size=nothing, id=nothing) = new(size, id) end function DiskImageVolumeDescriptionType(pd::ETree) @@ -3809,12 +3809,12 @@ export DiskImageVolumeDescriptionType type DiskImageDescriptionType - format::Union(ASCIIString, Nothing) - size::Union(Int64, Nothing) - importManifestUrl::Union(ASCIIString, Nothing) - checksum::Union(ASCIIString, Nothing) + format::Union{ASCIIString, Void} + size::Union{Int64, Void} + importManifestUrl::Union{ASCIIString, Void} + checksum::Union{ASCIIString, Void} - DiskImageDescriptionType(; format=nothing, size=nothing, importManifestUrl=nothing, checksum=nothing) = + DiskImageDescriptionType(; format=nothing, size=nothing, importManifestUrl=nothing, checksum=nothing) = new(format, size, importManifestUrl, checksum) end function DiskImageDescriptionType(pd::ETree) @@ -3830,9 +3830,9 @@ export DiskImageDescriptionType type DescribeConversionTasksType - conversionTaskIdSet::Union(Vector{ASCIIString}, Nothing) + conversionTaskIdSet::Union{Vector{ASCIIString}, Void} - DescribeConversionTasksType(; conversionTaskIdSet=nothing) = + DescribeConversionTasksType(; conversionTaskIdSet=nothing) = new(conversionTaskIdSet) end function DescribeConversionTasksType(pd::ETree) @@ -3845,9 +3845,9 @@ export DescribeConversionTasksType type ConversionTaskIdItemType - conversionTaskId::Union(ASCIIString, Nothing) + conversionTaskId::Union{ASCIIString, Void} - ConversionTaskIdItemType(; conversionTaskId=nothing) = + ConversionTaskIdItemType(; conversionTaskId=nothing) = new(conversionTaskId) end function ConversionTaskIdItemType(pd::ETree) @@ -3860,9 +3860,9 @@ export ConversionTaskIdItemType type CancelConversionTaskType - conversionTaskId::Union(ASCIIString, Nothing) + conversionTaskId::Union{ASCIIString, Void} - CancelConversionTaskType(; conversionTaskId=nothing) = + CancelConversionTaskType(; conversionTaskId=nothing) = new(conversionTaskId) end function CancelConversionTaskType(pd::ETree) @@ -3875,10 +3875,10 @@ export CancelConversionTaskType type CancelConversionTaskResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - CancelConversionTaskResponseType(; requestId=nothing, _return=nothing) = + CancelConversionTaskResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function CancelConversionTaskResponseType(pd::ETree) @@ -3892,11 +3892,11 @@ export CancelConversionTaskResponseType type CreateInstanceExportTaskType - description::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - targetEnvironment::Union(ASCIIString, Nothing) + description::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + targetEnvironment::Union{ASCIIString, Void} - CreateInstanceExportTaskType(; description=nothing, instanceId=nothing, targetEnvironment=nothing) = + CreateInstanceExportTaskType(; description=nothing, instanceId=nothing, targetEnvironment=nothing) = new(description, instanceId, targetEnvironment) end function CreateInstanceExportTaskType(pd::ETree) @@ -3911,12 +3911,12 @@ export CreateInstanceExportTaskType type ExportToS3TaskType - diskImageFormat::Union(ASCIIString, Nothing) - containerFormat::Union(ASCIIString, Nothing) - s3Bucket::Union(ASCIIString, Nothing) - s3Prefix::Union(ASCIIString, Nothing) + diskImageFormat::Union{ASCIIString, Void} + containerFormat::Union{ASCIIString, Void} + s3Bucket::Union{ASCIIString, Void} + s3Prefix::Union{ASCIIString, Void} - ExportToS3TaskType(; diskImageFormat=nothing, containerFormat=nothing, s3Bucket=nothing, s3Prefix=nothing) = + ExportToS3TaskType(; diskImageFormat=nothing, containerFormat=nothing, s3Bucket=nothing, s3Prefix=nothing) = new(diskImageFormat, containerFormat, s3Bucket, s3Prefix) end function ExportToS3TaskType(pd::ETree) @@ -3932,9 +3932,9 @@ export ExportToS3TaskType type DescribeExportTasksType - exportTaskIdSet::Union(Vector{ASCIIString}, Nothing) + exportTaskIdSet::Union{Vector{ASCIIString}, Void} - DescribeExportTasksType(; exportTaskIdSet=nothing) = + DescribeExportTasksType(; exportTaskIdSet=nothing) = new(exportTaskIdSet) end function DescribeExportTasksType(pd::ETree) @@ -3947,9 +3947,9 @@ export DescribeExportTasksType type ExportTaskIdType - exportTaskId::Union(ASCIIString, Nothing) + exportTaskId::Union{ASCIIString, Void} - ExportTaskIdType(; exportTaskId=nothing) = + ExportTaskIdType(; exportTaskId=nothing) = new(exportTaskId) end function ExportTaskIdType(pd::ETree) @@ -3962,12 +3962,12 @@ export ExportTaskIdType type ExportTaskResponseType - exportTaskId::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - statusMessage::Union(ASCIIString, Nothing) + exportTaskId::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + statusMessage::Union{ASCIIString, Void} - ExportTaskResponseType(; exportTaskId=nothing, description=nothing, state=nothing, statusMessage=nothing) = + ExportTaskResponseType(; exportTaskId=nothing, description=nothing, state=nothing, statusMessage=nothing) = new(exportTaskId, description, state, statusMessage) end function ExportTaskResponseType(pd::ETree) @@ -3983,10 +3983,10 @@ export ExportTaskResponseType type InstanceExportTaskResponseType - instanceId::Union(ASCIIString, Nothing) - targetEnvironment::Union(ASCIIString, Nothing) + instanceId::Union{ASCIIString, Void} + targetEnvironment::Union{ASCIIString, Void} - InstanceExportTaskResponseType(; instanceId=nothing, targetEnvironment=nothing) = + InstanceExportTaskResponseType(; instanceId=nothing, targetEnvironment=nothing) = new(instanceId, targetEnvironment) end function InstanceExportTaskResponseType(pd::ETree) @@ -4000,12 +4000,12 @@ export InstanceExportTaskResponseType type ExportToS3TaskResponseType - diskImageFormat::Union(ASCIIString, Nothing) - containerFormat::Union(ASCIIString, Nothing) - s3Bucket::Union(ASCIIString, Nothing) - s3Key::Union(ASCIIString, Nothing) + diskImageFormat::Union{ASCIIString, Void} + containerFormat::Union{ASCIIString, Void} + s3Bucket::Union{ASCIIString, Void} + s3Key::Union{ASCIIString, Void} - ExportToS3TaskResponseType(; diskImageFormat=nothing, containerFormat=nothing, s3Bucket=nothing, s3Key=nothing) = + ExportToS3TaskResponseType(; diskImageFormat=nothing, containerFormat=nothing, s3Bucket=nothing, s3Key=nothing) = new(diskImageFormat, containerFormat, s3Bucket, s3Key) end function ExportToS3TaskResponseType(pd::ETree) @@ -4021,9 +4021,9 @@ export ExportToS3TaskResponseType type CancelExportTaskType - exportTaskId::Union(ASCIIString, Nothing) + exportTaskId::Union{ASCIIString, Void} - CancelExportTaskType(; exportTaskId=nothing) = + CancelExportTaskType(; exportTaskId=nothing) = new(exportTaskId) end function CancelExportTaskType(pd::ETree) @@ -4036,10 +4036,10 @@ export CancelExportTaskType type CancelExportTaskResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - CancelExportTaskResponseType(; requestId=nothing, _return=nothing) = + CancelExportTaskResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function CancelExportTaskResponseType(pd::ETree) @@ -4053,10 +4053,10 @@ export CancelExportTaskResponseType type InternetGatewayAttachmentType - vpcId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} - InternetGatewayAttachmentType(; vpcId=nothing, state=nothing) = + InternetGatewayAttachmentType(; vpcId=nothing, state=nothing) = new(vpcId, state) end function InternetGatewayAttachmentType(pd::ETree) @@ -4070,9 +4070,9 @@ export InternetGatewayAttachmentType type InternetGatewayIdSetItemType - internetGatewayId::Union(ASCIIString, Nothing) + internetGatewayId::Union{ASCIIString, Void} - InternetGatewayIdSetItemType(; internetGatewayId=nothing) = + InternetGatewayIdSetItemType(; internetGatewayId=nothing) = new(internetGatewayId) end function InternetGatewayIdSetItemType(pd::ETree) @@ -4085,9 +4085,9 @@ export InternetGatewayIdSetItemType type DeleteInternetGatewayType - internetGatewayId::Union(ASCIIString, Nothing) + internetGatewayId::Union{ASCIIString, Void} - DeleteInternetGatewayType(; internetGatewayId=nothing) = + DeleteInternetGatewayType(; internetGatewayId=nothing) = new(internetGatewayId) end function DeleteInternetGatewayType(pd::ETree) @@ -4100,10 +4100,10 @@ export DeleteInternetGatewayType type DeleteInternetGatewayResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteInternetGatewayResponseType(; requestId=nothing, _return=nothing) = + DeleteInternetGatewayResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteInternetGatewayResponseType(pd::ETree) @@ -4117,10 +4117,10 @@ export DeleteInternetGatewayResponseType type AttachInternetGatewayType - internetGatewayId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) + internetGatewayId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} - AttachInternetGatewayType(; internetGatewayId=nothing, vpcId=nothing) = + AttachInternetGatewayType(; internetGatewayId=nothing, vpcId=nothing) = new(internetGatewayId, vpcId) end function AttachInternetGatewayType(pd::ETree) @@ -4134,10 +4134,10 @@ export AttachInternetGatewayType type AttachInternetGatewayResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - AttachInternetGatewayResponseType(; requestId=nothing, _return=nothing) = + AttachInternetGatewayResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function AttachInternetGatewayResponseType(pd::ETree) @@ -4151,10 +4151,10 @@ export AttachInternetGatewayResponseType type DetachInternetGatewayType - internetGatewayId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) + internetGatewayId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} - DetachInternetGatewayType(; internetGatewayId=nothing, vpcId=nothing) = + DetachInternetGatewayType(; internetGatewayId=nothing, vpcId=nothing) = new(internetGatewayId, vpcId) end function DetachInternetGatewayType(pd::ETree) @@ -4168,10 +4168,10 @@ export DetachInternetGatewayType type DetachInternetGatewayResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DetachInternetGatewayResponseType(; requestId=nothing, _return=nothing) = + DetachInternetGatewayResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DetachInternetGatewayResponseType(pd::ETree) @@ -4185,9 +4185,9 @@ export DetachInternetGatewayResponseType type CreateRouteTableType - vpcId::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} - CreateRouteTableType(; vpcId=nothing) = + CreateRouteTableType(; vpcId=nothing) = new(vpcId) end function CreateRouteTableType(pd::ETree) @@ -4200,15 +4200,15 @@ export CreateRouteTableType type RouteType - destinationCidrBlock::Union(ASCIIString, Nothing) - gatewayId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - instanceOwnerId::Union(ASCIIString, Nothing) - networkInterfaceId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - origin::Union(ASCIIString, Nothing) - - RouteType(; destinationCidrBlock=nothing, gatewayId=nothing, instanceId=nothing, instanceOwnerId=nothing, networkInterfaceId=nothing, state=nothing, origin=nothing) = + destinationCidrBlock::Union{ASCIIString, Void} + gatewayId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + instanceOwnerId::Union{ASCIIString, Void} + networkInterfaceId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + origin::Union{ASCIIString, Void} + + RouteType(; destinationCidrBlock=nothing, gatewayId=nothing, instanceId=nothing, instanceOwnerId=nothing, networkInterfaceId=nothing, state=nothing, origin=nothing) = new(destinationCidrBlock, gatewayId, instanceId, instanceOwnerId, networkInterfaceId, state, origin) end function RouteType(pd::ETree) @@ -4227,10 +4227,10 @@ export RouteType type RouteTableAssociationType - routeTableAssociationId::Union(ASCIIString, Nothing) - routeTableId::Union(ASCIIString, Nothing) + routeTableAssociationId::Union{ASCIIString, Void} + routeTableId::Union{ASCIIString, Void} - RouteTableAssociationType(; routeTableAssociationId=nothing, routeTableId=nothing) = + RouteTableAssociationType(; routeTableAssociationId=nothing, routeTableId=nothing) = new(routeTableAssociationId, routeTableId) end function RouteTableAssociationType(pd::ETree) @@ -4244,9 +4244,9 @@ export RouteTableAssociationType type PropagatingVgwType - gatewayId::Union(ASCIIString, Nothing) + gatewayId::Union{ASCIIString, Void} - PropagatingVgwType(; gatewayId=nothing) = + PropagatingVgwType(; gatewayId=nothing) = new(gatewayId) end function PropagatingVgwType(pd::ETree) @@ -4259,9 +4259,9 @@ export PropagatingVgwType type RouteTableIdSetItemType - routeTableId::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} - RouteTableIdSetItemType(; routeTableId=nothing) = + RouteTableIdSetItemType(; routeTableId=nothing) = new(routeTableId) end function RouteTableIdSetItemType(pd::ETree) @@ -4274,10 +4274,10 @@ export RouteTableIdSetItemType type EnableVgwRoutePropagationRequestType - routeTableId::Union(ASCIIString, Nothing) - gatewayId::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} + gatewayId::Union{ASCIIString, Void} - EnableVgwRoutePropagationRequestType(; routeTableId=nothing, gatewayId=nothing) = + EnableVgwRoutePropagationRequestType(; routeTableId=nothing, gatewayId=nothing) = new(routeTableId, gatewayId) end function EnableVgwRoutePropagationRequestType(pd::ETree) @@ -4291,10 +4291,10 @@ export EnableVgwRoutePropagationRequestType type EnableVgwRoutePropagationResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - EnableVgwRoutePropagationResponseType(; requestId=nothing, _return=nothing) = + EnableVgwRoutePropagationResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function EnableVgwRoutePropagationResponseType(pd::ETree) @@ -4308,10 +4308,10 @@ export EnableVgwRoutePropagationResponseType type DisableVgwRoutePropagationRequestType - routeTableId::Union(ASCIIString, Nothing) - gatewayId::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} + gatewayId::Union{ASCIIString, Void} - DisableVgwRoutePropagationRequestType(; routeTableId=nothing, gatewayId=nothing) = + DisableVgwRoutePropagationRequestType(; routeTableId=nothing, gatewayId=nothing) = new(routeTableId, gatewayId) end function DisableVgwRoutePropagationRequestType(pd::ETree) @@ -4325,10 +4325,10 @@ export DisableVgwRoutePropagationRequestType type DisableVgwRoutePropagationResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DisableVgwRoutePropagationResponseType(; requestId=nothing, _return=nothing) = + DisableVgwRoutePropagationResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DisableVgwRoutePropagationResponseType(pd::ETree) @@ -4342,9 +4342,9 @@ export DisableVgwRoutePropagationResponseType type DeleteRouteTableType - routeTableId::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} - DeleteRouteTableType(; routeTableId=nothing) = + DeleteRouteTableType(; routeTableId=nothing) = new(routeTableId) end function DeleteRouteTableType(pd::ETree) @@ -4357,10 +4357,10 @@ export DeleteRouteTableType type DeleteRouteTableResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteRouteTableResponseType(; requestId=nothing, _return=nothing) = + DeleteRouteTableResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteRouteTableResponseType(pd::ETree) @@ -4374,10 +4374,10 @@ export DeleteRouteTableResponseType type AssociateRouteTableType - routeTableId::Union(ASCIIString, Nothing) - subnetId::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} + subnetId::Union{ASCIIString, Void} - AssociateRouteTableType(; routeTableId=nothing, subnetId=nothing) = + AssociateRouteTableType(; routeTableId=nothing, subnetId=nothing) = new(routeTableId, subnetId) end function AssociateRouteTableType(pd::ETree) @@ -4391,10 +4391,10 @@ export AssociateRouteTableType type AssociateRouteTableResponseType - requestId::Union(ASCIIString, Nothing) - associationId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + associationId::Union{ASCIIString, Void} - AssociateRouteTableResponseType(; requestId=nothing, associationId=nothing) = + AssociateRouteTableResponseType(; requestId=nothing, associationId=nothing) = new(requestId, associationId) end function AssociateRouteTableResponseType(pd::ETree) @@ -4408,10 +4408,10 @@ export AssociateRouteTableResponseType type ReplaceRouteTableAssociationType - associationId::Union(ASCIIString, Nothing) - routeTableId::Union(ASCIIString, Nothing) + associationId::Union{ASCIIString, Void} + routeTableId::Union{ASCIIString, Void} - ReplaceRouteTableAssociationType(; associationId=nothing, routeTableId=nothing) = + ReplaceRouteTableAssociationType(; associationId=nothing, routeTableId=nothing) = new(associationId, routeTableId) end function ReplaceRouteTableAssociationType(pd::ETree) @@ -4425,10 +4425,10 @@ export ReplaceRouteTableAssociationType type ReplaceRouteTableAssociationResponseType - requestId::Union(ASCIIString, Nothing) - newAssociationId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + newAssociationId::Union{ASCIIString, Void} - ReplaceRouteTableAssociationResponseType(; requestId=nothing, newAssociationId=nothing) = + ReplaceRouteTableAssociationResponseType(; requestId=nothing, newAssociationId=nothing) = new(requestId, newAssociationId) end function ReplaceRouteTableAssociationResponseType(pd::ETree) @@ -4442,9 +4442,9 @@ export ReplaceRouteTableAssociationResponseType type DisassociateRouteTableType - associationId::Union(ASCIIString, Nothing) + associationId::Union{ASCIIString, Void} - DisassociateRouteTableType(; associationId=nothing) = + DisassociateRouteTableType(; associationId=nothing) = new(associationId) end function DisassociateRouteTableType(pd::ETree) @@ -4457,10 +4457,10 @@ export DisassociateRouteTableType type DisassociateRouteTableResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DisassociateRouteTableResponseType(; requestId=nothing, _return=nothing) = + DisassociateRouteTableResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DisassociateRouteTableResponseType(pd::ETree) @@ -4474,10 +4474,10 @@ export DisassociateRouteTableResponseType type CreateRouteType - routeTableId::Union(ASCIIString, Nothing) - destinationCidrBlock::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} + destinationCidrBlock::Union{ASCIIString, Void} - CreateRouteType(; routeTableId=nothing, destinationCidrBlock=nothing) = + CreateRouteType(; routeTableId=nothing, destinationCidrBlock=nothing) = new(routeTableId, destinationCidrBlock) end function CreateRouteType(pd::ETree) @@ -4491,10 +4491,10 @@ export CreateRouteType type CreateRouteResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - CreateRouteResponseType(; requestId=nothing, _return=nothing) = + CreateRouteResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function CreateRouteResponseType(pd::ETree) @@ -4508,10 +4508,10 @@ export CreateRouteResponseType type ReplaceRouteType - routeTableId::Union(ASCIIString, Nothing) - destinationCidrBlock::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} + destinationCidrBlock::Union{ASCIIString, Void} - ReplaceRouteType(; routeTableId=nothing, destinationCidrBlock=nothing) = + ReplaceRouteType(; routeTableId=nothing, destinationCidrBlock=nothing) = new(routeTableId, destinationCidrBlock) end function ReplaceRouteType(pd::ETree) @@ -4525,10 +4525,10 @@ export ReplaceRouteType type ReplaceRouteResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ReplaceRouteResponseType(; requestId=nothing, _return=nothing) = + ReplaceRouteResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ReplaceRouteResponseType(pd::ETree) @@ -4542,10 +4542,10 @@ export ReplaceRouteResponseType type DeleteRouteType - routeTableId::Union(ASCIIString, Nothing) - destinationCidrBlock::Union(ASCIIString, Nothing) + routeTableId::Union{ASCIIString, Void} + destinationCidrBlock::Union{ASCIIString, Void} - DeleteRouteType(; routeTableId=nothing, destinationCidrBlock=nothing) = + DeleteRouteType(; routeTableId=nothing, destinationCidrBlock=nothing) = new(routeTableId, destinationCidrBlock) end function DeleteRouteType(pd::ETree) @@ -4559,10 +4559,10 @@ export DeleteRouteType type DeleteRouteResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteRouteResponseType(; requestId=nothing, _return=nothing) = + DeleteRouteResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteRouteResponseType(pd::ETree) @@ -4576,9 +4576,9 @@ export DeleteRouteResponseType type CreateNetworkAclType - vpcId::Union(ASCIIString, Nothing) + vpcId::Union{ASCIIString, Void} - CreateNetworkAclType(; vpcId=nothing) = + CreateNetworkAclType(; vpcId=nothing) = new(vpcId) end function CreateNetworkAclType(pd::ETree) @@ -4591,10 +4591,10 @@ export CreateNetworkAclType type IcmpTypeCodeType - code::Union(Int64, Nothing) - _type::Union(Int64, Nothing) + code::Union{Int64, Void} + _type::Union{Int64, Void} - IcmpTypeCodeType(; code=nothing, _type=nothing) = + IcmpTypeCodeType(; code=nothing, _type=nothing) = new(code, _type) end function IcmpTypeCodeType(pd::ETree) @@ -4608,10 +4608,10 @@ export IcmpTypeCodeType type PortRangeType - from::Union(Int64, Nothing) - to::Union(Int64, Nothing) + from::Union{Int64, Void} + to::Union{Int64, Void} - PortRangeType(; from=nothing, to=nothing) = + PortRangeType(; from=nothing, to=nothing) = new(from, to) end function PortRangeType(pd::ETree) @@ -4625,11 +4625,11 @@ export PortRangeType type NetworkAclAssociationType - networkAclAssociationId::Union(ASCIIString, Nothing) - networkAclId::Union(ASCIIString, Nothing) - subnetId::Union(ASCIIString, Nothing) + networkAclAssociationId::Union{ASCIIString, Void} + networkAclId::Union{ASCIIString, Void} + subnetId::Union{ASCIIString, Void} - NetworkAclAssociationType(; networkAclAssociationId=nothing, networkAclId=nothing, subnetId=nothing) = + NetworkAclAssociationType(; networkAclAssociationId=nothing, networkAclId=nothing, subnetId=nothing) = new(networkAclAssociationId, networkAclId, subnetId) end function NetworkAclAssociationType(pd::ETree) @@ -4644,9 +4644,9 @@ export NetworkAclAssociationType type NetworkAclIdSetItemType - networkAclId::Union(ASCIIString, Nothing) + networkAclId::Union{ASCIIString, Void} - NetworkAclIdSetItemType(; networkAclId=nothing) = + NetworkAclIdSetItemType(; networkAclId=nothing) = new(networkAclId) end function NetworkAclIdSetItemType(pd::ETree) @@ -4659,9 +4659,9 @@ export NetworkAclIdSetItemType type DeleteNetworkAclType - networkAclId::Union(ASCIIString, Nothing) + networkAclId::Union{ASCIIString, Void} - DeleteNetworkAclType(; networkAclId=nothing) = + DeleteNetworkAclType(; networkAclId=nothing) = new(networkAclId) end function DeleteNetworkAclType(pd::ETree) @@ -4674,10 +4674,10 @@ export DeleteNetworkAclType type DeleteNetworkAclResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteNetworkAclResponseType(; requestId=nothing, _return=nothing) = + DeleteNetworkAclResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteNetworkAclResponseType(pd::ETree) @@ -4691,10 +4691,10 @@ export DeleteNetworkAclResponseType type ReplaceNetworkAclAssociationType - associationId::Union(ASCIIString, Nothing) - networkAclId::Union(ASCIIString, Nothing) + associationId::Union{ASCIIString, Void} + networkAclId::Union{ASCIIString, Void} - ReplaceNetworkAclAssociationType(; associationId=nothing, networkAclId=nothing) = + ReplaceNetworkAclAssociationType(; associationId=nothing, networkAclId=nothing) = new(associationId, networkAclId) end function ReplaceNetworkAclAssociationType(pd::ETree) @@ -4708,10 +4708,10 @@ export ReplaceNetworkAclAssociationType type ReplaceNetworkAclAssociationResponseType - requestId::Union(ASCIIString, Nothing) - newAssociationId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + newAssociationId::Union{ASCIIString, Void} - ReplaceNetworkAclAssociationResponseType(; requestId=nothing, newAssociationId=nothing) = + ReplaceNetworkAclAssociationResponseType(; requestId=nothing, newAssociationId=nothing) = new(requestId, newAssociationId) end function ReplaceNetworkAclAssociationResponseType(pd::ETree) @@ -4725,10 +4725,10 @@ export ReplaceNetworkAclAssociationResponseType type CreateNetworkAclEntryResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - CreateNetworkAclEntryResponseType(; requestId=nothing, _return=nothing) = + CreateNetworkAclEntryResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function CreateNetworkAclEntryResponseType(pd::ETree) @@ -4742,10 +4742,10 @@ export CreateNetworkAclEntryResponseType type ReplaceNetworkAclEntryResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ReplaceNetworkAclEntryResponseType(; requestId=nothing, _return=nothing) = + ReplaceNetworkAclEntryResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ReplaceNetworkAclEntryResponseType(pd::ETree) @@ -4759,11 +4759,11 @@ export ReplaceNetworkAclEntryResponseType type DeleteNetworkAclEntryType - networkAclId::Union(ASCIIString, Nothing) - ruleNumber::Union(Int64, Nothing) - egress::Union(Bool, Nothing) + networkAclId::Union{ASCIIString, Void} + ruleNumber::Union{Int64, Void} + egress::Union{Bool, Void} - DeleteNetworkAclEntryType(; networkAclId=nothing, ruleNumber=nothing, egress=nothing) = + DeleteNetworkAclEntryType(; networkAclId=nothing, ruleNumber=nothing, egress=nothing) = new(networkAclId, ruleNumber, egress) end function DeleteNetworkAclEntryType(pd::ETree) @@ -4778,10 +4778,10 @@ export DeleteNetworkAclEntryType type DeleteNetworkAclEntryResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteNetworkAclEntryResponseType(; requestId=nothing, _return=nothing) = + DeleteNetworkAclEntryResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteNetworkAclEntryResponseType(pd::ETree) @@ -4795,11 +4795,11 @@ export DeleteNetworkAclEntryResponseType type InstanceStatusDetailsSetItemType - name::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - impairedSince::Union(Base.Dates.DateTime, Nothing) + name::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + impairedSince::Union{Base.Dates.DateTime, Void} - InstanceStatusDetailsSetItemType(; name=nothing, status=nothing, impairedSince=nothing) = + InstanceStatusDetailsSetItemType(; name=nothing, status=nothing, impairedSince=nothing) = new(name, status, impairedSince) end function InstanceStatusDetailsSetItemType(pd::ETree) @@ -4814,12 +4814,12 @@ export InstanceStatusDetailsSetItemType type InstanceStatusEventType - code::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - notBefore::Union(Base.Dates.DateTime, Nothing) - notAfter::Union(Base.Dates.DateTime, Nothing) + code::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + notBefore::Union{Base.Dates.DateTime, Void} + notAfter::Union{Base.Dates.DateTime, Void} - InstanceStatusEventType(; code=nothing, description=nothing, notBefore=nothing, notAfter=nothing) = + InstanceStatusEventType(; code=nothing, description=nothing, notBefore=nothing, notAfter=nothing) = new(code, description, notBefore, notAfter) end function InstanceStatusEventType(pd::ETree) @@ -4835,14 +4835,14 @@ export InstanceStatusEventType type ReportInstanceStatusType - instancesSet::Union(Vector{ASCIIString}, Nothing) - status::Union(ASCIIString, Nothing) - startTime::Union(Base.Dates.DateTime, Nothing) - endTime::Union(Base.Dates.DateTime, Nothing) - reasonCodesSet::Union(Vector{ASCIIString}, Nothing) - description::Union(ASCIIString, Nothing) - - ReportInstanceStatusType(; instancesSet=nothing, status=nothing, startTime=nothing, endTime=nothing, reasonCodesSet=nothing, description=nothing) = + instancesSet::Union{Vector{ASCIIString}, Void} + status::Union{ASCIIString, Void} + startTime::Union{Base.Dates.DateTime, Void} + endTime::Union{Base.Dates.DateTime, Void} + reasonCodesSet::Union{Vector{ASCIIString}, Void} + description::Union{ASCIIString, Void} + + ReportInstanceStatusType(; instancesSet=nothing, status=nothing, startTime=nothing, endTime=nothing, reasonCodesSet=nothing, description=nothing) = new(instancesSet, status, startTime, endTime, reasonCodesSet, description) end function ReportInstanceStatusType(pd::ETree) @@ -4860,9 +4860,9 @@ export ReportInstanceStatusType type ReportInstanceStatusReasonCodeSetItemType - reasonCode::Union(ASCIIString, Nothing) + reasonCode::Union{ASCIIString, Void} - ReportInstanceStatusReasonCodeSetItemType(; reasonCode=nothing) = + ReportInstanceStatusReasonCodeSetItemType(; reasonCode=nothing) = new(reasonCode) end function ReportInstanceStatusReasonCodeSetItemType(pd::ETree) @@ -4875,10 +4875,10 @@ export ReportInstanceStatusReasonCodeSetItemType type ReportInstanceStatusResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ReportInstanceStatusResponseType(; requestId=nothing, _return=nothing) = + ReportInstanceStatusResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ReportInstanceStatusResponseType(pd::ETree) @@ -4892,9 +4892,9 @@ export ReportInstanceStatusResponseType type NetworkInterfaceIdSetItemType - networkInterfaceId::Union(ASCIIString, Nothing) + networkInterfaceId::Union{ASCIIString, Void} - NetworkInterfaceIdSetItemType(; networkInterfaceId=nothing) = + NetworkInterfaceIdSetItemType(; networkInterfaceId=nothing) = new(networkInterfaceId) end function NetworkInterfaceIdSetItemType(pd::ETree) @@ -4907,15 +4907,15 @@ export NetworkInterfaceIdSetItemType type NetworkInterfaceAttachmentType - attachmentId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - instanceOwnerId::Union(ASCIIString, Nothing) - deviceIndex::Union(Int64, Nothing) - status::Union(ASCIIString, Nothing) - attachTime::Union(Base.Dates.DateTime, Nothing) - deleteOnTermination::Union(Bool, Nothing) - - NetworkInterfaceAttachmentType(; attachmentId=nothing, instanceId=nothing, instanceOwnerId=nothing, deviceIndex=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = + attachmentId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + instanceOwnerId::Union{ASCIIString, Void} + deviceIndex::Union{Int64, Void} + status::Union{ASCIIString, Void} + attachTime::Union{Base.Dates.DateTime, Void} + deleteOnTermination::Union{Bool, Void} + + NetworkInterfaceAttachmentType(; attachmentId=nothing, instanceId=nothing, instanceOwnerId=nothing, deviceIndex=nothing, status=nothing, attachTime=nothing, deleteOnTermination=nothing) = new(attachmentId, instanceId, instanceOwnerId, deviceIndex, status, attachTime, deleteOnTermination) end function NetworkInterfaceAttachmentType(pd::ETree) @@ -4934,13 +4934,13 @@ export NetworkInterfaceAttachmentType type NetworkInterfaceAssociationType - publicIp::Union(ASCIIString, Nothing) - publicDnsName::Union(ASCIIString, Nothing) - ipOwnerId::Union(ASCIIString, Nothing) - allocationId::Union(ASCIIString, Nothing) - associationId::Union(ASCIIString, Nothing) + publicIp::Union{ASCIIString, Void} + publicDnsName::Union{ASCIIString, Void} + ipOwnerId::Union{ASCIIString, Void} + allocationId::Union{ASCIIString, Void} + associationId::Union{ASCIIString, Void} - NetworkInterfaceAssociationType(; publicIp=nothing, publicDnsName=nothing, ipOwnerId=nothing, allocationId=nothing, associationId=nothing) = + NetworkInterfaceAssociationType(; publicIp=nothing, publicDnsName=nothing, ipOwnerId=nothing, allocationId=nothing, associationId=nothing) = new(publicIp, publicDnsName, ipOwnerId, allocationId, associationId) end function NetworkInterfaceAssociationType(pd::ETree) @@ -4957,9 +4957,9 @@ export NetworkInterfaceAssociationType type DeleteNetworkInterfaceType - networkInterfaceId::Union(ASCIIString, Nothing) + networkInterfaceId::Union{ASCIIString, Void} - DeleteNetworkInterfaceType(; networkInterfaceId=nothing) = + DeleteNetworkInterfaceType(; networkInterfaceId=nothing) = new(networkInterfaceId) end function DeleteNetworkInterfaceType(pd::ETree) @@ -4972,10 +4972,10 @@ export DeleteNetworkInterfaceType type DeleteNetworkInterfaceResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DeleteNetworkInterfaceResponseType(; requestId=nothing, _return=nothing) = + DeleteNetworkInterfaceResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DeleteNetworkInterfaceResponseType(pd::ETree) @@ -4989,11 +4989,11 @@ export DeleteNetworkInterfaceResponseType type AttachNetworkInterfaceType - networkInterfaceId::Union(ASCIIString, Nothing) - instanceId::Union(ASCIIString, Nothing) - deviceIndex::Union(Int64, Nothing) + networkInterfaceId::Union{ASCIIString, Void} + instanceId::Union{ASCIIString, Void} + deviceIndex::Union{Int64, Void} - AttachNetworkInterfaceType(; networkInterfaceId=nothing, instanceId=nothing, deviceIndex=nothing) = + AttachNetworkInterfaceType(; networkInterfaceId=nothing, instanceId=nothing, deviceIndex=nothing) = new(networkInterfaceId, instanceId, deviceIndex) end function AttachNetworkInterfaceType(pd::ETree) @@ -5008,10 +5008,10 @@ export AttachNetworkInterfaceType type AttachNetworkInterfaceResponseType - requestId::Union(ASCIIString, Nothing) - attachmentId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + attachmentId::Union{ASCIIString, Void} - AttachNetworkInterfaceResponseType(; requestId=nothing, attachmentId=nothing) = + AttachNetworkInterfaceResponseType(; requestId=nothing, attachmentId=nothing) = new(requestId, attachmentId) end function AttachNetworkInterfaceResponseType(pd::ETree) @@ -5025,10 +5025,10 @@ export AttachNetworkInterfaceResponseType type DetachNetworkInterfaceType - attachmentId::Union(ASCIIString, Nothing) - force::Union(Bool, Nothing) + attachmentId::Union{ASCIIString, Void} + force::Union{Bool, Void} - DetachNetworkInterfaceType(; attachmentId=nothing, force=nothing) = + DetachNetworkInterfaceType(; attachmentId=nothing, force=nothing) = new(attachmentId, force) end function DetachNetworkInterfaceType(pd::ETree) @@ -5042,10 +5042,10 @@ export DetachNetworkInterfaceType type DetachNetworkInterfaceResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - DetachNetworkInterfaceResponseType(; requestId=nothing, _return=nothing) = + DetachNetworkInterfaceResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function DetachNetworkInterfaceResponseType(pd::ETree) @@ -5059,9 +5059,9 @@ export DetachNetworkInterfaceResponseType type DescribeNetworkInterfaceAttributeType - networkInterfaceId::Union(ASCIIString, Nothing) + networkInterfaceId::Union{ASCIIString, Void} - DescribeNetworkInterfaceAttributeType(; networkInterfaceId=nothing) = + DescribeNetworkInterfaceAttributeType(; networkInterfaceId=nothing) = new(networkInterfaceId) end function DescribeNetworkInterfaceAttributeType(pd::ETree) @@ -5074,10 +5074,10 @@ export DescribeNetworkInterfaceAttributeType type DescribeNetworkInterfaceAttributeResponseType - requestId::Union(ASCIIString, Nothing) - networkInterfaceId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + networkInterfaceId::Union{ASCIIString, Void} - DescribeNetworkInterfaceAttributeResponseType(; requestId=nothing, networkInterfaceId=nothing) = + DescribeNetworkInterfaceAttributeResponseType(; requestId=nothing, networkInterfaceId=nothing) = new(requestId, networkInterfaceId) end function DescribeNetworkInterfaceAttributeResponseType(pd::ETree) @@ -5091,9 +5091,9 @@ export DescribeNetworkInterfaceAttributeResponseType type ModifyNetworkInterfaceAttributeType - networkInterfaceId::Union(ASCIIString, Nothing) + networkInterfaceId::Union{ASCIIString, Void} - ModifyNetworkInterfaceAttributeType(; networkInterfaceId=nothing) = + ModifyNetworkInterfaceAttributeType(; networkInterfaceId=nothing) = new(networkInterfaceId) end function ModifyNetworkInterfaceAttributeType(pd::ETree) @@ -5106,10 +5106,10 @@ export ModifyNetworkInterfaceAttributeType type ModifyNetworkInterfaceAttachmentType - attachmentId::Union(ASCIIString, Nothing) - deleteOnTermination::Union(Bool, Nothing) + attachmentId::Union{ASCIIString, Void} + deleteOnTermination::Union{Bool, Void} - ModifyNetworkInterfaceAttachmentType(; attachmentId=nothing, deleteOnTermination=nothing) = + ModifyNetworkInterfaceAttachmentType(; attachmentId=nothing, deleteOnTermination=nothing) = new(attachmentId, deleteOnTermination) end function ModifyNetworkInterfaceAttachmentType(pd::ETree) @@ -5123,10 +5123,10 @@ export ModifyNetworkInterfaceAttachmentType type ModifyNetworkInterfaceAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ModifyNetworkInterfaceAttributeResponseType(; requestId=nothing, _return=nothing) = + ModifyNetworkInterfaceAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ModifyNetworkInterfaceAttributeResponseType(pd::ETree) @@ -5140,9 +5140,9 @@ export ModifyNetworkInterfaceAttributeResponseType type ResetNetworkInterfaceAttributeType - networkInterfaceId::Union(ASCIIString, Nothing) + networkInterfaceId::Union{ASCIIString, Void} - ResetNetworkInterfaceAttributeType(; networkInterfaceId=nothing) = + ResetNetworkInterfaceAttributeType(; networkInterfaceId=nothing) = new(networkInterfaceId) end function ResetNetworkInterfaceAttributeType(pd::ETree) @@ -5155,10 +5155,10 @@ export ResetNetworkInterfaceAttributeType type ResetNetworkInterfaceAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ResetNetworkInterfaceAttributeResponseType(; requestId=nothing, _return=nothing) = + ResetNetworkInterfaceAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ResetNetworkInterfaceAttributeResponseType(pd::ETree) @@ -5172,12 +5172,12 @@ export ResetNetworkInterfaceAttributeResponseType type AssignPrivateIpAddressesType - networkInterfaceId::Union(ASCIIString, Nothing) - privateIpAddressesSet::Union(Vector{ASCIIString}, Nothing) - secondaryPrivateIpAddressCount::Union(Int64, Nothing) - allowReassignment::Union(Bool, Nothing) + networkInterfaceId::Union{ASCIIString, Void} + privateIpAddressesSet::Union{Vector{ASCIIString}, Void} + secondaryPrivateIpAddressCount::Union{Int64, Void} + allowReassignment::Union{Bool, Void} - AssignPrivateIpAddressesType(; networkInterfaceId=nothing, privateIpAddressesSet=nothing, secondaryPrivateIpAddressCount=nothing, allowReassignment=nothing) = + AssignPrivateIpAddressesType(; networkInterfaceId=nothing, privateIpAddressesSet=nothing, secondaryPrivateIpAddressCount=nothing, allowReassignment=nothing) = new(networkInterfaceId, privateIpAddressesSet, secondaryPrivateIpAddressCount, allowReassignment) end function AssignPrivateIpAddressesType(pd::ETree) @@ -5193,10 +5193,10 @@ export AssignPrivateIpAddressesType type AssignPrivateIpAddressesResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - AssignPrivateIpAddressesResponseType(; requestId=nothing, _return=nothing) = + AssignPrivateIpAddressesResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function AssignPrivateIpAddressesResponseType(pd::ETree) @@ -5210,10 +5210,10 @@ export AssignPrivateIpAddressesResponseType type UnassignPrivateIpAddressesType - networkInterfaceId::Union(ASCIIString, Nothing) - privateIpAddressesSet::Union(Vector{ASCIIString}, Nothing) + networkInterfaceId::Union{ASCIIString, Void} + privateIpAddressesSet::Union{Vector{ASCIIString}, Void} - UnassignPrivateIpAddressesType(; networkInterfaceId=nothing, privateIpAddressesSet=nothing) = + UnassignPrivateIpAddressesType(; networkInterfaceId=nothing, privateIpAddressesSet=nothing) = new(networkInterfaceId, privateIpAddressesSet) end function UnassignPrivateIpAddressesType(pd::ETree) @@ -5227,10 +5227,10 @@ export UnassignPrivateIpAddressesType type UnassignPrivateIpAddressesResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - UnassignPrivateIpAddressesResponseType(; requestId=nothing, _return=nothing) = + UnassignPrivateIpAddressesResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function UnassignPrivateIpAddressesResponseType(pd::ETree) @@ -5244,9 +5244,9 @@ export UnassignPrivateIpAddressesResponseType type AssignPrivateIpAddressesSetItemRequestType - privateIpAddress::Union(ASCIIString, Nothing) + privateIpAddress::Union{ASCIIString, Void} - AssignPrivateIpAddressesSetItemRequestType(; privateIpAddress=nothing) = + AssignPrivateIpAddressesSetItemRequestType(; privateIpAddress=nothing) = new(privateIpAddress) end function AssignPrivateIpAddressesSetItemRequestType(pd::ETree) @@ -5259,10 +5259,10 @@ export AssignPrivateIpAddressesSetItemRequestType type VolumeStatusDetailsItemType - name::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) + name::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} - VolumeStatusDetailsItemType(; name=nothing, status=nothing) = + VolumeStatusDetailsItemType(; name=nothing, status=nothing) = new(name, status) end function VolumeStatusDetailsItemType(pd::ETree) @@ -5276,13 +5276,13 @@ export VolumeStatusDetailsItemType type VolumeStatusEventItemType - description::Union(ASCIIString, Nothing) - notBefore::Union(Base.Dates.DateTime, Nothing) - notAfter::Union(Base.Dates.DateTime, Nothing) - eventId::Union(ASCIIString, Nothing) - eventType::Union(ASCIIString, Nothing) + description::Union{ASCIIString, Void} + notBefore::Union{Base.Dates.DateTime, Void} + notAfter::Union{Base.Dates.DateTime, Void} + eventId::Union{ASCIIString, Void} + eventType::Union{ASCIIString, Void} - VolumeStatusEventItemType(; description=nothing, notBefore=nothing, notAfter=nothing, eventId=nothing, eventType=nothing) = + VolumeStatusEventItemType(; description=nothing, notBefore=nothing, notAfter=nothing, eventId=nothing, eventType=nothing) = new(description, notBefore, notAfter, eventId, eventType) end function VolumeStatusEventItemType(pd::ETree) @@ -5299,12 +5299,12 @@ export VolumeStatusEventItemType type VolumeStatusActionItemType - description::Union(ASCIIString, Nothing) - code::Union(ASCIIString, Nothing) - eventId::Union(ASCIIString, Nothing) - eventType::Union(ASCIIString, Nothing) + description::Union{ASCIIString, Void} + code::Union{ASCIIString, Void} + eventId::Union{ASCIIString, Void} + eventType::Union{ASCIIString, Void} - VolumeStatusActionItemType(; description=nothing, code=nothing, eventId=nothing, eventType=nothing) = + VolumeStatusActionItemType(; description=nothing, code=nothing, eventId=nothing, eventType=nothing) = new(description, code, eventId, eventType) end function VolumeStatusActionItemType(pd::ETree) @@ -5320,9 +5320,9 @@ export VolumeStatusActionItemType type EnableVolumeIOType - volumeId::Union(ASCIIString, Nothing) + volumeId::Union{ASCIIString, Void} - EnableVolumeIOType(; volumeId=nothing) = + EnableVolumeIOType(; volumeId=nothing) = new(volumeId) end function EnableVolumeIOType(pd::ETree) @@ -5335,10 +5335,10 @@ export EnableVolumeIOType type EnableVolumeIOResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - EnableVolumeIOResponseType(; requestId=nothing, _return=nothing) = + EnableVolumeIOResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function EnableVolumeIOResponseType(pd::ETree) @@ -5352,9 +5352,9 @@ export EnableVolumeIOResponseType type ModifyVolumeAttributeType - volumeId::Union(ASCIIString, Nothing) + volumeId::Union{ASCIIString, Void} - ModifyVolumeAttributeType(; volumeId=nothing) = + ModifyVolumeAttributeType(; volumeId=nothing) = new(volumeId) end function ModifyVolumeAttributeType(pd::ETree) @@ -5367,10 +5367,10 @@ export ModifyVolumeAttributeType type ModifyVolumeAttributeResponseType - requestId::Union(ASCIIString, Nothing) - _return::Union(Bool, Nothing) + requestId::Union{ASCIIString, Void} + _return::Union{Bool, Void} - ModifyVolumeAttributeResponseType(; requestId=nothing, _return=nothing) = + ModifyVolumeAttributeResponseType(; requestId=nothing, _return=nothing) = new(requestId, _return) end function ModifyVolumeAttributeResponseType(pd::ETree) @@ -5384,9 +5384,9 @@ export ModifyVolumeAttributeResponseType type DescribeVolumeAttributeType - volumeId::Union(ASCIIString, Nothing) + volumeId::Union{ASCIIString, Void} - DescribeVolumeAttributeType(; volumeId=nothing) = + DescribeVolumeAttributeType(; volumeId=nothing) = new(volumeId) end function DescribeVolumeAttributeType(pd::ETree) @@ -5399,10 +5399,10 @@ export DescribeVolumeAttributeType type DescribeVolumeAttributeResponseType - requestId::Union(ASCIIString, Nothing) - volumeId::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + volumeId::Union{ASCIIString, Void} - DescribeVolumeAttributeResponseType(; requestId=nothing, volumeId=nothing) = + DescribeVolumeAttributeResponseType(; requestId=nothing, volumeId=nothing) = new(requestId, volumeId) end function DescribeVolumeAttributeResponseType(pd::ETree) @@ -5416,10 +5416,10 @@ export DescribeVolumeAttributeResponseType type LaunchPermissionOperationType - add::Union(Vector{LaunchPermissionItemType}, Nothing) - remove::Union(Vector{LaunchPermissionItemType}, Nothing) + add::Union{Vector{LaunchPermissionItemType}, Void} + remove::Union{Vector{LaunchPermissionItemType}, Void} - LaunchPermissionOperationType(; add=nothing, remove=nothing) = + LaunchPermissionOperationType(; add=nothing, remove=nothing) = new(add, remove) end function LaunchPermissionOperationType(pd::ETree) @@ -5433,23 +5433,23 @@ export LaunchPermissionOperationType type DescribeReservedInstancesResponseSetItemType - reservedInstancesId::Union(ASCIIString, Nothing) - instanceType::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - start::Union(Base.Dates.DateTime, Nothing) - duration::Union(Int64, Nothing) - fixedPrice::Union(Float64, Nothing) - usagePrice::Union(Float64, Nothing) - instanceCount::Union(Int64, Nothing) - productDescription::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - instanceTenancy::Union(ASCIIString, Nothing) - currencyCode::Union(ASCIIString, Nothing) - offeringType::Union(ASCIIString, Nothing) - recurringCharges::Union(Vector{RecurringChargesSetItemType}, Nothing) - - DescribeReservedInstancesResponseSetItemType(; reservedInstancesId=nothing, instanceType=nothing, availabilityZone=nothing, start=nothing, duration=nothing, fixedPrice=nothing, usagePrice=nothing, instanceCount=nothing, productDescription=nothing, state=nothing, tagSet=nothing, instanceTenancy=nothing, currencyCode=nothing, offeringType=nothing, recurringCharges=nothing) = + reservedInstancesId::Union{ASCIIString, Void} + instanceType::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + start::Union{Base.Dates.DateTime, Void} + duration::Union{Int64, Void} + fixedPrice::Union{Float64, Void} + usagePrice::Union{Float64, Void} + instanceCount::Union{Int64, Void} + productDescription::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + instanceTenancy::Union{ASCIIString, Void} + currencyCode::Union{ASCIIString, Void} + offeringType::Union{ASCIIString, Void} + recurringCharges::Union{Vector{RecurringChargesSetItemType}, Void} + + DescribeReservedInstancesResponseSetItemType(; reservedInstancesId=nothing, instanceType=nothing, availabilityZone=nothing, start=nothing, duration=nothing, fixedPrice=nothing, usagePrice=nothing, instanceCount=nothing, productDescription=nothing, state=nothing, tagSet=nothing, instanceTenancy=nothing, currencyCode=nothing, offeringType=nothing, recurringCharges=nothing) = new(reservedInstancesId, instanceType, availabilityZone, start, duration, fixedPrice, usagePrice, instanceCount, productDescription, state, tagSet, instanceTenancy, currencyCode, offeringType, recurringCharges) end function DescribeReservedInstancesResponseSetItemType(pd::ETree) @@ -5476,10 +5476,10 @@ export DescribeReservedInstancesResponseSetItemType type CancelSpotInstanceRequestsResponseType - requestId::Union(ASCIIString, Nothing) - spotInstanceRequestSet::Union(Vector{CancelSpotInstanceRequestsResponseSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + spotInstanceRequestSet::Union{Vector{CancelSpotInstanceRequestsResponseSetItemType}, Void} - CancelSpotInstanceRequestsResponseType(; requestId=nothing, spotInstanceRequestSet=nothing) = + CancelSpotInstanceRequestsResponseType(; requestId=nothing, spotInstanceRequestSet=nothing) = new(requestId, spotInstanceRequestSet) end function CancelSpotInstanceRequestsResponseType(pd::ETree) @@ -5493,9 +5493,9 @@ export CancelSpotInstanceRequestsResponseType type CreateDhcpOptionsType - dhcpConfigurationSet::Union(Vector{DhcpConfigurationItemType}, Nothing) + dhcpConfigurationSet::Union{Vector{DhcpConfigurationItemType}, Void} - CreateDhcpOptionsType(; dhcpConfigurationSet=nothing) = + CreateDhcpOptionsType(; dhcpConfigurationSet=nothing) = new(dhcpConfigurationSet) end function CreateDhcpOptionsType(pd::ETree) @@ -5508,13 +5508,13 @@ export CreateDhcpOptionsType type DescribeInstanceStatusType - instancesSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) - nextToken::Union(ASCIIString, Nothing) - maxResults::Union(Int64, Nothing) - includeAllInstances::Union(Bool, Nothing) + instancesSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} + nextToken::Union{ASCIIString, Void} + maxResults::Union{Int64, Void} + includeAllInstances::Union{Bool, Void} - DescribeInstanceStatusType(; instancesSet=nothing, filterSet=nothing, nextToken=nothing, maxResults=nothing, includeAllInstances=nothing) = + DescribeInstanceStatusType(; instancesSet=nothing, filterSet=nothing, nextToken=nothing, maxResults=nothing, includeAllInstances=nothing) = new(instancesSet, filterSet, nextToken, maxResults, includeAllInstances) end function DescribeInstanceStatusType(pd::ETree) @@ -5531,10 +5531,10 @@ export DescribeInstanceStatusType type DescribePlacementGroupsType - placementGroupSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + placementGroupSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribePlacementGroupsType(; placementGroupSet=nothing, filterSet=nothing) = + DescribePlacementGroupsType(; placementGroupSet=nothing, filterSet=nothing) = new(placementGroupSet, filterSet) end function DescribePlacementGroupsType(pd::ETree) @@ -5548,16 +5548,16 @@ export DescribePlacementGroupsType type RegisterImageType - imageLocation::Union(ASCIIString, Nothing) - name::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - architecture::Union(ASCIIString, Nothing) - kernelId::Union(ASCIIString, Nothing) - ramdiskId::Union(ASCIIString, Nothing) - rootDeviceName::Union(ASCIIString, Nothing) - blockDeviceMapping::Union(Vector{BlockDeviceMappingItemType}, Nothing) - - RegisterImageType(; imageLocation=nothing, name=nothing, description=nothing, architecture=nothing, kernelId=nothing, ramdiskId=nothing, rootDeviceName=nothing, blockDeviceMapping=nothing) = + imageLocation::Union{ASCIIString, Void} + name::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + architecture::Union{ASCIIString, Void} + kernelId::Union{ASCIIString, Void} + ramdiskId::Union{ASCIIString, Void} + rootDeviceName::Union{ASCIIString, Void} + blockDeviceMapping::Union{Vector{BlockDeviceMappingItemType}, Void} + + RegisterImageType(; imageLocation=nothing, name=nothing, description=nothing, architecture=nothing, kernelId=nothing, ramdiskId=nothing, rootDeviceName=nothing, blockDeviceMapping=nothing) = new(imageLocation, name, description, architecture, kernelId, ramdiskId, rootDeviceName, blockDeviceMapping) end function RegisterImageType(pd::ETree) @@ -5577,10 +5577,10 @@ export RegisterImageType type DescribeNetworkInterfacesType - networkInterfaceIdSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + networkInterfaceIdSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeNetworkInterfacesType(; networkInterfaceIdSet=nothing, filterSet=nothing) = + DescribeNetworkInterfacesType(; networkInterfaceIdSet=nothing, filterSet=nothing) = new(networkInterfaceIdSet, filterSet) end function DescribeNetworkInterfacesType(pd::ETree) @@ -5594,12 +5594,12 @@ export DescribeNetworkInterfacesType type CreateReservedInstancesListingType - reservedInstancesId::Union(ASCIIString, Nothing) - instanceCount::Union(Int64, Nothing) - priceSchedules::Union(Vector{PriceScheduleRequestSetItemType}, Nothing) - clientToken::Union(ASCIIString, Nothing) + reservedInstancesId::Union{ASCIIString, Void} + instanceCount::Union{Int64, Void} + priceSchedules::Union{Vector{PriceScheduleRequestSetItemType}, Void} + clientToken::Union{ASCIIString, Void} - CreateReservedInstancesListingType(; reservedInstancesId=nothing, instanceCount=nothing, priceSchedules=nothing, clientToken=nothing) = + CreateReservedInstancesListingType(; reservedInstancesId=nothing, instanceCount=nothing, priceSchedules=nothing, clientToken=nothing) = new(reservedInstancesId, instanceCount, priceSchedules, clientToken) end function CreateReservedInstancesListingType(pd::ETree) @@ -5615,10 +5615,10 @@ export CreateReservedInstancesListingType type DescribeVpnGatewaysType - vpnGatewaySet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + vpnGatewaySet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeVpnGatewaysType(; vpnGatewaySet=nothing, filterSet=nothing) = + DescribeVpnGatewaysType(; vpnGatewaySet=nothing, filterSet=nothing) = new(vpnGatewaySet, filterSet) end function DescribeVpnGatewaysType(pd::ETree) @@ -5632,12 +5632,12 @@ export DescribeVpnGatewaysType type DescribeVolumeStatusType - volumeSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) - maxResults::Union(Int64, Nothing) - nextToken::Union(ASCIIString, Nothing) + volumeSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} + maxResults::Union{Int64, Void} + nextToken::Union{ASCIIString, Void} - DescribeVolumeStatusType(; volumeSet=nothing, filterSet=nothing, maxResults=nothing, nextToken=nothing) = + DescribeVolumeStatusType(; volumeSet=nothing, filterSet=nothing, maxResults=nothing, nextToken=nothing) = new(volumeSet, filterSet, maxResults, nextToken) end function DescribeVolumeStatusType(pd::ETree) @@ -5653,11 +5653,11 @@ export DescribeVolumeStatusType type DhcpOptionsType - dhcpOptionsId::Union(ASCIIString, Nothing) - dhcpConfigurationSet::Union(Vector{DhcpConfigurationItemType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) + dhcpOptionsId::Union{ASCIIString, Void} + dhcpConfigurationSet::Union{Vector{DhcpConfigurationItemType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} - DhcpOptionsType(; dhcpOptionsId=nothing, dhcpConfigurationSet=nothing, tagSet=nothing) = + DhcpOptionsType(; dhcpOptionsId=nothing, dhcpConfigurationSet=nothing, tagSet=nothing) = new(dhcpOptionsId, dhcpConfigurationSet, tagSet) end function DhcpOptionsType(pd::ETree) @@ -5672,15 +5672,15 @@ export DhcpOptionsType type ImportInstanceVolumeDetailItemType - bytesConverted::Union(Int64, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - image::Union(DiskImageDescriptionType, Nothing) - description::Union(ASCIIString, Nothing) - volume::Union(DiskImageVolumeDescriptionType, Nothing) - status::Union(ASCIIString, Nothing) - statusMessage::Union(ASCIIString, Nothing) - - ImportInstanceVolumeDetailItemType(; bytesConverted=nothing, availabilityZone=nothing, image=nothing, description=nothing, volume=nothing, status=nothing, statusMessage=nothing) = + bytesConverted::Union{Int64, Void} + availabilityZone::Union{ASCIIString, Void} + image::Union{DiskImageDescriptionType, Void} + description::Union{ASCIIString, Void} + volume::Union{DiskImageVolumeDescriptionType, Void} + status::Union{ASCIIString, Void} + statusMessage::Union{ASCIIString, Void} + + ImportInstanceVolumeDetailItemType(; bytesConverted=nothing, availabilityZone=nothing, image=nothing, description=nothing, volume=nothing, status=nothing, statusMessage=nothing) = new(bytesConverted, availabilityZone, image, description, volume, status, statusMessage) end function ImportInstanceVolumeDetailItemType(pd::ETree) @@ -5699,10 +5699,10 @@ export ImportInstanceVolumeDetailItemType type DescribeExportTasksResponseType - requestId::Union(ASCIIString, Nothing) - exportTaskSet::Union(Vector{ExportTaskResponseType}, Nothing) + requestId::Union{ASCIIString, Void} + exportTaskSet::Union{Vector{ExportTaskResponseType}, Void} - DescribeExportTasksResponseType(; requestId=nothing, exportTaskSet=nothing) = + DescribeExportTasksResponseType(; requestId=nothing, exportTaskSet=nothing) = new(requestId, exportTaskSet) end function DescribeExportTasksResponseType(pd::ETree) @@ -5716,11 +5716,11 @@ export DescribeExportTasksResponseType type DescribeSecurityGroupsType - securityGroupSet::Union(Vector{ASCIIString}, Nothing) - securityGroupIdSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + securityGroupSet::Union{Vector{ASCIIString}, Void} + securityGroupIdSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeSecurityGroupsType(; securityGroupSet=nothing, securityGroupIdSet=nothing, filterSet=nothing) = + DescribeSecurityGroupsType(; securityGroupSet=nothing, securityGroupIdSet=nothing, filterSet=nothing) = new(securityGroupSet, securityGroupIdSet, filterSet) end function DescribeSecurityGroupsType(pd::ETree) @@ -5735,10 +5735,10 @@ export DescribeSecurityGroupsType type InstanceStatusType - status::Union(ASCIIString, Nothing) - details::Union(Vector{InstanceStatusDetailsSetItemType}, Nothing) + status::Union{ASCIIString, Void} + details::Union{Vector{InstanceStatusDetailsSetItemType}, Void} - InstanceStatusType(; status=nothing, details=nothing) = + InstanceStatusType(; status=nothing, details=nothing) = new(status, details) end function InstanceStatusType(pd::ETree) @@ -5752,29 +5752,29 @@ export InstanceStatusType type DescribeImagesResponseItemType - imageId::Union(ASCIIString, Nothing) - imageLocation::Union(ASCIIString, Nothing) - imageState::Union(ASCIIString, Nothing) - imageOwnerId::Union(ASCIIString, Nothing) - isPublic::Union(Bool, Nothing) - productCodes::Union(Vector{ProductCodesSetItemType}, Nothing) - architecture::Union(ASCIIString, Nothing) - imageType::Union(ASCIIString, Nothing) - kernelId::Union(ASCIIString, Nothing) - ramdiskId::Union(ASCIIString, Nothing) - platform::Union(ASCIIString, Nothing) - stateReason::Union(StateReasonType, Nothing) - imageOwnerAlias::Union(ASCIIString, Nothing) - name::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - rootDeviceType::Union(ASCIIString, Nothing) - rootDeviceName::Union(ASCIIString, Nothing) - blockDeviceMapping::Union(Vector{BlockDeviceMappingItemType}, Nothing) - virtualizationType::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - hypervisor::Union(ASCIIString, Nothing) - - DescribeImagesResponseItemType(; imageId=nothing, imageLocation=nothing, imageState=nothing, imageOwnerId=nothing, isPublic=nothing, productCodes=nothing, architecture=nothing, imageType=nothing, kernelId=nothing, ramdiskId=nothing, platform=nothing, stateReason=nothing, imageOwnerAlias=nothing, name=nothing, description=nothing, rootDeviceType=nothing, rootDeviceName=nothing, blockDeviceMapping=nothing, virtualizationType=nothing, tagSet=nothing, hypervisor=nothing) = + imageId::Union{ASCIIString, Void} + imageLocation::Union{ASCIIString, Void} + imageState::Union{ASCIIString, Void} + imageOwnerId::Union{ASCIIString, Void} + isPublic::Union{Bool, Void} + productCodes::Union{Vector{ProductCodesSetItemType}, Void} + architecture::Union{ASCIIString, Void} + imageType::Union{ASCIIString, Void} + kernelId::Union{ASCIIString, Void} + ramdiskId::Union{ASCIIString, Void} + platform::Union{ASCIIString, Void} + stateReason::Union{StateReasonType, Void} + imageOwnerAlias::Union{ASCIIString, Void} + name::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + rootDeviceType::Union{ASCIIString, Void} + rootDeviceName::Union{ASCIIString, Void} + blockDeviceMapping::Union{Vector{BlockDeviceMappingItemType}, Void} + virtualizationType::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + hypervisor::Union{ASCIIString, Void} + + DescribeImagesResponseItemType(; imageId=nothing, imageLocation=nothing, imageState=nothing, imageOwnerId=nothing, isPublic=nothing, productCodes=nothing, architecture=nothing, imageType=nothing, kernelId=nothing, ramdiskId=nothing, platform=nothing, stateReason=nothing, imageOwnerAlias=nothing, name=nothing, description=nothing, rootDeviceType=nothing, rootDeviceName=nothing, blockDeviceMapping=nothing, virtualizationType=nothing, tagSet=nothing, hypervisor=nothing) = new(imageId, imageLocation, imageState, imageOwnerId, isPublic, productCodes, architecture, imageType, kernelId, ramdiskId, platform, stateReason, imageOwnerAlias, name, description, rootDeviceType, rootDeviceName, blockDeviceMapping, virtualizationType, tagSet, hypervisor) end function DescribeImagesResponseItemType(pd::ETree) @@ -5807,10 +5807,10 @@ export DescribeImagesResponseItemType type DescribeBundleTasksType - bundlesSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + bundlesSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeBundleTasksType(; bundlesSet=nothing, filterSet=nothing) = + DescribeBundleTasksType(; bundlesSet=nothing, filterSet=nothing) = new(bundlesSet, filterSet) end function DescribeBundleTasksType(pd::ETree) @@ -5824,10 +5824,10 @@ export DescribeBundleTasksType type DeleteTagsType - resourcesSet::Union(Vector{ASCIIString}, Nothing) - tagSet::Union(Vector{DeleteTagsSetItemType}, Nothing) + resourcesSet::Union{Vector{ASCIIString}, Void} + tagSet::Union{Vector{DeleteTagsSetItemType}, Void} - DeleteTagsType(; resourcesSet=nothing, tagSet=nothing) = + DeleteTagsType(; resourcesSet=nothing, tagSet=nothing) = new(resourcesSet, tagSet) end function DeleteTagsType(pd::ETree) @@ -5841,13 +5841,13 @@ export DeleteTagsType type SpotDatafeedSubscriptionType - ownerId::Union(ASCIIString, Nothing) - bucket::Union(ASCIIString, Nothing) - prefix::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - fault::Union(SpotInstanceStateFaultType, Nothing) + ownerId::Union{ASCIIString, Void} + bucket::Union{ASCIIString, Void} + prefix::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + fault::Union{SpotInstanceStateFaultType, Void} - SpotDatafeedSubscriptionType(; ownerId=nothing, bucket=nothing, prefix=nothing, state=nothing, fault=nothing) = + SpotDatafeedSubscriptionType(; ownerId=nothing, bucket=nothing, prefix=nothing, state=nothing, fault=nothing) = new(ownerId, bucket, prefix, state, fault) end function SpotDatafeedSubscriptionType(pd::ETree) @@ -5864,10 +5864,10 @@ export SpotDatafeedSubscriptionType type DescribeNetworkAclsType - networkAclIdSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + networkAclIdSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeNetworkAclsType(; networkAclIdSet=nothing, filterSet=nothing) = + DescribeNetworkAclsType(; networkAclIdSet=nothing, filterSet=nothing) = new(networkAclIdSet, filterSet) end function DescribeNetworkAclsType(pd::ETree) @@ -5881,18 +5881,18 @@ export DescribeNetworkAclsType type DescribeVolumesSetItemResponseType - volumeId::Union(ASCIIString, Nothing) - size::Union(ASCIIString, Nothing) - snapshotId::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - createTime::Union(Base.Dates.DateTime, Nothing) - attachmentSet::Union(Vector{AttachmentSetItemResponseType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - volumeType::Union(ASCIIString, Nothing) - iops::Union(Int64, Nothing) - - DescribeVolumesSetItemResponseType(; volumeId=nothing, size=nothing, snapshotId=nothing, availabilityZone=nothing, status=nothing, createTime=nothing, attachmentSet=nothing, tagSet=nothing, volumeType=nothing, iops=nothing) = + volumeId::Union{ASCIIString, Void} + size::Union{ASCIIString, Void} + snapshotId::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + createTime::Union{Base.Dates.DateTime, Void} + attachmentSet::Union{Vector{AttachmentSetItemResponseType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + volumeType::Union{ASCIIString, Void} + iops::Union{Int64, Void} + + DescribeVolumesSetItemResponseType(; volumeId=nothing, size=nothing, snapshotId=nothing, availabilityZone=nothing, status=nothing, createTime=nothing, attachmentSet=nothing, tagSet=nothing, volumeType=nothing, iops=nothing) = new(volumeId, size, snapshotId, availabilityZone, status, createTime, attachmentSet, tagSet, volumeType, iops) end function DescribeVolumesSetItemResponseType(pd::ETree) @@ -5914,10 +5914,10 @@ export DescribeVolumesSetItemResponseType type DescribeVolumesType - volumeSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + volumeSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeVolumesType(; volumeSet=nothing, filterSet=nothing) = + DescribeVolumesType(; volumeSet=nothing, filterSet=nothing) = new(volumeSet, filterSet) end function DescribeVolumesType(pd::ETree) @@ -5931,10 +5931,10 @@ export DescribeVolumesType type DescribeDhcpOptionsType - dhcpOptionsSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + dhcpOptionsSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeDhcpOptionsType(; dhcpOptionsSet=nothing, filterSet=nothing) = + DescribeDhcpOptionsType(; dhcpOptionsSet=nothing, filterSet=nothing) = new(dhcpOptionsSet, filterSet) end function DescribeDhcpOptionsType(pd::ETree) @@ -5948,10 +5948,10 @@ export DescribeDhcpOptionsType type CreateTagsType - resourcesSet::Union(Vector{ASCIIString}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) + resourcesSet::Union{Vector{ASCIIString}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} - CreateTagsType(; resourcesSet=nothing, tagSet=nothing) = + CreateTagsType(; resourcesSet=nothing, tagSet=nothing) = new(resourcesSet, tagSet) end function CreateTagsType(pd::ETree) @@ -5965,12 +5965,12 @@ export CreateTagsType type ImportInstanceTaskDetailsType - volumes::Union(Vector{ImportInstanceVolumeDetailItemType}, Nothing) - instanceId::Union(ASCIIString, Nothing) - platform::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) + volumes::Union{Vector{ImportInstanceVolumeDetailItemType}, Void} + instanceId::Union{ASCIIString, Void} + platform::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} - ImportInstanceTaskDetailsType(; volumes=nothing, instanceId=nothing, platform=nothing, description=nothing) = + ImportInstanceTaskDetailsType(; volumes=nothing, instanceId=nothing, platform=nothing, description=nothing) = new(volumes, instanceId, platform, description) end function ImportInstanceTaskDetailsType(pd::ETree) @@ -5986,13 +5986,13 @@ export ImportInstanceTaskDetailsType type ConversionTaskType - conversionTaskId::Union(ASCIIString, Nothing) - expirationTime::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - statusMessage::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) + conversionTaskId::Union{ASCIIString, Void} + expirationTime::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + statusMessage::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} - ConversionTaskType(; conversionTaskId=nothing, expirationTime=nothing, state=nothing, statusMessage=nothing, tagSet=nothing) = + ConversionTaskType(; conversionTaskId=nothing, expirationTime=nothing, state=nothing, statusMessage=nothing, tagSet=nothing) = new(conversionTaskId, expirationTime, state, statusMessage, tagSet) end function ConversionTaskType(pd::ETree) @@ -6009,10 +6009,10 @@ export ConversionTaskType type CreateSpotDatafeedSubscriptionResponseType - requestId::Union(ASCIIString, Nothing) - spotDatafeedSubscription::Union(SpotDatafeedSubscriptionType, Nothing) + requestId::Union{ASCIIString, Void} + spotDatafeedSubscription::Union{SpotDatafeedSubscriptionType, Void} - CreateSpotDatafeedSubscriptionResponseType(; requestId=nothing, spotDatafeedSubscription=nothing) = + CreateSpotDatafeedSubscriptionResponseType(; requestId=nothing, spotDatafeedSubscription=nothing) = new(requestId, spotDatafeedSubscription) end function CreateSpotDatafeedSubscriptionResponseType(pd::ETree) @@ -6026,10 +6026,10 @@ export CreateSpotDatafeedSubscriptionResponseType type DescribeCustomerGatewaysType - customerGatewaySet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + customerGatewaySet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeCustomerGatewaysType(; customerGatewaySet=nothing, filterSet=nothing) = + DescribeCustomerGatewaysType(; customerGatewaySet=nothing, filterSet=nothing) = new(customerGatewaySet, filterSet) end function DescribeCustomerGatewaysType(pd::ETree) @@ -6043,10 +6043,10 @@ export DescribeCustomerGatewaysType type DescribePlacementGroupsResponseType - requestId::Union(ASCIIString, Nothing) - placementGroupSet::Union(Vector{PlacementGroupInfoType}, Nothing) + requestId::Union{ASCIIString, Void} + placementGroupSet::Union{Vector{PlacementGroupInfoType}, Void} - DescribePlacementGroupsResponseType(; requestId=nothing, placementGroupSet=nothing) = + DescribePlacementGroupsResponseType(; requestId=nothing, placementGroupSet=nothing) = new(requestId, placementGroupSet) end function DescribePlacementGroupsResponseType(pd::ETree) @@ -6060,10 +6060,10 @@ export DescribePlacementGroupsResponseType type DescribeReservedInstancesResponseType - requestId::Union(ASCIIString, Nothing) - reservedInstancesSet::Union(Vector{DescribeReservedInstancesResponseSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + reservedInstancesSet::Union{Vector{DescribeReservedInstancesResponseSetItemType}, Void} - DescribeReservedInstancesResponseType(; requestId=nothing, reservedInstancesSet=nothing) = + DescribeReservedInstancesResponseType(; requestId=nothing, reservedInstancesSet=nothing) = new(requestId, reservedInstancesSet) end function DescribeReservedInstancesResponseType(pd::ETree) @@ -6077,16 +6077,16 @@ export DescribeReservedInstancesResponseType type ReplaceNetworkAclEntryType - networkAclId::Union(ASCIIString, Nothing) - ruleNumber::Union(Int64, Nothing) - protocol::Union(ASCIIString, Nothing) - ruleAction::Union(ASCIIString, Nothing) - egress::Union(Bool, Nothing) - cidrBlock::Union(ASCIIString, Nothing) - icmpTypeCode::Union(IcmpTypeCodeType, Nothing) - portRange::Union(PortRangeType, Nothing) - - ReplaceNetworkAclEntryType(; networkAclId=nothing, ruleNumber=nothing, protocol=nothing, ruleAction=nothing, egress=nothing, cidrBlock=nothing, icmpTypeCode=nothing, portRange=nothing) = + networkAclId::Union{ASCIIString, Void} + ruleNumber::Union{Int64, Void} + protocol::Union{ASCIIString, Void} + ruleAction::Union{ASCIIString, Void} + egress::Union{Bool, Void} + cidrBlock::Union{ASCIIString, Void} + icmpTypeCode::Union{IcmpTypeCodeType, Void} + portRange::Union{PortRangeType, Void} + + ReplaceNetworkAclEntryType(; networkAclId=nothing, ruleNumber=nothing, protocol=nothing, ruleAction=nothing, egress=nothing, cidrBlock=nothing, icmpTypeCode=nothing, portRange=nothing) = new(networkAclId, ruleNumber, protocol, ruleAction, egress, cidrBlock, icmpTypeCode, portRange) end function ReplaceNetworkAclEntryType(pd::ETree) @@ -6106,15 +6106,15 @@ export ReplaceNetworkAclEntryType type NetworkAclEntryType - ruleNumber::Union(Int64, Nothing) - protocol::Union(ASCIIString, Nothing) - ruleAction::Union(ASCIIString, Nothing) - egress::Union(Bool, Nothing) - cidrBlock::Union(ASCIIString, Nothing) - icmpTypeCode::Union(IcmpTypeCodeType, Nothing) - portRange::Union(PortRangeType, Nothing) - - NetworkAclEntryType(; ruleNumber=nothing, protocol=nothing, ruleAction=nothing, egress=nothing, cidrBlock=nothing, icmpTypeCode=nothing, portRange=nothing) = + ruleNumber::Union{Int64, Void} + protocol::Union{ASCIIString, Void} + ruleAction::Union{ASCIIString, Void} + egress::Union{Bool, Void} + cidrBlock::Union{ASCIIString, Void} + icmpTypeCode::Union{IcmpTypeCodeType, Void} + portRange::Union{PortRangeType, Void} + + NetworkAclEntryType(; ruleNumber=nothing, protocol=nothing, ruleAction=nothing, egress=nothing, cidrBlock=nothing, icmpTypeCode=nothing, portRange=nothing) = new(ruleNumber, protocol, ruleAction, egress, cidrBlock, icmpTypeCode, portRange) end function NetworkAclEntryType(pd::ETree) @@ -6133,11 +6133,11 @@ export NetworkAclEntryType type InternetGatewayType - internetGatewayId::Union(ASCIIString, Nothing) - attachmentSet::Union(Vector{InternetGatewayAttachmentType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) + internetGatewayId::Union{ASCIIString, Void} + attachmentSet::Union{Vector{InternetGatewayAttachmentType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} - InternetGatewayType(; internetGatewayId=nothing, attachmentSet=nothing, tagSet=nothing) = + InternetGatewayType(; internetGatewayId=nothing, attachmentSet=nothing, tagSet=nothing) = new(internetGatewayId, attachmentSet, tagSet) end function InternetGatewayType(pd::ETree) @@ -6152,10 +6152,10 @@ export InternetGatewayType type DescribeRegionsType - regionSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + regionSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeRegionsType(; regionSet=nothing, filterSet=nothing) = + DescribeRegionsType(; regionSet=nothing, filterSet=nothing) = new(regionSet, filterSet) end function DescribeRegionsType(pd::ETree) @@ -6169,12 +6169,12 @@ export DescribeRegionsType type DescribeSnapshotsType - snapshotSet::Union(Vector{ASCIIString}, Nothing) - ownersSet::Union(Vector{ASCIIString}, Nothing) - restorableBySet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + snapshotSet::Union{Vector{ASCIIString}, Void} + ownersSet::Union{Vector{ASCIIString}, Void} + restorableBySet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeSnapshotsType(; snapshotSet=nothing, ownersSet=nothing, restorableBySet=nothing, filterSet=nothing) = + DescribeSnapshotsType(; snapshotSet=nothing, ownersSet=nothing, restorableBySet=nothing, filterSet=nothing) = new(snapshotSet, ownersSet, restorableBySet, filterSet) end function DescribeSnapshotsType(pd::ETree) @@ -6190,10 +6190,10 @@ export DescribeSnapshotsType type DescribeKeyPairsResponseType - requestId::Union(ASCIIString, Nothing) - keySet::Union(Vector{DescribeKeyPairsResponseItemType}, Nothing) + requestId::Union{ASCIIString, Void} + keySet::Union{Vector{DescribeKeyPairsResponseItemType}, Void} - DescribeKeyPairsResponseType(; requestId=nothing, keySet=nothing) = + DescribeKeyPairsResponseType(; requestId=nothing, keySet=nothing) = new(requestId, keySet) end function DescribeKeyPairsResponseType(pd::ETree) @@ -6207,10 +6207,10 @@ export DescribeKeyPairsResponseType type DescribeAvailabilityZonesResponseType - requestId::Union(ASCIIString, Nothing) - availabilityZoneInfo::Union(Vector{AvailabilityZoneItemType}, Nothing) + requestId::Union{ASCIIString, Void} + availabilityZoneInfo::Union{Vector{AvailabilityZoneItemType}, Void} - DescribeAvailabilityZonesResponseType(; requestId=nothing, availabilityZoneInfo=nothing) = + DescribeAvailabilityZonesResponseType(; requestId=nothing, availabilityZoneInfo=nothing) = new(requestId, availabilityZoneInfo) end function DescribeAvailabilityZonesResponseType(pd::ETree) @@ -6224,15 +6224,15 @@ export DescribeAvailabilityZonesResponseType type VpcType - vpcId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - cidrBlock::Union(ASCIIString, Nothing) - dhcpOptionsId::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - instanceTenancy::Union(ASCIIString, Nothing) - isDefault::Union(Bool, Nothing) - - VpcType(; vpcId=nothing, state=nothing, cidrBlock=nothing, dhcpOptionsId=nothing, tagSet=nothing, instanceTenancy=nothing, isDefault=nothing) = + vpcId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + cidrBlock::Union{ASCIIString, Void} + dhcpOptionsId::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + instanceTenancy::Union{ASCIIString, Void} + isDefault::Union{Bool, Void} + + VpcType(; vpcId=nothing, state=nothing, cidrBlock=nothing, dhcpOptionsId=nothing, tagSet=nothing, instanceTenancy=nothing, isDefault=nothing) = new(vpcId, state, cidrBlock, dhcpOptionsId, tagSet, instanceTenancy, isDefault) end function VpcType(pd::ETree) @@ -6251,10 +6251,10 @@ export VpcType type DescribeSubnetsType - subnetSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + subnetSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeSubnetsType(; subnetSet=nothing, filterSet=nothing) = + DescribeSubnetsType(; subnetSet=nothing, filterSet=nothing) = new(subnetSet, filterSet) end function DescribeSubnetsType(pd::ETree) @@ -6268,10 +6268,10 @@ export DescribeSubnetsType type DescribeRegionsResponseType - requestId::Union(ASCIIString, Nothing) - regionInfo::Union(Vector{RegionItemType}, Nothing) + requestId::Union{ASCIIString, Void} + regionInfo::Union{Vector{RegionItemType}, Void} - DescribeRegionsResponseType(; requestId=nothing, regionInfo=nothing) = + DescribeRegionsResponseType(; requestId=nothing, regionInfo=nothing) = new(requestId, regionInfo) end function DescribeRegionsResponseType(pd::ETree) @@ -6285,10 +6285,10 @@ export DescribeRegionsResponseType type DescribeSpotDatafeedSubscriptionResponseType - requestId::Union(ASCIIString, Nothing) - spotDatafeedSubscription::Union(SpotDatafeedSubscriptionType, Nothing) + requestId::Union{ASCIIString, Void} + spotDatafeedSubscription::Union{SpotDatafeedSubscriptionType, Void} - DescribeSpotDatafeedSubscriptionResponseType(; requestId=nothing, spotDatafeedSubscription=nothing) = + DescribeSpotDatafeedSubscriptionResponseType(; requestId=nothing, spotDatafeedSubscription=nothing) = new(requestId, spotDatafeedSubscription) end function DescribeSpotDatafeedSubscriptionResponseType(pd::ETree) @@ -6302,11 +6302,11 @@ export DescribeSpotDatafeedSubscriptionResponseType type DescribeReservedInstancesType - reservedInstancesSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) - offeringType::Union(ASCIIString, Nothing) + reservedInstancesSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} + offeringType::Union{ASCIIString, Void} - DescribeReservedInstancesType(; reservedInstancesSet=nothing, filterSet=nothing, offeringType=nothing) = + DescribeReservedInstancesType(; reservedInstancesSet=nothing, filterSet=nothing, offeringType=nothing) = new(reservedInstancesSet, filterSet, offeringType) end function DescribeReservedInstancesType(pd::ETree) @@ -6321,21 +6321,21 @@ export DescribeReservedInstancesType type DescribeReservedInstancesOfferingsType - reservedInstancesOfferingsSet::Union(Vector{ASCIIString}, Nothing) - instanceType::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - productDescription::Union(ASCIIString, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) - instanceTenancy::Union(ASCIIString, Nothing) - offeringType::Union(ASCIIString, Nothing) - includeMarketplace::Union(Bool, Nothing) - minDuration::Union(Int64, Nothing) - maxDuration::Union(Int64, Nothing) - maxInstanceCount::Union(Int64, Nothing) - nextToken::Union(ASCIIString, Nothing) - maxResults::Union(Int64, Nothing) - - DescribeReservedInstancesOfferingsType(; reservedInstancesOfferingsSet=nothing, instanceType=nothing, availabilityZone=nothing, productDescription=nothing, filterSet=nothing, instanceTenancy=nothing, offeringType=nothing, includeMarketplace=nothing, minDuration=nothing, maxDuration=nothing, maxInstanceCount=nothing, nextToken=nothing, maxResults=nothing) = + reservedInstancesOfferingsSet::Union{Vector{ASCIIString}, Void} + instanceType::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + productDescription::Union{ASCIIString, Void} + filterSet::Union{Vector{FilterType}, Void} + instanceTenancy::Union{ASCIIString, Void} + offeringType::Union{ASCIIString, Void} + includeMarketplace::Union{Bool, Void} + minDuration::Union{Int64, Void} + maxDuration::Union{Int64, Void} + maxInstanceCount::Union{Int64, Void} + nextToken::Union{ASCIIString, Void} + maxResults::Union{Int64, Void} + + DescribeReservedInstancesOfferingsType(; reservedInstancesOfferingsSet=nothing, instanceType=nothing, availabilityZone=nothing, productDescription=nothing, filterSet=nothing, instanceTenancy=nothing, offeringType=nothing, includeMarketplace=nothing, minDuration=nothing, maxDuration=nothing, maxInstanceCount=nothing, nextToken=nothing, maxResults=nothing) = new(reservedInstancesOfferingsSet, instanceType, availabilityZone, productDescription, filterSet, instanceTenancy, offeringType, includeMarketplace, minDuration, maxDuration, maxInstanceCount, nextToken, maxResults) end function DescribeReservedInstancesOfferingsType(pd::ETree) @@ -6360,12 +6360,12 @@ export DescribeReservedInstancesOfferingsType type DescribeImagesType - executableBySet::Union(Vector{ASCIIString}, Nothing) - imagesSet::Union(Vector{ASCIIString}, Nothing) - ownersSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + executableBySet::Union{Vector{ASCIIString}, Void} + imagesSet::Union{Vector{ASCIIString}, Void} + ownersSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeImagesType(; executableBySet=nothing, imagesSet=nothing, ownersSet=nothing, filterSet=nothing) = + DescribeImagesType(; executableBySet=nothing, imagesSet=nothing, ownersSet=nothing, filterSet=nothing) = new(executableBySet, imagesSet, ownersSet, filterSet) end function DescribeImagesType(pd::ETree) @@ -6381,10 +6381,10 @@ export DescribeImagesType type DescribeConversionTasksResponseType - requestId::Union(ASCIIString, Nothing) - conversionTasks::Union(Vector{ConversionTaskType}, Nothing) + requestId::Union{ASCIIString, Void} + conversionTasks::Union{Vector{ConversionTaskType}, Void} - DescribeConversionTasksResponseType(; requestId=nothing, conversionTasks=nothing) = + DescribeConversionTasksResponseType(; requestId=nothing, conversionTasks=nothing) = new(requestId, conversionTasks) end function DescribeConversionTasksResponseType(pd::ETree) @@ -6398,10 +6398,10 @@ export DescribeConversionTasksResponseType type DescribeAccountAttributesResponseType - requestId::Union(ASCIIString, Nothing) - accountAttributeSet::Union(Vector{AccountAttributeSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + accountAttributeSet::Union{Vector{AccountAttributeSetItemType}, Void} - DescribeAccountAttributesResponseType(; requestId=nothing, accountAttributeSet=nothing) = + DescribeAccountAttributesResponseType(; requestId=nothing, accountAttributeSet=nothing) = new(requestId, accountAttributeSet) end function DescribeAccountAttributesResponseType(pd::ETree) @@ -6415,16 +6415,16 @@ export DescribeAccountAttributesResponseType type CreateNetworkAclEntryType - networkAclId::Union(ASCIIString, Nothing) - ruleNumber::Union(Int64, Nothing) - protocol::Union(ASCIIString, Nothing) - ruleAction::Union(ASCIIString, Nothing) - egress::Union(Bool, Nothing) - cidrBlock::Union(ASCIIString, Nothing) - icmpTypeCode::Union(IcmpTypeCodeType, Nothing) - portRange::Union(PortRangeType, Nothing) - - CreateNetworkAclEntryType(; networkAclId=nothing, ruleNumber=nothing, protocol=nothing, ruleAction=nothing, egress=nothing, cidrBlock=nothing, icmpTypeCode=nothing, portRange=nothing) = + networkAclId::Union{ASCIIString, Void} + ruleNumber::Union{Int64, Void} + protocol::Union{ASCIIString, Void} + ruleAction::Union{ASCIIString, Void} + egress::Union{Bool, Void} + cidrBlock::Union{ASCIIString, Void} + icmpTypeCode::Union{IcmpTypeCodeType, Void} + portRange::Union{PortRangeType, Void} + + CreateNetworkAclEntryType(; networkAclId=nothing, ruleNumber=nothing, protocol=nothing, ruleAction=nothing, egress=nothing, cidrBlock=nothing, icmpTypeCode=nothing, portRange=nothing) = new(networkAclId, ruleNumber, protocol, ruleAction, egress, cidrBlock, icmpTypeCode, portRange) end function CreateNetworkAclEntryType(pd::ETree) @@ -6444,18 +6444,18 @@ export CreateNetworkAclEntryType type DescribeSnapshotsSetItemResponseType - snapshotId::Union(ASCIIString, Nothing) - volumeId::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - startTime::Union(Base.Dates.DateTime, Nothing) - progress::Union(ASCIIString, Nothing) - ownerId::Union(ASCIIString, Nothing) - volumeSize::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - ownerAlias::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - - DescribeSnapshotsSetItemResponseType(; snapshotId=nothing, volumeId=nothing, status=nothing, startTime=nothing, progress=nothing, ownerId=nothing, volumeSize=nothing, description=nothing, ownerAlias=nothing, tagSet=nothing) = + snapshotId::Union{ASCIIString, Void} + volumeId::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + startTime::Union{Base.Dates.DateTime, Void} + progress::Union{ASCIIString, Void} + ownerId::Union{ASCIIString, Void} + volumeSize::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + ownerAlias::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + + DescribeSnapshotsSetItemResponseType(; snapshotId=nothing, volumeId=nothing, status=nothing, startTime=nothing, progress=nothing, ownerId=nothing, volumeSize=nothing, description=nothing, ownerAlias=nothing, tagSet=nothing) = new(snapshotId, volumeId, status, startTime, progress, ownerId, volumeSize, description, ownerAlias, tagSet) end function DescribeSnapshotsSetItemResponseType(pd::ETree) @@ -6477,9 +6477,9 @@ export DescribeSnapshotsSetItemResponseType type BundleInstanceTaskStorageType - S3::Union(BundleInstanceS3StorageType, Nothing) + S3::Union{BundleInstanceS3StorageType, Void} - BundleInstanceTaskStorageType(; S3=nothing) = + BundleInstanceTaskStorageType(; S3=nothing) = new(S3) end function BundleInstanceTaskStorageType(pd::ETree) @@ -6492,14 +6492,14 @@ export BundleInstanceTaskStorageType type InstanceStatusItemType - instanceId::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - eventsSet::Union(Vector{InstanceStatusEventType}, Nothing) - instanceState::Union(InstanceStateType, Nothing) - systemStatus::Union(InstanceStatusType, Nothing) - instanceStatus::Union(InstanceStatusType, Nothing) - - InstanceStatusItemType(; instanceId=nothing, availabilityZone=nothing, eventsSet=nothing, instanceState=nothing, systemStatus=nothing, instanceStatus=nothing) = + instanceId::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + eventsSet::Union{Vector{InstanceStatusEventType}, Void} + instanceState::Union{InstanceStateType, Void} + systemStatus::Union{InstanceStatusType, Void} + instanceStatus::Union{InstanceStatusType, Void} + + InstanceStatusItemType(; instanceId=nothing, availabilityZone=nothing, eventsSet=nothing, instanceState=nothing, systemStatus=nothing, instanceStatus=nothing) = new(instanceId, availabilityZone, eventsSet, instanceState, systemStatus, instanceStatus) end function InstanceStatusItemType(pd::ETree) @@ -6517,17 +6517,17 @@ export InstanceStatusItemType type InstanceNetworkInterfaceSetItemRequestType - networkInterfaceId::Union(ASCIIString, Nothing) - deviceIndex::Union(Int64, Nothing) - subnetId::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - groupSet::Union(Vector{ASCIIString}, Nothing) - deleteOnTermination::Union(Bool, Nothing) - privateIpAddressesSet::Union(Vector{PrivateIpAddressesSetItemRequestType}, Nothing) - secondaryPrivateIpAddressCount::Union(Int64, Nothing) - - InstanceNetworkInterfaceSetItemRequestType(; networkInterfaceId=nothing, deviceIndex=nothing, subnetId=nothing, description=nothing, privateIpAddress=nothing, groupSet=nothing, deleteOnTermination=nothing, privateIpAddressesSet=nothing, secondaryPrivateIpAddressCount=nothing) = + networkInterfaceId::Union{ASCIIString, Void} + deviceIndex::Union{Int64, Void} + subnetId::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + privateIpAddress::Union{ASCIIString, Void} + groupSet::Union{Vector{ASCIIString}, Void} + deleteOnTermination::Union{Bool, Void} + privateIpAddressesSet::Union{Vector{PrivateIpAddressesSetItemRequestType}, Void} + secondaryPrivateIpAddressCount::Union{Int64, Void} + + InstanceNetworkInterfaceSetItemRequestType(; networkInterfaceId=nothing, deviceIndex=nothing, subnetId=nothing, description=nothing, privateIpAddress=nothing, groupSet=nothing, deleteOnTermination=nothing, privateIpAddressesSet=nothing, secondaryPrivateIpAddressCount=nothing) = new(networkInterfaceId, deviceIndex, subnetId, description, privateIpAddress, groupSet, deleteOnTermination, privateIpAddressesSet, secondaryPrivateIpAddressCount) end function InstanceNetworkInterfaceSetItemRequestType(pd::ETree) @@ -6548,11 +6548,11 @@ export InstanceNetworkInterfaceSetItemRequestType type DescribeReservedInstancesListingsType - reservedInstancesListingSet::Union(Vector{ASCIIString}, Nothing) - reservedInstancesSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + reservedInstancesListingSet::Union{Vector{ASCIIString}, Void} + reservedInstancesSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeReservedInstancesListingsType(; reservedInstancesListingSet=nothing, reservedInstancesSet=nothing, filterSet=nothing) = + DescribeReservedInstancesListingsType(; reservedInstancesListingSet=nothing, reservedInstancesSet=nothing, filterSet=nothing) = new(reservedInstancesListingSet, reservedInstancesSet, filterSet) end function DescribeReservedInstancesListingsType(pd::ETree) @@ -6567,16 +6567,16 @@ export DescribeReservedInstancesListingsType type DescribeSpotPriceHistoryType - startTime::Union(Base.Dates.DateTime, Nothing) - endTime::Union(Base.Dates.DateTime, Nothing) - instanceTypeSet::Union(Vector{ASCIIString}, Nothing) - productDescriptionSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - maxResults::Union(Int64, Nothing) - nextToken::Union(ASCIIString, Nothing) - - DescribeSpotPriceHistoryType(; startTime=nothing, endTime=nothing, instanceTypeSet=nothing, productDescriptionSet=nothing, filterSet=nothing, availabilityZone=nothing, maxResults=nothing, nextToken=nothing) = + startTime::Union{Base.Dates.DateTime, Void} + endTime::Union{Base.Dates.DateTime, Void} + instanceTypeSet::Union{Vector{ASCIIString}, Void} + productDescriptionSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} + availabilityZone::Union{ASCIIString, Void} + maxResults::Union{Int64, Void} + nextToken::Union{ASCIIString, Void} + + DescribeSpotPriceHistoryType(; startTime=nothing, endTime=nothing, instanceTypeSet=nothing, productDescriptionSet=nothing, filterSet=nothing, availabilityZone=nothing, maxResults=nothing, nextToken=nothing) = new(startTime, endTime, instanceTypeSet, productDescriptionSet, filterSet, availabilityZone, maxResults, nextToken) end function DescribeSpotPriceHistoryType(pd::ETree) @@ -6596,21 +6596,21 @@ export DescribeSpotPriceHistoryType type DescribeReservedInstancesOfferingsResponseSetItemType - reservedInstancesOfferingId::Union(ASCIIString, Nothing) - instanceType::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - duration::Union(Int64, Nothing) - fixedPrice::Union(Float64, Nothing) - usagePrice::Union(Float64, Nothing) - productDescription::Union(ASCIIString, Nothing) - instanceTenancy::Union(ASCIIString, Nothing) - currencyCode::Union(ASCIIString, Nothing) - offeringType::Union(ASCIIString, Nothing) - recurringCharges::Union(Vector{RecurringChargesSetItemType}, Nothing) - marketplace::Union(Bool, Nothing) - pricingDetailsSet::Union(Vector{PricingDetailsSetItemType}, Nothing) - - DescribeReservedInstancesOfferingsResponseSetItemType(; reservedInstancesOfferingId=nothing, instanceType=nothing, availabilityZone=nothing, duration=nothing, fixedPrice=nothing, usagePrice=nothing, productDescription=nothing, instanceTenancy=nothing, currencyCode=nothing, offeringType=nothing, recurringCharges=nothing, marketplace=nothing, pricingDetailsSet=nothing) = + reservedInstancesOfferingId::Union{ASCIIString, Void} + instanceType::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + duration::Union{Int64, Void} + fixedPrice::Union{Float64, Void} + usagePrice::Union{Float64, Void} + productDescription::Union{ASCIIString, Void} + instanceTenancy::Union{ASCIIString, Void} + currencyCode::Union{ASCIIString, Void} + offeringType::Union{ASCIIString, Void} + recurringCharges::Union{Vector{RecurringChargesSetItemType}, Void} + marketplace::Union{Bool, Void} + pricingDetailsSet::Union{Vector{PricingDetailsSetItemType}, Void} + + DescribeReservedInstancesOfferingsResponseSetItemType(; reservedInstancesOfferingId=nothing, instanceType=nothing, availabilityZone=nothing, duration=nothing, fixedPrice=nothing, usagePrice=nothing, productDescription=nothing, instanceTenancy=nothing, currencyCode=nothing, offeringType=nothing, recurringCharges=nothing, marketplace=nothing, pricingDetailsSet=nothing) = new(reservedInstancesOfferingId, instanceType, availabilityZone, duration, fixedPrice, usagePrice, productDescription, instanceTenancy, currencyCode, offeringType, recurringCharges, marketplace, pricingDetailsSet) end function DescribeReservedInstancesOfferingsResponseSetItemType(pd::ETree) @@ -6635,13 +6635,13 @@ export DescribeReservedInstancesOfferingsResponseSetItemType type IpPermissionType - ipProtocol::Union(ASCIIString, Nothing) - fromPort::Union(Int64, Nothing) - toPort::Union(Int64, Nothing) - groups::Union(Vector{UserIdGroupPairType}, Nothing) - ipRanges::Union(Vector{ASCIIString}, Nothing) + ipProtocol::Union{ASCIIString, Void} + fromPort::Union{Int64, Void} + toPort::Union{Int64, Void} + groups::Union{Vector{UserIdGroupPairType}, Void} + ipRanges::Union{Vector{ASCIIString}, Void} - IpPermissionType(; ipProtocol=nothing, fromPort=nothing, toPort=nothing, groups=nothing, ipRanges=nothing) = + IpPermissionType(; ipProtocol=nothing, fromPort=nothing, toPort=nothing, groups=nothing, ipRanges=nothing) = new(ipProtocol, fromPort, toPort, groups, ipRanges) end function IpPermissionType(pd::ETree) @@ -6658,10 +6658,10 @@ export IpPermissionType type DescribeVolumesResponseType - requestId::Union(ASCIIString, Nothing) - volumeSet::Union(Vector{DescribeVolumesSetItemResponseType}, Nothing) + requestId::Union{ASCIIString, Void} + volumeSet::Union{Vector{DescribeVolumesSetItemResponseType}, Void} - DescribeVolumesResponseType(; requestId=nothing, volumeSet=nothing) = + DescribeVolumesResponseType(; requestId=nothing, volumeSet=nothing) = new(requestId, volumeSet) end function DescribeVolumesResponseType(pd::ETree) @@ -6675,11 +6675,11 @@ export DescribeVolumesResponseType type DescribeSpotPriceHistoryResponseType - requestId::Union(ASCIIString, Nothing) - spotPriceHistorySet::Union(Vector{SpotPriceHistorySetItemType}, Nothing) - nextToken::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + spotPriceHistorySet::Union{Vector{SpotPriceHistorySetItemType}, Void} + nextToken::Union{ASCIIString, Void} - DescribeSpotPriceHistoryResponseType(; requestId=nothing, spotPriceHistorySet=nothing, nextToken=nothing) = + DescribeSpotPriceHistoryResponseType(; requestId=nothing, spotPriceHistorySet=nothing, nextToken=nothing) = new(requestId, spotPriceHistorySet, nextToken) end function DescribeSpotPriceHistoryResponseType(pd::ETree) @@ -6694,10 +6694,10 @@ export DescribeSpotPriceHistoryResponseType type DescribeSpotInstanceRequestsType - spotInstanceRequestIdSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + spotInstanceRequestIdSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeSpotInstanceRequestsType(; spotInstanceRequestIdSet=nothing, filterSet=nothing) = + DescribeSpotInstanceRequestsType(; spotInstanceRequestIdSet=nothing, filterSet=nothing) = new(spotInstanceRequestIdSet, filterSet) end function DescribeSpotInstanceRequestsType(pd::ETree) @@ -6711,10 +6711,10 @@ export DescribeSpotInstanceRequestsType type CreateDhcpOptionsResponseType - requestId::Union(ASCIIString, Nothing) - dhcpOptions::Union(DhcpOptionsType, Nothing) + requestId::Union{ASCIIString, Void} + dhcpOptions::Union{DhcpOptionsType, Void} - CreateDhcpOptionsResponseType(; requestId=nothing, dhcpOptions=nothing) = + CreateDhcpOptionsResponseType(; requestId=nothing, dhcpOptions=nothing) = new(requestId, dhcpOptions) end function CreateDhcpOptionsResponseType(pd::ETree) @@ -6728,10 +6728,10 @@ export CreateDhcpOptionsResponseType type DescribeRouteTablesType - routeTableIdSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + routeTableIdSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeRouteTablesType(; routeTableIdSet=nothing, filterSet=nothing) = + DescribeRouteTablesType(; routeTableIdSet=nothing, filterSet=nothing) = new(routeTableIdSet, filterSet) end function DescribeRouteTablesType(pd::ETree) @@ -6745,10 +6745,10 @@ export DescribeRouteTablesType type DescribeInternetGatewaysResponseType - requestId::Union(ASCIIString, Nothing) - internetGatewaySet::Union(Vector{InternetGatewayType}, Nothing) + requestId::Union{ASCIIString, Void} + internetGatewaySet::Union{Vector{InternetGatewayType}, Void} - DescribeInternetGatewaysResponseType(; requestId=nothing, internetGatewaySet=nothing) = + DescribeInternetGatewaysResponseType(; requestId=nothing, internetGatewaySet=nothing) = new(requestId, internetGatewaySet) end function DescribeInternetGatewaysResponseType(pd::ETree) @@ -6762,10 +6762,10 @@ export DescribeInternetGatewaysResponseType type CreateInstanceExportTaskResponseType - requestId::Union(ASCIIString, Nothing) - exportTask::Union(ExportTaskResponseType, Nothing) + requestId::Union{ASCIIString, Void} + exportTask::Union{ExportTaskResponseType, Void} - CreateInstanceExportTaskResponseType(; requestId=nothing, exportTask=nothing) = + CreateInstanceExportTaskResponseType(; requestId=nothing, exportTask=nothing) = new(requestId, exportTask) end function CreateInstanceExportTaskResponseType(pd::ETree) @@ -6779,13 +6779,13 @@ export CreateInstanceExportTaskResponseType type CreateImageType - instanceId::Union(ASCIIString, Nothing) - name::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - noReboot::Union(Bool, Nothing) - blockDeviceMapping::Union(Vector{BlockDeviceMappingItemType}, Nothing) + instanceId::Union{ASCIIString, Void} + name::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + noReboot::Union{Bool, Void} + blockDeviceMapping::Union{Vector{BlockDeviceMappingItemType}, Void} - CreateImageType(; instanceId=nothing, name=nothing, description=nothing, noReboot=nothing, blockDeviceMapping=nothing) = + CreateImageType(; instanceId=nothing, name=nothing, description=nothing, noReboot=nothing, blockDeviceMapping=nothing) = new(instanceId, name, description, noReboot, blockDeviceMapping) end function CreateImageType(pd::ETree) @@ -6802,10 +6802,10 @@ export CreateImageType type DescribeInternetGatewaysType - internetGatewayIdSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + internetGatewayIdSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeInternetGatewaysType(; internetGatewayIdSet=nothing, filterSet=nothing) = + DescribeInternetGatewaysType(; internetGatewayIdSet=nothing, filterSet=nothing) = new(internetGatewayIdSet, filterSet) end function DescribeInternetGatewaysType(pd::ETree) @@ -6819,11 +6819,11 @@ export DescribeInternetGatewaysType type InstanceStateChangeType - instanceId::Union(ASCIIString, Nothing) - currentState::Union(InstanceStateType, Nothing) - previousState::Union(InstanceStateType, Nothing) + instanceId::Union{ASCIIString, Void} + currentState::Union{InstanceStateType, Void} + previousState::Union{InstanceStateType, Void} - InstanceStateChangeType(; instanceId=nothing, currentState=nothing, previousState=nothing) = + InstanceStateChangeType(; instanceId=nothing, currentState=nothing, previousState=nothing) = new(instanceId, currentState, previousState) end function InstanceStateChangeType(pd::ETree) @@ -6838,11 +6838,11 @@ export InstanceStateChangeType type PurchaseReservedInstancesOfferingType - reservedInstancesOfferingId::Union(ASCIIString, Nothing) - instanceCount::Union(Int64, Nothing) - limitPrice::Union(ReservedInstanceLimitPriceType, Nothing) + reservedInstancesOfferingId::Union{ASCIIString, Void} + instanceCount::Union{Int64, Void} + limitPrice::Union{ReservedInstanceLimitPriceType, Void} - PurchaseReservedInstancesOfferingType(; reservedInstancesOfferingId=nothing, instanceCount=nothing, limitPrice=nothing) = + PurchaseReservedInstancesOfferingType(; reservedInstancesOfferingId=nothing, instanceCount=nothing, limitPrice=nothing) = new(reservedInstancesOfferingId, instanceCount, limitPrice) end function PurchaseReservedInstancesOfferingType(pd::ETree) @@ -6857,14 +6857,14 @@ export PurchaseReservedInstancesOfferingType type RouteTableType - routeTableId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) - routeSet::Union(Vector{RouteType}, Nothing) - associationSet::Union(Vector{RouteTableAssociationType}, Nothing) - propagatingVgwSet::Union(Vector{ASCIIString}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - - RouteTableType(; routeTableId=nothing, vpcId=nothing, routeSet=nothing, associationSet=nothing, propagatingVgwSet=nothing, tagSet=nothing) = + routeTableId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} + routeSet::Union{Vector{RouteType}, Void} + associationSet::Union{Vector{RouteTableAssociationType}, Void} + propagatingVgwSet::Union{Vector{ASCIIString}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + + RouteTableType(; routeTableId=nothing, vpcId=nothing, routeSet=nothing, associationSet=nothing, propagatingVgwSet=nothing, tagSet=nothing) = new(routeTableId, vpcId, routeSet, associationSet, propagatingVgwSet, tagSet) end function RouteTableType(pd::ETree) @@ -6882,10 +6882,10 @@ export RouteTableType type DescribeVpnConnectionsType - vpnConnectionSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + vpnConnectionSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeVpnConnectionsType(; vpnConnectionSet=nothing, filterSet=nothing) = + DescribeVpnConnectionsType(; vpnConnectionSet=nothing, filterSet=nothing) = new(vpnConnectionSet, filterSet) end function DescribeVpnConnectionsType(pd::ETree) @@ -6899,14 +6899,14 @@ export DescribeVpnConnectionsType type CreateNetworkInterfaceType - subnetId::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - groupSet::Union(Vector{ASCIIString}, Nothing) - privateIpAddressesSet::Union(Vector{PrivateIpAddressesSetItemRequestType}, Nothing) - secondaryPrivateIpAddressCount::Union(Int64, Nothing) - - CreateNetworkInterfaceType(; subnetId=nothing, description=nothing, privateIpAddress=nothing, groupSet=nothing, privateIpAddressesSet=nothing, secondaryPrivateIpAddressCount=nothing) = + subnetId::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + privateIpAddress::Union{ASCIIString, Void} + groupSet::Union{Vector{ASCIIString}, Void} + privateIpAddressesSet::Union{Vector{PrivateIpAddressesSetItemRequestType}, Void} + secondaryPrivateIpAddressCount::Union{Int64, Void} + + CreateNetworkInterfaceType(; subnetId=nothing, description=nothing, privateIpAddress=nothing, groupSet=nothing, privateIpAddressesSet=nothing, secondaryPrivateIpAddressCount=nothing) = new(subnetId, description, privateIpAddress, groupSet, privateIpAddressesSet, secondaryPrivateIpAddressCount) end function CreateNetworkInterfaceType(pd::ETree) @@ -6924,10 +6924,10 @@ export CreateNetworkInterfaceType type DescribeVpcsResponseType - requestId::Union(ASCIIString, Nothing) - vpcSet::Union(Vector{VpcType}, Nothing) + requestId::Union{ASCIIString, Void} + vpcSet::Union{Vector{VpcType}, Void} - DescribeVpcsResponseType(; requestId=nothing, vpcSet=nothing) = + DescribeVpcsResponseType(; requestId=nothing, vpcSet=nothing) = new(requestId, vpcSet) end function DescribeVpcsResponseType(pd::ETree) @@ -6941,18 +6941,18 @@ export DescribeVpcsResponseType type DescribeReservedInstancesListingsResponseSetItemType - reservedInstancesListingId::Union(ASCIIString, Nothing) - reservedInstancesId::Union(ASCIIString, Nothing) - createDate::Union(Base.Dates.DateTime, Nothing) - updateDate::Union(Base.Dates.DateTime, Nothing) - status::Union(ASCIIString, Nothing) - statusMessage::Union(ASCIIString, Nothing) - instanceCounts::Union(Vector{InstanceCountsSetItemType}, Nothing) - priceSchedules::Union(Vector{PriceScheduleSetItemType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - clientToken::Union(ASCIIString, Nothing) - - DescribeReservedInstancesListingsResponseSetItemType(; reservedInstancesListingId=nothing, reservedInstancesId=nothing, createDate=nothing, updateDate=nothing, status=nothing, statusMessage=nothing, instanceCounts=nothing, priceSchedules=nothing, tagSet=nothing, clientToken=nothing) = + reservedInstancesListingId::Union{ASCIIString, Void} + reservedInstancesId::Union{ASCIIString, Void} + createDate::Union{Base.Dates.DateTime, Void} + updateDate::Union{Base.Dates.DateTime, Void} + status::Union{ASCIIString, Void} + statusMessage::Union{ASCIIString, Void} + instanceCounts::Union{Vector{InstanceCountsSetItemType}, Void} + priceSchedules::Union{Vector{PriceScheduleSetItemType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + clientToken::Union{ASCIIString, Void} + + DescribeReservedInstancesListingsResponseSetItemType(; reservedInstancesListingId=nothing, reservedInstancesId=nothing, createDate=nothing, updateDate=nothing, status=nothing, statusMessage=nothing, instanceCounts=nothing, priceSchedules=nothing, tagSet=nothing, clientToken=nothing) = new(reservedInstancesListingId, reservedInstancesId, createDate, updateDate, status, statusMessage, instanceCounts, priceSchedules, tagSet, clientToken) end function DescribeReservedInstancesListingsResponseSetItemType(pd::ETree) @@ -6974,10 +6974,10 @@ export DescribeReservedInstancesListingsResponseSetItemType type DescribeVpcsType - vpcSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + vpcSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeVpcsType(; vpcSet=nothing, filterSet=nothing) = + DescribeVpcsType(; vpcSet=nothing, filterSet=nothing) = new(vpcSet, filterSet) end function DescribeVpcsType(pd::ETree) @@ -6991,10 +6991,10 @@ export DescribeVpcsType type DescribeDhcpOptionsResponseType - requestId::Union(ASCIIString, Nothing) - dhcpOptionsSet::Union(Vector{DhcpOptionsType}, Nothing) + requestId::Union{ASCIIString, Void} + dhcpOptionsSet::Union{Vector{DhcpOptionsType}, Void} - DescribeDhcpOptionsResponseType(; requestId=nothing, dhcpOptionsSet=nothing) = + DescribeDhcpOptionsResponseType(; requestId=nothing, dhcpOptionsSet=nothing) = new(requestId, dhcpOptionsSet) end function DescribeDhcpOptionsResponseType(pd::ETree) @@ -7008,9 +7008,9 @@ export DescribeDhcpOptionsResponseType type DescribeTagsType - filterSet::Union(Vector{FilterType}, Nothing) + filterSet::Union{Vector{FilterType}, Void} - DescribeTagsType(; filterSet=nothing) = + DescribeTagsType(; filterSet=nothing) = new(filterSet) end function DescribeTagsType(pd::ETree) @@ -7023,10 +7023,10 @@ export DescribeTagsType type MonitorInstancesResponseSetItemType - instanceId::Union(ASCIIString, Nothing) - monitoring::Union(InstanceMonitoringStateType, Nothing) + instanceId::Union{ASCIIString, Void} + monitoring::Union{InstanceMonitoringStateType, Void} - MonitorInstancesResponseSetItemType(; instanceId=nothing, monitoring=nothing) = + MonitorInstancesResponseSetItemType(; instanceId=nothing, monitoring=nothing) = new(instanceId, monitoring) end function MonitorInstancesResponseSetItemType(pd::ETree) @@ -7040,10 +7040,10 @@ export MonitorInstancesResponseSetItemType type DescribeRouteTablesResponseType - requestId::Union(ASCIIString, Nothing) - routeTableSet::Union(Vector{RouteTableType}, Nothing) + requestId::Union{ASCIIString, Void} + routeTableSet::Union{Vector{RouteTableType}, Void} - DescribeRouteTablesResponseType(; requestId=nothing, routeTableSet=nothing) = + DescribeRouteTablesResponseType(; requestId=nothing, routeTableSet=nothing) = new(requestId, routeTableSet) end function DescribeRouteTablesResponseType(pd::ETree) @@ -7057,10 +7057,10 @@ export DescribeRouteTablesResponseType type DescribeAccountAttributesType - accountAttributeNameSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + accountAttributeNameSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeAccountAttributesType(; accountAttributeNameSet=nothing, filterSet=nothing) = + DescribeAccountAttributesType(; accountAttributeNameSet=nothing, filterSet=nothing) = new(accountAttributeNameSet, filterSet) end function DescribeAccountAttributesType(pd::ETree) @@ -7074,11 +7074,11 @@ export DescribeAccountAttributesType type DescribeInstanceStatusResponseType - requestId::Union(ASCIIString, Nothing) - instanceStatusSet::Union(Vector{InstanceStatusItemType}, Nothing) - nextToken::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + instanceStatusSet::Union{Vector{InstanceStatusItemType}, Void} + nextToken::Union{ASCIIString, Void} - DescribeInstanceStatusResponseType(; requestId=nothing, instanceStatusSet=nothing, nextToken=nothing) = + DescribeInstanceStatusResponseType(; requestId=nothing, instanceStatusSet=nothing, nextToken=nothing) = new(requestId, instanceStatusSet, nextToken) end function DescribeInstanceStatusResponseType(pd::ETree) @@ -7093,14 +7093,14 @@ export DescribeInstanceStatusResponseType type VpnGatewayType - vpnGatewayId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - _type::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - attachments::Union(Vector{AttachmentType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - - VpnGatewayType(; vpnGatewayId=nothing, state=nothing, _type=nothing, availabilityZone=nothing, attachments=nothing, tagSet=nothing) = + vpnGatewayId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + _type::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + attachments::Union{Vector{AttachmentType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + + VpnGatewayType(; vpnGatewayId=nothing, state=nothing, _type=nothing, availabilityZone=nothing, attachments=nothing, tagSet=nothing) = new(vpnGatewayId, state, _type, availabilityZone, attachments, tagSet) end function VpnGatewayType(pd::ETree) @@ -7118,10 +7118,10 @@ export VpnGatewayType type DescribeKeyPairsType - keySet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + keySet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeKeyPairsType(; keySet=nothing, filterSet=nothing) = + DescribeKeyPairsType(; keySet=nothing, filterSet=nothing) = new(keySet, filterSet) end function DescribeKeyPairsType(pd::ETree) @@ -7135,10 +7135,10 @@ export DescribeKeyPairsType type BundleInstanceType - instanceId::Union(ASCIIString, Nothing) - storage::Union(BundleInstanceTaskStorageType, Nothing) + instanceId::Union{ASCIIString, Void} + storage::Union{BundleInstanceTaskStorageType, Void} - BundleInstanceType(; instanceId=nothing, storage=nothing) = + BundleInstanceType(; instanceId=nothing, storage=nothing) = new(instanceId, storage) end function BundleInstanceType(pd::ETree) @@ -7152,12 +7152,12 @@ export BundleInstanceType type InstancePrivateIpAddressesSetItemType - privateIpAddress::Union(ASCIIString, Nothing) - privateDnsName::Union(ASCIIString, Nothing) - primary::Union(Bool, Nothing) - association::Union(InstanceNetworkInterfaceAssociationType, Nothing) + privateIpAddress::Union{ASCIIString, Void} + privateDnsName::Union{ASCIIString, Void} + primary::Union{Bool, Void} + association::Union{InstanceNetworkInterfaceAssociationType, Void} - InstancePrivateIpAddressesSetItemType(; privateIpAddress=nothing, privateDnsName=nothing, primary=nothing, association=nothing) = + InstancePrivateIpAddressesSetItemType(; privateIpAddress=nothing, privateDnsName=nothing, primary=nothing, association=nothing) = new(privateIpAddress, privateDnsName, primary, association) end function InstancePrivateIpAddressesSetItemType(pd::ETree) @@ -7173,17 +7173,17 @@ export InstancePrivateIpAddressesSetItemType type ImportInstanceLaunchSpecificationType - architecture::Union(ASCIIString, Nothing) - groupSet::Union(Vector{ImportInstanceGroupItemType}, Nothing) - userData::Union(UserDataType, Nothing) - instanceType::Union(ASCIIString, Nothing) - placement::Union(InstancePlacementType, Nothing) - monitoring::Union(MonitoringInstanceType, Nothing) - subnetId::Union(ASCIIString, Nothing) - instanceInitiatedShutdownBehavior::Union(ASCIIString, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - - ImportInstanceLaunchSpecificationType(; architecture=nothing, groupSet=nothing, userData=nothing, instanceType=nothing, placement=nothing, monitoring=nothing, subnetId=nothing, instanceInitiatedShutdownBehavior=nothing, privateIpAddress=nothing) = + architecture::Union{ASCIIString, Void} + groupSet::Union{Vector{ImportInstanceGroupItemType}, Void} + userData::Union{UserDataType, Void} + instanceType::Union{ASCIIString, Void} + placement::Union{InstancePlacementType, Void} + monitoring::Union{MonitoringInstanceType, Void} + subnetId::Union{ASCIIString, Void} + instanceInitiatedShutdownBehavior::Union{ASCIIString, Void} + privateIpAddress::Union{ASCIIString, Void} + + ImportInstanceLaunchSpecificationType(; architecture=nothing, groupSet=nothing, userData=nothing, instanceType=nothing, placement=nothing, monitoring=nothing, subnetId=nothing, instanceInitiatedShutdownBehavior=nothing, privateIpAddress=nothing) = new(architecture, groupSet, userData, instanceType, placement, monitoring, subnetId, instanceInitiatedShutdownBehavior, privateIpAddress) end function ImportInstanceLaunchSpecificationType(pd::ETree) @@ -7204,11 +7204,11 @@ export ImportInstanceLaunchSpecificationType type DescribeAddressesType - publicIpsSet::Union(Vector{ASCIIString}, Nothing) - allocationIdsSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + publicIpsSet::Union{Vector{ASCIIString}, Void} + allocationIdsSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeAddressesType(; publicIpsSet=nothing, allocationIdsSet=nothing, filterSet=nothing) = + DescribeAddressesType(; publicIpsSet=nothing, allocationIdsSet=nothing, filterSet=nothing) = new(publicIpsSet, allocationIdsSet, filterSet) end function DescribeAddressesType(pd::ETree) @@ -7223,10 +7223,10 @@ export DescribeAddressesType type VolumeStatusInfoType - status::Union(ASCIIString, Nothing) - details::Union(Vector{VolumeStatusDetailsItemType}, Nothing) + status::Union{ASCIIString, Void} + details::Union{Vector{VolumeStatusDetailsItemType}, Void} - VolumeStatusInfoType(; status=nothing, details=nothing) = + VolumeStatusInfoType(; status=nothing, details=nothing) = new(status, details) end function VolumeStatusInfoType(pd::ETree) @@ -7240,10 +7240,10 @@ export VolumeStatusInfoType type StartInstancesResponseType - requestId::Union(ASCIIString, Nothing) - instancesSet::Union(Vector{InstanceStateChangeType}, Nothing) + requestId::Union{ASCIIString, Void} + instancesSet::Union{Vector{InstanceStateChangeType}, Void} - StartInstancesResponseType(; requestId=nothing, instancesSet=nothing) = + StartInstancesResponseType(; requestId=nothing, instancesSet=nothing) = new(requestId, instancesSet) end function StartInstancesResponseType(pd::ETree) @@ -7257,12 +7257,12 @@ export StartInstancesResponseType type CreateVpnConnectionType - _type::Union(ASCIIString, Nothing) - customerGatewayId::Union(ASCIIString, Nothing) - vpnGatewayId::Union(ASCIIString, Nothing) - options::Union(VpnConnectionOptionsRequestType, Nothing) + _type::Union{ASCIIString, Void} + customerGatewayId::Union{ASCIIString, Void} + vpnGatewayId::Union{ASCIIString, Void} + options::Union{VpnConnectionOptionsRequestType, Void} - CreateVpnConnectionType(; _type=nothing, customerGatewayId=nothing, vpnGatewayId=nothing, options=nothing) = + CreateVpnConnectionType(; _type=nothing, customerGatewayId=nothing, vpnGatewayId=nothing, options=nothing) = new(_type, customerGatewayId, vpnGatewayId, options) end function CreateVpnConnectionType(pd::ETree) @@ -7278,10 +7278,10 @@ export CreateVpnConnectionType type AuthorizeSecurityGroupEgressType - groupId::Union(ASCIIString, Nothing) - ipPermissions::Union(Vector{IpPermissionType}, Nothing) + groupId::Union{ASCIIString, Void} + ipPermissions::Union{Vector{IpPermissionType}, Void} - AuthorizeSecurityGroupEgressType(; groupId=nothing, ipPermissions=nothing) = + AuthorizeSecurityGroupEgressType(; groupId=nothing, ipPermissions=nothing) = new(groupId, ipPermissions) end function AuthorizeSecurityGroupEgressType(pd::ETree) @@ -7295,10 +7295,10 @@ export AuthorizeSecurityGroupEgressType type CreateReservedInstancesListingResponseType - requestId::Union(ASCIIString, Nothing) - reservedInstancesListingsSet::Union(Vector{DescribeReservedInstancesListingsResponseSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + reservedInstancesListingsSet::Union{Vector{DescribeReservedInstancesListingsResponseSetItemType}, Void} - CreateReservedInstancesListingResponseType(; requestId=nothing, reservedInstancesListingsSet=nothing) = + CreateReservedInstancesListingResponseType(; requestId=nothing, reservedInstancesListingsSet=nothing) = new(requestId, reservedInstancesListingsSet) end function CreateReservedInstancesListingResponseType(pd::ETree) @@ -7312,14 +7312,14 @@ export CreateReservedInstancesListingResponseType type NetworkAclType - networkAclId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) - default::Union(Bool, Nothing) - entrySet::Union(Vector{NetworkAclEntryType}, Nothing) - associationSet::Union(Vector{NetworkAclAssociationType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - - NetworkAclType(; networkAclId=nothing, vpcId=nothing, default=nothing, entrySet=nothing, associationSet=nothing, tagSet=nothing) = + networkAclId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} + default::Union{Bool, Void} + entrySet::Union{Vector{NetworkAclEntryType}, Void} + associationSet::Union{Vector{NetworkAclAssociationType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + + NetworkAclType(; networkAclId=nothing, vpcId=nothing, default=nothing, entrySet=nothing, associationSet=nothing, tagSet=nothing) = new(networkAclId, vpcId, default, entrySet, associationSet, tagSet) end function NetworkAclType(pd::ETree) @@ -7337,10 +7337,10 @@ export NetworkAclType type DescribeAddressesResponseType - requestId::Union(ASCIIString, Nothing) - addressesSet::Union(Vector{DescribeAddressesResponseItemType}, Nothing) + requestId::Union{ASCIIString, Void} + addressesSet::Union{Vector{DescribeAddressesResponseItemType}, Void} - DescribeAddressesResponseType(; requestId=nothing, addressesSet=nothing) = + DescribeAddressesResponseType(; requestId=nothing, addressesSet=nothing) = new(requestId, addressesSet) end function DescribeAddressesResponseType(pd::ETree) @@ -7354,10 +7354,10 @@ export DescribeAddressesResponseType type TerminateInstancesResponseType - requestId::Union(ASCIIString, Nothing) - instancesSet::Union(Vector{InstanceStateChangeType}, Nothing) + requestId::Union{ASCIIString, Void} + instancesSet::Union{Vector{InstanceStateChangeType}, Void} - TerminateInstancesResponseType(; requestId=nothing, instancesSet=nothing) = + TerminateInstancesResponseType(; requestId=nothing, instancesSet=nothing) = new(requestId, instancesSet) end function TerminateInstancesResponseType(pd::ETree) @@ -7371,11 +7371,11 @@ export TerminateInstancesResponseType type DiskImageType - image::Union(DiskImageDetailType, Nothing) - description::Union(ASCIIString, Nothing) - volume::Union(DiskImageVolumeType, Nothing) + image::Union{DiskImageDetailType, Void} + description::Union{ASCIIString, Void} + volume::Union{DiskImageVolumeType, Void} - DiskImageType(; image=nothing, description=nothing, volume=nothing) = + DiskImageType(; image=nothing, description=nothing, volume=nothing) = new(image, description, volume) end function DiskImageType(pd::ETree) @@ -7390,31 +7390,31 @@ export DiskImageType type RunInstancesType - imageId::Union(ASCIIString, Nothing) - minCount::Union(Int64, Nothing) - maxCount::Union(Int64, Nothing) - keyName::Union(ASCIIString, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - additionalInfo::Union(ASCIIString, Nothing) - userData::Union(UserDataType, Nothing) - addressingType::Union(ASCIIString, Nothing) - instanceType::Union(ASCIIString, Nothing) - placement::Union(PlacementRequestType, Nothing) - kernelId::Union(ASCIIString, Nothing) - ramdiskId::Union(ASCIIString, Nothing) - blockDeviceMapping::Union(Vector{BlockDeviceMappingItemType}, Nothing) - monitoring::Union(MonitoringInstanceType, Nothing) - subnetId::Union(ASCIIString, Nothing) - disableApiTermination::Union(Bool, Nothing) - instanceInitiatedShutdownBehavior::Union(ASCIIString, Nothing) - license::Union(InstanceLicenseRequestType, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - clientToken::Union(ASCIIString, Nothing) - networkInterfaceSet::Union(Vector{InstanceNetworkInterfaceSetItemRequestType}, Nothing) - iamInstanceProfile::Union(IamInstanceProfileRequestType, Nothing) - ebsOptimized::Union(Bool, Nothing) - - RunInstancesType(; imageId=nothing, minCount=nothing, maxCount=nothing, keyName=nothing, groupSet=nothing, additionalInfo=nothing, userData=nothing, addressingType=nothing, instanceType=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, blockDeviceMapping=nothing, monitoring=nothing, subnetId=nothing, disableApiTermination=nothing, instanceInitiatedShutdownBehavior=nothing, license=nothing, privateIpAddress=nothing, clientToken=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = + imageId::Union{ASCIIString, Void} + minCount::Union{Int64, Void} + maxCount::Union{Int64, Void} + keyName::Union{ASCIIString, Void} + groupSet::Union{Vector{GroupItemType}, Void} + additionalInfo::Union{ASCIIString, Void} + userData::Union{UserDataType, Void} + addressingType::Union{ASCIIString, Void} + instanceType::Union{ASCIIString, Void} + placement::Union{PlacementRequestType, Void} + kernelId::Union{ASCIIString, Void} + ramdiskId::Union{ASCIIString, Void} + blockDeviceMapping::Union{Vector{BlockDeviceMappingItemType}, Void} + monitoring::Union{MonitoringInstanceType, Void} + subnetId::Union{ASCIIString, Void} + disableApiTermination::Union{Bool, Void} + instanceInitiatedShutdownBehavior::Union{ASCIIString, Void} + license::Union{InstanceLicenseRequestType, Void} + privateIpAddress::Union{ASCIIString, Void} + clientToken::Union{ASCIIString, Void} + networkInterfaceSet::Union{Vector{InstanceNetworkInterfaceSetItemRequestType}, Void} + iamInstanceProfile::Union{IamInstanceProfileRequestType, Void} + ebsOptimized::Union{Bool, Void} + + RunInstancesType(; imageId=nothing, minCount=nothing, maxCount=nothing, keyName=nothing, groupSet=nothing, additionalInfo=nothing, userData=nothing, addressingType=nothing, instanceType=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, blockDeviceMapping=nothing, monitoring=nothing, subnetId=nothing, disableApiTermination=nothing, instanceInitiatedShutdownBehavior=nothing, license=nothing, privateIpAddress=nothing, clientToken=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = new(imageId, minCount, maxCount, keyName, groupSet, additionalInfo, userData, addressingType, instanceType, placement, kernelId, ramdiskId, blockDeviceMapping, monitoring, subnetId, disableApiTermination, instanceInitiatedShutdownBehavior, license, privateIpAddress, clientToken, networkInterfaceSet, iamInstanceProfile, ebsOptimized) end function RunInstancesType(pd::ETree) @@ -7449,10 +7449,10 @@ export RunInstancesType type DescribeAvailabilityZonesType - availabilityZoneSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + availabilityZoneSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeAvailabilityZonesType(; availabilityZoneSet=nothing, filterSet=nothing) = + DescribeAvailabilityZonesType(; availabilityZoneSet=nothing, filterSet=nothing) = new(availabilityZoneSet, filterSet) end function DescribeAvailabilityZonesType(pd::ETree) @@ -7466,10 +7466,10 @@ export DescribeAvailabilityZonesType type CreateVolumePermissionOperationType - add::Union(Vector{CreateVolumePermissionItemType}, Nothing) - remove::Union(Vector{CreateVolumePermissionItemType}, Nothing) + add::Union{Vector{CreateVolumePermissionItemType}, Void} + remove::Union{Vector{CreateVolumePermissionItemType}, Void} - CreateVolumePermissionOperationType(; add=nothing, remove=nothing) = + CreateVolumePermissionOperationType(; add=nothing, remove=nothing) = new(add, remove) end function CreateVolumePermissionOperationType(pd::ETree) @@ -7483,22 +7483,22 @@ export CreateVolumePermissionOperationType type InstanceNetworkInterfaceSetItemType - networkInterfaceId::Union(ASCIIString, Nothing) - subnetId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - ownerId::Union(ASCIIString, Nothing) - status::Union(ASCIIString, Nothing) - macAddress::Union(ASCIIString, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - privateDnsName::Union(ASCIIString, Nothing) - sourceDestCheck::Union(Bool, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - attachment::Union(InstanceNetworkInterfaceAttachmentType, Nothing) - association::Union(InstanceNetworkInterfaceAssociationType, Nothing) - privateIpAddressesSet::Union(Vector{InstancePrivateIpAddressesSetItemType}, Nothing) - - InstanceNetworkInterfaceSetItemType(; networkInterfaceId=nothing, subnetId=nothing, vpcId=nothing, description=nothing, ownerId=nothing, status=nothing, macAddress=nothing, privateIpAddress=nothing, privateDnsName=nothing, sourceDestCheck=nothing, groupSet=nothing, attachment=nothing, association=nothing, privateIpAddressesSet=nothing) = + networkInterfaceId::Union{ASCIIString, Void} + subnetId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + ownerId::Union{ASCIIString, Void} + status::Union{ASCIIString, Void} + macAddress::Union{ASCIIString, Void} + privateIpAddress::Union{ASCIIString, Void} + privateDnsName::Union{ASCIIString, Void} + sourceDestCheck::Union{Bool, Void} + groupSet::Union{Vector{GroupItemType}, Void} + attachment::Union{InstanceNetworkInterfaceAttachmentType, Void} + association::Union{InstanceNetworkInterfaceAssociationType, Void} + privateIpAddressesSet::Union{Vector{InstancePrivateIpAddressesSetItemType}, Void} + + InstanceNetworkInterfaceSetItemType(; networkInterfaceId=nothing, subnetId=nothing, vpcId=nothing, description=nothing, ownerId=nothing, status=nothing, macAddress=nothing, privateIpAddress=nothing, privateDnsName=nothing, sourceDestCheck=nothing, groupSet=nothing, attachment=nothing, association=nothing, privateIpAddressesSet=nothing) = new(networkInterfaceId, subnetId, vpcId, description, ownerId, status, macAddress, privateIpAddress, privateDnsName, sourceDestCheck, groupSet, attachment, association, privateIpAddressesSet) end function InstanceNetworkInterfaceSetItemType(pd::ETree) @@ -7524,13 +7524,13 @@ export InstanceNetworkInterfaceSetItemType type LicenseSetItemType - licenseId::Union(ASCIIString, Nothing) - _type::Union(ASCIIString, Nothing) - pool::Union(ASCIIString, Nothing) - capacitySet::Union(Vector{LicenseCapacitySetItemType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) + licenseId::Union{ASCIIString, Void} + _type::Union{ASCIIString, Void} + pool::Union{ASCIIString, Void} + capacitySet::Union{Vector{LicenseCapacitySetItemType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} - LicenseSetItemType(; licenseId=nothing, _type=nothing, pool=nothing, capacitySet=nothing, tagSet=nothing) = + LicenseSetItemType(; licenseId=nothing, _type=nothing, pool=nothing, capacitySet=nothing, tagSet=nothing) = new(licenseId, _type, pool, capacitySet, tagSet) end function LicenseSetItemType(pd::ETree) @@ -7547,13 +7547,13 @@ export LicenseSetItemType type ImportVolumeTaskDetailsType - bytesConverted::Union(Int64, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - image::Union(DiskImageDescriptionType, Nothing) - volume::Union(DiskImageVolumeDescriptionType, Nothing) + bytesConverted::Union{Int64, Void} + availabilityZone::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + image::Union{DiskImageDescriptionType, Void} + volume::Union{DiskImageVolumeDescriptionType, Void} - ImportVolumeTaskDetailsType(; bytesConverted=nothing, availabilityZone=nothing, description=nothing, image=nothing, volume=nothing) = + ImportVolumeTaskDetailsType(; bytesConverted=nothing, availabilityZone=nothing, description=nothing, image=nothing, volume=nothing) = new(bytesConverted, availabilityZone, description, image, volume) end function ImportVolumeTaskDetailsType(pd::ETree) @@ -7570,10 +7570,10 @@ export ImportVolumeTaskDetailsType type DescribeReservedInstancesListingsResponseType - requestId::Union(ASCIIString, Nothing) - reservedInstancesListingsSet::Union(Vector{DescribeReservedInstancesListingsResponseSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + reservedInstancesListingsSet::Union{Vector{DescribeReservedInstancesListingsResponseSetItemType}, Void} - DescribeReservedInstancesListingsResponseType(; requestId=nothing, reservedInstancesListingsSet=nothing) = + DescribeReservedInstancesListingsResponseType(; requestId=nothing, reservedInstancesListingsSet=nothing) = new(requestId, reservedInstancesListingsSet) end function DescribeReservedInstancesListingsResponseType(pd::ETree) @@ -7587,10 +7587,10 @@ export DescribeReservedInstancesListingsResponseType type RevokeSecurityGroupIngressType - userId::Union(ASCIIString, Nothing) - ipPermissions::Union(Vector{IpPermissionType}, Nothing) + userId::Union{ASCIIString, Void} + ipPermissions::Union{Vector{IpPermissionType}, Void} - RevokeSecurityGroupIngressType(; userId=nothing, ipPermissions=nothing) = + RevokeSecurityGroupIngressType(; userId=nothing, ipPermissions=nothing) = new(userId, ipPermissions) end function RevokeSecurityGroupIngressType(pd::ETree) @@ -7604,10 +7604,10 @@ export RevokeSecurityGroupIngressType type StopInstancesResponseType - requestId::Union(ASCIIString, Nothing) - instancesSet::Union(Vector{InstanceStateChangeType}, Nothing) + requestId::Union{ASCIIString, Void} + instancesSet::Union{Vector{InstanceStateChangeType}, Void} - StopInstancesResponseType(; requestId=nothing, instancesSet=nothing) = + StopInstancesResponseType(; requestId=nothing, instancesSet=nothing) = new(requestId, instancesSet) end function StopInstancesResponseType(pd::ETree) @@ -7621,12 +7621,12 @@ export StopInstancesResponseType type ImportVolumeType - availabilityZone::Union(ASCIIString, Nothing) - image::Union(DiskImageDetailType, Nothing) - description::Union(ASCIIString, Nothing) - volume::Union(DiskImageVolumeType, Nothing) + availabilityZone::Union{ASCIIString, Void} + image::Union{DiskImageDetailType, Void} + description::Union{ASCIIString, Void} + volume::Union{DiskImageVolumeType, Void} - ImportVolumeType(; availabilityZone=nothing, image=nothing, description=nothing, volume=nothing) = + ImportVolumeType(; availabilityZone=nothing, image=nothing, description=nothing, volume=nothing) = new(availabilityZone, image, description, volume) end function ImportVolumeType(pd::ETree) @@ -7642,18 +7642,18 @@ export ImportVolumeType type VpnConnectionType - vpnConnectionId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - customerGatewayConfiguration::Union(ASCIIString, Nothing) - _type::Union(ASCIIString, Nothing) - customerGatewayId::Union(ASCIIString, Nothing) - vpnGatewayId::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - vgwTelemetry::Union(Vector{VpnTunnelTelemetryType}, Nothing) - options::Union(VpnConnectionOptionsResponseType, Nothing) - routes::Union(Vector{VpnStaticRouteType}, Nothing) - - VpnConnectionType(; vpnConnectionId=nothing, state=nothing, customerGatewayConfiguration=nothing, _type=nothing, customerGatewayId=nothing, vpnGatewayId=nothing, tagSet=nothing, vgwTelemetry=nothing, options=nothing, routes=nothing) = + vpnConnectionId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + customerGatewayConfiguration::Union{ASCIIString, Void} + _type::Union{ASCIIString, Void} + customerGatewayId::Union{ASCIIString, Void} + vpnGatewayId::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + vgwTelemetry::Union{Vector{VpnTunnelTelemetryType}, Void} + options::Union{VpnConnectionOptionsResponseType, Void} + routes::Union{Vector{VpnStaticRouteType}, Void} + + VpnConnectionType(; vpnConnectionId=nothing, state=nothing, customerGatewayConfiguration=nothing, _type=nothing, customerGatewayId=nothing, vpnGatewayId=nothing, tagSet=nothing, vgwTelemetry=nothing, options=nothing, routes=nothing) = new(vpnConnectionId, state, customerGatewayConfiguration, _type, customerGatewayId, vpnGatewayId, tagSet, vgwTelemetry, options, routes) end function VpnConnectionType(pd::ETree) @@ -7675,10 +7675,10 @@ export VpnConnectionType type DescribeInstancesType - instancesSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + instancesSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeInstancesType(; instancesSet=nothing, filterSet=nothing) = + DescribeInstancesType(; instancesSet=nothing, filterSet=nothing) = new(instancesSet, filterSet) end function DescribeInstancesType(pd::ETree) @@ -7692,10 +7692,10 @@ export DescribeInstancesType type DescribeImagesResponseType - requestId::Union(ASCIIString, Nothing) - imagesSet::Union(Vector{DescribeImagesResponseItemType}, Nothing) + requestId::Union{ASCIIString, Void} + imagesSet::Union{Vector{DescribeImagesResponseItemType}, Void} - DescribeImagesResponseType(; requestId=nothing, imagesSet=nothing) = + DescribeImagesResponseType(; requestId=nothing, imagesSet=nothing) = new(requestId, imagesSet) end function DescribeImagesResponseType(pd::ETree) @@ -7709,14 +7709,14 @@ export DescribeImagesResponseType type CustomerGatewayType - customerGatewayId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - _type::Union(ASCIIString, Nothing) - ipAddress::Union(ASCIIString, Nothing) - bgpAsn::Union(Int64, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - - CustomerGatewayType(; customerGatewayId=nothing, state=nothing, _type=nothing, ipAddress=nothing, bgpAsn=nothing, tagSet=nothing) = + customerGatewayId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + _type::Union{ASCIIString, Void} + ipAddress::Union{ASCIIString, Void} + bgpAsn::Union{Int64, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + + CustomerGatewayType(; customerGatewayId=nothing, state=nothing, _type=nothing, ipAddress=nothing, bgpAsn=nothing, tagSet=nothing) = new(customerGatewayId, state, _type, ipAddress, bgpAsn, tagSet) end function CustomerGatewayType(pd::ETree) @@ -7734,17 +7734,17 @@ export CustomerGatewayType type SubnetType - subnetId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) - cidrBlock::Union(ASCIIString, Nothing) - availableIpAddressCount::Union(Int64, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - defaultForAz::Union(Bool, Nothing) - mapPublicIpOnLaunch::Union(Bool, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - - SubnetType(; subnetId=nothing, state=nothing, vpcId=nothing, cidrBlock=nothing, availableIpAddressCount=nothing, availabilityZone=nothing, defaultForAz=nothing, mapPublicIpOnLaunch=nothing, tagSet=nothing) = + subnetId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} + cidrBlock::Union{ASCIIString, Void} + availableIpAddressCount::Union{Int64, Void} + availabilityZone::Union{ASCIIString, Void} + defaultForAz::Union{Bool, Void} + mapPublicIpOnLaunch::Union{Bool, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + + SubnetType(; subnetId=nothing, state=nothing, vpcId=nothing, cidrBlock=nothing, availableIpAddressCount=nothing, availabilityZone=nothing, defaultForAz=nothing, mapPublicIpOnLaunch=nothing, tagSet=nothing) = new(subnetId, state, vpcId, cidrBlock, availableIpAddressCount, availabilityZone, defaultForAz, mapPublicIpOnLaunch, tagSet) end function SubnetType(pd::ETree) @@ -7765,10 +7765,10 @@ export SubnetType type DescribeLicensesResponseType - requestId::Union(ASCIIString, Nothing) - licenseSet::Union(Vector{LicenseSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + licenseSet::Union{Vector{LicenseSetItemType}, Void} - DescribeLicensesResponseType(; requestId=nothing, licenseSet=nothing) = + DescribeLicensesResponseType(; requestId=nothing, licenseSet=nothing) = new(requestId, licenseSet) end function DescribeLicensesResponseType(pd::ETree) @@ -7782,12 +7782,12 @@ export DescribeLicensesResponseType type NetworkInterfacePrivateIpAddressesSetItemType - privateIpAddress::Union(ASCIIString, Nothing) - privateDnsName::Union(ASCIIString, Nothing) - primary::Union(Bool, Nothing) - association::Union(NetworkInterfaceAssociationType, Nothing) + privateIpAddress::Union{ASCIIString, Void} + privateDnsName::Union{ASCIIString, Void} + primary::Union{Bool, Void} + association::Union{NetworkInterfaceAssociationType, Void} - NetworkInterfacePrivateIpAddressesSetItemType(; privateIpAddress=nothing, privateDnsName=nothing, primary=nothing, association=nothing) = + NetworkInterfacePrivateIpAddressesSetItemType(; privateIpAddress=nothing, privateDnsName=nothing, primary=nothing, association=nothing) = new(privateIpAddress, privateDnsName, primary, association) end function NetworkInterfacePrivateIpAddressesSetItemType(pd::ETree) @@ -7803,10 +7803,10 @@ export NetworkInterfacePrivateIpAddressesSetItemType type CreateVpnConnectionResponseType - requestId::Union(ASCIIString, Nothing) - vpnConnection::Union(VpnConnectionType, Nothing) + requestId::Union{ASCIIString, Void} + vpnConnection::Union{VpnConnectionType, Void} - CreateVpnConnectionResponseType(; requestId=nothing, vpnConnection=nothing) = + CreateVpnConnectionResponseType(; requestId=nothing, vpnConnection=nothing) = new(requestId, vpnConnection) end function CreateVpnConnectionResponseType(pd::ETree) @@ -7820,10 +7820,10 @@ export CreateVpnConnectionResponseType type DescribeTagsResponseType - requestId::Union(ASCIIString, Nothing) - tagSet::Union(Vector{TagSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + tagSet::Union{Vector{TagSetItemType}, Void} - DescribeTagsResponseType(; requestId=nothing, tagSet=nothing) = + DescribeTagsResponseType(; requestId=nothing, tagSet=nothing) = new(requestId, tagSet) end function DescribeTagsResponseType(pd::ETree) @@ -7837,10 +7837,10 @@ export DescribeTagsResponseType type CreateInternetGatewayResponseType - requestId::Union(ASCIIString, Nothing) - internetGateway::Union(InternetGatewayType, Nothing) + requestId::Union{ASCIIString, Void} + internetGateway::Union{InternetGatewayType, Void} - CreateInternetGatewayResponseType(; requestId=nothing, internetGateway=nothing) = + CreateInternetGatewayResponseType(; requestId=nothing, internetGateway=nothing) = new(requestId, internetGateway) end function CreateInternetGatewayResponseType(pd::ETree) @@ -7854,10 +7854,10 @@ export CreateInternetGatewayResponseType type AttachVpnGatewayResponseType - requestId::Union(ASCIIString, Nothing) - attachment::Union(AttachmentType, Nothing) + requestId::Union{ASCIIString, Void} + attachment::Union{AttachmentType, Void} - AttachVpnGatewayResponseType(; requestId=nothing, attachment=nothing) = + AttachVpnGatewayResponseType(; requestId=nothing, attachment=nothing) = new(requestId, attachment) end function AttachVpnGatewayResponseType(pd::ETree) @@ -7871,10 +7871,10 @@ export AttachVpnGatewayResponseType type DescribeLicensesType - licenseIdSet::Union(Vector{ASCIIString}, Nothing) - filterSet::Union(Vector{FilterType}, Nothing) + licenseIdSet::Union{Vector{ASCIIString}, Void} + filterSet::Union{Vector{FilterType}, Void} - DescribeLicensesType(; licenseIdSet=nothing, filterSet=nothing) = + DescribeLicensesType(; licenseIdSet=nothing, filterSet=nothing) = new(licenseIdSet, filterSet) end function DescribeLicensesType(pd::ETree) @@ -7888,10 +7888,10 @@ export DescribeLicensesType type AuthorizeSecurityGroupIngressType - userId::Union(ASCIIString, Nothing) - ipPermissions::Union(Vector{IpPermissionType}, Nothing) + userId::Union{ASCIIString, Void} + ipPermissions::Union{Vector{IpPermissionType}, Void} - AuthorizeSecurityGroupIngressType(; userId=nothing, ipPermissions=nothing) = + AuthorizeSecurityGroupIngressType(; userId=nothing, ipPermissions=nothing) = new(userId, ipPermissions) end function AuthorizeSecurityGroupIngressType(pd::ETree) @@ -7905,10 +7905,10 @@ export AuthorizeSecurityGroupIngressType type CreateSubnetResponseType - requestId::Union(ASCIIString, Nothing) - subnet::Union(SubnetType, Nothing) + requestId::Union{ASCIIString, Void} + subnet::Union{SubnetType, Void} - CreateSubnetResponseType(; requestId=nothing, subnet=nothing) = + CreateSubnetResponseType(; requestId=nothing, subnet=nothing) = new(requestId, subnet) end function CreateSubnetResponseType(pd::ETree) @@ -7922,26 +7922,26 @@ export CreateSubnetResponseType type NetworkInterfaceType - networkInterfaceId::Union(ASCIIString, Nothing) - subnetId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - description::Union(ASCIIString, Nothing) - ownerId::Union(ASCIIString, Nothing) - requesterId::Union(ASCIIString, Nothing) - requesterManaged::Union(Bool, Nothing) - status::Union(ASCIIString, Nothing) - macAddress::Union(ASCIIString, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - privateDnsName::Union(ASCIIString, Nothing) - sourceDestCheck::Union(Bool, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - attachment::Union(NetworkInterfaceAttachmentType, Nothing) - association::Union(NetworkInterfaceAssociationType, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - privateIpAddressesSet::Union(Vector{NetworkInterfacePrivateIpAddressesSetItemType}, Nothing) - - NetworkInterfaceType(; networkInterfaceId=nothing, subnetId=nothing, vpcId=nothing, availabilityZone=nothing, description=nothing, ownerId=nothing, requesterId=nothing, requesterManaged=nothing, status=nothing, macAddress=nothing, privateIpAddress=nothing, privateDnsName=nothing, sourceDestCheck=nothing, groupSet=nothing, attachment=nothing, association=nothing, tagSet=nothing, privateIpAddressesSet=nothing) = + networkInterfaceId::Union{ASCIIString, Void} + subnetId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + description::Union{ASCIIString, Void} + ownerId::Union{ASCIIString, Void} + requesterId::Union{ASCIIString, Void} + requesterManaged::Union{Bool, Void} + status::Union{ASCIIString, Void} + macAddress::Union{ASCIIString, Void} + privateIpAddress::Union{ASCIIString, Void} + privateDnsName::Union{ASCIIString, Void} + sourceDestCheck::Union{Bool, Void} + groupSet::Union{Vector{GroupItemType}, Void} + attachment::Union{NetworkInterfaceAttachmentType, Void} + association::Union{NetworkInterfaceAssociationType, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + privateIpAddressesSet::Union{Vector{NetworkInterfacePrivateIpAddressesSetItemType}, Void} + + NetworkInterfaceType(; networkInterfaceId=nothing, subnetId=nothing, vpcId=nothing, availabilityZone=nothing, description=nothing, ownerId=nothing, requesterId=nothing, requesterManaged=nothing, status=nothing, macAddress=nothing, privateIpAddress=nothing, privateDnsName=nothing, sourceDestCheck=nothing, groupSet=nothing, attachment=nothing, association=nothing, tagSet=nothing, privateIpAddressesSet=nothing) = new(networkInterfaceId, subnetId, vpcId, availabilityZone, description, ownerId, requesterId, requesterManaged, status, macAddress, privateIpAddress, privateDnsName, sourceDestCheck, groupSet, attachment, association, tagSet, privateIpAddressesSet) end function NetworkInterfaceType(pd::ETree) @@ -7971,10 +7971,10 @@ export NetworkInterfaceType type ImportVolumeResponseType - requestId::Union(ASCIIString, Nothing) - conversionTask::Union(ConversionTaskType, Nothing) + requestId::Union{ASCIIString, Void} + conversionTask::Union{ConversionTaskType, Void} - ImportVolumeResponseType(; requestId=nothing, conversionTask=nothing) = + ImportVolumeResponseType(; requestId=nothing, conversionTask=nothing) = new(requestId, conversionTask) end function ImportVolumeResponseType(pd::ETree) @@ -7988,10 +7988,10 @@ export ImportVolumeResponseType type ModifySnapshotAttributeType - snapshotId::Union(ASCIIString, Nothing) - createVolumePermission::Union(CreateVolumePermissionOperationType, Nothing) + snapshotId::Union{ASCIIString, Void} + createVolumePermission::Union{CreateVolumePermissionOperationType, Void} - ModifySnapshotAttributeType(; snapshotId=nothing, createVolumePermission=nothing) = + ModifySnapshotAttributeType(; snapshotId=nothing, createVolumePermission=nothing) = new(snapshotId, createVolumePermission) end function ModifySnapshotAttributeType(pd::ETree) @@ -8005,10 +8005,10 @@ export ModifySnapshotAttributeType type CreateNetworkInterfaceResponseType - requestId::Union(ASCIIString, Nothing) - networkInterface::Union(NetworkInterfaceType, Nothing) + requestId::Union{ASCIIString, Void} + networkInterface::Union{NetworkInterfaceType, Void} - CreateNetworkInterfaceResponseType(; requestId=nothing, networkInterface=nothing) = + CreateNetworkInterfaceResponseType(; requestId=nothing, networkInterface=nothing) = new(requestId, networkInterface) end function CreateNetworkInterfaceResponseType(pd::ETree) @@ -8022,10 +8022,10 @@ export CreateNetworkInterfaceResponseType type CancelReservedInstancesListingResponseType - requestId::Union(ASCIIString, Nothing) - reservedInstancesListingsSet::Union(Vector{DescribeReservedInstancesListingsResponseSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + reservedInstancesListingsSet::Union{Vector{DescribeReservedInstancesListingsResponseSetItemType}, Void} - CancelReservedInstancesListingResponseType(; requestId=nothing, reservedInstancesListingsSet=nothing) = + CancelReservedInstancesListingResponseType(; requestId=nothing, reservedInstancesListingsSet=nothing) = new(requestId, reservedInstancesListingsSet) end function CancelReservedInstancesListingResponseType(pd::ETree) @@ -8039,10 +8039,10 @@ export CancelReservedInstancesListingResponseType type MonitorInstancesResponseType - requestId::Union(ASCIIString, Nothing) - instancesSet::Union(Vector{MonitorInstancesResponseSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + instancesSet::Union{Vector{MonitorInstancesResponseSetItemType}, Void} - MonitorInstancesResponseType(; requestId=nothing, instancesSet=nothing) = + MonitorInstancesResponseType(; requestId=nothing, instancesSet=nothing) = new(requestId, instancesSet) end function MonitorInstancesResponseType(pd::ETree) @@ -8056,10 +8056,10 @@ export MonitorInstancesResponseType type CreateCustomerGatewayResponseType - requestId::Union(ASCIIString, Nothing) - customerGateway::Union(CustomerGatewayType, Nothing) + requestId::Union{ASCIIString, Void} + customerGateway::Union{CustomerGatewayType, Void} - CreateCustomerGatewayResponseType(; requestId=nothing, customerGateway=nothing) = + CreateCustomerGatewayResponseType(; requestId=nothing, customerGateway=nothing) = new(requestId, customerGateway) end function CreateCustomerGatewayResponseType(pd::ETree) @@ -8073,10 +8073,10 @@ export CreateCustomerGatewayResponseType type DescribeVpnConnectionsResponseType - requestId::Union(ASCIIString, Nothing) - vpnConnectionSet::Union(Vector{VpnConnectionType}, Nothing) + requestId::Union{ASCIIString, Void} + vpnConnectionSet::Union{Vector{VpnConnectionType}, Void} - DescribeVpnConnectionsResponseType(; requestId=nothing, vpnConnectionSet=nothing) = + DescribeVpnConnectionsResponseType(; requestId=nothing, vpnConnectionSet=nothing) = new(requestId, vpnConnectionSet) end function DescribeVpnConnectionsResponseType(pd::ETree) @@ -8090,45 +8090,45 @@ export DescribeVpnConnectionsResponseType type RunningInstancesItemType - instanceId::Union(ASCIIString, Nothing) - imageId::Union(ASCIIString, Nothing) - instanceState::Union(InstanceStateType, Nothing) - privateDnsName::Union(ASCIIString, Nothing) - dnsName::Union(ASCIIString, Nothing) - reason::Union(ASCIIString, Nothing) - keyName::Union(ASCIIString, Nothing) - amiLaunchIndex::Union(ASCIIString, Nothing) - productCodes::Union(Vector{ProductCodesSetItemType}, Nothing) - instanceType::Union(ASCIIString, Nothing) - launchTime::Union(Base.Dates.DateTime, Nothing) - placement::Union(PlacementResponseType, Nothing) - kernelId::Union(ASCIIString, Nothing) - ramdiskId::Union(ASCIIString, Nothing) - platform::Union(ASCIIString, Nothing) - monitoring::Union(InstanceMonitoringStateType, Nothing) - subnetId::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) - privateIpAddress::Union(ASCIIString, Nothing) - ipAddress::Union(ASCIIString, Nothing) - sourceDestCheck::Union(Bool, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - stateReason::Union(StateReasonType, Nothing) - architecture::Union(ASCIIString, Nothing) - rootDeviceType::Union(ASCIIString, Nothing) - rootDeviceName::Union(ASCIIString, Nothing) - blockDeviceMapping::Union(Vector{InstanceBlockDeviceMappingResponseItemType}, Nothing) - instanceLifecycle::Union(ASCIIString, Nothing) - spotInstanceRequestId::Union(ASCIIString, Nothing) - license::Union(InstanceLicenseResponseType, Nothing) - virtualizationType::Union(ASCIIString, Nothing) - clientToken::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - hypervisor::Union(ASCIIString, Nothing) - networkInterfaceSet::Union(Vector{InstanceNetworkInterfaceSetItemType}, Nothing) - iamInstanceProfile::Union(IamInstanceProfileResponseType, Nothing) - ebsOptimized::Union(Bool, Nothing) - - RunningInstancesItemType(; instanceId=nothing, imageId=nothing, instanceState=nothing, privateDnsName=nothing, dnsName=nothing, reason=nothing, keyName=nothing, amiLaunchIndex=nothing, productCodes=nothing, instanceType=nothing, launchTime=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, platform=nothing, monitoring=nothing, subnetId=nothing, vpcId=nothing, privateIpAddress=nothing, ipAddress=nothing, sourceDestCheck=nothing, groupSet=nothing, stateReason=nothing, architecture=nothing, rootDeviceType=nothing, rootDeviceName=nothing, blockDeviceMapping=nothing, instanceLifecycle=nothing, spotInstanceRequestId=nothing, license=nothing, virtualizationType=nothing, clientToken=nothing, tagSet=nothing, hypervisor=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = + instanceId::Union{ASCIIString, Void} + imageId::Union{ASCIIString, Void} + instanceState::Union{InstanceStateType, Void} + privateDnsName::Union{ASCIIString, Void} + dnsName::Union{ASCIIString, Void} + reason::Union{ASCIIString, Void} + keyName::Union{ASCIIString, Void} + amiLaunchIndex::Union{ASCIIString, Void} + productCodes::Union{Vector{ProductCodesSetItemType}, Void} + instanceType::Union{ASCIIString, Void} + launchTime::Union{Base.Dates.DateTime, Void} + placement::Union{PlacementResponseType, Void} + kernelId::Union{ASCIIString, Void} + ramdiskId::Union{ASCIIString, Void} + platform::Union{ASCIIString, Void} + monitoring::Union{InstanceMonitoringStateType, Void} + subnetId::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} + privateIpAddress::Union{ASCIIString, Void} + ipAddress::Union{ASCIIString, Void} + sourceDestCheck::Union{Bool, Void} + groupSet::Union{Vector{GroupItemType}, Void} + stateReason::Union{StateReasonType, Void} + architecture::Union{ASCIIString, Void} + rootDeviceType::Union{ASCIIString, Void} + rootDeviceName::Union{ASCIIString, Void} + blockDeviceMapping::Union{Vector{InstanceBlockDeviceMappingResponseItemType}, Void} + instanceLifecycle::Union{ASCIIString, Void} + spotInstanceRequestId::Union{ASCIIString, Void} + license::Union{InstanceLicenseResponseType, Void} + virtualizationType::Union{ASCIIString, Void} + clientToken::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + hypervisor::Union{ASCIIString, Void} + networkInterfaceSet::Union{Vector{InstanceNetworkInterfaceSetItemType}, Void} + iamInstanceProfile::Union{IamInstanceProfileResponseType, Void} + ebsOptimized::Union{Bool, Void} + + RunningInstancesItemType(; instanceId=nothing, imageId=nothing, instanceState=nothing, privateDnsName=nothing, dnsName=nothing, reason=nothing, keyName=nothing, amiLaunchIndex=nothing, productCodes=nothing, instanceType=nothing, launchTime=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, platform=nothing, monitoring=nothing, subnetId=nothing, vpcId=nothing, privateIpAddress=nothing, ipAddress=nothing, sourceDestCheck=nothing, groupSet=nothing, stateReason=nothing, architecture=nothing, rootDeviceType=nothing, rootDeviceName=nothing, blockDeviceMapping=nothing, instanceLifecycle=nothing, spotInstanceRequestId=nothing, license=nothing, virtualizationType=nothing, clientToken=nothing, tagSet=nothing, hypervisor=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = new(instanceId, imageId, instanceState, privateDnsName, dnsName, reason, keyName, amiLaunchIndex, productCodes, instanceType, launchTime, placement, kernelId, ramdiskId, platform, monitoring, subnetId, vpcId, privateIpAddress, ipAddress, sourceDestCheck, groupSet, stateReason, architecture, rootDeviceType, rootDeviceName, blockDeviceMapping, instanceLifecycle, spotInstanceRequestId, license, virtualizationType, clientToken, tagSet, hypervisor, networkInterfaceSet, iamInstanceProfile, ebsOptimized) end function RunningInstancesItemType(pd::ETree) @@ -8177,10 +8177,10 @@ export RunningInstancesItemType type DescribeSnapshotsResponseType - requestId::Union(ASCIIString, Nothing) - snapshotSet::Union(Vector{DescribeSnapshotsSetItemResponseType}, Nothing) + requestId::Union{ASCIIString, Void} + snapshotSet::Union{Vector{DescribeSnapshotsSetItemResponseType}, Void} - DescribeSnapshotsResponseType(; requestId=nothing, snapshotSet=nothing) = + DescribeSnapshotsResponseType(; requestId=nothing, snapshotSet=nothing) = new(requestId, snapshotSet) end function DescribeSnapshotsResponseType(pd::ETree) @@ -8194,10 +8194,10 @@ export DescribeSnapshotsResponseType type CreateVpcResponseType - requestId::Union(ASCIIString, Nothing) - vpc::Union(VpcType, Nothing) + requestId::Union{ASCIIString, Void} + vpc::Union{VpcType, Void} - CreateVpcResponseType(; requestId=nothing, vpc=nothing) = + CreateVpcResponseType(; requestId=nothing, vpc=nothing) = new(requestId, vpc) end function CreateVpcResponseType(pd::ETree) @@ -8211,13 +8211,13 @@ export CreateVpcResponseType type ImportInstanceType - description::Union(ASCIIString, Nothing) - launchSpecification::Union(ImportInstanceLaunchSpecificationType, Nothing) - diskImageSet::Union(Vector{DiskImageType}, Nothing) - keepPartialImports::Union(Bool, Nothing) - platform::Union(ASCIIString, Nothing) + description::Union{ASCIIString, Void} + launchSpecification::Union{ImportInstanceLaunchSpecificationType, Void} + diskImageSet::Union{Vector{DiskImageType}, Void} + keepPartialImports::Union{Bool, Void} + platform::Union{ASCIIString, Void} - ImportInstanceType(; description=nothing, launchSpecification=nothing, diskImageSet=nothing, keepPartialImports=nothing, platform=nothing) = + ImportInstanceType(; description=nothing, launchSpecification=nothing, diskImageSet=nothing, keepPartialImports=nothing, platform=nothing) = new(description, launchSpecification, diskImageSet, keepPartialImports, platform) end function ImportInstanceType(pd::ETree) @@ -8234,16 +8234,16 @@ export ImportInstanceType type BundleInstanceTaskType - instanceId::Union(ASCIIString, Nothing) - bundleId::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - startTime::Union(Base.Dates.DateTime, Nothing) - updateTime::Union(Base.Dates.DateTime, Nothing) - storage::Union(BundleInstanceTaskStorageType, Nothing) - progress::Union(ASCIIString, Nothing) - error::Union(BundleInstanceTaskErrorType, Nothing) - - BundleInstanceTaskType(; instanceId=nothing, bundleId=nothing, state=nothing, startTime=nothing, updateTime=nothing, storage=nothing, progress=nothing, error=nothing) = + instanceId::Union{ASCIIString, Void} + bundleId::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + startTime::Union{Base.Dates.DateTime, Void} + updateTime::Union{Base.Dates.DateTime, Void} + storage::Union{BundleInstanceTaskStorageType, Void} + progress::Union{ASCIIString, Void} + error::Union{BundleInstanceTaskErrorType, Void} + + BundleInstanceTaskType(; instanceId=nothing, bundleId=nothing, state=nothing, startTime=nothing, updateTime=nothing, storage=nothing, progress=nothing, error=nothing) = new(instanceId, bundleId, state, startTime, updateTime, storage, progress, error) end function BundleInstanceTaskType(pd::ETree) @@ -8263,10 +8263,10 @@ export BundleInstanceTaskType type CancelBundleTaskResponseType - requestId::Union(ASCIIString, Nothing) - bundleInstanceTask::Union(BundleInstanceTaskType, Nothing) + requestId::Union{ASCIIString, Void} + bundleInstanceTask::Union{BundleInstanceTaskType, Void} - CancelBundleTaskResponseType(; requestId=nothing, bundleInstanceTask=nothing) = + CancelBundleTaskResponseType(; requestId=nothing, bundleInstanceTask=nothing) = new(requestId, bundleInstanceTask) end function CancelBundleTaskResponseType(pd::ETree) @@ -8280,22 +8280,22 @@ export CancelBundleTaskResponseType type LaunchSpecificationResponseType - imageId::Union(ASCIIString, Nothing) - keyName::Union(ASCIIString, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - addressingType::Union(ASCIIString, Nothing) - instanceType::Union(ASCIIString, Nothing) - placement::Union(SpotPlacementRequestType, Nothing) - kernelId::Union(ASCIIString, Nothing) - ramdiskId::Union(ASCIIString, Nothing) - blockDeviceMapping::Union(Vector{BlockDeviceMappingItemType}, Nothing) - monitoring::Union(MonitoringInstanceType, Nothing) - subnetId::Union(ASCIIString, Nothing) - networkInterfaceSet::Union(Vector{InstanceNetworkInterfaceSetItemRequestType}, Nothing) - iamInstanceProfile::Union(IamInstanceProfileRequestType, Nothing) - ebsOptimized::Union(Bool, Nothing) - - LaunchSpecificationResponseType(; imageId=nothing, keyName=nothing, groupSet=nothing, addressingType=nothing, instanceType=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, blockDeviceMapping=nothing, monitoring=nothing, subnetId=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = + imageId::Union{ASCIIString, Void} + keyName::Union{ASCIIString, Void} + groupSet::Union{Vector{GroupItemType}, Void} + addressingType::Union{ASCIIString, Void} + instanceType::Union{ASCIIString, Void} + placement::Union{SpotPlacementRequestType, Void} + kernelId::Union{ASCIIString, Void} + ramdiskId::Union{ASCIIString, Void} + blockDeviceMapping::Union{Vector{BlockDeviceMappingItemType}, Void} + monitoring::Union{MonitoringInstanceType, Void} + subnetId::Union{ASCIIString, Void} + networkInterfaceSet::Union{Vector{InstanceNetworkInterfaceSetItemRequestType}, Void} + iamInstanceProfile::Union{IamInstanceProfileRequestType, Void} + ebsOptimized::Union{Bool, Void} + + LaunchSpecificationResponseType(; imageId=nothing, keyName=nothing, groupSet=nothing, addressingType=nothing, instanceType=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, blockDeviceMapping=nothing, monitoring=nothing, subnetId=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = new(imageId, keyName, groupSet, addressingType, instanceType, placement, kernelId, ramdiskId, blockDeviceMapping, monitoring, subnetId, networkInterfaceSet, iamInstanceProfile, ebsOptimized) end function LaunchSpecificationResponseType(pd::ETree) @@ -8321,16 +8321,16 @@ export LaunchSpecificationResponseType type SecurityGroupItemType - ownerId::Union(ASCIIString, Nothing) - groupId::Union(ASCIIString, Nothing) - groupName::Union(ASCIIString, Nothing) - groupDescription::Union(ASCIIString, Nothing) - vpcId::Union(ASCIIString, Nothing) - ipPermissions::Union(Vector{IpPermissionType}, Nothing) - ipPermissionsEgress::Union(Vector{IpPermissionType}, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - - SecurityGroupItemType(; ownerId=nothing, groupId=nothing, groupName=nothing, groupDescription=nothing, vpcId=nothing, ipPermissions=nothing, ipPermissionsEgress=nothing, tagSet=nothing) = + ownerId::Union{ASCIIString, Void} + groupId::Union{ASCIIString, Void} + groupName::Union{ASCIIString, Void} + groupDescription::Union{ASCIIString, Void} + vpcId::Union{ASCIIString, Void} + ipPermissions::Union{Vector{IpPermissionType}, Void} + ipPermissionsEgress::Union{Vector{IpPermissionType}, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + + SecurityGroupItemType(; ownerId=nothing, groupId=nothing, groupName=nothing, groupDescription=nothing, vpcId=nothing, ipPermissions=nothing, ipPermissionsEgress=nothing, tagSet=nothing) = new(ownerId, groupId, groupName, groupDescription, vpcId, ipPermissions, ipPermissionsEgress, tagSet) end function SecurityGroupItemType(pd::ETree) @@ -8350,10 +8350,10 @@ export SecurityGroupItemType type CreateNetworkAclResponseType - requestId::Union(ASCIIString, Nothing) - networkAcl::Union(NetworkAclType, Nothing) + requestId::Union{ASCIIString, Void} + networkAcl::Union{NetworkAclType, Void} - CreateNetworkAclResponseType(; requestId=nothing, networkAcl=nothing) = + CreateNetworkAclResponseType(; requestId=nothing, networkAcl=nothing) = new(requestId, networkAcl) end function CreateNetworkAclResponseType(pd::ETree) @@ -8367,10 +8367,10 @@ export CreateNetworkAclResponseType type CreateVpnGatewayResponseType - requestId::Union(ASCIIString, Nothing) - vpnGateway::Union(VpnGatewayType, Nothing) + requestId::Union{ASCIIString, Void} + vpnGateway::Union{VpnGatewayType, Void} - CreateVpnGatewayResponseType(; requestId=nothing, vpnGateway=nothing) = + CreateVpnGatewayResponseType(; requestId=nothing, vpnGateway=nothing) = new(requestId, vpnGateway) end function CreateVpnGatewayResponseType(pd::ETree) @@ -8384,14 +8384,14 @@ export CreateVpnGatewayResponseType type RunInstancesResponseType - requestId::Union(ASCIIString, Nothing) - reservationId::Union(ASCIIString, Nothing) - ownerId::Union(ASCIIString, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - instancesSet::Union(Vector{RunningInstancesItemType}, Nothing) - requesterId::Union(ASCIIString, Nothing) - - RunInstancesResponseType(; requestId=nothing, reservationId=nothing, ownerId=nothing, groupSet=nothing, instancesSet=nothing, requesterId=nothing) = + requestId::Union{ASCIIString, Void} + reservationId::Union{ASCIIString, Void} + ownerId::Union{ASCIIString, Void} + groupSet::Union{Vector{GroupItemType}, Void} + instancesSet::Union{Vector{RunningInstancesItemType}, Void} + requesterId::Union{ASCIIString, Void} + + RunInstancesResponseType(; requestId=nothing, reservationId=nothing, ownerId=nothing, groupSet=nothing, instancesSet=nothing, requesterId=nothing) = new(requestId, reservationId, ownerId, groupSet, instancesSet, requesterId) end function RunInstancesResponseType(pd::ETree) @@ -8409,10 +8409,10 @@ export RunInstancesResponseType type RevokeSecurityGroupEgressType - groupId::Union(ASCIIString, Nothing) - ipPermissions::Union(Vector{IpPermissionType}, Nothing) + groupId::Union{ASCIIString, Void} + ipPermissions::Union{Vector{IpPermissionType}, Void} - RevokeSecurityGroupEgressType(; groupId=nothing, ipPermissions=nothing) = + RevokeSecurityGroupEgressType(; groupId=nothing, ipPermissions=nothing) = new(groupId, ipPermissions) end function RevokeSecurityGroupEgressType(pd::ETree) @@ -8426,10 +8426,10 @@ export RevokeSecurityGroupEgressType type DescribeNetworkAclsResponseType - requestId::Union(ASCIIString, Nothing) - networkAclSet::Union(Vector{NetworkAclType}, Nothing) + requestId::Union{ASCIIString, Void} + networkAclSet::Union{Vector{NetworkAclType}, Void} - DescribeNetworkAclsResponseType(; requestId=nothing, networkAclSet=nothing) = + DescribeNetworkAclsResponseType(; requestId=nothing, networkAclSet=nothing) = new(requestId, networkAclSet) end function DescribeNetworkAclsResponseType(pd::ETree) @@ -8443,10 +8443,10 @@ export DescribeNetworkAclsResponseType type DescribeNetworkInterfacesResponseType - requestId::Union(ASCIIString, Nothing) - networkInterfaceSet::Union(Vector{NetworkInterfaceType}, Nothing) + requestId::Union{ASCIIString, Void} + networkInterfaceSet::Union{Vector{NetworkInterfaceType}, Void} - DescribeNetworkInterfacesResponseType(; requestId=nothing, networkInterfaceSet=nothing) = + DescribeNetworkInterfacesResponseType(; requestId=nothing, networkInterfaceSet=nothing) = new(requestId, networkInterfaceSet) end function DescribeNetworkInterfacesResponseType(pd::ETree) @@ -8460,11 +8460,11 @@ export DescribeNetworkInterfacesResponseType type DescribeReservedInstancesOfferingsResponseType - requestId::Union(ASCIIString, Nothing) - reservedInstancesOfferingsSet::Union(Vector{DescribeReservedInstancesOfferingsResponseSetItemType}, Nothing) - nextToken::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + reservedInstancesOfferingsSet::Union{Vector{DescribeReservedInstancesOfferingsResponseSetItemType}, Void} + nextToken::Union{ASCIIString, Void} - DescribeReservedInstancesOfferingsResponseType(; requestId=nothing, reservedInstancesOfferingsSet=nothing, nextToken=nothing) = + DescribeReservedInstancesOfferingsResponseType(; requestId=nothing, reservedInstancesOfferingsSet=nothing, nextToken=nothing) = new(requestId, reservedInstancesOfferingsSet, nextToken) end function DescribeReservedInstancesOfferingsResponseType(pd::ETree) @@ -8479,24 +8479,24 @@ export DescribeReservedInstancesOfferingsResponseType type SpotInstanceRequestSetItemType - spotInstanceRequestId::Union(ASCIIString, Nothing) - spotPrice::Union(ASCIIString, Nothing) - _type::Union(ASCIIString, Nothing) - state::Union(ASCIIString, Nothing) - fault::Union(SpotInstanceStateFaultType, Nothing) - status::Union(SpotInstanceStatusMessageType, Nothing) - validFrom::Union(Base.Dates.DateTime, Nothing) - validUntil::Union(Base.Dates.DateTime, Nothing) - launchGroup::Union(ASCIIString, Nothing) - availabilityZoneGroup::Union(ASCIIString, Nothing) - launchSpecification::Union(LaunchSpecificationResponseType, Nothing) - instanceId::Union(ASCIIString, Nothing) - createTime::Union(Base.Dates.DateTime, Nothing) - productDescription::Union(ASCIIString, Nothing) - tagSet::Union(Vector{ResourceTagSetItemType}, Nothing) - launchedAvailabilityZone::Union(ASCIIString, Nothing) - - SpotInstanceRequestSetItemType(; spotInstanceRequestId=nothing, spotPrice=nothing, _type=nothing, state=nothing, fault=nothing, status=nothing, validFrom=nothing, validUntil=nothing, launchGroup=nothing, availabilityZoneGroup=nothing, launchSpecification=nothing, instanceId=nothing, createTime=nothing, productDescription=nothing, tagSet=nothing, launchedAvailabilityZone=nothing) = + spotInstanceRequestId::Union{ASCIIString, Void} + spotPrice::Union{ASCIIString, Void} + _type::Union{ASCIIString, Void} + state::Union{ASCIIString, Void} + fault::Union{SpotInstanceStateFaultType, Void} + status::Union{SpotInstanceStatusMessageType, Void} + validFrom::Union{Base.Dates.DateTime, Void} + validUntil::Union{Base.Dates.DateTime, Void} + launchGroup::Union{ASCIIString, Void} + availabilityZoneGroup::Union{ASCIIString, Void} + launchSpecification::Union{LaunchSpecificationResponseType, Void} + instanceId::Union{ASCIIString, Void} + createTime::Union{Base.Dates.DateTime, Void} + productDescription::Union{ASCIIString, Void} + tagSet::Union{Vector{ResourceTagSetItemType}, Void} + launchedAvailabilityZone::Union{ASCIIString, Void} + + SpotInstanceRequestSetItemType(; spotInstanceRequestId=nothing, spotPrice=nothing, _type=nothing, state=nothing, fault=nothing, status=nothing, validFrom=nothing, validUntil=nothing, launchGroup=nothing, availabilityZoneGroup=nothing, launchSpecification=nothing, instanceId=nothing, createTime=nothing, productDescription=nothing, tagSet=nothing, launchedAvailabilityZone=nothing) = new(spotInstanceRequestId, spotPrice, _type, state, fault, status, validFrom, validUntil, launchGroup, availabilityZoneGroup, launchSpecification, instanceId, createTime, productDescription, tagSet, launchedAvailabilityZone) end function SpotInstanceRequestSetItemType(pd::ETree) @@ -8524,10 +8524,10 @@ export SpotInstanceRequestSetItemType type ImportInstanceResponseType - requestId::Union(ASCIIString, Nothing) - conversionTask::Union(ConversionTaskType, Nothing) + requestId::Union{ASCIIString, Void} + conversionTask::Union{ConversionTaskType, Void} - ImportInstanceResponseType(; requestId=nothing, conversionTask=nothing) = + ImportInstanceResponseType(; requestId=nothing, conversionTask=nothing) = new(requestId, conversionTask) end function ImportInstanceResponseType(pd::ETree) @@ -8541,13 +8541,13 @@ export ImportInstanceResponseType type VolumeStatusItemType - volumeId::Union(ASCIIString, Nothing) - availabilityZone::Union(ASCIIString, Nothing) - volumeStatus::Union(VolumeStatusInfoType, Nothing) - eventsSet::Union(Vector{VolumeStatusEventItemType}, Nothing) - actionsSet::Union(Vector{VolumeStatusActionItemType}, Nothing) + volumeId::Union{ASCIIString, Void} + availabilityZone::Union{ASCIIString, Void} + volumeStatus::Union{VolumeStatusInfoType, Void} + eventsSet::Union{Vector{VolumeStatusEventItemType}, Void} + actionsSet::Union{Vector{VolumeStatusActionItemType}, Void} - VolumeStatusItemType(; volumeId=nothing, availabilityZone=nothing, volumeStatus=nothing, eventsSet=nothing, actionsSet=nothing) = + VolumeStatusItemType(; volumeId=nothing, availabilityZone=nothing, volumeStatus=nothing, eventsSet=nothing, actionsSet=nothing) = new(volumeId, availabilityZone, volumeStatus, eventsSet, actionsSet) end function VolumeStatusItemType(pd::ETree) @@ -8564,10 +8564,10 @@ export VolumeStatusItemType type DescribeSpotInstanceRequestsResponseType - requestId::Union(ASCIIString, Nothing) - spotInstanceRequestSet::Union(Vector{SpotInstanceRequestSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + spotInstanceRequestSet::Union{Vector{SpotInstanceRequestSetItemType}, Void} - DescribeSpotInstanceRequestsResponseType(; requestId=nothing, spotInstanceRequestSet=nothing) = + DescribeSpotInstanceRequestsResponseType(; requestId=nothing, spotInstanceRequestSet=nothing) = new(requestId, spotInstanceRequestSet) end function DescribeSpotInstanceRequestsResponseType(pd::ETree) @@ -8581,10 +8581,10 @@ export DescribeSpotInstanceRequestsResponseType type DescribeCustomerGatewaysResponseType - requestId::Union(ASCIIString, Nothing) - customerGatewaySet::Union(Vector{CustomerGatewayType}, Nothing) + requestId::Union{ASCIIString, Void} + customerGatewaySet::Union{Vector{CustomerGatewayType}, Void} - DescribeCustomerGatewaysResponseType(; requestId=nothing, customerGatewaySet=nothing) = + DescribeCustomerGatewaysResponseType(; requestId=nothing, customerGatewaySet=nothing) = new(requestId, customerGatewaySet) end function DescribeCustomerGatewaysResponseType(pd::ETree) @@ -8598,11 +8598,11 @@ export DescribeCustomerGatewaysResponseType type DescribeVolumeStatusResponseType - requestId::Union(ASCIIString, Nothing) - volumeStatusSet::Union(Vector{VolumeStatusItemType}, Nothing) - nextToken::Union(ASCIIString, Nothing) + requestId::Union{ASCIIString, Void} + volumeStatusSet::Union{Vector{VolumeStatusItemType}, Void} + nextToken::Union{ASCIIString, Void} - DescribeVolumeStatusResponseType(; requestId=nothing, volumeStatusSet=nothing, nextToken=nothing) = + DescribeVolumeStatusResponseType(; requestId=nothing, volumeStatusSet=nothing, nextToken=nothing) = new(requestId, volumeStatusSet, nextToken) end function DescribeVolumeStatusResponseType(pd::ETree) @@ -8617,10 +8617,10 @@ export DescribeVolumeStatusResponseType type DescribeVpnGatewaysResponseType - requestId::Union(ASCIIString, Nothing) - vpnGatewaySet::Union(Vector{VpnGatewayType}, Nothing) + requestId::Union{ASCIIString, Void} + vpnGatewaySet::Union{Vector{VpnGatewayType}, Void} - DescribeVpnGatewaysResponseType(; requestId=nothing, vpnGatewaySet=nothing) = + DescribeVpnGatewaysResponseType(; requestId=nothing, vpnGatewaySet=nothing) = new(requestId, vpnGatewaySet) end function DescribeVpnGatewaysResponseType(pd::ETree) @@ -8634,23 +8634,23 @@ export DescribeVpnGatewaysResponseType type LaunchSpecificationRequestType - imageId::Union(ASCIIString, Nothing) - keyName::Union(ASCIIString, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - userData::Union(UserDataType, Nothing) - addressingType::Union(ASCIIString, Nothing) - instanceType::Union(ASCIIString, Nothing) - placement::Union(SpotPlacementRequestType, Nothing) - kernelId::Union(ASCIIString, Nothing) - ramdiskId::Union(ASCIIString, Nothing) - blockDeviceMapping::Union(Vector{BlockDeviceMappingItemType}, Nothing) - monitoring::Union(MonitoringInstanceType, Nothing) - subnetId::Union(ASCIIString, Nothing) - networkInterfaceSet::Union(Vector{InstanceNetworkInterfaceSetItemRequestType}, Nothing) - iamInstanceProfile::Union(IamInstanceProfileRequestType, Nothing) - ebsOptimized::Union(Bool, Nothing) - - LaunchSpecificationRequestType(; imageId=nothing, keyName=nothing, groupSet=nothing, userData=nothing, addressingType=nothing, instanceType=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, blockDeviceMapping=nothing, monitoring=nothing, subnetId=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = + imageId::Union{ASCIIString, Void} + keyName::Union{ASCIIString, Void} + groupSet::Union{Vector{GroupItemType}, Void} + userData::Union{UserDataType, Void} + addressingType::Union{ASCIIString, Void} + instanceType::Union{ASCIIString, Void} + placement::Union{SpotPlacementRequestType, Void} + kernelId::Union{ASCIIString, Void} + ramdiskId::Union{ASCIIString, Void} + blockDeviceMapping::Union{Vector{BlockDeviceMappingItemType}, Void} + monitoring::Union{MonitoringInstanceType, Void} + subnetId::Union{ASCIIString, Void} + networkInterfaceSet::Union{Vector{InstanceNetworkInterfaceSetItemRequestType}, Void} + iamInstanceProfile::Union{IamInstanceProfileRequestType, Void} + ebsOptimized::Union{Bool, Void} + + LaunchSpecificationRequestType(; imageId=nothing, keyName=nothing, groupSet=nothing, userData=nothing, addressingType=nothing, instanceType=nothing, placement=nothing, kernelId=nothing, ramdiskId=nothing, blockDeviceMapping=nothing, monitoring=nothing, subnetId=nothing, networkInterfaceSet=nothing, iamInstanceProfile=nothing, ebsOptimized=nothing) = new(imageId, keyName, groupSet, userData, addressingType, instanceType, placement, kernelId, ramdiskId, blockDeviceMapping, monitoring, subnetId, networkInterfaceSet, iamInstanceProfile, ebsOptimized) end function LaunchSpecificationRequestType(pd::ETree) @@ -8677,13 +8677,13 @@ export LaunchSpecificationRequestType type ReservationInfoType - reservationId::Union(ASCIIString, Nothing) - ownerId::Union(ASCIIString, Nothing) - groupSet::Union(Vector{GroupItemType}, Nothing) - instancesSet::Union(Vector{RunningInstancesItemType}, Nothing) - requesterId::Union(ASCIIString, Nothing) + reservationId::Union{ASCIIString, Void} + ownerId::Union{ASCIIString, Void} + groupSet::Union{Vector{GroupItemType}, Void} + instancesSet::Union{Vector{RunningInstancesItemType}, Void} + requesterId::Union{ASCIIString, Void} - ReservationInfoType(; reservationId=nothing, ownerId=nothing, groupSet=nothing, instancesSet=nothing, requesterId=nothing) = + ReservationInfoType(; reservationId=nothing, ownerId=nothing, groupSet=nothing, instancesSet=nothing, requesterId=nothing) = new(reservationId, ownerId, groupSet, instancesSet, requesterId) end function ReservationInfoType(pd::ETree) @@ -8700,10 +8700,10 @@ export ReservationInfoType type DescribeBundleTasksResponseType - requestId::Union(ASCIIString, Nothing) - bundleInstanceTasksSet::Union(Vector{BundleInstanceTaskType}, Nothing) + requestId::Union{ASCIIString, Void} + bundleInstanceTasksSet::Union{Vector{BundleInstanceTaskType}, Void} - DescribeBundleTasksResponseType(; requestId=nothing, bundleInstanceTasksSet=nothing) = + DescribeBundleTasksResponseType(; requestId=nothing, bundleInstanceTasksSet=nothing) = new(requestId, bundleInstanceTasksSet) end function DescribeBundleTasksResponseType(pd::ETree) @@ -8717,10 +8717,10 @@ export DescribeBundleTasksResponseType type CreateRouteTableResponseType - requestId::Union(ASCIIString, Nothing) - routeTable::Union(RouteTableType, Nothing) + requestId::Union{ASCIIString, Void} + routeTable::Union{RouteTableType, Void} - CreateRouteTableResponseType(; requestId=nothing, routeTable=nothing) = + CreateRouteTableResponseType(; requestId=nothing, routeTable=nothing) = new(requestId, routeTable) end function CreateRouteTableResponseType(pd::ETree) @@ -8734,10 +8734,10 @@ export CreateRouteTableResponseType type RequestSpotInstancesResponseType - requestId::Union(ASCIIString, Nothing) - spotInstanceRequestSet::Union(Vector{SpotInstanceRequestSetItemType}, Nothing) + requestId::Union{ASCIIString, Void} + spotInstanceRequestSet::Union{Vector{SpotInstanceRequestSetItemType}, Void} - RequestSpotInstancesResponseType(; requestId=nothing, spotInstanceRequestSet=nothing) = + RequestSpotInstancesResponseType(; requestId=nothing, spotInstanceRequestSet=nothing) = new(requestId, spotInstanceRequestSet) end function RequestSpotInstancesResponseType(pd::ETree) @@ -8751,10 +8751,10 @@ export RequestSpotInstancesResponseType type DescribeSubnetsResponseType - requestId::Union(ASCIIString, Nothing) - subnetSet::Union(Vector{SubnetType}, Nothing) + requestId::Union{ASCIIString, Void} + subnetSet::Union{Vector{SubnetType}, Void} - DescribeSubnetsResponseType(; requestId=nothing, subnetSet=nothing) = + DescribeSubnetsResponseType(; requestId=nothing, subnetSet=nothing) = new(requestId, subnetSet) end function DescribeSubnetsResponseType(pd::ETree) @@ -8768,16 +8768,16 @@ export DescribeSubnetsResponseType type RequestSpotInstancesType - spotPrice::Union(ASCIIString, Nothing) - instanceCount::Union(Int64, Nothing) - _type::Union(ASCIIString, Nothing) - validFrom::Union(Base.Dates.DateTime, Nothing) - validUntil::Union(Base.Dates.DateTime, Nothing) - launchGroup::Union(ASCIIString, Nothing) - availabilityZoneGroup::Union(ASCIIString, Nothing) - launchSpecification::Union(LaunchSpecificationRequestType, Nothing) - - RequestSpotInstancesType(; spotPrice=nothing, instanceCount=nothing, _type=nothing, validFrom=nothing, validUntil=nothing, launchGroup=nothing, availabilityZoneGroup=nothing, launchSpecification=nothing) = + spotPrice::Union{ASCIIString, Void} + instanceCount::Union{Int64, Void} + _type::Union{ASCIIString, Void} + validFrom::Union{Base.Dates.DateTime, Void} + validUntil::Union{Base.Dates.DateTime, Void} + launchGroup::Union{ASCIIString, Void} + availabilityZoneGroup::Union{ASCIIString, Void} + launchSpecification::Union{LaunchSpecificationRequestType, Void} + + RequestSpotInstancesType(; spotPrice=nothing, instanceCount=nothing, _type=nothing, validFrom=nothing, validUntil=nothing, launchGroup=nothing, availabilityZoneGroup=nothing, launchSpecification=nothing) = new(spotPrice, instanceCount, _type, validFrom, validUntil, launchGroup, availabilityZoneGroup, launchSpecification) end function RequestSpotInstancesType(pd::ETree) @@ -8797,10 +8797,10 @@ export RequestSpotInstancesType type BundleInstanceResponseType - requestId::Union(ASCIIString, Nothing) - bundleInstanceTask::Union(BundleInstanceTaskType, Nothing) + requestId::Union{ASCIIString, Void} + bundleInstanceTask::Union{BundleInstanceTaskType, Void} - BundleInstanceResponseType(; requestId=nothing, bundleInstanceTask=nothing) = + BundleInstanceResponseType(; requestId=nothing, bundleInstanceTask=nothing) = new(requestId, bundleInstanceTask) end function BundleInstanceResponseType(pd::ETree) @@ -8814,10 +8814,10 @@ export BundleInstanceResponseType type DescribeInstancesResponseType - requestId::Union(ASCIIString, Nothing) - reservationSet::Union(Vector{ReservationInfoType}, Nothing) + requestId::Union{ASCIIString, Void} + reservationSet::Union{Vector{ReservationInfoType}, Void} - DescribeInstancesResponseType(; requestId=nothing, reservationSet=nothing) = + DescribeInstancesResponseType(; requestId=nothing, reservationSet=nothing) = new(requestId, reservationSet) end function DescribeInstancesResponseType(pd::ETree) @@ -8831,10 +8831,10 @@ export DescribeInstancesResponseType type DescribeSecurityGroupsResponseType - requestId::Union(ASCIIString, Nothing) - securityGroupInfo::Union(Vector{SecurityGroupItemType}, Nothing) + requestId::Union{ASCIIString, Void} + securityGroupInfo::Union{Vector{SecurityGroupItemType}, Void} - DescribeSecurityGroupsResponseType(; requestId=nothing, securityGroupInfo=nothing) = + DescribeSecurityGroupsResponseType(; requestId=nothing, securityGroupInfo=nothing) = new(requestId, securityGroupInfo) end function DescribeSecurityGroupsResponseType(pd::ETree) diff --git a/src/s3_types.jl b/src/s3_types.jl index ffc045a8cb..d4c61c906c 100644 --- a/src/s3_types.jl +++ b/src/s3_types.jl @@ -1,8 +1,8 @@ # Seems like Metadata is not returned via XML in case of the REST API. # type MetadataEntry -# name::String -# value::String +# name::AbstractString +# value::AbstractString # end const XMLNS_ATTR = "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" @@ -26,15 +26,15 @@ end macro declare_utype(utype) quote type $(esc(utype)) - id::String - displayName::Union(String, Nothing) + id::AbstractString + displayName::Union{AbstractString, Void} end xml(o::$(esc(utype))) = xml($(string(utype)), [("ID", o.id), ("DisplayName", o.displayName)]) function $(esc(utype))(pd::ETree) o = $(esc(utype))(LibExpat.find(pd, "ID#string"), LibExpat.find(pd, "DisplayName#string")) end - $(esc(utype))(nothing::Nothing) = nothing + $(esc(utype))(nothing::Void) = nothing end end @@ -44,28 +44,28 @@ export Owner, Initiator type GranteeEmail - email::String + email::AbstractString end xml(o::GranteeEmail) = xml("Grantee", [("EmailAddress", o.email)], xmlns=$XMLNS_ATTR, xsi_type="AmazonCustomerByEmail") export GranteeEmail type GranteeURI - uri::String + uri::AbstractString end xml(o::GranteeURI) = xml("Grantee", [("URI", o.uri)], xmlns=$XMLNS_ATTR, xsi_type="Group") export GranteeURI type GranteeID - id::String - displayName::String + id::AbstractString + displayName::AbstractString end xml(o::GranteeID) = xml("Grantee", [("ID", o.id), ("DisplayName", o.displayName)], xmlns=$XMLNS_ATTR, xsi_type="CanonicalUser") export GranteeID type Grant - grantee::Union(GranteeEmail, GranteeURI, GranteeID) - permission::String + grantee::Union{GranteeEmail, GranteeURI, GranteeID} + permission::AbstractString end xml(o::Grant) = xml("Grant", [o.grantee, ("Permission", o.permission)]) # permission must be one of "READ", "WRITE", "READ_ACP", "WRITE_ACP" or "FULL_CONTROL" @@ -90,10 +90,10 @@ export Grant type BucketLoggingStatus - loggingEnabled::Union(Bool, Nothing) - targetBucket::Union(String, Nothing) - targetPrefix::Union(String, Nothing) - targetGrants::Union(Vector{Grant}, Nothing) + loggingEnabled::Union{Bool, Void} + targetBucket::Union{AbstractString, Void} + targetPrefix::Union{AbstractString, Void} + targetGrants::Union{Vector{Grant}, Void} end BucketLoggingStatus() = BucketLoggingStatus(false, nothing, nothing, nothing) @@ -147,7 +147,7 @@ export AccessControlPolicy type CreateBucketConfiguration - locationConstraint::Union(String, Nothing) + locationConstraint::Union{AbstractString, Void} end CreateBucketConfiguration(pd_cbc::ETree) = CreateBucketConfiguration(LibExpat.find(pd_cbc, "LocationConstraint#string")) xml(o::CreateBucketConfiguration) = xml_hdr("CreateBucketConfiguration") * @@ -158,12 +158,12 @@ export CreateBucketConfiguration type Contents - key::Union(String, Nothing) + key::Union{AbstractString, Void} lastModified::DateTime - eTag::Union(String, Nothing) - size::Union(Int64, Nothing) - owner::Union(Owner, Nothing) - storageClass::Union(String, Nothing) + eTag::Union{AbstractString, Void} + size::Union{Int64, Void} + owner::Union{Owner, Void} + storageClass::Union{AbstractString, Void} end function Contents(pd_le::ETree) key = LibExpat.find(pd_le, "Key#string") @@ -181,20 +181,20 @@ export Contents type CommonPrefixes - prefix::Union(String, Nothing) + prefix::Union{AbstractString, Void} end CommonPrefixes(pd_cp::ETree) = CommonPrefixes(LibExpat.find(pd_cp, "Prefix#string")) export CommonPrefixes type ListBucketResult - name::Union(String, Nothing) - prefix::Union(String, Nothing) - marker::Union(String, Nothing) - nextMarker::Union(String, Nothing) - maxKeys::Union(Int, Nothing) - delimiter::Union(String, Nothing) - isTruncated::Union(Bool, Nothing) + name::Union{AbstractString, Void} + prefix::Union{AbstractString, Void} + marker::Union{AbstractString, Void} + nextMarker::Union{AbstractString, Void} + maxKeys::Union{Int, Void} + delimiter::Union{AbstractString, Void} + isTruncated::Union{Bool, Void} contents::Vector{Contents} commonPrefixes::Vector{CommonPrefixes} @@ -217,14 +217,14 @@ end export ListBucketResult type Version - key::Union(String, Nothing) - versionId::Union(String, Nothing) - isLatest::Union(Bool, Nothing) + key::Union{AbstractString, Void} + versionId::Union{AbstractString, Void} + isLatest::Union{Bool, Void} lastModified::DateTime - eTag::Union(String, Nothing) - size::Union(Int64, Nothing) - owner::Union(Owner, Nothing) - storageClass::Union(String, Nothing) + eTag::Union{AbstractString, Void} + size::Union{Int64, Void} + owner::Union{Owner, Void} + storageClass::Union{AbstractString, Void} end function Version(pd_v::ETree) key = LibExpat.find(pd_v, "Key#string") @@ -244,11 +244,11 @@ export Version type DeleteMarker - key::Union(String, Nothing) - versionId::Union(String, Nothing) - isLatest::Union(Bool, Nothing) + key::Union{AbstractString, Void} + versionId::Union{AbstractString, Void} + isLatest::Union{Bool, Void} lastModified::DateTime - owner::Union(Owner, Nothing) + owner::Union{Owner, Void} end function DeleteMarker(pd_dm::ETree) key = LibExpat.find(pd_dm, "Key#string") @@ -265,18 +265,18 @@ export DeleteMarker type ListVersionsResult - name::Union(String, Nothing) - prefix::Union(String, Nothing) - keyMarker::Union(String, Nothing) - versionIdMarker::Union(String, Nothing) - nextKeyMarker::Union(String, Nothing) - nextVersionIdMarker::Union(String, Nothing) - maxKeys::Union(Int, Nothing) - delimiter::Union(String, Nothing) - isTruncated::Union(Bool, Nothing) - version::Union(Vector{Version}, Nothing) - deleteMarker::Union(Vector{DeleteMarker}, Nothing) - commonPrefixes::Union(Vector{CommonPrefixes}, Nothing) + name::Union{AbstractString, Void} + prefix::Union{AbstractString, Void} + keyMarker::Union{AbstractString, Void} + versionIdMarker::Union{AbstractString, Void} + nextKeyMarker::Union{AbstractString, Void} + nextVersionIdMarker::Union{AbstractString, Void} + maxKeys::Union{Int, Void} + delimiter::Union{AbstractString, Void} + isTruncated::Union{Bool, Void} + version::Union{Vector{Version}, Void} + deleteMarker::Union{Vector{DeleteMarker}, Void} + commonPrefixes::Union{Vector{CommonPrefixes}, Void} ListVersionsResult() = new() end @@ -301,7 +301,7 @@ export ListVersionsResult type Bucket - name::Union(String, Nothing) + name::Union{AbstractString, Void} creationDate::DateTime end function Bucket(pd_b::ETree) @@ -316,7 +316,7 @@ export Bucket type ListAllMyBucketsResult - owner::Union(Owner, Nothing) + owner::Union{Owner, Void} buckets::Vector{Bucket} end function ListAllMyBucketsResult(pd_lab::ETree) @@ -329,7 +329,7 @@ export ListAllMyBucketsResult type CopyObjectResult lastModified::DateTime - eTag::Union(String, Nothing) + eTag::Union{AbstractString, Void} end function CopyObjectResult(pd_cor::ETree) datestr = LibExpat.find(pd_cor, "LastModified#string") @@ -342,15 +342,15 @@ export CopyObjectResult type RequestPaymentConfiguration - payer::Union(String, Nothing) + payer::Union{AbstractString, Void} end xml(o::RequestPaymentConfiguration) = xml_hdr("RequestPaymentConfiguration") * xml("Payer", o.payer) * xml_ftr("RequestPaymentConfiguration") RequestPaymentConfiguration(pd_rpc::ETree) = RequestPaymentConfiguration(LibExpat.find(pd_rpc, "Payer#string")) export RequestPaymentConfiguration type VersioningConfiguration - status::Union(String, Nothing) - mfaDelete::Union(String, Nothing) + status::Union{AbstractString, Void} + mfaDelete::Union{AbstractString, Void} end function xml(o::VersioningConfiguration) xml_hdr("VersioningConfiguration") * @@ -367,12 +367,12 @@ end export VersioningConfiguration type TopicConfiguration - topic::Union(String, Nothing) - event::Vector{String} + topic::Union{AbstractString, Void} + event::Vector{AbstractString} end function TopicConfiguration(pd_tc::ETree) topic = LibExpat.find(pd_tc, "Topic#string") - event = String[] + event = AbstractString[] for pde in LibExpat.find(pd_tc, "Event") push!(event, pde.text) end @@ -392,7 +392,7 @@ export TopicConfiguration type NotificationConfiguration - topicConfiguration::Union(Vector{TopicConfiguration}, Nothing) + topicConfiguration::Union{Vector{TopicConfiguration}, Void} end NotificationConfiguration(pd::ETree) = NotificationConfiguration(AWS.@parse_vector(AWS.S3.TopicConfiguration, LibExpat.find(pd, "TopicConfiguration"))) @@ -411,9 +411,9 @@ export NotificationConfiguration type InitiateMultipartUploadResult - bucket::Union(String, Nothing) - key::Union(String, Nothing) - uploadId::Union(String, Nothing) + bucket::Union{AbstractString, Void} + key::Union{AbstractString, Void} + uploadId::Union{AbstractString, Void} end function InitiateMultipartUploadResult(pd::ETree) InitiateMultipartUploadResult(LibExpat.find(pd, "Bucket#string"), LibExpat.find(pd, "Key#string"), LibExpat.find(pd, "UploadId#string")) @@ -424,7 +424,7 @@ export InitiateMultipartUploadResult type CopyPartResult lastModified::DateTime - eTag::Union(String, Nothing) + eTag::Union{AbstractString, Void} end function CopyPartResult(pd::ETree) datestr = LibExpat.find(pd, "LastModified#string") @@ -434,10 +434,10 @@ end export CopyPartResult type Part - partNumber::Union(String, Nothing) - lastModified::Union(DateTime, Nothing) - eTag::Union(String, Nothing) - size::Union(Int64, Nothing) + partNumber::Union{AbstractString, Void} + lastModified::Union{DateTime, Void} + eTag::Union{AbstractString, Void} + size::Union{Int64, Void} Part(partNumber, eTag) = new(partNumber, nothing, eTag, nothing) Part(partNumber, lastModified, eTag, size) = new(partNumber, lastModified, eTag, size) @@ -460,10 +460,10 @@ export CompleteMultipartUpload type CompleteMultipartUploadResult - location::Union(String, Nothing) - bucket::Union(String, Nothing) - key::Union(String, Nothing) - eTag::Union(String, Nothing) + location::Union{AbstractString, Void} + bucket::Union{AbstractString, Void} + key::Union{AbstractString, Void} + eTag::Union{AbstractString, Void} end CompleteMultipartUploadResult(pd::ETree) = CompleteMultipartUploadResult( @@ -476,16 +476,16 @@ export CompleteMultipartUploadResult type ListPartsResult - bucket::Union(String, Nothing) - key::Union(String, Nothing) - uploadId::Union(String, Nothing) + bucket::Union{AbstractString, Void} + key::Union{AbstractString, Void} + uploadId::Union{AbstractString, Void} initiator::Initiator - owner::Union(Owner, Nothing) - storageClass::Union(String, Nothing) - partNumberMarker::Union(String, Nothing) - nextPartNumberMarker::Union(String, Nothing) - maxParts::Union(Int, Nothing) - isTruncated::Union(Bool, Nothing) + owner::Union{Owner, Void} + storageClass::Union{AbstractString, Void} + partNumberMarker::Union{AbstractString, Void} + nextPartNumberMarker::Union{AbstractString, Void} + maxParts::Union{Int, Void} + isTruncated::Union{Bool, Void} parts::Vector{Part} end function ListPartsResult(pd::ETree) @@ -506,12 +506,12 @@ end export ListPartsResult type Upload - key::Union(String, Nothing) - uploadId::Union(String, Nothing) - initiator::Union(Initiator, Nothing) - owner::Union(Owner, Nothing) - storageClass::Union(String, Nothing) - initiated::Union(DateTime, Nothing) + key::Union{AbstractString, Void} + uploadId::Union{AbstractString, Void} + initiator::Union{Initiator, Void} + owner::Union{Owner, Void} + storageClass::Union{AbstractString, Void} + initiated::Union{DateTime, Void} end function Upload(pd::ETree) datestr = LibExpat.find(pd, "Initiated#string") @@ -528,17 +528,17 @@ end export Upload type ListMultipartUploadsResult - bucket::Union(String, Nothing) - prefix::Union(String, Nothing) - keyMarker::Union(String, Nothing) - uploadIdMarker::Union(String, Nothing) - nextKeyMarker::Union(String, Nothing) - nextUploadIdMarker::Union(String, Nothing) - maxUploads::Union(Int, Nothing) - delimiter::Union(String, Nothing) - isTruncated::Union(Bool, Nothing) - upload::Union(Vector{Upload}, Nothing) - commonPrefixes::Union(Vector{CommonPrefixes}, Nothing) + bucket::Union{AbstractString, Void} + prefix::Union{AbstractString, Void} + keyMarker::Union{AbstractString, Void} + uploadIdMarker::Union{AbstractString, Void} + nextKeyMarker::Union{AbstractString, Void} + nextUploadIdMarker::Union{AbstractString, Void} + maxUploads::Union{Int, Void} + delimiter::Union{AbstractString, Void} + isTruncated::Union{Bool, Void} + upload::Union{Vector{Upload}, Void} + commonPrefixes::Union{Vector{CommonPrefixes}, Void} end function ListMultipartUploadsResult(pd::ETree) ListMultipartUploadsResult( @@ -558,12 +558,12 @@ end export ListMultipartUploadsResult type CORSRule - id::Union(String, Nothing) - allowedMethod::Union(Vector{String}, Nothing) - allowedOrigin::Union(Vector{String}, Nothing) - allowedHeader::Union(Vector{String}, Nothing) - maxAgeSeconds::Union(String, Int) - exposeHeader::Union(Vector{String}, Nothing) + id::Union{AbstractString, Void} + allowedMethod::Union{Vector{AbstractString}, Void} + allowedOrigin::Union{Vector{AbstractString}, Void} + allowedHeader::Union{Vector{AbstractString}, Void} + maxAgeSeconds::Union{AbstractString, Int} + exposeHeader::Union{Vector{AbstractString}, Void} end xml(o::CORSRule) = xml("CORSRule", [ @@ -577,12 +577,12 @@ xml(o::CORSRule) = xml("CORSRule", [ function CORSRule(pd::ETree) id = LibExpat.find(pd, "ID#string") - allowedMethod = parse_vector_as(String, "AllowedMethod", LibExpat.find(pd, "AllowedMethod")) - allowedOrigin = parse_vector_as(String, "AllowedOrigin", LibExpat.find(pd, "AllowedOrigin")) - allowedHeader = parse_vector_as(String, "AllowedHeader", LibExpat.find(pd, "AllowedHeader")) + allowedMethod = parse_vector_as(AbstractString, "AllowedMethod", LibExpat.find(pd, "AllowedMethod")) + allowedOrigin = parse_vector_as(AbstractString, "AllowedOrigin", LibExpat.find(pd, "AllowedOrigin")) + allowedHeader = parse_vector_as(AbstractString, "AllowedHeader", LibExpat.find(pd, "AllowedHeader")) seconds = LibExpat.find(pd, "MaxAgeSeconds#string") if (seconds != nothing) maxAgeSeconds = int(seconds) end - exposeHeader = parse_vector_as(String, "ExposeHeader", LibExpat.find(pd, "ExposeHeader")) + exposeHeader = parse_vector_as(AbstractString, "ExposeHeader", LibExpat.find(pd, "ExposeHeader")) CORSRule(id, allowedMethod, allowedOrigin, allowedHeader, maxAgeSeconds, exposeHeader) @@ -598,11 +598,11 @@ CORSConfiguration(pd::ETree) = AWS.@parse_vector(AWS.S3.CORSRule, LibExpat.find( type S3Error - code::Union(String, Nothing) - message::Union(String, Nothing) - resource::Union(String, Nothing) - hostId::Union(String, Nothing) - requestId::Union(String, Nothing) + code::Union{AbstractString, Void} + message::Union{AbstractString, Void} + resource::Union{AbstractString, Void} + hostId::Union{AbstractString, Void} + requestId::Union{AbstractString, Void} end function S3Error(pde::ETree) code = LibExpat.find(pde, "Code#string") @@ -617,16 +617,16 @@ export CORSConfiguration type S3PartTag - part_number::String - etag::String + part_number::AbstractString + etag::AbstractString end xml(o::S3PartTag) = xml("Part", [("PartNumber", o.part_number), ("ETag", o.etag)]) type CopyMatchOptions - if_match::Union(String, Nothing) - if_none_match::Union(String, Nothing) - if_unmodified_since::Union(String, Nothing) - if_modified_since::Union(String, Nothing) + if_match::Union{AbstractString, Void} + if_none_match::Union{AbstractString, Void} + if_unmodified_since::Union{AbstractString, Void} + if_modified_since::Union{AbstractString, Void} CopyMatchOptions(;if_match=nothing, if_none_match=nothing, if_unmodified_since=nothing, if_modified_since=nothing) = begin new(if_match, if_none_match, if_unmodified_since, if_modified_since) end @@ -642,9 +642,9 @@ export S3PartTag type S3_ACL_Grantee - email_address::Union(String, Nothing) - id::Union(String, Nothing) - uri::Union(String, Nothing) + email_address::Union{AbstractString, Void} + id::Union{AbstractString, Void} + uri::Union{AbstractString, Void} S3_ACL_Grantee() = new(nothing, nothing, nothing) end function hdr_str(g::S3_ACL_Grantee) @@ -662,7 +662,7 @@ export S3_ACL_Grantee type S3_ACL - acl::Union(String, Nothing) + acl::Union{AbstractString, Void} grant_read::Vector{S3_ACL_Grantee} grant_write::Vector{S3_ACL_Grantee} grant_read_acp::Vector{S3_ACL_Grantee} @@ -685,7 +685,7 @@ function amz_headers(hdrs, o::S3_ACL) hdrs end -function add_acl_grantee(hdrs, xamz_name::String, arr::Vector{S3_ACL_Grantee}) +function add_acl_grantee(hdrs, xamz_name::AbstractString, arr::Vector{S3_ACL_Grantee}) for a in arr @add_amz_hdr(xamz_name, hdr_str(a)) end @@ -696,15 +696,15 @@ export S3_ACL type CopyObjectOptions # All are x-amz options - copy_source::String - metadata_directive::Union(String, Nothing) - match_options::Union(CopyMatchOptions, Nothing) + copy_source::AbstractString + metadata_directive::Union{AbstractString, Void} + match_options::Union{CopyMatchOptions, Void} # x-amz only header fields - server_side_encryption::Union(String, Nothing) - storage_class::Union(String, Nothing) - website_redirect_location::Union(String, Nothing) - acl::Union(S3_ACL, Nothing) + server_side_encryption::Union{AbstractString, Void} + storage_class::Union{AbstractString, Void} + website_redirect_location::Union{AbstractString, Void} + acl::Union{S3_ACL, Void} CopyObjectOptions(copy_source; metadata_directive=nothing, match_options=nothing, server_side_encryption=nothing, storage_class=nothing, website_redirect_location=nothing, acl=nothing) = begin @@ -733,9 +733,9 @@ export CopyObjectOptions type CopyUploadPartOptions - copy_source::String - source_range::Union(String, Nothing) - match_options::Union(CopyMatchOptions, Nothing) + copy_source::AbstractString + source_range::Union{AbstractString, Void} + match_options::Union{CopyMatchOptions, Void} CopyUploadPartOptions(copy_source; source_range=nothing, match_options=nothing) = new(copy_source, source_range, match_options) end @@ -750,19 +750,19 @@ export CopyUploadPartOptions type PutObjectOptions # Standard HTTP headers - cache_control::Union(String, Nothing) - content_disposition::Union(String, Nothing) - content_encoding::Union(String, Nothing) - cont_typ::Union(String, Nothing) + cache_control::Union{AbstractString, Void} + content_disposition::Union{AbstractString, Void} + content_encoding::Union{AbstractString, Void} + cont_typ::Union{AbstractString, Void} #Expect not supported... - expires::Union(DateTime, Nothing) + expires::Union{DateTime, Void} # x-amz header fields - meta::Union(Dict{String, String}, Nothing) - server_side_encryption::Union(String, Nothing) - storage_class::Union(String, Nothing) - website_redirect_location::Union(String, Nothing) - acl::Union(S3_ACL, Nothing) + meta::Union{Dict{AbstractString, AbstractString}, Void} + server_side_encryption::Union{AbstractString, Void} + storage_class::Union{AbstractString, Void} + website_redirect_location::Union{AbstractString, Void} + acl::Union{S3_ACL, Void} PutObjectOptions(;cache_control=nothing,content_disposition=nothing,content_encoding=nothing, cont_typ=nothing,expires=nothing,meta=nothing,server_side_encryption=nothing, @@ -800,23 +800,23 @@ export PutObjectOptions type GetObjectOptions # These go into the query string - response_cont_typ::Union(String, Nothing) - response_content_language::Union(String, Nothing) - response_expires::Union(String, Nothing) - response_cache_control::Union(String, Nothing) - response_content_disposition::Union(String, Nothing) - response_content_encoding::Union(String, Nothing) + response_cont_typ::Union{AbstractString, Void} + response_content_language::Union{AbstractString, Void} + response_expires::Union{AbstractString, Void} + response_cache_control::Union{AbstractString, Void} + response_content_disposition::Union{AbstractString, Void} + response_content_encoding::Union{AbstractString, Void} # These go into the header - range::Union(String, Nothing) - if_modified_since::Union(DateTime, Nothing) - if_unmodified_since::Union(DateTime, Nothing) - if_match::Union(String, Nothing) - if_none_match::Union(String, Nothing) + range::Union{AbstractString, Void} + if_modified_since::Union{DateTime, Void} + if_unmodified_since::Union{DateTime, Void} + if_match::Union{AbstractString, Void} + if_none_match::Union{AbstractString, Void} GetObjectOptions(;response_cont_typ=nothing, response_content_language=nothing, response_expires=nothing, response_cache_control=nothing, response_content_disposition=nothing, response_content_encoding=nothing, range=nothing, if_modified_since=nothing, if_unmodified_since=nothing, if_match=nothing, if_none_match=nothing) = begin - new (response_cont_typ, response_content_language, response_expires, response_cache_control, response_content_disposition,response_content_encoding, range, if_modified_since, if_unmodified_since, if_match, if_none_match) + new(response_cont_typ, response_content_language, response_expires, response_cache_control, response_content_disposition,response_content_encoding, range, if_modified_since, if_unmodified_since, if_match, if_none_match) end end function http_headers(arr, o::GetObjectOptions) @@ -841,8 +841,8 @@ export GetObjectOptions type ObjectType - key::String - versionId::Union(String, Nothing) + key::AbstractString + versionId::Union{AbstractString, Void} ObjectType(key) = ObjectType(key, nothing) ObjectType(key, version) = new(key, version) end @@ -866,8 +866,8 @@ export DeleteObjectsType type Tag - key::String - value::String + key::AbstractString + value::AbstractString end xml(o::Tag) = xml("Tag", [("Key", o.key), ("Value", o.value)]) export Tag @@ -881,11 +881,11 @@ xml(o::Tagging) = xml("Tagging", [("TagSet", o.tagSet)]) export Tagging type GetBucketUploadsOptions - delimiter::Union(String, Nothing) - key_marker::Union(String, Nothing) - max_uploads::Union(Int, Nothing) - prefix::Union(String, Nothing) - upload_id_marker::Union(String, Nothing) + delimiter::Union{AbstractString, Void} + key_marker::Union{AbstractString, Void} + max_uploads::Union{Int, Void} + prefix::Union{AbstractString, Void} + upload_id_marker::Union{AbstractString, Void} GetBucketUploadsOptions(; delimiter=nothing, key_marker=nothing, max_uploads=nothing, prefix=nothing, upload_id_marker=nothing) = begin new(delimiter, key_marker, max_uploads, prefix, upload_id_marker) @@ -904,11 +904,11 @@ export GetBucketUploadsOptions type GetBucketObjectVersionsOptions - delimiter::Union(String, Nothing) - key_marker::Union(String, Nothing) - max_keys::Union(Int, Nothing) - prefix::Union(String, Nothing) - version_id_marker::Union(String, Nothing) + delimiter::Union{AbstractString, Void} + key_marker::Union{AbstractString, Void} + max_keys::Union{Int, Void} + prefix::Union{AbstractString, Void} + version_id_marker::Union{AbstractString, Void} GetBucketObjectVersionsOptions(; delimiter=nothing, key_marker=nothing, max_keys=nothing, prefix=nothing, version_id_marker=nothing) = begin new(delimiter, key_marker, max_keys, prefix, version_id_marker) end @@ -925,10 +925,10 @@ export GetBucketObjectVersionsOptions type GetBucketOptions - delimiter::Union(String, Nothing) - marker::Union(String, Nothing) - max_keys::Union(Int, Nothing) - prefix::Union(String, Nothing) + delimiter::Union{AbstractString, Void} + marker::Union{AbstractString, Void} + max_keys::Union{Int, Void} + prefix::Union{AbstractString, Void} GetBucketOptions(;delimiter=nothing, marker=nothing, max_keys=nothing, prefix=nothing) = new(delimiter, marker, max_keys, prefix) end function get_subres(arr, o::GetBucketOptions) @@ -942,10 +942,10 @@ export GetBucketOptions type Deleted - key::Union(String, Nothing) - version_id::Union(String, Nothing) - marker::Union(Bool, Nothing) - marker_version_id::Union(String, Nothing) + key::Union{AbstractString, Void} + version_id::Union{AbstractString, Void} + marker::Union{Bool, Void} + marker_version_id::Union{AbstractString, Void} end Deleted() = Deleted(nothing,nothing,nothing,nothing) function Deleted(pd::ETree) @@ -961,10 +961,10 @@ export Deleted type DeleteError - key::Union(String, Nothing) - version_id::Union(String, Nothing) - code::Union(String, Nothing) - message::Union(String, Nothing) + key::Union{AbstractString, Void} + version_id::Union{AbstractString, Void} + code::Union{AbstractString, Void} + message::Union{AbstractString, Void} end DeleteError() = DeleteError(nothing,nothing,nothing,nothing) function DeleteError(pd::ETree) @@ -979,8 +979,8 @@ export DeleteError type DeleteResult - deleted::Union(Vector{Deleted}, Nothing) - delete_errors::Union(Vector{DeleteError}, Nothing) + deleted::Union{Vector{Deleted}, Void} + delete_errors::Union{Vector{DeleteError}, Void} end DeleteResult() = DeleteResult(nothing, nothing) function DeleteResult(pd::ETree) diff --git a/src/show.jl b/src/show.jl index 607146dfa8..aa6b10d56b 100644 --- a/src/show.jl +++ b/src/show.jl @@ -8,7 +8,7 @@ import Base.show, Base.Meta.quot print_indented(io::IO,s,indent) = print(io," "^indent,s) show_indented(io::IO,s::ASCIIString,indent) = print(io,s*"\n") -show_indented(io::IO,::Nothing,indent) = print(io,"Not set\n") +show_indented(io::IO,::Void,indent) = print(io,"Not set\n") show_indented(io::IO,i,indent) = println(io,i) function show_indented(io::IO, s::Array, indent) @@ -57,4 +57,4 @@ for m in [AWS, AWS.EC2, AWS.S3] end end -end \ No newline at end of file +end diff --git a/test/testec2.jl b/test/testec2.jl index f6d6732d30..000e30a307 100644 --- a/test/testec2.jl +++ b/test/testec2.jl @@ -1,53 +1,53 @@ -using AWS.EC2 -using AWS - -include("config.jl") - -n=2 -env=AWSEnv() -instances = ec2_launch(ami, keyname; env=env, owner=owner, insttype=insttype, n=n, clustername="ec2test") -println(instances) - -instances=ec2_instances_by_tag("Owner", owner) -println(instances) - -try - ec2_show_status(instances) - - hostnames = ec2_hostnames(instances) - println(hostnames) - - newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia")) - if length(newp) != (n*2) - println("ERROR : Did not auto-detect number of cores $(length(newp)) != $(2*n)") - end -# println("Launched workers on instance type $insttype pids: \n$newp ") - - newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia"), workers_per_instance=3) - if length(newp) != (n*3) - println("ERROR : Did not launch required number of workers $(length(newp)) != $(3*n)") - end -# println("Launched workers with pids: \n$newp") - - newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia"), num_workers=5) - if length(newp) != 5 - println("ERROR : Did not launch required number of workers $(length(newp)) != 5") - end -# println("Launched workers with pids: \n$newp") - - newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia"), num_workers=1) - if length(newp) != 1 - println("ERROR : Did not launch required number of workers $(length(newp)) != 1") - end -# println("Launched workers with pids: \n$newp") - -catch e - println("ERROR: $e") - # We anyway need to terminate the instances.... -end - -rmprocs(workers()) - -ec2_terminate(instances) - -ec2_show_status(instances) +using AWS.EC2 +using AWS + +include("config.jl") + +n=2 +env=AWSEnv() +instances = ec2_launch(ami, keyname; env=env, owner=owner, insttype=insttype, n=n, clustername="ec2test") +println(instances) + +instances=ec2_instances_by_tag("Owner", owner) +println(instances) + +try + ec2_show_status(instances) + + hostnames = ec2_hostnames(instances) + println(hostnames) + + newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia")) + if length(newp) != (n*2) + println("ERROR : Did not auto-detect number of cores $(length(newp)) != $(2*n)") + end +# println("Launched workers on instance type $insttype pids: \n$newp ") + + newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia"), workers_per_instance=3) + if length(newp) != (n*3) + println("ERROR : Did not launch required number of workers $(length(newp)) != $(3*n)") + end +# println("Launched workers with pids: \n$newp") + + newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia"), num_workers=5) + if length(newp) != 5 + println("ERROR : Did not launch required number of workers $(length(newp)) != 5") + end +# println("Launched workers with pids: \n$newp") + + newp = ec2_addprocs(instances, keyfile; dir=dir_on_ami, exename=joinpath(dir_on_ami, "julia"), num_workers=1) + if length(newp) != 1 + println("ERROR : Did not launch required number of workers $(length(newp)) != 1") + end +# println("Launched workers with pids: \n$newp") + +catch e + println("ERROR: $e") + # We anyway need to terminate the instances.... +end + +rmprocs(workers()) + +ec2_terminate(instances) + +ec2_show_status(instances) From bbbe7d67b2e59acf21f0fdc57ac0e4361953922a Mon Sep 17 00:00:00 2001 From: Amit Murthy Date: Mon, 21 Sep 2015 13:29:32 +0530 Subject: [PATCH 2/2] removed generation from wsdl code --- gen/generate.jl | 424 -- gen/op.tpl | 9 - gen/op2.tpl | 7 - gen/wsdl/AmazonS3.wsdl | 372 -- gen/wsdl/AmazonS3.xsd | 692 ---- gen/wsdl/ec2_2013_02_01.wsdl | 7252 ---------------------------------- 6 files changed, 8756 deletions(-) delete mode 100644 gen/generate.jl delete mode 100644 gen/op.tpl delete mode 100644 gen/op2.tpl delete mode 100644 gen/wsdl/AmazonS3.wsdl delete mode 100644 gen/wsdl/AmazonS3.xsd delete mode 100644 gen/wsdl/ec2_2013_02_01.wsdl diff --git a/gen/generate.jl b/gen/generate.jl deleted file mode 100644 index dac904abd2..0000000000 --- a/gen/generate.jl +++ /dev/null @@ -1,424 +0,0 @@ -using LibExpat - -# 0-indexed -#AssignPrivateIpAddresses - -# not reduced to string -#IpRanges - -#TODO : handle XML Group definitions - -type TypeContext - name - const_lhs - const_rhs - deps - definition - f - constructor - - TypeContext(name, f) = new( - name, - " $(name)(; " , - " new(", - Set(), - "type $(name)\n", - f, - "function " * name * "(pd::ETree)\n o = $name()\n" - ) -end - -function check_member_name(mname) - if mname == "return" - return "_return" - elseif mname == "type" - return "_type" - end - return mname -end - - -types_map = Dict{String, String}() -dep_map = Dict{String, Set}() -written = Set() -pending = Set() -skip = Set() -empty_types = Set() -all_ctypes_map = Dict{String, ETree}() -valid_rqst_msgs=[] - -function get_type_in_jl(xtype_name, ns_pfx) - if startswith(xtype_name, ns_pfx) - if xtype_name == "$(ns_pfx)string" - native_type = ASCIIString - elseif xtype_name == "$(ns_pfx)integer" - native_type = Int - elseif xtype_name == "$(ns_pfx)int" - native_type = Int - elseif xtype_name == "$(ns_pfx)long" - native_type = Int - elseif xtype_name == "$(ns_pfx)double" - native_type = Float64 - elseif xtype_name == "$(ns_pfx)dateTime" - native_type = DateTime - elseif xtype_name == "$(ns_pfx)boolean" - native_type = Bool - else - error("Unhandled xs type!") - end - - return (native_type, true) - elseif startswith(xtype_name, "tns:") - return (xtype_name[5:end], false) - end -end - -function is_set_type(type_name, is_native, ns_pfx, findpath) - if !haskey(all_ctypes_map, type_name) - println("WARNING : type $type_name not defined yet. Skipping...") - return (false, type_name, is_native, "", "") - end - - ctype = all_ctypes_map[type_name] - elements = LibExpat.find (ctype, "$(ns_pfx)sequence/$(ns_pfx)element") - if isa(elements, Array) && (length(elements) == 1) - ele = elements[1] - ele_name = ele.attr["name"] - if haskey(ele.attr, "maxOccurs") && (ele.attr["maxOccurs"] == "unbounded") - ele_type_name = ele.attr["type"] -# println("Found type with single entry of type $ele_type_name array for $type_name") - startswith(ele_type_name, "tns:") ? ele_type_name = ele_type_name[5:end] : nothing - - ele_type = all_ctypes_map[ele_type_name] - ele_elements = LibExpat.find (ele_type, "$(ns_pfx)sequence/$(ns_pfx)element") - ele_choices = LibExpat.find (ele_type, "$(ns_pfx)sequence/$(ns_pfx)choice") - total_ele = (ele_choices == nothing ? 0 : length(ele_choices)) + (ele_elements == nothing ? 0 : length(ele_elements)) - - if isa(ele_elements, Array) && (total_ele == 1) - ele_ele = ele_elements[1] - ele_ele_name = ele_ele.attr["name"] - ele_ele_type_name = ele_ele.attr["type"] - - (jl_type, is_native) = get_type_in_jl(ele_ele_type_name, ns_pfx) - return (true, string(jl_type), is_native, "$(ele_name)/$(ele_ele_name)", jl_type) - elseif isa(ele_elements, Array) -# println("$ele_type_name is not reduceable further") - return (true, ele_type_name, is_native, "$(findpath)/$(ele_name)", ele_type_name) - else -# println("$ele_type_name is probably a choice") - return (true, ele_type_name, is_native, "$(findpath)/$(ele_name)", ele_type_name) - end - end - end - return (false, type_name, is_native, "", "") -end - - -function get_type_for_elements(tctx, elements, ns_pfx) - lhs_pfx = "" - rhs_pfx = "" - path = "" - - for x in elements - xtype = x.attr["type"] - rawname = x.attr["name"] - xname = check_member_name(rawname) - - - isarrtype = false - if haskey(x.attr, "maxOccurs") - if x.attr["maxOccurs"] == "unbounded" - isarrtype = true - else - maxOccurs = parseint(x.attr["maxOccurs"]) - if (maxOccurs > 1) isarrtype = true end - end - end - - - (jltype, native) = get_type_in_jl(xtype, ns_pfx) - jltype_str = string(jltype) - - if native - replacewitharr = false - new_jltype_str = jltype_str - else - # If this element type is a single element array type and - # the array is not of a compound type, just create the array - # directly here. - - (replacewitharr, new_jltype_str, native, findpath, roottype) = is_set_type(jltype_str, native, ns_pfx, rawname) - if !native - push!(tctx.deps, new_jltype_str) - end - end -# if endswith(new_jltype_str, "SetType") println("$xname depends on $new_jltype_str") end - -# if replacewitharr -# println("Replacing $jltype with $new_jltype") -# end - - type_name = " " * xname * "::" - if isarrtype || replacewitharr - valid_type = "Vector{TYPE}" - else - valid_type = "TYPE" - end - - tctx.const_lhs = tctx.const_lhs * lhs_pfx * xname * "=nothing" - tctx.const_rhs = tctx.const_rhs * rhs_pfx * xname - - lhs_pfx = ", " - rhs_pfx = ", " - - # Constructor stuff - if isarrtype || replacewitharr - if native - last_in_path = split(findpath, "/")[end] - tctx.constructor = tctx.constructor * " o.$(xname) = AWS.parse_vector_as($(new_jltype_str), \"$(last_in_path)\", LibExpat.find(pd, \"$(findpath)\"))\n" - else - if replacewitharr - tctx.constructor = tctx.constructor * " o.$(xname) = AWS.@parse_vector(AWS.EC2.$(roottype), LibExpat.find(pd, \"$(findpath)\"))\n" - else - # Looks like this can be safely ignored - added it to skip list. - # Uncomment the below line if you want them generated again - push!(skip, tctx.name) - - tctx.constructor = tctx.constructor * " o.$(xname) = AWS.@parse_vector(AWS.EC2.$(new_jltype_str), LibExpat.find(pd, \"$(rawname)\"))\n" - end - end - else - if native - if jltype == ASCIIString - tctx.constructor = tctx.constructor * " o.$(xname) = LibExpat.find(pd, \"$(rawname)#string\")\n" - else - tctx.constructor = tctx.constructor * " o.$(xname) = AWS.safe_parse_as($(jltype), LibExpat.find(pd, \"$(rawname)#string\"))\n" - end - else -# xml_tag_name = new_jltype_str -# if endswith(xml_tag_name, "Type") xml_tag_name = new_jltype_str[1:end-4] end -# xml_tag_name = lowercase(xml_tag_name[1:1]) * xml_tag_name[2:end] - - tctx.constructor = tctx.constructor * " o.$(xname) = length(pd[\"$(rawname)\"]) > 0 ? $(jltype)(LibExpat.find(pd,\"$(rawname)[1]\")) : nothing\n" - end - end - - # NOTE : Allowing "Nothing" for all elements since the WSDL is wrong is some places - # w.r.t. mandatory elements. - valid_type = "Union($valid_type, Nothing)" - - typetpl = type_name*valid_type - - - typestr = replace(typetpl, "TYPE", new_jltype_str) - tctx.definition = tctx.definition * typestr*"\n" - end -end - -function process_choice_tags(tctx, choice_elems, ns_pfx) - for choice in choice_elems - xs_elements = choice["$(ns_pfx)element"] - if length(xs_elements) > 0 - get_type_for_elements(tctx, xs_elements, ns_pfx) - else - error("No 'element's under choice!") - end - end -end - -function generate_all_types(ctypes, f, ns_pfx) - #populate the global map of ctypes - for ctype in ctypes - all_ctypes_map[ctype.attr["name"]] = ctype - end - - tag_sequence = ns_pfx * "sequence" - tag_element = ns_pfx * "element" - tag_choice = ns_pfx * "choice" - tag_group = ns_pfx * "group" - - for ctype in ctypes - if haskey(ctype.attr, "abstract") - println("Skipping " * ctype.attr["name"] * " - Define manually.") - continue - end - - tctx = TypeContext(ctype.attr["name"], f) - - # Skip abstract types (for now) - seq_elems = ctype[tag_sequence] - choice_elems = ctype[tag_choice] - if (length(seq_elems) > 0) - # sanity check - if length(seq_elems) > 1 error("More than one sequence!") end - sequence = seq_elems[1] - - xs_elements = sequence[tag_element] - choice_elems = sequence[tag_choice] - group_elems = sequence[tag_group] - - if length(xs_elements) > 0 - get_type_for_elements(tctx, xs_elements, ns_pfx) - - elseif length(choice_elems) > 0 - process_choice_tags(tctx, choice_elems, ns_pfx) - - elseif length(group_elems) > 0 - tctx.definition = " attribute::ASCIIString\n" - else - error("Unknown SEQUENCE TYPE!") - end - elseif length(choice_elems) > 0 - process_choice_tags(tctx, choice_elems, ns_pfx) - - elseif length(ctype["*"]) == 0 - push!(empty_types, ctype.attr["name"]) - continue - else - println("Skipping " * ctype.attr["name"] * ". Define manually if required") - continue - end - tctx.definition = tctx.definition * "\n" * tctx.const_lhs * ") = \n " * tctx.const_rhs * ")\nend\n" - tctx.definition = tctx.definition * tctx.constructor * " o\nend\n\n" - - if length(tctx.deps) == 0 - #filter out the "SetTypes", not required... - if (!endswith(tctx.name, "SetType") && !(tctx.name in skip)) - write(f, tctx.definition) - write(f, "export $(tctx.name)\n\n\n") - end - push!(written, tctx.name) - else - types_map[tctx.name] = tctx.definition - push!(pending, tctx.name) - dep_map[tctx.name] = tctx.deps - #println("$tctx.name has $tctx.deps dependencies") - end - end -end - -function write_dependent_types(f) - # Make multiple passes on the dep_map list and keep writing out whatever is possible in each pass - while true - start_cnt = length(pending) - pending_copy = copy(pending) - for item in pending_copy - deps = dep_map[item] - - #check to see if all the dependcies have been met - deps_met = true - for dep in deps - if !(dep in written) - deps_met = false - break - end - end - - if deps_met - #filter out the "SetTypes", not required... - if (!endswith(item, "SetType") && !(item in skip)) - write(f, types_map[item]) - write(f, "export $(item)\n\n\n") - end - push!(written, item) - delete!(pending, item) - end - end - - new_cnt = length(pending) - if (new_cnt == 0) - break - elseif (new_cnt == start_cnt) - error("Circular dependency detected!") - end - end - -end - -function generate_operations(wsdl, operations, f, ns_pfx) - msg_elements = LibExpat.find(wsdl, "types/$(ns_pfx)schema/$(ns_pfx)element") - msg_type_map = Dict{String, String}() - - - for m in msg_elements - m_type = m.attr["type"] - if startswith(m_type, "tns:") - m_type = m_type[5:end] - end - msg_type_map[m.attr["name"]] = m_type - end - - - op_tpl = open(readall, "op.tpl") - - for op in operations - op_name = op.attr["name"] - - # Just following the typical way stuff is done across EC2 APIs - rqst_type = msg_type_map[op_name] - resp_type = msg_type_map[op_name * "Response"] - - # make sure that the rqst type is not a NULL type.... - if rqst_type in empty_types - op_params = "" - op_msg = "" - op_altsig="" - else - op_params = ", msg::$rqst_type" - op_msg = ", msg" - op_altsig = open(readall, "op2.tpl") - end - - push!(valid_rqst_msgs, rqst_type) - - op_str = replace(op_tpl, "[[OP_ALTSIG]]", op_altsig) - # Due to a bug in replace() that wasn't replacing - # all occurances. Delete loop once fixed. - for i in 1:10 - op_str = replace(op_str, "[[OP_NAME]]", op_name) - op_str = replace(op_str, "[[OP_MSG]]", op_msg) - op_str = replace(op_str, "[[OP_PARAMS]]", op_params) - end - - write (f, "$op_str\n\n") - - end - -end - - - -# Generate for EC2 -wsdl = xp_parse(open(readall, "./wsdl/ec2_2013_02_01.wsdl")) -# EC2 types.... -f = open("../src/ec2_types.jl", "w+") - -ctypes = LibExpat.find(wsdl, "types/xs:schema/xs:complexType") - -generate_all_types(ctypes, f, "xs:") -write_dependent_types(f) -close(f) - -# EC2 calls.... -f = open("../src/ec2_operations.jl", "w+") -operations = LibExpat.find(wsdl, "portType/operation") -generate_operations(wsdl, operations, f, "xs:") - -# generate the list of valid rqst messages -write(f, "ValidRqstMsgs = Dict(\n \"$(valid_rqst_msgs[1])\"=>true") -for v in valid_rqst_msgs[2:end] - write(f, ",\n \"$v\"=>true") -end -write(f, "\n)\n\n") - -close(f) - - - - - - - - - - diff --git a/gen/op.tpl b/gen/op.tpl deleted file mode 100644 index 77f21a8874..0000000000 --- a/gen/op.tpl +++ /dev/null @@ -1,9 +0,0 @@ -function [[OP_NAME]](env::AWSEnv[[OP_PARAMS]]) - ec2resp::EC2Response = call_ec2(env, "[[OP_NAME]]" [[OP_MSG]]) - if (ec2resp.pd != nothing) && (ec2resp.obj == nothing) - ec2resp.obj = [[OP_NAME]]ResponseType(ec2resp.pd) - end - ec2resp -end -[[OP_ALTSIG]] -export [[OP_NAME]] diff --git a/gen/op2.tpl b/gen/op2.tpl deleted file mode 100644 index 12397d75c7..0000000000 --- a/gen/op2.tpl +++ /dev/null @@ -1,7 +0,0 @@ -function [[OP_NAME]](env::AWSEnv; kwargs...) - msg=[[OP_NAME]]Type() - for p in kwargs - setfield!(msg, p[1], p[2]) - end - [[OP_NAME]](env, msg) -end \ No newline at end of file diff --git a/gen/wsdl/AmazonS3.wsdl b/gen/wsdl/AmazonS3.wsdl deleted file mode 100644 index c17e956df5..0000000000 --- a/gen/wsdl/AmazonS3.wsdl +++ /dev/null @@ -1,372 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gen/wsdl/AmazonS3.xsd b/gen/wsdl/AmazonS3.xsd deleted file mode 100644 index 8016a6a834..0000000000 --- a/gen/wsdl/AmazonS3.xsd +++ /dev/null @@ -1,692 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/gen/wsdl/ec2_2013_02_01.wsdl b/gen/wsdl/ec2_2013_02_01.wsdl deleted file mode 100644 index 27298b13bc..0000000000 --- a/gen/wsdl/ec2_2013_02_01.wsdl +++ /dev/null @@ -1,7252 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -