Skip to content

Commit 654e278

Browse files
authored
Merge pull request #214 from aws-beam/new-generated-code
Fix type specs with double () Fix type specs with double ()
2 parents ccc1951 + de231da commit 654e278

File tree

407 files changed

+36696
-28438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

407 files changed

+36696
-28438
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- pair:
19-
elixir: "1.13.4"
20-
otp: "25.0"
21-
lint: lint
2218
- pair:
2319
elixir: "1.16.0"
2420
otp: "26.0"

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## [v1.0.7] - 2025-07-14
4+
- Fix type specs with double ()
5+
36
## [v1.0.6] - 2025-04-23
47
- `DELETE` requests have no body
58

lib/aws/generated/a_i_ops.ex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ defmodule AWS.AIOps do
4646
4747
create_investigation_group_input() :: %{
4848
optional("chatbotNotificationChannel") => map(),
49-
optional("crossAccountConfigurations") => list(cross_account_configuration()()),
49+
optional("crossAccountConfigurations") => list(cross_account_configuration()),
5050
optional("encryptionConfiguration") => encryption_configuration(),
5151
optional("isCloudTrailEventHistoryEnabled") => [boolean()],
5252
optional("retentionInDays") => float(),
53-
optional("tagKeyBoundaries") => list(String.t()()),
53+
optional("tagKeyBoundaries") => list(String.t()),
5454
optional("tags") => map(),
5555
required("name") => String.t(),
5656
required("roleArn") => String.t()
@@ -170,15 +170,15 @@ defmodule AWS.AIOps do
170170
"chatbotNotificationChannel" => map(),
171171
"createdAt" => [non_neg_integer()],
172172
"createdBy" => String.t(),
173-
"crossAccountConfigurations" => list(cross_account_configuration()()),
173+
"crossAccountConfigurations" => list(cross_account_configuration()),
174174
"encryptionConfiguration" => encryption_configuration(),
175175
"isCloudTrailEventHistoryEnabled" => [boolean()],
176176
"lastModifiedAt" => [non_neg_integer()],
177177
"lastModifiedBy" => String.t(),
178178
"name" => String.t(),
179179
"retentionInDays" => float(),
180180
"roleArn" => String.t(),
181-
"tagKeyBoundaries" => list(String.t()())
181+
"tagKeyBoundaries" => list(String.t())
182182
}
183183
184184
"""
@@ -224,7 +224,7 @@ defmodule AWS.AIOps do
224224
## Example:
225225
226226
list_investigation_groups_output() :: %{
227-
"investigationGroups" => list(list_investigation_groups_model()()),
227+
"investigationGroups" => list(list_investigation_groups_model()),
228228
"nextToken" => String.t()
229229
}
230230
@@ -335,7 +335,7 @@ defmodule AWS.AIOps do
335335
## Example:
336336
337337
untag_resource_request() :: %{
338-
required("tagKeys") => list(String.t()())
338+
required("tagKeys") => list(String.t())
339339
}
340340
341341
"""
@@ -365,11 +365,11 @@ defmodule AWS.AIOps do
365365
366366
update_investigation_group_request() :: %{
367367
optional("chatbotNotificationChannel") => map(),
368-
optional("crossAccountConfigurations") => list(cross_account_configuration()()),
368+
optional("crossAccountConfigurations") => list(cross_account_configuration()),
369369
optional("encryptionConfiguration") => encryption_configuration(),
370370
optional("isCloudTrailEventHistoryEnabled") => [boolean()],
371371
optional("roleArn") => String.t(),
372-
optional("tagKeyBoundaries") => list(String.t()())
372+
optional("tagKeyBoundaries") => list(String.t())
373373
}
374374
375375
"""

lib/aws/generated/a_r_c_zonal_shift.ex

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule AWS.ARCZonalShift do
3131
## Example:
3232
3333
list_managed_resources_response() :: %{
34-
"items" => list(managed_resource_summary()()),
34+
"items" => list(managed_resource_summary()),
3535
"nextToken" => [String.t()]
3636
}
3737
@@ -45,11 +45,11 @@ defmodule AWS.ARCZonalShift do
4545
get_managed_resource_response() :: %{
4646
"appliedWeights" => map(),
4747
"arn" => String.t(),
48-
"autoshifts" => list(autoshift_in_resource()()),
48+
"autoshifts" => list(autoshift_in_resource()),
4949
"name" => String.t(),
5050
"practiceRunConfiguration" => practice_run_configuration(),
5151
"zonalAutoshiftStatus" => list(any()),
52-
"zonalShifts" => list(zonal_shift_in_resource()())
52+
"zonalShifts" => list(zonal_shift_in_resource())
5353
}
5454
5555
"""
@@ -60,7 +60,7 @@ defmodule AWS.ARCZonalShift do
6060
## Example:
6161
6262
list_zonal_shifts_response() :: %{
63-
"items" => list(zonal_shift_summary()()),
63+
"items" => list(zonal_shift_summary()),
6464
"nextToken" => [String.t()]
6565
}
6666
@@ -156,12 +156,12 @@ defmodule AWS.ARCZonalShift do
156156
managed_resource_summary() :: %{
157157
"appliedWeights" => map(),
158158
"arn" => String.t(),
159-
"autoshifts" => list(autoshift_in_resource()()),
160-
"availabilityZones" => list(String.t()()),
159+
"autoshifts" => list(autoshift_in_resource()),
160+
"availabilityZones" => list(String.t()),
161161
"name" => String.t(),
162162
"practiceRunStatus" => list(any()),
163163
"zonalAutoshiftStatus" => list(any()),
164-
"zonalShifts" => list(zonal_shift_in_resource()())
164+
"zonalShifts" => list(zonal_shift_in_resource())
165165
}
166166
167167
"""
@@ -211,10 +211,10 @@ defmodule AWS.ARCZonalShift do
211211
## Example:
212212
213213
update_practice_run_configuration_request() :: %{
214-
optional("blockedDates") => list(String.t()()),
215-
optional("blockedWindows") => list(String.t()()),
216-
optional("blockingAlarms") => list(control_condition()()),
217-
optional("outcomeAlarms") => list(control_condition()())
214+
optional("blockedDates") => list(String.t()),
215+
optional("blockedWindows") => list(String.t()),
216+
optional("blockingAlarms") => list(control_condition()),
217+
optional("outcomeAlarms") => list(control_condition())
218218
}
219219
220220
"""
@@ -428,7 +428,7 @@ defmodule AWS.ARCZonalShift do
428428
## Example:
429429
430430
list_autoshifts_response() :: %{
431-
"items" => list(autoshift_summary()()),
431+
"items" => list(autoshift_summary()),
432432
"nextToken" => [String.t()]
433433
}
434434
@@ -477,10 +477,10 @@ defmodule AWS.ARCZonalShift do
477477
## Example:
478478
479479
create_practice_run_configuration_request() :: %{
480-
optional("blockedDates") => list(String.t()()),
481-
optional("blockedWindows") => list(String.t()()),
482-
optional("blockingAlarms") => list(control_condition()()),
483-
required("outcomeAlarms") => list(control_condition()()),
480+
optional("blockedDates") => list(String.t()),
481+
optional("blockedWindows") => list(String.t()),
482+
optional("blockingAlarms") => list(control_condition()),
483+
required("outcomeAlarms") => list(control_condition()),
484484
required("resourceIdentifier") => String.t()
485485
}
486486
@@ -518,10 +518,10 @@ defmodule AWS.ARCZonalShift do
518518
## Example:
519519
520520
practice_run_configuration() :: %{
521-
"blockedDates" => list(String.t()()),
522-
"blockedWindows" => list(String.t()()),
523-
"blockingAlarms" => list(control_condition()()),
524-
"outcomeAlarms" => list(control_condition()())
521+
"blockedDates" => list(String.t()),
522+
"blockedWindows" => list(String.t()),
523+
"blockingAlarms" => list(control_condition()),
524+
"outcomeAlarms" => list(control_condition())
525525
}
526526
527527
"""

0 commit comments

Comments
 (0)