Skip to content

Commit

Permalink
feat(client-fis): This release adds support for generating experiment…
Browse files Browse the repository at this point in the history
… reports with the experiment report configuration
  • Loading branch information
awstools committed Nov 12, 2024
1 parent a201236 commit eeb1195
Show file tree
Hide file tree
Showing 10 changed files with 6,475 additions and 5,281 deletions.
34 changes: 34 additions & 0 deletions clients/client-fis/src/commands/CreateExperimentTemplateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,23 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
* accountTargeting: "single-account" || "multi-account",
* emptyTargetResolutionMode: "fail" || "skip",
* },
* experimentReportConfiguration: { // CreateExperimentTemplateReportConfigurationInput
* outputs: { // ExperimentTemplateReportConfigurationOutputsInput
* s3Configuration: { // ReportConfigurationS3OutputInput
* bucketName: "STRING_VALUE",
* prefix: "STRING_VALUE",
* },
* },
* dataSources: { // ExperimentTemplateReportConfigurationDataSourcesInput
* cloudWatchDashboards: [ // ReportConfigurationCloudWatchDashboardInputList
* { // ReportConfigurationCloudWatchDashboardInput
* dashboardIdentifier: "STRING_VALUE",
* },
* ],
* },
* preExperimentDuration: "STRING_VALUE",
* postExperimentDuration: "STRING_VALUE",
* },
* };
* const command = new CreateExperimentTemplateCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -195,6 +212,23 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
* // emptyTargetResolutionMode: "fail" || "skip",
* // },
* // targetAccountConfigurationsCount: Number("long"),
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
* // s3Configuration: { // ReportConfigurationS3Output
* // bucketName: "STRING_VALUE",
* // prefix: "STRING_VALUE",
* // },
* // },
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
* // dashboardIdentifier: "STRING_VALUE",
* // },
* // ],
* // },
* // preExperimentDuration: "STRING_VALUE",
* // postExperimentDuration: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
17 changes: 17 additions & 0 deletions clients/client-fis/src/commands/DeleteExperimentTemplateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,23 @@ export interface DeleteExperimentTemplateCommandOutput extends DeleteExperimentT
* // emptyTargetResolutionMode: "fail" || "skip",
* // },
* // targetAccountConfigurationsCount: Number("long"),
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
* // s3Configuration: { // ReportConfigurationS3Output
* // bucketName: "STRING_VALUE",
* // prefix: "STRING_VALUE",
* // },
* // },
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
* // dashboardIdentifier: "STRING_VALUE",
* // },
* // ],
* // },
* // preExperimentDuration: "STRING_VALUE",
* // postExperimentDuration: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
32 changes: 32 additions & 0 deletions clients/client-fis/src/commands/GetExperimentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,38 @@ export interface GetExperimentCommandOutput extends GetExperimentResponse, __Met
* // actionsMode: "skip-all" || "run-all",
* // },
* // targetAccountConfigurationsCount: Number("long"),
* // experimentReportConfiguration: { // ExperimentReportConfiguration
* // outputs: { // ExperimentReportConfigurationOutputs
* // s3Configuration: { // ExperimentReportConfigurationOutputsS3Configuration
* // bucketName: "STRING_VALUE",
* // prefix: "STRING_VALUE",
* // },
* // },
* // dataSources: { // ExperimentReportConfigurationDataSources
* // cloudWatchDashboards: [ // ExperimentReportConfigurationCloudWatchDashboardList
* // { // ExperimentReportConfigurationCloudWatchDashboard
* // dashboardIdentifier: "STRING_VALUE",
* // },
* // ],
* // },
* // preExperimentDuration: "STRING_VALUE",
* // postExperimentDuration: "STRING_VALUE",
* // },
* // experimentReport: { // ExperimentReport
* // state: { // ExperimentReportState
* // status: "pending" || "running" || "completed" || "cancelled" || "failed",
* // reason: "STRING_VALUE",
* // error: { // ExperimentReportError
* // code: "STRING_VALUE",
* // },
* // },
* // s3Reports: [ // ExperimentReportS3ReportList
* // { // ExperimentReportS3Report
* // arn: "STRING_VALUE",
* // reportType: "STRING_VALUE",
* // },
* // ],
* // },
* // },
* // };
*
Expand Down
17 changes: 17 additions & 0 deletions clients/client-fis/src/commands/GetExperimentTemplateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,23 @@ export interface GetExperimentTemplateCommandOutput extends GetExperimentTemplat
* // emptyTargetResolutionMode: "fail" || "skip",
* // },
* // targetAccountConfigurationsCount: Number("long"),
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
* // s3Configuration: { // ReportConfigurationS3Output
* // bucketName: "STRING_VALUE",
* // prefix: "STRING_VALUE",
* // },
* // },
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
* // dashboardIdentifier: "STRING_VALUE",
* // },
* // ],
* // },
* // preExperimentDuration: "STRING_VALUE",
* // postExperimentDuration: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
32 changes: 32 additions & 0 deletions clients/client-fis/src/commands/StartExperimentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,38 @@ export interface StartExperimentCommandOutput extends StartExperimentResponse, _
* // actionsMode: "skip-all" || "run-all",
* // },
* // targetAccountConfigurationsCount: Number("long"),
* // experimentReportConfiguration: { // ExperimentReportConfiguration
* // outputs: { // ExperimentReportConfigurationOutputs
* // s3Configuration: { // ExperimentReportConfigurationOutputsS3Configuration
* // bucketName: "STRING_VALUE",
* // prefix: "STRING_VALUE",
* // },
* // },
* // dataSources: { // ExperimentReportConfigurationDataSources
* // cloudWatchDashboards: [ // ExperimentReportConfigurationCloudWatchDashboardList
* // { // ExperimentReportConfigurationCloudWatchDashboard
* // dashboardIdentifier: "STRING_VALUE",
* // },
* // ],
* // },
* // preExperimentDuration: "STRING_VALUE",
* // postExperimentDuration: "STRING_VALUE",
* // },
* // experimentReport: { // ExperimentReport
* // state: { // ExperimentReportState
* // status: "pending" || "running" || "completed" || "cancelled" || "failed",
* // reason: "STRING_VALUE",
* // error: { // ExperimentReportError
* // code: "STRING_VALUE",
* // },
* // },
* // s3Reports: [ // ExperimentReportS3ReportList
* // { // ExperimentReportS3Report
* // arn: "STRING_VALUE",
* // reportType: "STRING_VALUE",
* // },
* // ],
* // },
* // },
* // };
*
Expand Down
32 changes: 32 additions & 0 deletions clients/client-fis/src/commands/StopExperimentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,38 @@ export interface StopExperimentCommandOutput extends StopExperimentResponse, __M
* // actionsMode: "skip-all" || "run-all",
* // },
* // targetAccountConfigurationsCount: Number("long"),
* // experimentReportConfiguration: { // ExperimentReportConfiguration
* // outputs: { // ExperimentReportConfigurationOutputs
* // s3Configuration: { // ExperimentReportConfigurationOutputsS3Configuration
* // bucketName: "STRING_VALUE",
* // prefix: "STRING_VALUE",
* // },
* // },
* // dataSources: { // ExperimentReportConfigurationDataSources
* // cloudWatchDashboards: [ // ExperimentReportConfigurationCloudWatchDashboardList
* // { // ExperimentReportConfigurationCloudWatchDashboard
* // dashboardIdentifier: "STRING_VALUE",
* // },
* // ],
* // },
* // preExperimentDuration: "STRING_VALUE",
* // postExperimentDuration: "STRING_VALUE",
* // },
* // experimentReport: { // ExperimentReport
* // state: { // ExperimentReportState
* // status: "pending" || "running" || "completed" || "cancelled" || "failed",
* // reason: "STRING_VALUE",
* // error: { // ExperimentReportError
* // code: "STRING_VALUE",
* // },
* // },
* // s3Reports: [ // ExperimentReportS3ReportList
* // { // ExperimentReportS3Report
* // arn: "STRING_VALUE",
* // reportType: "STRING_VALUE",
* // },
* // ],
* // },
* // },
* // };
*
Expand Down
34 changes: 34 additions & 0 deletions clients/client-fis/src/commands/UpdateExperimentTemplateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,23 @@ export interface UpdateExperimentTemplateCommandOutput extends UpdateExperimentT
* experimentOptions: { // UpdateExperimentTemplateExperimentOptionsInput
* emptyTargetResolutionMode: "fail" || "skip",
* },
* experimentReportConfiguration: { // UpdateExperimentTemplateReportConfigurationInput
* outputs: { // ExperimentTemplateReportConfigurationOutputsInput
* s3Configuration: { // ReportConfigurationS3OutputInput
* bucketName: "STRING_VALUE",
* prefix: "STRING_VALUE",
* },
* },
* dataSources: { // ExperimentTemplateReportConfigurationDataSourcesInput
* cloudWatchDashboards: [ // ReportConfigurationCloudWatchDashboardInputList
* { // ReportConfigurationCloudWatchDashboardInput
* dashboardIdentifier: "STRING_VALUE",
* },
* ],
* },
* preExperimentDuration: "STRING_VALUE",
* postExperimentDuration: "STRING_VALUE",
* },
* };
* const command = new UpdateExperimentTemplateCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -169,6 +186,23 @@ export interface UpdateExperimentTemplateCommandOutput extends UpdateExperimentT
* // emptyTargetResolutionMode: "fail" || "skip",
* // },
* // targetAccountConfigurationsCount: Number("long"),
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
* // s3Configuration: { // ReportConfigurationS3Output
* // bucketName: "STRING_VALUE",
* // prefix: "STRING_VALUE",
* // },
* // },
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
* // dashboardIdentifier: "STRING_VALUE",
* // },
* // ],
* // },
* // preExperimentDuration: "STRING_VALUE",
* // postExperimentDuration: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Loading

0 comments on commit eeb1195

Please sign in to comment.