Skip to content

Commit 7915f47

Browse files
committed
Update services based on v1.44.127 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go/releases/tag/v1.44.127
1 parent a1a35f8 commit 7915f47

File tree

6 files changed

+285
-25
lines changed

6 files changed

+285
-25
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.126
1+
v1.44.127

lib/aws/generated/app_runner.ex

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,18 @@ defmodule AWS.AppRunner do
164164
Request.request_post(client, meta, "CreateVpcConnector", input, options)
165165
end
166166

167+
@doc """
168+
Create an App Runner VPC Ingress Connection resource.
169+
170+
App Runner requires this resource when you want to associate your App Runner
171+
service with an Amazon VPC endpoint.
172+
"""
173+
def create_vpc_ingress_connection(%Client{} = client, input, options \\ []) do
174+
meta = metadata()
175+
176+
Request.request_post(client, meta, "CreateVpcIngressConnection", input, options)
177+
end
178+
167179
@doc """
168180
Delete an App Runner automatic scaling configuration resource.
169181
@@ -206,6 +218,9 @@ defmodule AWS.AppRunner do
206218
This is an asynchronous operation. On a successful call, you can use the
207219
returned `OperationId` and the `ListOperations` call to track the operation's
208220
progress.
221+
222+
Make sure that you don't have any active VPCIngressConnections associated with
223+
the service you want to delete.
209224
"""
210225
def delete_service(%Client{} = client, input, options \\ []) do
211226
meta = metadata()
@@ -224,6 +239,26 @@ defmodule AWS.AppRunner do
224239
Request.request_post(client, meta, "DeleteVpcConnector", input, options)
225240
end
226241

242+
@doc """
243+
Delete an App Runner VPC Ingress Connection resource that's associated with an
244+
App Runner service.
245+
246+
The VPC Ingress Connection must be in one of the following states to be deleted:
247+
248+
* `AVAILABLE`
249+
250+
* `FAILED_CREATION`
251+
252+
* `FAILED_UPDATE`
253+
254+
* `FAILED_DELETION`
255+
"""
256+
def delete_vpc_ingress_connection(%Client{} = client, input, options \\ []) do
257+
meta = metadata()
258+
259+
Request.request_post(client, meta, "DeleteVpcIngressConnection", input, options)
260+
end
261+
227262
@doc """
228263
Return a full description of an App Runner automatic scaling configuration
229264
resource.
@@ -271,6 +306,15 @@ defmodule AWS.AppRunner do
271306
Request.request_post(client, meta, "DescribeVpcConnector", input, options)
272307
end
273308

309+
@doc """
310+
Return a full description of an App Runner VPC Ingress Connection resource.
311+
"""
312+
def describe_vpc_ingress_connection(%Client{} = client, input, options \\ []) do
313+
meta = metadata()
314+
315+
Request.request_post(client, meta, "DescribeVpcIngressConnection", input, options)
316+
end
317+
274318
@doc """
275319
Disassociate a custom domain name from an App Runner service.
276320
@@ -372,6 +416,16 @@ defmodule AWS.AppRunner do
372416
Request.request_post(client, meta, "ListVpcConnectors", input, options)
373417
end
374418

