Smaws_Client_ComputeOptimizerAutomationCompute Optimizer Automation client library built on EIO.
module Types : sig ... endval make_update_enrollment_configuration_response :
?status_reason:Smaws_Lib.Smithy_api.Types.string_ ->
last_updated_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
status:Types.enrollment_status ->
unit ->
Types.update_enrollment_configuration_responseval make_update_enrollment_configuration_request :
?client_token:Types.client_token ->
status:Types.enrollment_status ->
unit ->
Types.update_enrollment_configuration_requestval make_organization_configuration :
?account_ids:Types.organization_configuration_account_ids ->
?rule_apply_order:Types.rule_apply_order ->
unit ->
Types.organization_configurationval make_string_criteria_condition :
?values:Types.string_criteria_values ->
?comparison:Types.comparison_operator ->
unit ->
Types.string_criteria_conditionval make_integer_criteria_condition :
?values:Types.integer_list ->
?comparison:Types.comparison_operator ->
unit ->
Types.integer_criteria_conditionval make_double_criteria_condition :
?values:Types.double_list ->
?comparison:Types.comparison_operator ->
unit ->
Types.double_criteria_conditionval make_resource_tags_criteria_condition :
?values:Types.string_criteria_values ->
?key:Types.string_criteria_value ->
?comparison:Types.comparison_operator ->
unit ->
Types.resource_tags_criteria_conditionval make_criteria :
?restart_needed:Types.string_criteria_condition_list ->
?look_back_period_in_days:Types.integer_criteria_condition_list ->
?resource_tag:Types.resource_tags_criteria_condition_list ->
?estimated_monthly_savings:Types.double_criteria_condition_list ->
?ebs_volume_size_in_gib:Types.integer_criteria_condition_list ->
?ebs_volume_type:Types.string_criteria_condition_list ->
?resource_arn:Types.string_criteria_condition_list ->
?region:Types.string_criteria_condition_list ->
unit ->
Types.criteriaval make_schedule :
?execution_window_in_minutes:Smaws_Lib.Smithy_api.Types.integer ->
?schedule_expression_timezone:Smaws_Lib.Smithy_api.Types.string_ ->
?schedule_expression:Smaws_Lib.Smithy_api.Types.string_ ->
unit ->
Types.scheduleval make_update_automation_rule_response :
?last_updated_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?created_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?status:Types.rule_status ->
?schedule:Types.schedule ->
?criteria:Types.criteria ->
?recommended_action_types:Types.recommended_action_type_list ->
?priority:Smaws_Lib.Smithy_api.Types.string_ ->
?organization_configuration:Types.organization_configuration ->
?rule_type:Types.rule_type ->
?description:Smaws_Lib.Smithy_api.Types.string_ ->
?name:Types.rule_name ->
?rule_revision:Smaws_Lib.Smithy_api.Types.long ->
?rule_arn:Types.rule_arn ->
unit ->
Types.update_automation_rule_responseval make_update_automation_rule_request :
?client_token:Types.client_token ->
?status:Types.rule_status ->
?schedule:Types.schedule ->
?criteria:Types.criteria ->
?recommended_action_types:Types.recommended_action_type_list ->
?priority:Smaws_Lib.Smithy_api.Types.string_ ->
?organization_configuration:Types.organization_configuration ->
?rule_type:Types.rule_type ->
?description:Types.rule_description ->
?name:Types.rule_name ->
rule_revision:Smaws_Lib.Smithy_api.Types.long ->
rule_arn:Types.rule_arn ->
unit ->
Types.update_automation_rule_requestval make_untag_resource_request :
?client_token:Types.client_token ->
tag_keys:Types.tag_key_list ->
rule_revision:Smaws_Lib.Smithy_api.Types.long ->
resource_arn:Types.rule_arn ->
unit ->
Types.untag_resource_requestval make_time_period :
?end_time_exclusive:Smaws_Lib.Smithy_api.Types.timestamp ->
?start_time_inclusive:Smaws_Lib.Smithy_api.Types.timestamp ->
unit ->
Types.time_periodval make_tag : value:Types.tag_value -> key:Types.tag_key -> unit -> Types.tagval make_tag_resource_request :
?client_token:Types.client_token ->
tags:Types.tag_list ->
rule_revision:Smaws_Lib.Smithy_api.Types.long ->
resource_arn:Types.rule_arn ->
unit ->
Types.tag_resource_requestval make_estimated_monthly_savings :
savings_estimation_mode:Types.savings_estimation_mode ->
after_discount_savings:Smaws_Lib.Smithy_api.Types.double ->
before_discount_savings:Smaws_Lib.Smithy_api.Types.double ->
currency:Smaws_Lib.Smithy_api.Types.string_ ->
unit ->
Types.estimated_monthly_savingsval make_summary_totals :
?estimated_monthly_savings:Types.estimated_monthly_savings ->
?automation_event_count:Smaws_Lib.Smithy_api.Types.integer ->
unit ->
Types.summary_totalsval make_summary_dimension :
value:Smaws_Lib.Smithy_api.Types.string_ ->
key:Types.summary_dimension_key ->
unit ->
Types.summary_dimensionval make_start_automation_event_response :
?event_status:Types.event_status ->
?event_id:Types.event_id ->
?recommended_action_id:Types.recommended_action_id ->
unit ->
Types.start_automation_event_responseval make_start_automation_event_request :
?client_token:Types.client_token ->
recommended_action_id:Types.recommended_action_id ->
unit ->
Types.start_automation_event_requestval make_rule_preview_total :
estimated_monthly_savings:Types.estimated_monthly_savings ->
recommended_action_count:Smaws_Lib.Smithy_api.Types.integer ->
unit ->
Types.rule_preview_totalval make_rollback_automation_event_response :
?event_status:Types.event_status ->
?event_id:Types.event_id ->
unit ->
Types.rollback_automation_event_responseval make_rollback_automation_event_request :
?client_token:Types.client_token ->
event_id:Types.event_id ->
unit ->
Types.rollback_automation_event_requestval make_ebs_volume_configuration :
?throughput:Smaws_Lib.Smithy_api.Types.integer ->
?iops:Smaws_Lib.Smithy_api.Types.integer ->
?size_in_gib:Smaws_Lib.Smithy_api.Types.integer ->
?type_:Smaws_Lib.Smithy_api.Types.string_ ->
unit ->
Types.ebs_volume_configurationval make_ebs_volume :
?configuration:Types.ebs_volume_configuration ->
unit ->
Types.ebs_volumeval make_recommended_action :
?resource_tags:Types.tag_list ->
?estimated_monthly_savings:Types.estimated_monthly_savings ->
?restart_needed:Smaws_Lib.Smithy_api.Types.boolean_ ->
?recommended_resource_details:Types.resource_details ->
?recommended_resource_summary:Smaws_Lib.Smithy_api.Types.string_ ->
?current_resource_details:Types.resource_details ->
?current_resource_summary:Smaws_Lib.Smithy_api.Types.string_ ->
?recommended_action_type:Types.recommended_action_type ->
?look_back_period_in_days:Smaws_Lib.Smithy_api.Types.integer ->
?resource_type:Types.resource_type ->
?region:Smaws_Lib.Smithy_api.Types.string_ ->
?account_id:Types.account_id ->
?resource_id:Types.resource_id ->
?resource_arn:Types.resource_arn ->
?recommended_action_id:Types.recommended_action_id ->
unit ->
Types.recommended_actionval make_recommended_action_total :
estimated_monthly_savings:Types.estimated_monthly_savings ->
recommended_action_count:Smaws_Lib.Smithy_api.Types.integer ->
unit ->
Types.recommended_action_totalval make_recommended_action_summary :
total:Types.recommended_action_total ->
key:Smaws_Lib.Smithy_api.Types.string_ ->
unit ->
Types.recommended_action_summaryval make_recommended_action_filter :
values:Types.filter_values ->
name:Types.recommended_action_filter_name ->
unit ->
Types.recommended_action_filterval make_preview_result_summary :
total:Types.rule_preview_total ->
key:Smaws_Lib.Smithy_api.Types.string_ ->
unit ->
Types.preview_result_summaryval make_organization_scope :
?account_ids:Types.organization_configuration_account_ids ->
unit ->
Types.organization_scopeval make_list_tags_for_resource_response :
?tags:Types.tag_list ->
unit ->
Types.list_tags_for_resource_responseval make_list_tags_for_resource_request :
resource_arn:Types.rule_arn ->
unit ->
Types.list_tags_for_resource_requestval make_list_recommended_actions_response :
?next_token:Types.next_token ->
?recommended_actions:Types.recommended_actions ->
unit ->
Types.list_recommended_actions_responseval make_list_recommended_actions_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
?filters:Types.recommended_action_filter_list ->
unit ->
Types.list_recommended_actions_requestval make_list_recommended_action_summaries_response :
?next_token:Types.next_token ->
?recommended_action_summaries:Types.recommended_action_summaries ->
unit ->
Types.list_recommended_action_summaries_responseval make_list_recommended_action_summaries_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
?filters:Types.recommended_action_filter_list ->
unit ->
Types.list_recommended_action_summaries_requestval make_automation_rule :
?last_updated_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?created_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?status:Types.rule_status ->
?schedule:Types.schedule ->
?recommended_action_types:Types.recommended_action_type_list ->
?priority:Smaws_Lib.Smithy_api.Types.string_ ->
?organization_configuration:Types.organization_configuration ->
?account_id:Types.account_id ->
?rule_revision:Smaws_Lib.Smithy_api.Types.long ->
?rule_type:Types.rule_type ->
?description:Smaws_Lib.Smithy_api.Types.string_ ->
?name:Types.rule_name ->
?rule_id:Types.rule_id ->
?rule_arn:Types.rule_arn ->
unit ->
Types.automation_ruleval make_list_automation_rules_response :
?next_token:Types.next_token ->
?automation_rules:Types.automation_rules ->
unit ->
Types.list_automation_rules_responseval make_filter :
values:Types.filter_values ->
name:Types.automation_rule_filter_name ->
unit ->
Types.filterval make_list_automation_rules_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
?filters:Types.filter_list ->
unit ->
Types.list_automation_rules_requestval make_list_automation_rule_preview_summaries_response :
?next_token:Types.next_token ->
?preview_result_summaries:Types.preview_result_summaries ->
unit ->
Types.list_automation_rule_preview_summaries_responseval make_list_automation_rule_preview_summaries_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
?criteria:Types.criteria ->
?organization_scope:Types.organization_scope ->
recommended_action_types:Types.recommended_action_type_list ->
rule_type:Types.rule_type ->
unit ->
Types.list_automation_rule_preview_summaries_requestval make_list_automation_rule_preview_response :
?next_token:Types.next_token ->
?preview_results:Types.preview_results ->
unit ->
Types.list_automation_rule_preview_responseval make_list_automation_rule_preview_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
?criteria:Types.criteria ->
?organization_scope:Types.organization_scope ->
recommended_action_types:Types.recommended_action_type_list ->
rule_type:Types.rule_type ->
unit ->
Types.list_automation_rule_preview_requestval make_automation_event :
?estimated_monthly_savings:Types.estimated_monthly_savings ->
?completed_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?created_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?resource_type:Types.resource_type ->
?rule_id:Types.rule_id ->
?region:Smaws_Lib.Smithy_api.Types.string_ ->
?account_id:Types.account_id ->
?recommended_action_id:Types.recommended_action_id ->
?resource_id:Types.resource_id ->
?resource_arn:Types.resource_arn ->
?event_status_reason:Smaws_Lib.Smithy_api.Types.string_ ->
?event_status:Types.event_status ->
?event_type:Types.event_type ->
?event_description:Smaws_Lib.Smithy_api.Types.string_ ->
?event_id:Types.event_id ->
unit ->
Types.automation_eventval make_list_automation_events_response :
?next_token:Types.next_token ->
?automation_events:Types.automation_events ->
unit ->
Types.list_automation_events_responseval make_automation_event_filter :
values:Types.filter_values ->
name:Types.automation_event_filter_name ->
unit ->
Types.automation_event_filterval make_list_automation_events_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
?end_time_exclusive:Smaws_Lib.Smithy_api.Types.timestamp ->
?start_time_inclusive:Smaws_Lib.Smithy_api.Types.timestamp ->
?filters:Types.automation_event_filter_list ->
unit ->
Types.list_automation_events_requestval make_automation_event_summary :
?total:Types.summary_totals ->
?time_period:Types.time_period ->
?dimensions:Types.summary_dimensions ->
?key:Smaws_Lib.Smithy_api.Types.string_ ->
unit ->
Types.automation_event_summaryval make_list_automation_event_summaries_response :
?next_token:Types.next_token ->
?automation_event_summaries:Types.automation_event_summary_list ->
unit ->
Types.list_automation_event_summaries_responseval make_list_automation_event_summaries_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
?end_date_exclusive:Smaws_Lib.Smithy_api.Types.string_ ->
?start_date_inclusive:Smaws_Lib.Smithy_api.Types.string_ ->
?filters:Types.automation_event_filter_list ->
unit ->
Types.list_automation_event_summaries_requestval make_automation_event_step :
?estimated_monthly_savings:Types.estimated_monthly_savings ->
?completed_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?start_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?resource_id:Types.resource_id ->
?step_status:Types.step_status ->
?step_type:Types.step_type ->
?step_id:Types.step_id ->
?event_id:Types.event_id ->
unit ->
Types.automation_event_stepval make_list_automation_event_steps_response :
?next_token:Types.next_token ->
?automation_event_steps:Types.automation_event_steps ->
unit ->
Types.list_automation_event_steps_responseval make_list_automation_event_steps_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
event_id:Types.event_id ->
unit ->
Types.list_automation_event_steps_requestval make_account_info :
?status_reason:Smaws_Lib.Smithy_api.Types.string_ ->
last_updated_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
organization_rule_mode:Types.organization_rule_mode ->
status:Types.enrollment_status ->
account_id:Types.account_id ->
unit ->
Types.account_infoval make_list_accounts_response :
?next_token:Types.next_token ->
accounts:Types.account_info_list ->
unit ->
Types.list_accounts_responseval make_list_accounts_request :
?next_token:Types.next_token ->
?max_results:Smaws_Lib.Smithy_api.Types.integer ->
unit ->
Types.list_accounts_requestval make_get_enrollment_configuration_response :
?last_updated_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?organization_rule_mode:Types.organization_rule_mode ->
?status_reason:Smaws_Lib.Smithy_api.Types.string_ ->
status:Types.enrollment_status ->
unit ->
Types.get_enrollment_configuration_responseval make_get_automation_rule_response :
?last_updated_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?created_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?tags:Types.tag_list ->
?status:Types.rule_status ->
?schedule:Types.schedule ->
?criteria:Types.criteria ->
?recommended_action_types:Types.recommended_action_type_list ->
?priority:Smaws_Lib.Smithy_api.Types.string_ ->
?organization_configuration:Types.organization_configuration ->
?account_id:Types.account_id ->
?rule_revision:Smaws_Lib.Smithy_api.Types.long ->
?rule_type:Types.rule_type ->
?description:Smaws_Lib.Smithy_api.Types.string_ ->
?name:Types.rule_name ->
?rule_id:Types.rule_id ->
?rule_arn:Types.rule_arn ->
unit ->
Types.get_automation_rule_responseval make_get_automation_rule_request :
rule_arn:Types.rule_arn ->
unit ->
Types.get_automation_rule_requestval make_get_automation_event_response :
?estimated_monthly_savings:Types.estimated_monthly_savings ->
?completed_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?created_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?resource_type:Types.resource_type ->
?rule_id:Types.rule_id ->
?region:Smaws_Lib.Smithy_api.Types.string_ ->
?account_id:Types.account_id ->
?recommended_action_id:Types.recommended_action_id ->
?resource_id:Types.resource_id ->
?resource_arn:Types.resource_arn ->
?event_status_reason:Smaws_Lib.Smithy_api.Types.string_ ->
?event_status:Types.event_status ->
?event_type:Types.event_type ->
?event_description:Smaws_Lib.Smithy_api.Types.string_ ->
?event_id:Types.event_id ->
unit ->
Types.get_automation_event_responseval make_get_automation_event_request :
event_id:Types.event_id ->
unit ->
Types.get_automation_event_requestval make_disassociate_accounts_response :
?errors:Types.string_list ->
?account_ids:Types.account_id_list ->
unit ->
Types.disassociate_accounts_responseval make_disassociate_accounts_request :
?client_token:Types.client_token ->
account_ids:Types.account_id_list ->
unit ->
Types.disassociate_accounts_requestval make_delete_automation_rule_request :
?client_token:Types.client_token ->
rule_revision:Smaws_Lib.Smithy_api.Types.long ->
rule_arn:Types.rule_arn ->
unit ->
Types.delete_automation_rule_requestval make_create_automation_rule_response :
?created_timestamp:Smaws_Lib.Smithy_api.Types.timestamp ->
?tags:Types.tag_list ->
?status:Types.rule_status ->
?schedule:Types.schedule ->
?criteria:Types.criteria ->
?recommended_action_types:Types.recommended_action_type_list ->
?priority:Smaws_Lib.Smithy_api.Types.string_ ->
?organization_configuration:Types.organization_configuration ->
?rule_revision:Smaws_Lib.Smithy_api.Types.long ->
?rule_type:Types.rule_type ->
?description:Smaws_Lib.Smithy_api.Types.string_ ->
?name:Types.rule_name ->
?rule_id:Types.rule_id ->
?rule_arn:Types.rule_arn ->
unit ->
Types.create_automation_rule_responseval make_create_automation_rule_request :
?client_token:Types.client_token ->
?tags:Types.tag_list ->
?criteria:Types.criteria ->
?priority:Smaws_Lib.Smithy_api.Types.string_ ->
?organization_configuration:Types.organization_configuration ->
?description:Types.rule_description ->
status:Types.rule_status ->
schedule:Types.schedule ->
recommended_action_types:Types.recommended_action_type_list ->
rule_type:Types.rule_type ->
name:Types.rule_name ->
unit ->
Types.create_automation_rule_requestval make_associate_accounts_response :
?errors:Types.string_list ->
?account_ids:Types.account_id_list ->
unit ->
Types.associate_accounts_responseval make_associate_accounts_request :
?client_token:Types.client_token ->
account_ids:Types.account_id_list ->
unit ->
Types.associate_accounts_requestOperations
module AssociateAccounts : sig ... endAssociates one or more member accounts with your organization's management account, enabling centralized implementation of optimization actions across those accounts. Once associated, the management account (or a delegated administrator) can apply recommended actions to the member account. When you associate a member account, its organization rule mode is automatically set to "Any allowed," which permits the management account to create Automation rules that automatically apply actions to that account. If the member account has not previously enabled the Automation feature, the association process automatically enables it.
module CreateAutomationRule : sig ... endCreates a new automation rule to apply recommended actions to resources based on specified criteria.
module DeleteAutomationRule : sig ... endDeletes an existing automation rule.
module DisassociateAccounts : sig ... endDisassociates member accounts from your organization's management account, removing centralized automation capabilities. Once disassociated, organization rules no longer apply to the member account, and the management account (or delegated administrator) cannot create Automation rules for that account.
module GetAutomationEvent : sig ... endRetrieves details about a specific automation event.
module GetAutomationRule : sig ... endRetrieves details about a specific automation rule.
module GetEnrollmentConfiguration : sig ... endRetrieves the current enrollment configuration for Compute Optimizer Automation.
module ListAccounts : sig ... endLists the accounts in your organization that are enrolled in Compute Optimizer and whether they have enabled Automation.
module ListAutomationEventSteps : sig ... endLists the steps for a specific automation event. You can only list steps for events created within the past year.
module ListAutomationEventSummaries : sig ... endProvides a summary of automation events based on specified filters. Only events created within the past year will be included in the summary.
module ListAutomationEvents : sig ... endLists automation events based on specified filters. You can retrieve events that were created within the past year.
module ListAutomationRulePreview : sig ... endReturns a preview of the recommended actions that match your Automation rule's configuration and criteria.
module ListAutomationRulePreviewSummaries : sig ... endReturns a summary of the recommended actions that match your rule preview configuration and criteria.
module ListAutomationRules : sig ... endLists the automation rules that match specified filters.
module ListRecommendedActionSummaries : sig ... endProvides a summary of recommended actions based on specified filters.
module ListRecommendedActions : sig ... endLists the recommended actions based that match specified filters.
module ListTagsForResource : sig ... endLists the tags for a specified resource.
module RollbackAutomationEvent : sig ... endInitiates a rollback for a completed automation event.
module StartAutomationEvent : sig ... endInitiates a one-time, on-demand automation for the specified recommended action.
module TagResource : sig ... endAdds tags to the specified resource.
module UntagResource : sig ... endRemoves tags from the specified resource.
module UpdateAutomationRule : sig ... endUpdates an existing automation rule.
module UpdateEnrollmentConfiguration : sig ... endmodule Json_serializers : sig ... endmodule Json_deserializers : sig ... end