Class: Aws::PrometheusService::Types::UpdateWorkspaceConfigurationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-prometheusservice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

You can include a token in your operation to make it an idempotent opeartion.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


2023
2024
2025
2026
2027
2028
2029
2030
# File 'lib/aws-sdk-prometheusservice/types.rb', line 2023

class UpdateWorkspaceConfigurationRequest < Struct.new(
  :client_token,
  :limits_per_label_set,
  :retention_period_in_days,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#limits_per_label_setArray<Types::LimitsPerLabelSet>

This is an array of structures, where each structure defines a label set for the workspace, and defines the ingestion limit for active time series for each of those label sets. Each label name in a label set must be unique.

Returns:



2023
2024
2025
2026
2027
2028
2029
2030
# File 'lib/aws-sdk-prometheusservice/types.rb', line 2023

class UpdateWorkspaceConfigurationRequest < Struct.new(
  :client_token,
  :limits_per_label_set,
  :retention_period_in_days,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#retention_period_in_daysInteger

Specifies how many days that metrics will be retained in the workspace.

Returns:

  • (Integer)


2023
2024
2025
2026
2027
2028
2029
2030
# File 'lib/aws-sdk-prometheusservice/types.rb', line 2023

class UpdateWorkspaceConfigurationRequest < Struct.new(
  :client_token,
  :limits_per_label_set,
  :retention_period_in_days,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#workspace_idString

The ID of the workspace that you want to update. To find the IDs of your workspaces, use the [ListWorkspaces] operation.

[1]: docs.aws.amazon.com/prometheus/latest/APIReference/API_ListWorkspaces.htm

Returns:

  • (String)


2023
2024
2025
2026
2027
2028
2029
2030
# File 'lib/aws-sdk-prometheusservice/types.rb', line 2023

class UpdateWorkspaceConfigurationRequest < Struct.new(
  :client_token,
  :limits_per_label_set,
  :retention_period_in_days,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end