Skip to content

Commit 7dd0b81

Browse files
committed
Update services based on v1.44.53 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go/releases/tag/v1.44.53
1 parent 49c299f commit 7dd0b81

File tree

2 files changed

+232
-2
lines changed

2 files changed

+232
-2
lines changed

.latest-tag-aws-sdk-go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.44.52
1+
v1.44.53

lib/aws/generated/network_manager.ex

Lines changed: 231 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,48 @@ defmodule AWS.NetworkManager do
384384
)
385385
end
386386

387+
@doc """
388+
Creates a transit gateway peering connection.
389+
"""
390+
def create_transit_gateway_peering(%Client{} = client, input, options \\ []) do
391+
url_path = "/transit-gateway-peerings"
392+
headers = []
393+
query_params = []
394+
395+
Request.request_rest(
396+
client,
397+
metadata(),
398+
:post,
399+
url_path,
400+
query_params,
401+
headers,
402+
input,
403+
options,
404+
nil
405+
)
406+
end
407+
408+
@doc """
409+
Creates a transit gateway route table attachment.
410+
"""
411+
def create_transit_gateway_route_table_attachment(%Client{} = client, input, options \\ []) do
412+
url_path = "/transit-gateway-route-table-attachments"
413+
headers = []
414+
query_params = []
415+
416+
Request.request_rest(
417+
client,
418+
metadata(),
419+
:post,
420+
url_path,
421+
query_params,
422+
headers,
423+
input,
424+
options,
425+
nil
426+
)
427+
end
428+
387429
@doc """
388430
Creates a VPC attachment on an edge location of a core network.
389431
"""
@@ -606,6 +648,27 @@ defmodule AWS.NetworkManager do
606648
)
607649
end
608650

651+
@doc """
652+
Deletes an existing peering connection.
653+
"""
654+
def delete_peering(%Client{} = client, peering_id, input, options \\ []) do
655+
url_path = "/peerings/#{AWS.Util.encode_uri(peering_id)}"
656+
headers = []
657+
query_params = []
658+
659+
Request.request_rest(
660+
client,
661+
metadata(),
662+
:delete,
663+
url_path,
664+
query_params,
665+
headers,
666+
input,
667+
options,
668+
nil
669+
)
670+
end
671+
609672
@doc """
610673
Deletes a resource policy for the specified resource.
611674
@@ -1058,6 +1121,50 @@ defmodule AWS.NetworkManager do
10581121
)
10591122
end
10601123

1124+
@doc """
1125+
Returns information about a core network change event.
1126+
"""
1127+
def get_core_network_change_events(
1128+
%Client{} = client,
1129+
core_network_id,
1130+
policy_version_id,
1131+
max_results \\ nil,
1132+
next_token \\ nil,
1133+
options \\ []
1134+
) do
1135+
url_path =
1136+
"/core-networks/#{AWS.Util.encode_uri(core_network_id)}/core-network-change-events/#{AWS.Util.encode_uri(policy_version_id)}"
1137+
1138+
headers = []
1139+
query_params = []
1140+
1141+
query_params =
1142+
if !is_nil(next_token) do
1143+
[{"nextToken", next_token} | query_params]
1144+
else
1145+
query_params
1146+
end
1147+
1148+
query_params =
1149+
if !is_nil(max_results) do
1150+
[{"maxResults", max_results} | query_params]
1151+
else
1152+
query_params
1153+
end
1154+
1155+
Request.request_rest(
1156+
client,
1157+
metadata(),
1158+
:get,
1159+
url_path,
1160+
query_params,
1161+
headers,
1162+
nil,
1163+
options,
1164+
nil
1165+
)
1166+
end
1167+
10611168
@doc """
10621169
Returns a change set between the LIVE core network policy and a submitted
10631170
policy.
@@ -1104,7 +1211,7 @@ defmodule AWS.NetworkManager do
11041211
end
11051212

