Skip to content

Commit

Permalink
feat(client-fis): Adds auto-pagination for the following operations: …
Browse files Browse the repository at this point in the history
…ListActions, ListExperimentTemplates, ListTargetAccountConfigurations, ListExperiments, ListExperimentResolvedTargets, ListTargetResourceTypes. Reduces length constraints of prefixes for logConfiguration and experimentReportConfiguration.
  • Loading branch information
awstools committed Feb 13, 2025
1 parent a068ee6 commit 1d6b9e5
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions codegen/sdk-codegen/aws-models/fis.json
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@
}
},
"prefix": {
"target": "com.amazonaws.fis#S3ObjectKey",
"target": "com.amazonaws.fis#ReportConfigurationS3OutputPrefix",
"traits": {
"smithy.api#documentation": "<p>The prefix of the S3 bucket where the experiment report will be stored.</p>"
}
Expand Down Expand Up @@ -3922,6 +3922,7 @@
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "actions",
"pageSize": "maxResults"
}
}
Expand Down Expand Up @@ -4003,6 +4004,7 @@
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "resolvedTargets",
"pageSize": "maxResults"
}
}
Expand Down Expand Up @@ -4164,6 +4166,7 @@
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "experimentTemplates",
"pageSize": "maxResults"
}
}
Expand Down Expand Up @@ -4242,6 +4245,7 @@
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "experiments",
"pageSize": "maxResults"
}
}
Expand Down Expand Up @@ -4377,6 +4381,7 @@
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "targetAccountConfigurations",
"pageSize": "maxResults"
}
}
Expand Down Expand Up @@ -4463,6 +4468,7 @@
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "targetResourceTypes",
"pageSize": "maxResults"
}
}
Expand Down Expand Up @@ -4581,7 +4587,7 @@
}
},
"prefix": {
"target": "com.amazonaws.fis#S3ObjectKey",
"target": "com.amazonaws.fis#ReportConfigurationS3OutputPrefix",
"traits": {
"smithy.api#documentation": "<p>The prefix of the S3 bucket where the experiment report will be stored.</p>"
}
Expand All @@ -4601,7 +4607,7 @@
}
},
"prefix": {
"target": "com.amazonaws.fis#S3ObjectKey",
"target": "com.amazonaws.fis#ReportConfigurationS3OutputPrefix",
"traits": {
"smithy.api#documentation": "<p>The prefix of the S3 bucket where the experiment report will be stored.</p>"
}
Expand All @@ -4611,6 +4617,16 @@
"smithy.api#documentation": "<p>Specifies the S3 destination for the experiment report.</p>"
}
},
"com.amazonaws.fis#ReportConfigurationS3OutputPrefix": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
},
"smithy.api#pattern": "^[\\S]+$"
}
},
"com.amazonaws.fis#ResolvedTarget": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -4707,7 +4723,7 @@
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
"max": 700
},
"smithy.api#pattern": "^[\\s\\S]+$"
}
Expand Down

0 comments on commit 1d6b9e5

Please sign in to comment.