Skip to content

Commit 1d6b9e5

Browse files
author
awstools
committed
feat(client-fis): Adds auto-pagination for the following operations: ListActions, ListExperimentTemplates, ListTargetAccountConfigurations, ListExperiments, ListExperimentResolvedTargets, ListTargetResourceTypes. Reduces length constraints of prefixes for logConfiguration and experimentReportConfiguration.
1 parent a068ee6 commit 1d6b9e5

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

Diff for: codegen/sdk-codegen/aws-models/fis.json

+20-4
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,7 @@
14471447
}
14481448
},
14491449
"prefix": {
1450-
"target": "com.amazonaws.fis#S3ObjectKey",
1450+
"target": "com.amazonaws.fis#ReportConfigurationS3OutputPrefix",
14511451
"traits": {
14521452
"smithy.api#documentation": "<p>The prefix of the S3 bucket where the experiment report will be stored.</p>"
14531453
}
@@ -3922,6 +3922,7 @@
39223922
"smithy.api#paginated": {
39233923
"inputToken": "nextToken",
39243924
"outputToken": "nextToken",
3925+
"items": "actions",
39253926
"pageSize": "maxResults"
39263927
}
39273928
}
@@ -4003,6 +4004,7 @@
40034004
"smithy.api#paginated": {
40044005
"inputToken": "nextToken",
40054006
"outputToken": "nextToken",
4007+
"items": "resolvedTargets",
40064008
"pageSize": "maxResults"
40074009
}
40084010
}
@@ -4164,6 +4166,7 @@
41644166
"smithy.api#paginated": {
41654167
"inputToken": "nextToken",
41664168
"outputToken": "nextToken",
4169+
"items": "experimentTemplates",
41674170
"pageSize": "maxResults"
41684171
}
41694172
}
@@ -4242,6 +4245,7 @@
42424245
"smithy.api#paginated": {
42434246
"inputToken": "nextToken",
42444247
"outputToken": "nextToken",
4248+
"items": "experiments",
42454249
"pageSize": "maxResults"
42464250
}
42474251
}
@@ -4377,6 +4381,7 @@
43774381
"smithy.api#paginated": {
43784382
"inputToken": "nextToken",
43794383
"outputToken": "nextToken",
4384+
"items": "targetAccountConfigurations",
43804385
"pageSize": "maxResults"
43814386
}
43824387
}
@@ -4463,6 +4468,7 @@
44634468
"smithy.api#paginated": {
44644469
"inputToken": "nextToken",
44654470
"outputToken": "nextToken",
4471+
"items": "targetResourceTypes",
44664472
"pageSize": "maxResults"
44674473
}
44684474
}
@@ -4581,7 +4587,7 @@
45814587
}
45824588
},
45834589
"prefix": {
4584-
"target": "com.amazonaws.fis#S3ObjectKey",
4590+
"target": "com.amazonaws.fis#ReportConfigurationS3OutputPrefix",
45854591
"traits": {
45864592
"smithy.api#documentation": "<p>The prefix of the S3 bucket where the experiment report will be stored.</p>"
45874593
}
@@ -4601,7 +4607,7 @@
46014607
}
46024608
},
46034609
"prefix": {
4604-
"target": "com.amazonaws.fis#S3ObjectKey",
4610+
"target": "com.amazonaws.fis#ReportConfigurationS3OutputPrefix",
46054611
"traits": {
46064612
"smithy.api#documentation": "<p>The prefix of the S3 bucket where the experiment report will be stored.</p>"
46074613
}
@@ -4611,6 +4617,16 @@
46114617
"smithy.api#documentation": "<p>Specifies the S3 destination for the experiment report.</p>"
46124618
}
46134619
},
4620+
"com.amazonaws.fis#ReportConfigurationS3OutputPrefix": {
4621+
"type": "string",
4622+
"traits": {
4623+
"smithy.api#length": {
4624+
"min": 0,
4625+
"max": 256
4626+
},
4627+
"smithy.api#pattern": "^[\\S]+$"
4628+
}
4629+
},
46144630
"com.amazonaws.fis#ResolvedTarget": {
46154631
"type": "structure",
46164632
"members": {
@@ -4707,7 +4723,7 @@
47074723
"traits": {
47084724
"smithy.api#length": {
47094725
"min": 1,
4710-
"max": 1024
4726+
"max": 700
47114727
},
47124728
"smithy.api#pattern": "^[\\s\\S]+$"
47134729
}

0 commit comments

Comments
 (0)