11061213
@doc """
1107-
Gets details about a core network policy.
1214+
Returns details about a core network policy.
11081215
11091216
You can get details about your current live policy or any previous policy
11101217
version.
@@ -1900,6 +2007,27 @@ defmodule AWS.NetworkManager do
19002007
)
19012008
end
19022009

2010+
@doc """
2011+
Returns information about a transit gateway peer.
2012+
"""
2013+
def get_transit_gateway_peering(%Client{} = client, peering_id, options \\ []) do
2014+
url_path = "/transit-gateway-peerings/#{AWS.Util.encode_uri(peering_id)}"
2015+
headers = []
2016+
query_params = []
2017+
2018+
Request.request_rest(
2019+
client,
2020+
metadata(),
2021+
:get,
2022+
url_path,
2023+
query_params,
2024+
headers,
2025+
nil,
2026+
options,
2027+
nil
2028+
)
2029+
end
2030+
19032031
@doc """
19042032
Gets information about the transit gateway registrations in a specified global
19052033
network.
@@ -1952,6 +2080,27 @@ defmodule AWS.NetworkManager do
19522080
)
19532081
end
19542082

2083+
@doc """
2084+
Returns information about a transit gateway route table attachment.
2085+
"""
2086+
def get_transit_gateway_route_table_attachment(%Client{} = client, attachment_id, options \\ []) do
2087+
url_path = "/transit-gateway-route-table-attachments/#{AWS.Util.encode_uri(attachment_id)}"
2088+
headers = []
2089+
query_params = []
2090+
2091+
Request.request_rest(
2092+
client,
2093+
metadata(),
2094+
:get,
2095+
url_path,
2096+
query_params,
2097+
headers,
2098+
nil,
2099+
options,
2100+
nil
2101+
)
2102+
end
2103+
19552104
@doc """
19562105
Returns information about a VPC attachment.
19572106
"""
@@ -2179,6 +2328,10 @@ defmodule AWS.NetworkManager do
21792328
)
21802329
end
21812330

2331+
@doc """
2332+
Gets the status of the Service Linked Role (SLR) deployment for the accounts in
2333+
a given Amazon Web Services Organization.
2334+
"""
21822335
def list_organization_service_access_status(
21832336
%Client{} = client,
21842337
max_results \\ nil,
@@ -2216,6 +2369,78 @@ defmodule AWS.NetworkManager do
22162369
)
22172370
end
22182371

2372+
@doc """
2373+
Lists the peerings for a core network.
2374+
"""
2375+
def list_peerings(
2376+
%Client{} = client,
2377+
core_network_id \\ nil,
2378+
edge_location \\ nil,
2379+
max_results \\ nil,
2380+
next_token \\ nil,
2381+
peering_type \\ nil,
2382+
state \\ nil,
2383+
options \\ []
2384+
) do
2385+
url_path = "/peerings"
2386+
headers = []
2387+
query_params = []
2388+
2389+
query_params =
2390+
if !is_nil(state) do
2391+
[{"state", state} | query_params]
2392+
else
2393+
query_params
2394+
end
2395+
2396+
query_params =
2397+
if !is_nil(peering_type) do
2398+
[{"peeringType", peering_type} | query_params]
2399+
else
2400+
query_params
2401+
end
2402+
2403+
query_params =
2404+
if !is_nil(next_token) do
2405+
[{"nextToken", next_token} | query_params]
2406+
else
2407+
query_params
2408+
end
2409+
2410+
query_params =
2411+
if !is_nil(max_results) do
2412+
[{"maxResults", max_results} | query_params]
2413+
else
2414+
query_params
2415+
end
2416+
2417+
query_params =
2418+
if !is_nil(edge_location) do
2419+
[{"edgeLocation", edge_location} | query_params]
2420+
else
2421+
query_params
2422+
end
2423+
2424+
query_params =
2425+
if !is_nil(core_network_id) do
2426+
[{"coreNetworkId", core_network_id} | query_params]
2427+
else
2428+
query_params
2429+
end
2430+
2431+
Request.request_rest(
2432+
client,
2433+
metadata(),
2434+
:get,
2435+
url_path,
2436+
query_params,
2437+
headers,
2438+
nil,
2439+
options,
2440+
nil
2441+
)
2442+
end
2443+
22192444
@doc """
22202445
Lists the tags for a specified resource.
22212446
"""
@@ -2363,6 +2588,11 @@ defmodule AWS.NetworkManager do
23632588
)
23642589
end
23652590

2591+
@doc """
2592+
Enables for the Network Manager service for an Amazon Web Services Organization.
2593+
2594+
This can only be called by a management account within the organization.
2595+
"""
23662596
def start_organization_service_access_update(%Client{} = client, input, options \\ []) do
23672597
url_path = "/organizations/service-access"
23682598
headers = []

0 commit comments

Comments
 (0)