aws-sdk-autoscaling 1.101.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +1 -1
- data/lib/aws-sdk-autoscaling/plugins/endpoints.rb +4 -2
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/activity.rbs +74 -0
- data/sig/auto_scaling_group.rbs +541 -0
- data/sig/client.rbs +1371 -0
- data/sig/errors.rbs +46 -0
- data/sig/instance.rbs +125 -0
- data/sig/launch_configuration.rbs +100 -0
- data/sig/lifecycle_hook.rbs +97 -0
- data/sig/load_balancer.rbs +62 -0
- data/sig/notification_configuration.rbs +59 -0
- data/sig/resource.rbs +341 -0
- data/sig/scaling_policy.rbs +101 -0
- data/sig/scheduled_action.rbs +77 -0
- data/sig/tag.rbs +85 -0
- data/sig/types.rbs +1410 -0
- data/sig/waiters.rbs +67 -0
- metadata +23 -8
data/sig/errors.rbs
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class ActiveInstanceRefreshNotFoundFault < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class AlreadyExistsFault < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InstanceRefreshInProgressFault < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class InvalidNextToken < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class IrreversibleInstanceRefreshFault < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class LimitExceededFault < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ResourceContentionFault < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
class ResourceInUseFault < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class ScalingActivityInProgressFault < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
41
|
+
class ServiceLinkedRoleFailure < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/sig/instance.rbs
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html
|
11
|
+
class Instance
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#initialize-instance_method
|
13
|
+
def initialize: (String group_name, String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (group_name: String, id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#group_name-instance_method
|
18
|
+
def group_name: () -> String
|
19
|
+
alias auto_scaling_group_name group_name
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#id-instance_method
|
22
|
+
def id: () -> String
|
23
|
+
alias instance_id id
|
24
|
+
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#instance_type-instance_method
|
26
|
+
def instance_type: () -> ::String
|
27
|
+
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#availability_zone-instance_method
|
29
|
+
def availability_zone: () -> ::String
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#lifecycle_state-instance_method
|
32
|
+
def lifecycle_state: () -> ::String
|
33
|
+
|
34
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#health_status-instance_method
|
35
|
+
def health_status: () -> ::String
|
36
|
+
|
37
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#launch_configuration_name-instance_method
|
38
|
+
def launch_configuration_name: () -> ::String
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#launch_template-instance_method
|
41
|
+
def launch_template: () -> Types::LaunchTemplateSpecification
|
42
|
+
|
43
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#protected_from_scale_in-instance_method
|
44
|
+
def protected_from_scale_in: () -> bool
|
45
|
+
|
46
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#weighted_capacity-instance_method
|
47
|
+
def weighted_capacity: () -> ::String
|
48
|
+
|
49
|
+
def client: () -> Client
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#load-instance_method
|
52
|
+
def load: () -> self
|
53
|
+
alias reload load
|
54
|
+
|
55
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#data-instance_method
|
56
|
+
def data: () -> Types::AutoScalingInstanceDetails
|
57
|
+
|
58
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#data_loaded?-instance_method
|
59
|
+
def data_loaded?: () -> bool
|
60
|
+
|
61
|
+
|
62
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#attach-instance_method
|
63
|
+
def attach: (
|
64
|
+
) -> ::Aws::EmptyStructure
|
65
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
66
|
+
|
67
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#detach-instance_method
|
68
|
+
def detach: (
|
69
|
+
should_decrement_desired_capacity: bool
|
70
|
+
) -> Activity::Collection
|
71
|
+
| (?Hash[Symbol, untyped]) -> Activity::Collection
|
72
|
+
|
73
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#enter_standby-instance_method
|
74
|
+
def enter_standby: (
|
75
|
+
should_decrement_desired_capacity: bool
|
76
|
+
) -> Activity::Collection
|
77
|
+
| (?Hash[Symbol, untyped]) -> Activity::Collection
|
78
|
+
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#exit_standby-instance_method
|
80
|
+
def exit_standby: (
|
81
|
+
) -> Activity::Collection
|
82
|
+
| (?Hash[Symbol, untyped]) -> Activity::Collection
|
83
|
+
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#set_health-instance_method
|
85
|
+
def set_health: (
|
86
|
+
health_status: ::String,
|
87
|
+
?should_respect_grace_period: bool
|
88
|
+
) -> ::Aws::EmptyStructure
|
89
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
90
|
+
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#terminate-instance_method
|
92
|
+
def terminate: (
|
93
|
+
should_decrement_desired_capacity: bool
|
94
|
+
) -> Activity
|
95
|
+
| (?Hash[Symbol, untyped]) -> Activity
|
96
|
+
|
97
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#group-instance_method
|
98
|
+
def group: () -> AutoScalingGroup
|
99
|
+
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Instance.html#launch_configuration-instance_method
|
101
|
+
def launch_configuration: () -> LaunchConfiguration?
|
102
|
+
|
103
|
+
class Collection < ::Aws::Resources::Collection[Instance]
|
104
|
+
|
105
|
+
def batch_attach: (
|
106
|
+
) -> void
|
107
|
+
| (?Hash[Symbol, untyped]) -> void
|
108
|
+
|
109
|
+
def batch_detach: (
|
110
|
+
should_decrement_desired_capacity: bool
|
111
|
+
) -> void
|
112
|
+
| (?Hash[Symbol, untyped]) -> void
|
113
|
+
|
114
|
+
def batch_enter_standby: (
|
115
|
+
should_decrement_desired_capacity: bool
|
116
|
+
) -> void
|
117
|
+
| (?Hash[Symbol, untyped]) -> void
|
118
|
+
|
119
|
+
def batch_exit_standby: (
|
120
|
+
) -> void
|
121
|
+
| (?Hash[Symbol, untyped]) -> void
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html
|
11
|
+
class LaunchConfiguration
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#initialize-instance_method
|
13
|
+
def initialize: (String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#name-instance_method
|
18
|
+
def name: () -> String
|
19
|
+
alias launch_configuration_name name
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#launch_configuration_arn-instance_method
|
22
|
+
def launch_configuration_arn: () -> ::String
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#image_id-instance_method
|
25
|
+
def image_id: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#key_name-instance_method
|
28
|
+
def key_name: () -> ::String
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#security_groups-instance_method
|
31
|
+
def security_groups: () -> ::Array[::String]
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#classic_link_vpc_id-instance_method
|
34
|
+
def classic_link_vpc_id: () -> ::String
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#classic_link_vpc_security_groups-instance_method
|
37
|
+
def classic_link_vpc_security_groups: () -> ::Array[::String]
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#user_data-instance_method
|
40
|
+
def user_data: () -> ::String
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#instance_type-instance_method
|
43
|
+
def instance_type: () -> ::String
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#kernel_id-instance_method
|
46
|
+
def kernel_id: () -> ::String
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#ramdisk_id-instance_method
|
49
|
+
def ramdisk_id: () -> ::String
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#block_device_mappings-instance_method
|
52
|
+
def block_device_mappings: () -> ::Array[Types::BlockDeviceMapping]
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#instance_monitoring-instance_method
|
55
|
+
def instance_monitoring: () -> Types::InstanceMonitoring
|
56
|
+
|
57
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#spot_price-instance_method
|
58
|
+
def spot_price: () -> ::String
|
59
|
+
|
60
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#iam_instance_profile-instance_method
|
61
|
+
def iam_instance_profile: () -> ::String
|
62
|
+
|
63
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#created_time-instance_method
|
64
|
+
def created_time: () -> ::Time
|
65
|
+
|
66
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#ebs_optimized-instance_method
|
67
|
+
def ebs_optimized: () -> bool
|
68
|
+
|
69
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#associate_public_ip_address-instance_method
|
70
|
+
def associate_public_ip_address: () -> bool
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#placement_tenancy-instance_method
|
73
|
+
def placement_tenancy: () -> ::String
|
74
|
+
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#metadata_options-instance_method
|
76
|
+
def metadata_options: () -> Types::InstanceMetadataOptions
|
77
|
+
|
78
|
+
def client: () -> Client
|
79
|
+
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#load-instance_method
|
81
|
+
def load: () -> self
|
82
|
+
alias reload load
|
83
|
+
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#data-instance_method
|
85
|
+
def data: () -> Types::LaunchConfiguration
|
86
|
+
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#data_loaded?-instance_method
|
88
|
+
def data_loaded?: () -> bool
|
89
|
+
|
90
|
+
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LaunchConfiguration.html#delete-instance_method
|
92
|
+
def delete: (
|
93
|
+
) -> ::Aws::EmptyStructure
|
94
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
95
|
+
|
96
|
+
class Collection < ::Aws::Resources::Collection[LaunchConfiguration]
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html
|
11
|
+
class LifecycleHook
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#initialize-instance_method
|
13
|
+
def initialize: (String group_name, String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (group_name: String, name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#group_name-instance_method
|
18
|
+
def group_name: () -> String
|
19
|
+
alias auto_scaling_group_name group_name
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#name-instance_method
|
22
|
+
def name: () -> String
|
23
|
+
alias lifecycle_hook_name name
|
24
|
+
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#lifecycle_transition-instance_method
|
26
|
+
def lifecycle_transition: () -> ::String
|
27
|
+
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#notification_target_arn-instance_method
|
29
|
+
def notification_target_arn: () -> ::String
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#role_arn-instance_method
|
32
|
+
def role_arn: () -> ::String
|
33
|
+
|
34
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#notification_metadata-instance_method
|
35
|
+
def notification_metadata: () -> ::String
|
36
|
+
|
37
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#heartbeat_timeout-instance_method
|
38
|
+
def heartbeat_timeout: () -> ::Integer
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#global_timeout-instance_method
|
41
|
+
def global_timeout: () -> ::Integer
|
42
|
+
|
43
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#default_result-instance_method
|
44
|
+
def default_result: () -> ::String
|
45
|
+
|
46
|
+
def client: () -> Client
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#load-instance_method
|
49
|
+
def load: () -> self
|
50
|
+
alias reload load
|
51
|
+
|
52
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#data-instance_method
|
53
|
+
def data: () -> Types::LifecycleHook
|
54
|
+
|
55
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#data_loaded?-instance_method
|
56
|
+
def data_loaded?: () -> bool
|
57
|
+
|
58
|
+
|
59
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#complete-instance_method
|
60
|
+
def complete: (
|
61
|
+
?lifecycle_action_token: ::String,
|
62
|
+
lifecycle_action_result: ::String,
|
63
|
+
?instance_id: ::String
|
64
|
+
) -> Types::CompleteLifecycleActionAnswer
|
65
|
+
| (?Hash[Symbol, untyped]) -> Types::CompleteLifecycleActionAnswer
|
66
|
+
|
67
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#delete-instance_method
|
68
|
+
def delete: (
|
69
|
+
) -> Types::DeleteLifecycleHookAnswer
|
70
|
+
| (?Hash[Symbol, untyped]) -> Types::DeleteLifecycleHookAnswer
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#put-instance_method
|
73
|
+
def put: (
|
74
|
+
?lifecycle_transition: ::String,
|
75
|
+
?role_arn: ::String,
|
76
|
+
?notification_target_arn: ::String,
|
77
|
+
?notification_metadata: ::String,
|
78
|
+
?heartbeat_timeout: ::Integer,
|
79
|
+
?default_result: ::String
|
80
|
+
) -> Types::PutLifecycleHookAnswer
|
81
|
+
| (?Hash[Symbol, untyped]) -> Types::PutLifecycleHookAnswer
|
82
|
+
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#record_heartbeat-instance_method
|
84
|
+
def record_heartbeat: (
|
85
|
+
?lifecycle_action_token: ::String,
|
86
|
+
?instance_id: ::String
|
87
|
+
) -> Types::RecordLifecycleActionHeartbeatAnswer
|
88
|
+
| (?Hash[Symbol, untyped]) -> Types::RecordLifecycleActionHeartbeatAnswer
|
89
|
+
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LifecycleHook.html#group-instance_method
|
91
|
+
def group: () -> AutoScalingGroup
|
92
|
+
|
93
|
+
class Collection < ::Aws::Resources::Collection[LifecycleHook]
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html
|
11
|
+
class LoadBalancer
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#initialize-instance_method
|
13
|
+
def initialize: (String group_name, String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (group_name: String, name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#group_name-instance_method
|
18
|
+
def group_name: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#name-instance_method
|
21
|
+
def name: () -> String
|
22
|
+
alias load_balancer_name name
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#state-instance_method
|
25
|
+
def state: () -> ::String
|
26
|
+
|
27
|
+
def client: () -> Client
|
28
|
+
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#data-instance_method
|
31
|
+
def data: () -> Types::LoadBalancerState
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#data_loaded?-instance_method
|
34
|
+
def data_loaded?: () -> bool
|
35
|
+
|
36
|
+
|
37
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#attach-instance_method
|
38
|
+
def attach: (
|
39
|
+
) -> Types::AttachLoadBalancersResultType
|
40
|
+
| (?Hash[Symbol, untyped]) -> Types::AttachLoadBalancersResultType
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#detach-instance_method
|
43
|
+
def detach: (
|
44
|
+
) -> Types::DetachLoadBalancersResultType
|
45
|
+
| (?Hash[Symbol, untyped]) -> Types::DetachLoadBalancersResultType
|
46
|
+
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/LoadBalancer.html#group-instance_method
|
48
|
+
def group: () -> AutoScalingGroup
|
49
|
+
|
50
|
+
class Collection < ::Aws::Resources::Collection[LoadBalancer]
|
51
|
+
|
52
|
+
def batch_attach: (
|
53
|
+
) -> void
|
54
|
+
| (?Hash[Symbol, untyped]) -> void
|
55
|
+
|
56
|
+
def batch_detach: (
|
57
|
+
) -> void
|
58
|
+
| (?Hash[Symbol, untyped]) -> void
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html
|
11
|
+
class NotificationConfiguration
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#initialize-instance_method
|
13
|
+
def initialize: (String group_name, String type, String topic_arn, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (group_name: String, type: String, topic_arn: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#group_name-instance_method
|
18
|
+
def group_name: () -> String
|
19
|
+
alias auto_scaling_group_name group_name
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#type-instance_method
|
22
|
+
def type: () -> String
|
23
|
+
alias notification_type type
|
24
|
+
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#topic_arn-instance_method
|
26
|
+
def topic_arn: () -> String
|
27
|
+
|
28
|
+
def client: () -> Client
|
29
|
+
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#data-instance_method
|
32
|
+
def data: () -> Types::NotificationConfiguration
|
33
|
+
|
34
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#data_loaded?-instance_method
|
35
|
+
def data_loaded?: () -> bool
|
36
|
+
|
37
|
+
|
38
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#delete-instance_method
|
39
|
+
def delete: (
|
40
|
+
) -> ::Aws::EmptyStructure
|
41
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
42
|
+
|
43
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#put-instance_method
|
44
|
+
def put: (
|
45
|
+
) -> ::Aws::EmptyStructure
|
46
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/NotificationConfiguration.html#group-instance_method
|
49
|
+
def group: () -> AutoScalingGroup
|
50
|
+
|
51
|
+
class Collection < ::Aws::Resources::Collection[NotificationConfiguration]
|
52
|
+
|
53
|
+
def batch_put: (
|
54
|
+
) -> void
|
55
|
+
| (?Hash[Symbol, untyped]) -> void
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|