419+
@doc """
420+
Return a list of App Runner VPC Ingress Connections in your Amazon Web Services
421+
account.
422+
"""
423+
def list_vpc_ingress_connections(%Client{} = client, input, options \\ []) do
424+
meta = metadata()
425+
426+
Request.request_post(client, meta, "ListVpcIngressConnections", input, options)
427+
end
428+
375429
@doc """
376430
Pause an active App Runner service.
377431
@@ -463,4 +517,21 @@ defmodule AWS.AppRunner do
463517

464518
Request.request_post(client, meta, "UpdateService", input, options)
465519
end
520+
521+
@doc """
522+
Update an existing App Runner VPC Ingress Connection resource.
523+
524+
The VPC Ingress Connection must be in one of the following states to be updated:
525+
526+
* AVAILABLE
527+
528+
* FAILED_CREATION
529+
530+
* FAILED_UPDATE
531+
"""
532+
def update_vpc_ingress_connection(%Client{} = client, input, options \\ []) do
533+
meta = metadata()
534+
535+
Request.request_post(client, meta, "UpdateVpcIngressConnection", input, options)
536+
end
466537
end

lib/aws/generated/cloud_watch_logs.ex

Lines changed: 73 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ defmodule AWS.CloudWatchLogs do
9999
When you perform a `CreateExportTask` operation, you must use credentials that
100100
have permission to write to the S3 bucket that you specify as the destination.
101101
102-
Exporting log data to Amazon S3 buckets that are encrypted by KMS is not
103-
supported. Exporting log data to Amazon S3 buckets that have S3 Object Lock
104-
enabled with a retention period is not supported.
105-
106-
Exporting to S3 buckets that are encrypted with AES-256 is supported.
107-
108102
This is an asynchronous call. If all the required information is provided, this
109103
operation initiates an export task and responds with the ID of the task. After
110104
the task has started, you can use
@@ -116,8 +110,8 @@ defmodule AWS.CloudWatchLogs do
116110
S3 bucket. To separate out log data for each export task, you can specify a
117111
prefix to be used as the Amazon S3 key prefix for all exported objects.
118112
119-
Time-based sorting on chunks of log data inside an exported file is not
120-
guaranteed. You can sort the exported log fild data by using Linux utilities.
113+
Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting
114+
to S3 buckets encrypted with SSE-KMS is not supported.
121115
"""
122116
def create_export_task(%Client{} = client, input, options \\ []) do
123117
meta = metadata()
@@ -506,6 +500,23 @@ defmodule AWS.CloudWatchLogs do
506500
end
507501

508502
@doc """
503+
Displays the tags associated with a CloudWatch Logs resource.
504+
505+
Currently, log groups and destinations support tagging.
506+
"""
507+
def list_tags_for_resource(%Client{} = client, input, options \\ []) do
508+
meta = metadata()
509+
510+
Request.request_post(client, meta, "ListTagsForResource", input, options)
511+
end
512+
513+
@doc """
514+
The ListTagsLogGroup operation is on the path to deprecation.
515+
516+
We recommend that you use
517+
[ListTagsForResource](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html)
518+
instead.
519+
509520
Lists the tags for the specified log group.
510521
"""
511522
def list_tags_log_group(%Client{} = client, input, options \\ []) do
@@ -750,13 +761,18 @@ defmodule AWS.CloudWatchLogs do
750761
end
751762

752763
@doc """
764+
The TagLogGroup operation is on the path to deprecation.
765+
766+
We recommend that you use
767+
[TagResource](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html) instead.
768+
753769
Adds or updates the specified tags for the specified log group.
754770
755771
To list the tags for a log group, use
756-
[ListTagsLogGroup](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html). To remove tags, use
757-
[UntagLogGroup](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagLogGroup.html).
758-
759-
For more information about tags, see [Tag Log Groups in Amazon CloudWatch Logs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging)
772+
[ListTagsForResource](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html).
773+
To remove tags, use
774+
[UntagResource](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html). For more information about tags, see [Tag Log Groups in Amazon CloudWatch
775+
Logs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging)
760776
in the *Amazon CloudWatch Logs User Guide*.
761777
762778
CloudWatch Logs doesn’t support IAM policies that prevent users from assigning
@@ -770,6 +786,34 @@ defmodule AWS.CloudWatchLogs do
770786
Request.request_post(client, meta, "TagLogGroup", input, options)
771787
end
772788

789+
@doc """
790+
Assigns one or more tags (key-value pairs) to the specified CloudWatch Logs
791+
resource.
792+
793+
Currently, the only CloudWatch Logs resources that can be tagged are log groups
794+
and destinations.
795+
796+
Tags can help you organize and categorize your resources. You can also use them
797+
to scope user permissions by granting a user permission to access or change only
798+
resources with certain tag values.
799+
800+
Tags don't have any semantic meaning to Amazon Web Services and are interpreted
801+
strictly as strings of characters.
802+
803+
You can use the `TagResource` action with a resource that already has tags. If
804+
you specify a new tag key for the alarm, this tag is appended to the list of
805+
tags associated with the alarm. If you specify a tag key that is already
806+
associated with the alarm, the new tag value that you specify replaces the
807+
previous value for that tag.
808+
809+
You can associate as many as 50 tags with a CloudWatch Logs resource.
810+
"""
811+
def tag_resource(%Client{} = client, input, options \\ []) do
812+
meta = metadata()
813+
814+
Request.request_post(client, meta, "TagResource", input, options)
815+
end
816+
773817
@doc """
774818
Tests the filter pattern of a metric filter against a sample of log event
775819
messages.
@@ -784,11 +828,17 @@ defmodule AWS.CloudWatchLogs do
784828
end
785829

