Skip to content

Commit 29dfc05

Browse files
committed
Update services based on v1.50.27 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go/releases/tag/v1.50.27
1 parent 8a267af commit 29dfc05

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-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.50.26
1+
v1.50.27

lib/aws/generated/amplify_ui_builder.ex

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,19 @@ defmodule AWS.AmplifyUIBuilder do
495495
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
496496
end
497497

498+
@doc """
499+
Returns a list of tags for a specified Amazon Resource Name (ARN).
500+
"""
501+
def list_tags_for_resource(%Client{} = client, resource_arn, options \\ []) do
502+
url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}"
503+
headers = []
504+
query_params = []
505+
506+
meta = metadata()
507+
508+
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200)
509+
end
510+
498511
@doc """
499512
Retrieves a list of themes for a specified Amplify app and backend environment.
500513
"""
@@ -610,6 +623,57 @@ defmodule AWS.AmplifyUIBuilder do
610623
)
611624
end
612625

626+
@doc """
627+
Tags the resource with a tag key and value.
628+
"""
629+
def tag_resource(%Client{} = client, resource_arn, input, options \\ []) do
630+
url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}"
631+
headers = []
632+
query_params = []
633+
634+
meta = metadata()
635+
636+
Request.request_rest(
637+
client,
638+
meta,
639+
:post,
640+
url_path,
641+
query_params,
642+
headers,
643+
input,
644+
options,
645+
200
646+
)
647+
end
648+
649+
@doc """
650+
Untags a resource with a specified Amazon Resource Name (ARN).
651+
"""
652+
def untag_resource(%Client{} = client, resource_arn, input, options \\ []) do
653+
url_path = "/tags/#{AWS.Util.encode_uri(resource_arn)}"
654+
headers = []
655+
656+
{query_params, input} =
657+
[
658+
{"tagKeys", "tagKeys"}
659+
]
660+
|> Request.build_params(input)
661+
662+
meta = metadata()
663+
664+
Request.request_rest(
665+
client,
666+
meta,
667+
:delete,
668+
url_path,
669+
query_params,
670+
headers,
671+
input,
672+
options,
673+
200
674+
)
675+
end
676+
613677
@doc """
614678
Updates an existing component.
615679
"""

0 commit comments

Comments
 (0)