Skip to content

Commit 293ec26

Browse files
committed
Update services based on v1.44.138 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go/releases/tag/v1.44.138
1 parent 3eb50d6 commit 293ec26

File tree

4 files changed

+357
-1
lines changed

4 files changed

+357
-1
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.137
1+
v1.44.138

lib/aws/generated/greengrass_v2.ex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ defmodule AWS.GreengrassV2 do
727727
history_filter \\ nil,
728728
max_results \\ nil,
729729
next_token \\ nil,
730+
parent_target_arn \\ nil,
730731
target_arn \\ nil,
731732
options \\ []
732733
) do
@@ -741,6 +742,13 @@ defmodule AWS.GreengrassV2 do
741742
query_params
742743
end
743744

745+
query_params =
746+
if !is_nil(parent_target_arn) do
747+
[{"parentTargetArn", parent_target_arn} | query_params]
748+
else
749+
query_params
750+
end
751+
744752
query_params =
745753
if !is_nil(next_token) do
746754
[{"nextToken", next_token} | query_params]

lib/aws/generated/ssm_sap.ex

Lines changed: 338 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,338 @@
1+
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
2+
# See https://github.com/aws-beam/aws-codegen for more details.
3+
4+
defmodule AWS.SsmSap do
5+
alias AWS.Client
6+
alias AWS.Request
7+
8+
def metadata do
9+
%{
10+
abbreviation: nil,
11+
api_version: "2018-05-10",
12+
content_type: "application/x-amz-json-1.1",
13+
credential_scope: nil,
14+
endpoint_prefix: "ssm-sap",
15+
global?: false,
16+
protocol: "rest-json",
17+
service_id: "SsmSap",
18+
signature_version: "v4",
19+
signing_name: "ssm-sap",
20+
target_prefix: nil
21+
}
22+
end
23+
24+
def delete_resource_permission(%Client{} = client, input, options \\ []) do
25+
url_path = "/delete-resource-permission"
26+
headers = []
27+
query_params = []
28+
29+
meta = metadata()
30+
31+
Request.request_rest(
32+
client,
33+
meta,
34+
:post,
35+
url_path,
36+
query_params,
37+
headers,
38+
input,
39+
options,
40+
200
41+
)
42+
end
43+
44+
def deregister_application(%Client{} = client, input, options \\ []) do
45+
url_path = "/deregister-application"
46+
headers = []
47+
query_params = []
48+
49+
meta = metadata()
50+
51+
Request.request_rest(
52+
client,
53+
meta,
54+
:post,
55+
url_path,
56+
query_params,
57+
headers,
58+
input,
59+
options,
60+
200
61+
)
62+
end
63+
64+
def get_application(%Client{} = client, input, options \\ []) do
65+
url_path = "/get-application"
66+
headers = []
67+
query_params = []
68+
69+
meta = metadata()
70+
71+
Request.request_rest(
72+
client,
73+
meta,
74+
:post,
75+
url_path,
76+
query_params,
77+
headers,
78+
input,
79+
options,
80+
200
81+
)
82+
end
83+
84+
def get_component(%Client{} = client, input, options \\ []) do
85+
url_path = "/get-component"
86+
headers = []
87+
query_params = []
88+
89+
meta = metadata()
90+
91+
Request.request_rest(
92+
client,
93+
meta,
94+
:post,
95+
url_path,
96+
query_params,
97+
headers,
98+
input,
99+
options,
100+
200
101+
)
102+
end
103+
104+
def get_database(%Client{} = client, input, options \\ []) do
105+
url_path = "/get-database"
106+
headers = []
107+
query_params = []
108+
109+
meta = metadata()
110+
111+
Request.request_rest(
112+
client,
113+
meta,
114+
:post,
115+
url_path,
116+
query_params,
117+
headers,
118+
input,
119+
options,
120+
200
121+
)
122+
end
123+
124+
def get_operation(%Client{} = client, input, options \\ []) do
125+
url_path = "/get-operation"
126+
headers = []
127+
query_params = []
128+
129+
meta = metadata()
130+
131+
Request.request_rest(
132+
client,
133+
meta,
134+
:post,
135+
url_path,
136+
query_params,
137+
headers,
138+
input,
139+
options,
140+
200
141+
)
142+
end
143+
144+
def get_resource_permission(%Client{} = client, input, options \\ []) do
145+
url_path = "/get-resource-permission"
146+
headers = []
147+
query_params = []
148+
149+
meta = metadata()
150+
151+
Request.request_rest(
152+
client,
153+
meta,
154+
:post,
155+
url_path,
156+
query_params,
157+
headers,
158+
input,
159+
options,
160+
200
161+
)
162+
end
163+
164+
def list_applications(%Client{} = client, input, options \\ []) do
165+
url_path = "/list-applications"
166+
headers = []
167+
query_params = []
168+
169+
meta = metadata()
170+
171+
Request.request_rest(
172+
client,
173+
meta,
174+
:post,
175+
url_path,
176+
query_params,
177+
headers,
178+
input,
179+
options,
180+
200
181+
)
182+
end
183+
184+
def list_components(%Client{} = client, input, options \\ []) do
185+
url_path = "/list-components"
186+
headers = []
187+
query_params = []
188+
189+
meta = metadata()
190+
191+
Request.request_rest(
192+
client,
193+
meta,
194+
:post,
195+
url_path,
196+
query_params,
197+
headers,
198+
input,
199+
options,
200+
200
201+
)
202+
end
203+
204+
def list_databases(%Client{} = client, input, options \\ []) do
205+
url_path = "/list-databases"
206+
headers = []
207+
query_params = []
208+
209+
meta = metadata()
210+
211+
Request.request_rest(
212+
client,
213+
meta,
214+
:post,
215+
url_path,
216+
query_params,
217+
headers,
218+
input,
219+
options,
220+
200
221+
)
222+
end
223+
224+
def list_tags_for_resource(%Client{} = client, resource_arn, options \\ []) do
225+
url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}"
226+
headers = []
227+
query_params = []
228+
229+
meta = metadata()
230+
231+
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
232+
end
233+
234+
def put_resource_permission(%Client{} = client, input, options \\ []) do
235+
url_path = "/put-resource-permission"
236+
headers = []
237+
query_params = []
238+
239+
meta = metadata()
240+
241+
Request.request_rest(
242+
client,
243+
meta,
244+
:post,
245+
url_path,
246+
query_params,
247+
headers,
248+
input,
249+
options,
250+
200
251+
)
252+
end
253+
254+
def register_application(%Client{} = client, input, options \\ []) do
255+
url_path = "/register-application"
256+
headers = []
257+
query_params = []
258+
259+
meta = metadata()
260+
261+
Request.request_rest(
262+
client,
263+
meta,
264+
:post,
265+
url_path,
266+
query_params,
267+
headers,
268+
input,
269+
options,
270+
200
271+
)
272+
end
273+
274+
def tag_resource(%Client{} = client, resource_arn, input, options \\ []) do
275+
url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}"
276+
headers = []
277+
query_params = []
278+
279+
meta = metadata()
280+
281+
Request.request_rest(
282+
client,
283+
meta,
284+
:post,
285+
url_path,
286+
query_params,
287+
headers,
288+
input,
289+
options,
290+
200
291+
)
292+
end
293+
294+
def untag_resource(%Client{} = client, resource_arn, input, options \\ []) do
295+
url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}"
296+
headers = []
297+
298+
{query_params, input} =
299+
[
300+
{"tagKeys", "tagKeys"}
301+
]
302+
|> Request.build_params(input)
303+
304+
meta = metadata()
305+
306+
Request.request_rest(
307+
client,
308+
meta,
309+
:delete,
310+
url_path,
311+
query_params,
312+
headers,
313+
input,
314+
options,
315+
200
316+
)
317+
end
318+
319+
def update_application_settings(%Client{} = client, input, options \\ []) do
320+
url_path = "/update-application-settings"
321+
headers = []
322+
query_params = []
323+
324+
meta = metadata()
325+
326+
Request.request_rest(
327+
client,
328+
meta,
329+
:post,
330+
url_path,
331+
query_params,
332+
headers,
333+
input,
334+
options,
335+
200
336+
)
337+
end
338+
end

lib/aws/generated/work_spaces.ex

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,16 @@ defmodule AWS.WorkSpaces do
633633
Request.request_post(client, meta, "ModifyAccount", input, options)
634634
end
635635

636+
@doc """
637+
Modifies the properties of the certificate-based authentication you want to use
638+
with your WorkSpaces.
639+
"""
640+
def modify_certificate_based_auth_properties(%Client{} = client, input, options \\ []) do
641+
meta = metadata()
642+
643+
Request.request_post(client, meta, "ModifyCertificateBasedAuthProperties", input, options)
644+
end
645+
636646
@doc """
637647
Modifies the properties of the specified Amazon WorkSpaces clients.
638648
"""

0 commit comments

Comments
 (0)