786830
@doc """
831+
The UntagLogGroup operation is on the path to deprecation.
832+
833+
We recommend that you use
834+
[UntagResource](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html) instead.
835+
787836
Removes the specified tags from the specified log group.
788837
789838
To list the tags for a log group, use
790-
[ListTagsLogGroup](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html). To add tags, use
791-
[TagLogGroup](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagLogGroup.html).
839+
[ListTagsForResource](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html).
840+
To add tags, use
841+
[TagResource](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html).
792842
793843
CloudWatch Logs doesn’t support IAM policies that prevent users from assigning
794844
specified tags to log groups using the `aws:Resource/*key-name* ` or
@@ -799,4 +849,13 @@ defmodule AWS.CloudWatchLogs do
799849

800850
Request.request_post(client, meta, "UntagLogGroup", input, options)
801851
end
852+
853+
@doc """
854+
Removes one or more tags from the specified resource.
855+
"""
856+
def untag_resource(%Client{} = client, input, options \\ []) do
857+
meta = metadata()
858+
859+
Request.request_post(client, meta, "UntagResource", input, options)
860+
end
802861
end

lib/aws/generated/connect.ex

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,35 @@ defmodule AWS.Connect do
15961596
)
15971597
end
15981598

1599+
@doc """
1600+
Dismisses contacts from an agent’s CCP and returns the agent to an available
1601+
state, which allows the agent to receive a new routed contact.
1602+
1603+
Contacts can only be dismissed if they are in a `MISSED`, `ERROR`, `ENDED`, or
1604+
`REJECTED` state in the [Agent Event Stream](https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html).
1605+
"""
1606+
def dismiss_user_contact(%Client{} = client, instance_id, user_id, input, options \\ []) do
1607+
url_path =
1608+
"/users/#{AWS.Util.encode_uri(instance_id)}/#{AWS.Util.encode_uri(user_id)}/contact"
1609+
1610+
headers = []
1611+
query_params = []
1612+
1613+
meta = metadata()
1614+
1615+
Request.request_rest(
1616+
client,
1617+
meta,
1618+
:post,
1619+
url_path,
1620+
query_params,
1621+
headers,
1622+
input,
1623+
options,
1624+
nil
1625+
)
1626+
end
1627+
15991628
@doc """
16001629
Retrieves the contact attributes for the specified contact.
16011630
"""
@@ -4403,7 +4432,7 @@ defmodule AWS.Connect do
44034432
@doc """
44044433
Updates the traffic distribution for a given traffic distribution group.
44054434
4406-
For more information about updating a traffic distribution group see [Update telephony traffic distribution across Amazon Web Services Regions
4435+
For more information about updating a traffic distribution group, see [Update telephony traffic distribution across Amazon Web Services Regions
44074436
](https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html)
44084437
in the *Amazon Connect Administrator Guide*.
44094438
"""

0 commit comments

Comments
 (0)