Class: MintPress::Aws::EC2::ReservedInstancesModification

Inherits:
Object
  • Object
show all
Includes:
MintLogger, AwsCommon, Mixins::Properties
Defined in:
src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb

Properties (Read/Write)

  • #client_token ⇒ [String]
    'A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'client_token'
    
    
    21
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 21
    
    property :client_token, disposition: :attribute, description: 'A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'client_token', type: [String]
  • #create_date ⇒ [Time]
    'The time when the modification request was created.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'create_date'
    
    
    22
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 22
    
    property :create_date, disposition: :attribute, description: 'The time when the modification request was created.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'create_date', type: [Time]
  • #effective_date ⇒ [Time]
    'The time for the modification to become effective.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'effective_date'
    
    
    23
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 23
    
    property :effective_date, disposition: :attribute, description: 'The time for the modification to become effective.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'effective_date', type: [Time]
  • #target_configuration ⇒ [MintPress::Aws::EC2::ReservedInstancesConfiguration] (Default Value: MintPress::Aws::EC2::ReservedInstancesConfiguration.new)
    'The target Reserved Instances configurations supplied as part of the modification request.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'target_configuration'
    • defaultMintPress::Aws::EC2::ReservedInstancesConfiguration.new
    
    
    24
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 24
    
    property :target_configuration, disposition: :attribute, description: 'The target Reserved Instances configurations supplied as part of the modification request.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'target_configuration', type: [MintPress::Aws::EC2::ReservedInstancesConfiguration], default: MintPress::Aws::EC2::ReservedInstancesConfiguration.new
  • #status ⇒ [String]
    'The status of the Reserved Instances modification request.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'status'
    
    
    25
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 25
    
    property :status, disposition: :attribute, description: 'The status of the Reserved Instances modification request.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'status', type: [String]
  • #status_message ⇒ [String]
    'The reason for the status.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'status_message'
    
    
    26
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 26
    
    property :status_message, disposition: :attribute, description: 'The reason for the status.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'status_message', type: [String]
  • #update_date ⇒ [Time]
    'The time when the modification request was last updated.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'update_date'
    
    
    27
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 27
    
    property :update_date, disposition: :attribute, description: 'The time when the modification request was last updated.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'update_date', type: [Time]
  • #filters ⇒ Hash of ⇒ [MintPress::Aws::EC2::Filter]
    'One or more filters. client-token - The idempotency token for the modification request. create-date - The time when the modification request was created. effective-date - The time when the modification becomes effective. modification-result.reserved-instances-id - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled. modification-result.target-configuration.availability-zone - The Availability Zone for the new Reserved Instances. modification-result.target-configuration.instance-count - The number of new Reserved Instances. modification-result.target-configuration.instance-type - The instance type of the new Reserved Instances. modification-result.target-configuration.platform - The network platform of the new Reserved Instances (EC2-Classic | EC2-VPC). reserved-instances-id - The ID of the Reserved Instances modified. reserved-instances-modification-id - The ID of the modification request. status - The status of the Reserved Instances modification request (processing | fulfilled | failed). status-message - The reason for the status. update-date - The time when the modification request was last updated.'

    Property Attributes
    • describe_reserved_instances_modifications_prop'filters'
    • source"describe_reserved_instances_modifications"
    
    
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 28
    
    property :filters, describe_reserved_instances_modifications_prop: 'filters', type: [MintPress::Aws::EC2::Filter], array: false, source: "describe_reserved_instances_modifications", description: 'One or more filters.
    
    
    client-token - The idempotency token for the modification request.
    create-date - The time when the modification request was created.
    effective-date - The time when the modification becomes effective.
    modification-result.reserved-instances-id - The ID for the
    Reserved Instances created as part of the modification request. This
    ID is only available when the status of the modification is
    fulfilled.
    modification-result.target-configuration.availability-zone - The
    Availability Zone for the new Reserved Instances.
    modification-result.target-configuration.instance-count - The
    number of new Reserved Instances.
    modification-result.target-configuration.instance-type - The
    instance type of the new Reserved Instances.
    modification-result.target-configuration.platform - The network
    platform of the new Reserved Instances (EC2-Classic | EC2-VPC).
    reserved-instances-id - The ID of the Reserved Instances modified.
    reserved-instances-modification-id - The ID of the modification
    request.
    status - The status of the Reserved Instances modification request
    (processing | fulfilled | failed).
    status-message - The reason for the status.
    update-date - The time when the modification request was last
    updated.', hash: true
  • #reserved_instances ⇒ [MintPress::Aws::EC2::ReservedInstance]
    'The ID for the Reserved Instances that were created as part of the modification request.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'reserved_instances_id'
    • fromString
    
    
    54
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 54
    
    property :reserved_instances, disposition: :attribute, description: 'The ID for the Reserved Instances that were created as part of the modification request.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'reserved_instances_id', type: [MintPress::Aws::EC2::ReservedInstance], from: String
  • #reserved_instancess ⇒ Hash of ⇒ [MintPress::Aws::EC2::ReservedInstance]
    'The IDs of one or more Reserved Instances.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::ReservedInstancesModification"
    • orig_name'reserved_instances_ids'
    • fromString
    
    
    55
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 55
    
    property :reserved_instancess, disposition: :attribute, description: 'The IDs of one or more Reserved Instances.', source: "MintPress::Aws::EC2::ReservedInstancesModification", orig_name: 'reserved_instances_ids', type: [MintPress::Aws::EC2::ReservedInstance], array: false, from: String, hash: true
  • #id ⇒ [String] (Default Value: Proc.new { self.name })
    'IDs for the submitted modification request.'

    Property Attributes
    • disposition:attribute
    • source"describe_reserved_instances_modifications"
    • orig_name'reserved_instances_modification_id'
    • describe_reserved_instances_modifications_prop'reserved_instances_modification_ids'
    • defaultProc.new { self.name }
    
    
    56
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 56
    
    property :id, disposition: :attribute, description: 'IDs for the submitted modification request.', source: "describe_reserved_instances_modifications", orig_name: 'reserved_instances_modification_id', type: [String], array: false, hash: false, describe_reserved_instances_modifications_prop: 'reserved_instances_modification_ids', default: Proc.new { self.name }
  • #name ⇒ String

    Property Attributes
    
    
    57
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 57
    
    property :name, type: String
  • #region ⇒ String
    Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead

    Property Attributes
    
    
    61
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 61
    
    property :region, type: String
  • #platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
    The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)

    Property Attributes
    • defaultMintPress::InfrastructureAws::AwsPlatform.new
    
    
    64
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_modification.rb', line 64
    
    property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from AwsCommon

#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(opts = {}) ⇒ ReservedInstancesModification

Returns a new instance of ReservedInstancesModification.

Instance Method Details

#describeObject