Module Smaws_Client_ComputeOptimizerAutomation

Compute Optimizer Automation client library built on EIO.

Types

module Types : sig ... end

Builders

val 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_response
val make_update_enrollment_configuration_request : ?client_token:Types.client_token -> status:Types.enrollment_status -> unit -> Types.update_enrollment_configuration_request
val make_organization_configuration : ?account_ids:Types.organization_configuration_account_ids -> ?rule_apply_order:Types.rule_apply_order -> unit -> Types.organization_configuration
val make_string_criteria_condition : ?values:Types.string_criteria_values -> ?comparison:Types.comparison_operator -> unit -> Types.string_criteria_condition
val make_integer_criteria_condition : ?values:Types.integer_list -> ?comparison:Types.comparison_operator -> unit -> Types.integer_criteria_condition
val make_double_criteria_condition : ?values:Types.double_list -> ?comparison:Types.comparison_operator -> unit -> Types.double_criteria_condition
val make_resource_tags_criteria_condition : ?values:Types.string_criteria_values -> ?key:Types.string_criteria_value -> ?comparison:Types.comparison_operator -> unit -> Types.resource_tags_criteria_condition
val 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.schedule
val 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_response
val 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_request
val make_untag_resource_response : unit -> unit
val 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_request
val make_time_period : ?end_time_exclusive:Smaws_Lib.Smithy_api.Types.timestamp -> ?start_time_inclusive:Smaws_Lib.Smithy_api.Types.timestamp -> unit -> Types.time_period
val make_tag_resource_response : unit -> unit
val make_tag : value:Types.tag_value -> key:Types.tag_key -> unit -> Types.tag
val 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_request
val 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_savings
val make_summary_totals : ?estimated_monthly_savings:Types.estimated_monthly_savings -> ?automation_event_count:Smaws_Lib.Smithy_api.Types.integer -> unit -> Types.summary_totals
val 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_response
val make_start_automation_event_request : ?client_token:Types.client_token -> recommended_action_id:Types.recommended_action_id -> unit -> Types.start_automation_event_request
val make_rule_preview_total : estimated_monthly_savings:Types.estimated_monthly_savings -> recommended_action_count:Smaws_Lib.Smithy_api.Types.integer -> unit -> Types.rule_preview_total
val make_rollback_automation_event_response : ?event_status:Types.event_status -> ?event_id:Types.event_id -> unit -> Types.rollback_automation_event_response
val make_rollback_automation_event_request : ?client_token:Types.client_token -> event_id:Types.event_id -> unit -> Types.rollback_automation_event_request
val make_ebs_volume : ?configuration:Types.ebs_volume_configuration -> unit -> Types.ebs_volume
val make_preview_result_summary : total:Types.rule_preview_total -> key:Smaws_Lib.Smithy_api.Types.string_ -> unit -> Types.preview_result_summary
val make_organization_scope : ?account_ids:Types.organization_configuration_account_ids -> unit -> Types.organization_scope
val make_list_tags_for_resource_response : ?tags:Types.tag_list -> unit -> Types.list_tags_for_resource_response
val make_list_tags_for_resource_request : resource_arn:Types.rule_arn -> unit -> Types.list_tags_for_resource_request
val 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_rule
val make_list_automation_rules_response : ?next_token:Types.next_token -> ?automation_rules:Types.automation_rules -> unit -> Types.list_automation_rules_response
val make_filter : values:Types.filter_values -> name:Types.automation_rule_filter_name -> unit -> Types.filter
val 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_request
val 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_response
val 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_request
val make_list_automation_rule_preview_response : ?next_token:Types.next_token -> ?preview_results:Types.preview_results -> unit -> Types.list_automation_rule_preview_response
val 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_request
val 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_event
val make_list_automation_events_response : ?next_token:Types.next_token -> ?automation_events:Types.automation_events -> unit -> Types.list_automation_events_response
val make_automation_event_filter : values:Types.filter_values -> name:Types.automation_event_filter_name -> unit -> Types.automation_event_filter
val 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_request
val 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_summary
val 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_response
val 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_request
val 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_step
val make_list_automation_event_steps_response : ?next_token:Types.next_token -> ?automation_event_steps:Types.automation_event_steps -> unit -> Types.list_automation_event_steps_response
val 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_request
val 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_info
val make_list_accounts_response : ?next_token:Types.next_token -> accounts:Types.account_info_list -> unit -> Types.list_accounts_response
val make_list_accounts_request : ?next_token:Types.next_token -> ?max_results:Smaws_Lib.Smithy_api.Types.integer -> unit -> Types.list_accounts_request
val 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_response
val make_get_enrollment_configuration_request : unit -> unit
val 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_response
val make_get_automation_rule_request : rule_arn:Types.rule_arn -> unit -> Types.get_automation_rule_request
val 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_response
val make_get_automation_event_request : event_id:Types.event_id -> unit -> Types.get_automation_event_request
val make_disassociate_accounts_response : ?errors:Types.string_list -> ?account_ids:Types.account_id_list -> unit -> Types.disassociate_accounts_response
val make_disassociate_accounts_request : ?client_token:Types.client_token -> account_ids:Types.account_id_list -> unit -> Types.disassociate_accounts_request
val make_delete_automation_rule_response : unit -> unit
val 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_request
val 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_response
val 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_request
val make_associate_accounts_response : ?errors:Types.string_list -> ?account_ids:Types.account_id_list -> unit -> Types.associate_accounts_response
val make_associate_accounts_request : ?client_token:Types.client_token -> account_ids:Types.account_id_list -> unit -> Types.associate_accounts_request

Operations

module AssociateAccounts : sig ... end

Associates 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 ... end

Creates a new automation rule to apply recommended actions to resources based on specified criteria.

module DeleteAutomationRule : sig ... end

Deletes an existing automation rule.

module DisassociateAccounts : sig ... end

Disassociates 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 ... end

Retrieves details about a specific automation event.

module GetAutomationRule : sig ... end

Retrieves details about a specific automation rule.

module GetEnrollmentConfiguration : sig ... end

Retrieves the current enrollment configuration for Compute Optimizer Automation.

module ListAccounts : sig ... end

Lists the accounts in your organization that are enrolled in Compute Optimizer and whether they have enabled Automation.

module ListAutomationEventSteps : sig ... end

Lists the steps for a specific automation event. You can only list steps for events created within the past year.

module ListAutomationEventSummaries : sig ... end

Provides 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 ... end

Lists automation events based on specified filters. You can retrieve events that were created within the past year.

module ListAutomationRulePreview : sig ... end

Returns a preview of the recommended actions that match your Automation rule's configuration and criteria.

Returns a summary of the recommended actions that match your rule preview configuration and criteria.

module ListAutomationRules : sig ... end

Lists the automation rules that match specified filters.

module ListRecommendedActionSummaries : sig ... end

Provides a summary of recommended actions based on specified filters.

module ListRecommendedActions : sig ... end

Lists the recommended actions based that match specified filters.

module ListTagsForResource : sig ... end

Lists the tags for a specified resource.

module RollbackAutomationEvent : sig ... end

Initiates a rollback for a completed automation event.

module StartAutomationEvent : sig ... end

Initiates a one-time, on-demand automation for the specified recommended action.

module TagResource : sig ... end

Adds tags to the specified resource.

module UntagResource : sig ... end

Removes tags from the specified resource.

module UpdateAutomationRule : sig ... end

Updates an existing automation rule.

module UpdateEnrollmentConfiguration : sig ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end