aws-sdk 1.6.6 → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,8 @@ module AWS
17
17
  # Client class for Amazon Simple Workflow Service (SWF).
18
18
  class Client < Core::JSONClient
19
19
 
20
+ define_client_methods('2012-01-25')
21
+
20
22
  # @private
21
23
  CACHEABLE_REQUESTS = Set[
22
24
  :count_pending_activity_tasks,
@@ -38,8 +40,8 @@ module AWS
38
40
 
39
41
  ## client methods ##
40
42
 
43
+ # @!method count_closed_workflow_executions(options = {})
41
44
  # Calls the CountClosedWorkflowExecutions API operation.
42
- # @method count_closed_workflow_executions(options = {})
43
45
  # @param [Hash] options
44
46
  # * +:domain+ - *required* - (String)
45
47
  # * +:start_time_filter+ - (Hash)
@@ -63,8 +65,8 @@ module AWS
63
65
  # * +count+ - (Integer)
64
66
  # * +truncated+ - (Boolean)
65
67
 
68
+ # @!method count_open_workflow_executions(options = {})
66
69
  # Calls the CountOpenWorkflowExecutions API operation.
67
- # @method count_open_workflow_executions(options = {})
68
70
  # @param [Hash] options
69
71
  # * +:domain+ - *required* - (String)
70
72
  # * +:start_time_filter+ - *required* - (Hash)
@@ -83,8 +85,8 @@ module AWS
83
85
  # * +count+ - (Integer)
84
86
  # * +truncated+ - (Boolean)
85
87
 
88
+ # @!method count_pending_activity_tasks(options = {})
86
89
  # Calls the CountPendingActivityTasks API operation.
87
- # @method count_pending_activity_tasks(options = {})
88
90
  # @param [Hash] options
89
91
  # * +:domain+ - *required* - (String)
90
92
  # * +:task_list+ - *required* - (Hash)
@@ -95,8 +97,8 @@ module AWS
95
97
  # * +count+ - (Integer)
96
98
  # * +truncated+ - (Boolean)
97
99
 
100
+ # @!method count_pending_decision_tasks(options = {})
98
101
  # Calls the CountPendingDecisionTasks API operation.
99
- # @method count_pending_decision_tasks(options = {})
100
102
  # @param [Hash] options
101
103
  # * +:domain+ - *required* - (String)
102
104
  # * +:task_list+ - *required* - (Hash)
@@ -107,8 +109,8 @@ module AWS
107
109
  # * +count+ - (Integer)
108
110
  # * +truncated+ - (Boolean)
109
111
 
112
+ # @!method deprecate_activity_type(options = {})
110
113
  # Calls the DeprecateActivityType API operation.
111
- # @method deprecate_activity_type(options = {})
112
114
  # @param [Hash] options
113
115
  # * +:domain+ - *required* - (String)
114
116
  # * +:activity_type+ - *required* - (Hash)
@@ -116,14 +118,14 @@ module AWS
116
118
  # * +:version+ - *required* - (String)
117
119
  # @return [Core::Response]
118
120
 
121
+ # @!method deprecate_domain(options = {})
119
122
  # Calls the DeprecateDomain API operation.
120
- # @method deprecate_domain(options = {})
121
123
  # @param [Hash] options
122
124
  # * +:name+ - *required* - (String)
123
125
  # @return [Core::Response]
124
126
 
127
+ # @!method deprecate_workflow_type(options = {})
125
128
  # Calls the DeprecateWorkflowType API operation.
126
- # @method deprecate_workflow_type(options = {})
127
129
  # @param [Hash] options
128
130
  # * +:domain+ - *required* - (String)
129
131
  # * +:workflow_type+ - *required* - (Hash)
@@ -131,8 +133,8 @@ module AWS
131
133
  # * +:version+ - *required* - (String)
132
134
  # @return [Core::Response]
133
135
 
136
+ # @!method describe_activity_type(options = {})
134
137
  # Calls the DescribeActivityType API operation.
135
- # @method describe_activity_type(options = {})
136
138
  # @param [Hash] options
137
139
  # * +:domain+ - *required* - (String)
138
140
  # * +:activity_type+ - *required* - (Hash)
@@ -157,8 +159,8 @@ module AWS
157
159
  # * +defaultTaskScheduleToStartTimeout+ - (String)
158
160
  # * +defaultTaskScheduleToCloseTimeout+ - (String)
159
161
 
162
+ # @!method describe_domain(options = {})
160
163
  # Calls the DescribeDomain API operation.
161
- # @method describe_domain(options = {})
162
164
  # @param [Hash] options
163
165
  # * +:name+ - *required* - (String)
164
166
  # @return [Core::Response]
@@ -171,8 +173,8 @@ module AWS
171
173
  # * +configuration+ - (Hash)
172
174
  # * +workflowExecutionRetentionPeriodInDays+ - (String)
173
175
 
176
+ # @!method describe_workflow_execution(options = {})
174
177
  # Calls the DescribeWorkflowExecution API operation.
175
- # @method describe_workflow_execution(options = {})
176
178
  # @param [Hash] options
177
179
  # * +:domain+ - *required* - (String)
178
180
  # * +:execution+ - *required* - (Hash)
@@ -211,8 +213,8 @@ module AWS
211
213
  # * +latestActivityTaskTimestamp+ - (Time)
212
214
  # * +latestExecutionContext+ - (String)
213
215
 
216
+ # @!method describe_workflow_type(options = {})
214
217
  # Calls the DescribeWorkflowType API operation.
215
- # @method describe_workflow_type(options = {})
216
218
  # @param [Hash] options
217
219
  # * +:domain+ - *required* - (String)
218
220
  # * +:workflow_type+ - *required* - (Hash)
@@ -236,8 +238,8 @@ module AWS
236
238
  # * +name+ - (String)
237
239
  # * +defaultChildPolicy+ - (String)
238
240
 
241
+ # @!method get_workflow_execution_history(options = {})
239
242
  # Calls the GetWorkflowExecutionHistory API operation.
240
- # @method get_workflow_execution_history(options = {})
241
243
  # @param [Hash] options
242
244
  # * +:domain+ - *required* - (String)
243
245
  # * +:execution+ - *required* - (Hash)
@@ -530,8 +532,8 @@ module AWS
530
532
  # * +decisionTaskCompletedEventId+ - (Integer)
531
533
  # * +nextPageToken+ - (String)
532
534
 
535
+ # @!method list_activity_types(options = {})
533
536
  # Calls the ListActivityTypes API operation.
534
- # @method list_activity_types(options = {})
535
537
  # @param [Hash] options
536
538
  # * +:domain+ - *required* - (String)
537
539
  # * +:name+ - (String)
@@ -552,8 +554,8 @@ module AWS
552
554
  # * +deprecationDate+ - (Time)
553
555
  # * +nextPageToken+ - (String)
554
556
 
557
+ # @!method list_closed_workflow_executions(options = {})
555
558
  # Calls the ListClosedWorkflowExecutions API operation.
556
- # @method list_closed_workflow_executions(options = {})
557
559
  # @param [Hash] options
558
560
  # * +:domain+ - *required* - (String)
559
561
  # * +:start_time_filter+ - (Hash)
@@ -595,8 +597,8 @@ module AWS
595
597
  # * +cancelRequested+ - (Boolean)
596
598
  # * +nextPageToken+ - (String)
597
599
 
600
+ # @!method list_domains(options = {})
598
601
  # Calls the ListDomains API operation.
599
- # @method list_domains(options = {})
600
602
  # @param [Hash] options
601
603
  # * +:next_page_token+ - (String)
602
604
  # * +:registration_status+ - *required* - (String)
@@ -611,8 +613,8 @@ module AWS
611
613
  # * +description+ - (String)
612
614
  # * +nextPageToken+ - (String)
613
615
 
616
+ # @!method list_open_workflow_executions(options = {})
614
617
  # Calls the ListOpenWorkflowExecutions API operation.
615
- # @method list_open_workflow_executions(options = {})
616
618
  # @param [Hash] options
617
619
  # * +:domain+ - *required* - (String)
618
620
  # * +:start_time_filter+ - *required* - (Hash)
@@ -649,8 +651,8 @@ module AWS
649
651
  # * +cancelRequested+ - (Boolean)
650
652
  # * +nextPageToken+ - (String)
651
653
 
654
+ # @!method list_workflow_types(options = {})
652
655
  # Calls the ListWorkflowTypes API operation.
653
- # @method list_workflow_types(options = {})
654
656
  # @param [Hash] options
655
657
  # * +:domain+ - *required* - (String)
656
658
  # * +:name+ - (String)
@@ -671,8 +673,8 @@ module AWS
671
673
  # * +deprecationDate+ - (Time)
672
674
  # * +nextPageToken+ - (String)
673
675
 
676
+ # @!method poll_for_activity_task(options = {})
674
677
  # Calls the PollForActivityTask API operation.
675
- # @method poll_for_activity_task(options = {})
676
678
  # @param [Hash] options
677
679
  # * +:domain+ - *required* - (String)
678
680
  # * +:task_list+ - *required* - (Hash)
@@ -692,8 +694,8 @@ module AWS
692
694
  # * +version+ - (String)
693
695
  # * +input+ - (String)
694
696
 
697
+ # @!method poll_for_decision_task(options = {})
695
698
  # Calls the PollForDecisionTask API operation.
696
- # @method poll_for_decision_task(options = {})
697
699
  # @param [Hash] options
698
700
  # * +:domain+ - *required* - (String)
699
701
  # * +:task_list+ - *required* - (Hash)
@@ -995,8 +997,8 @@ module AWS
995
997
  # * +nextPageToken+ - (String)
996
998
  # * +previousStartedEventId+ - (Integer)
997
999
 
1000
+ # @!method record_activity_task_heartbeat(options = {})
998
1001
  # Calls the RecordActivityTaskHeartbeat API operation.
999
- # @method record_activity_task_heartbeat(options = {})
1000
1002
  # @param [Hash] options
1001
1003
  # * +:task_token+ - *required* - (String)
1002
1004
  # * +:details+ - (String)
@@ -1005,8 +1007,8 @@ module AWS
1005
1007
  # a hash with the following structure:
1006
1008
  # * +cancelRequested+ - (Boolean)
1007
1009
 
1010
+ # @!method register_activity_type(options = {})
1008
1011
  # Calls the RegisterActivityType API operation.
1009
- # @method register_activity_type(options = {})
1010
1012
  # @param [Hash] options
1011
1013
  # * +:domain+ - *required* - (String)
1012
1014
  # * +:name+ - *required* - (String)
@@ -1020,16 +1022,16 @@ module AWS
1020
1022
  # * +:default_task_schedule_to_close_timeout+ - (String)
1021
1023
  # @return [Core::Response]
1022
1024
 
1025
+ # @!method register_domain(options = {})
1023
1026
  # Calls the RegisterDomain API operation.
1024
- # @method register_domain(options = {})
1025
1027
  # @param [Hash] options
1026
1028
  # * +:name+ - *required* - (String)
1027
1029
  # * +:description+ - (String)
1028
1030
  # * +:workflow_execution_retention_period_in_days+ - *required* - (String)
1029
1031
  # @return [Core::Response]
1030
1032
 
1033
+ # @!method register_workflow_type(options = {})
1031
1034
  # Calls the RegisterWorkflowType API operation.
1032
- # @method register_workflow_type(options = {})
1033
1035
  # @param [Hash] options
1034
1036
  # * +:domain+ - *required* - (String)
1035
1037
  # * +:name+ - *required* - (String)
@@ -1042,38 +1044,38 @@ module AWS
1042
1044
  # * +:default_child_policy+ - (String)
1043
1045
  # @return [Core::Response]
1044
1046
 
1047
+ # @!method request_cancel_workflow_execution(options = {})
1045
1048
  # Calls the RequestCancelWorkflowExecution API operation.
1046
- # @method request_cancel_workflow_execution(options = {})
1047
1049
  # @param [Hash] options
1048
1050
  # * +:domain+ - *required* - (String)
1049
1051
  # * +:workflow_id+ - *required* - (String)
1050
1052
  # * +:run_id+ - (String)
1051
1053
  # @return [Core::Response]
1052
1054
 
1055
+ # @!method respond_activity_task_canceled(options = {})
1053
1056
  # Calls the RespondActivityTaskCanceled API operation.
1054
- # @method respond_activity_task_canceled(options = {})
1055
1057
  # @param [Hash] options
1056
1058
  # * +:task_token+ - *required* - (String)
1057
1059
  # * +:details+ - (String)
1058
1060
  # @return [Core::Response]
1059
1061
 
1062
+ # @!method respond_activity_task_completed(options = {})
1060
1063
  # Calls the RespondActivityTaskCompleted API operation.
1061
- # @method respond_activity_task_completed(options = {})
1062
1064
  # @param [Hash] options
1063
1065
  # * +:task_token+ - *required* - (String)
1064
1066
  # * +:result+ - (String)
1065
1067
  # @return [Core::Response]
1066
1068
 
1069
+ # @!method respond_activity_task_failed(options = {})
1067
1070
  # Calls the RespondActivityTaskFailed API operation.
1068
- # @method respond_activity_task_failed(options = {})
1069
1071
  # @param [Hash] options
1070
1072
  # * +:task_token+ - *required* - (String)
1071
1073
  # * +:reason+ - (String)
1072
1074
  # * +:details+ - (String)
1073
1075
  # @return [Core::Response]
1074
1076
 
1077
+ # @!method respond_decision_task_completed(options = {})
1075
1078
  # Calls the RespondDecisionTaskCompleted API operation.
1076
- # @method respond_decision_task_completed(options = {})
1077
1079
  # @param [Hash] options
1078
1080
  # * +:task_token+ - *required* - (String)
1079
1081
  # * +:decisions+ - (Array<Hash>)
@@ -1144,8 +1146,8 @@ module AWS
1144
1146
  # * +:execution_context+ - (String)
1145
1147
  # @return [Core::Response]
1146
1148
 
1149
+ # @!method signal_workflow_execution(options = {})
1147
1150
  # Calls the SignalWorkflowExecution API operation.
1148
- # @method signal_workflow_execution(options = {})
1149
1151
  # @param [Hash] options
1150
1152
  # * +:domain+ - *required* - (String)
1151
1153
  # * +:workflow_id+ - *required* - (String)
@@ -1154,8 +1156,8 @@ module AWS
1154
1156
  # * +:input+ - (String)
1155
1157
  # @return [Core::Response]
1156
1158
 
1159
+ # @!method start_workflow_execution(options = {})
1157
1160
  # Calls the StartWorkflowExecution API operation.
1158
- # @method start_workflow_execution(options = {})
1159
1161
  # @param [Hash] options
1160
1162
  # * +:domain+ - *required* - (String)
1161
1163
  # * +:workflow_id+ - *required* - (String)
@@ -1174,8 +1176,8 @@ module AWS
1174
1176
  # a hash with the following structure:
1175
1177
  # * +runId+ - (String)
1176
1178
 
1179
+ # @!method terminate_workflow_execution(options = {})
1177
1180
  # Calls the TerminateWorkflowExecution API operation.
1178
- # @method terminate_workflow_execution(options = {})
1179
1181
  # @param [Hash] options
1180
1182
  # * +:domain+ - *required* - (String)
1181
1183
  # * +:workflow_id+ - *required* - (String)
@@ -1187,8 +1189,6 @@ module AWS
1187
1189
 
1188
1190
  ## end client methods ##
1189
1191
 
1190
- define_client_methods('2012-01-25')
1191
-
1192
1192
  protected
1193
1193
 
1194
1194
  def cacheable_request? name, options
@@ -17,13 +17,15 @@ module AWS
17
17
  # Client class for Amazon Simple Notifications Service (SNS).
18
18
  class Client < Core::QueryClient
19
19
 
20
+ define_client_methods('2010-03-31')
21
+
20
22
  # @private
21
23
  CACHEABLE_REQUESTS = Set[]
22
24
 
23
25
  ## client methods ##
24
26
 
27
+ # @!method add_permission(options = {})
25
28
  # Calls the AddPermission API operation.
26
- # @method add_permission(options = {})
27
29
  # @param [Hash] options
28
30
  # * +:topic_arn+ - *required* - (String) The ARN of the topic whose
29
31
  # access control policy you wish to modify.
@@ -38,8 +40,8 @@ module AWS
38
40
  # SNS action name.
39
41
  # @return [Core::Response]
40
42
 
43
+ # @!method confirm_subscription(options = {})
41
44
  # Calls the ConfirmSubscription API operation.
42
- # @method confirm_subscription(options = {})
43
45
  # @param [Hash] options
44
46
  # * +:topic_arn+ - *required* - (String) The ARN of the topic for which
45
47
  # you wish to confirm a subscription.
@@ -55,8 +57,8 @@ module AWS
55
57
  # a hash with the following structure:
56
58
  # * +:subscription_arn+ - (String)
57
59
 
60
+ # @!method create_topic(options = {})
58
61
  # Calls the CreateTopic API operation.
59
- # @method create_topic(options = {})
60
62
  # @param [Hash] options
61
63
  # * +:name+ - *required* - (String) The name of the topic you want to
62
64
  # create. Constraints: Topic names must be made up of only uppercase
@@ -67,8 +69,8 @@ module AWS
67
69
  # a hash with the following structure:
68
70
  # * +:topic_arn+ - (String)
69
71
 
72
+ # @!method delete_topic(options = {})
70
73
  # Calls the DeleteTopic API operation.
71
- # @method delete_topic(options = {})
72
74
  # @param [Hash] options
73
75
  # * +:topic_arn+ - *required* - (String) The ARN of the topic you want
74
76
  # to delete. http://sns.us-east-1.amazonaws.com/
@@ -84,8 +86,8 @@ module AWS
84
86
  # </ResponseMetadata> </DeleteTopicResponse>
85
87
  # @return [Core::Response]
86
88
 
89
+ # @!method get_subscription_attributes(options = {})
87
90
  # Calls the GetSubscriptionAttributes API operation.
88
- # @method get_subscription_attributes(options = {})
89
91
  # @param [Hash] options
90
92
  # * +:subscription_arn+ - *required* - (String) The ARN of the
91
93
  # subscription whose properties you want to get.
@@ -94,8 +96,8 @@ module AWS
94
96
  # a hash with the following structure:
95
97
  # * +:attributes+ - (Hash<String,String>)
96
98
 
99
+ # @!method get_topic_attributes(options = {})
97
100
  # Calls the GetTopicAttributes API operation.
98
- # @method get_topic_attributes(options = {})
99
101
  # @param [Hash] options
100
102
  # * +:topic_arn+ - *required* - (String) The ARN of the topic whose
101
103
  # properties you want to get.
@@ -104,8 +106,8 @@ module AWS
104
106
  # a hash with the following structure:
105
107
  # * +:attributes+ - (Hash<String,String>)
106
108
 
109
+ # @!method list_subscriptions(options = {})
107
110
  # Calls the ListSubscriptions API operation.
108
- # @method list_subscriptions(options = {})
109
111
  # @param [Hash] options
110
112
  # * +:next_token+ - (String) Token returned by the previous
111
113
  # ListSubscriptions request.
@@ -120,8 +122,8 @@ module AWS
120
122
  # * +:topic_arn+ - (String)
121
123
  # * +:next_token+ - (String)
122
124
 
125
+ # @!method list_subscriptions_by_topic(options = {})
123
126
  # Calls the ListSubscriptionsByTopic API operation.
124
- # @method list_subscriptions_by_topic(options = {})
125
127
  # @param [Hash] options
126
128
  # * +:topic_arn+ - *required* - (String) The ARN of the topic for which
127
129
  # you wish to find subscriptions.
@@ -138,8 +140,8 @@ module AWS
138
140
  # * +:topic_arn+ - (String)
139
141
  # * +:next_token+ - (String)
140
142
 
143
+ # @!method list_topics(options = {})
141
144
  # Calls the ListTopics API operation.
142
- # @method list_topics(options = {})
143
145
  # @param [Hash] options
144
146
  # * +:next_token+ - (String) Token returned by the previous ListTopics
145
147
  # request.
@@ -150,8 +152,8 @@ module AWS
150
152
  # * +:topic_arn+ - (String)
151
153
  # * +:next_token+ - (String)
152
154
 
155
+ # @!method publish(options = {})
153
156
  # Calls the Publish API operation.
154
- # @method publish(options = {})
155
157
  # @param [Hash] options
156
158
  # * +:topic_arn+ - *required* - (String) The topic you want to publish
157
159
  # to.
@@ -191,8 +193,8 @@ module AWS
191
193
  # a hash with the following structure:
192
194
  # * +:message_id+ - (String)
193
195
 
196
+ # @!method remove_permission(options = {})
194
197
  # Calls the RemovePermission API operation.
195
- # @method remove_permission(options = {})
196
198
  # @param [Hash] options
197
199
  # * +:topic_arn+ - *required* - (String) The ARN of the topic whose
198
200
  # access control policy you wish to modify.
@@ -200,8 +202,8 @@ module AWS
200
202
  # you want to remove.
201
203
  # @return [Core::Response]
202
204
 
205
+ # @!method set_subscription_attributes(options = {})
203
206
  # Calls the SetSubscriptionAttributes API operation.
204
- # @method set_subscription_attributes(options = {})
205
207
  # @param [Hash] options
206
208
  # * +:subscription_arn+ - *required* - (String) The ARN of the
207
209
  # subscription to modify.
@@ -212,8 +214,8 @@ module AWS
212
214
  # attribute.
213
215
  # @return [Core::Response]
214
216
 
217
+ # @!method set_topic_attributes(options = {})
215
218
  # Calls the SetTopicAttributes API operation.
216
- # @method set_topic_attributes(options = {})
217
219
  # @param [Hash] options
218
220
  # * +:topic_arn+ - *required* - (String) The ARN of the topic to
219
221
  # modify.
@@ -224,8 +226,8 @@ module AWS
224
226
  # attribute.
225
227
  # @return [Core::Response]
226
228
 
229
+ # @!method subscribe(options = {})
227
230
  # Calls the Subscribe API operation.
228
- # @method subscribe(options = {})
229
231
  # @param [Hash] options
230
232
  # * +:topic_arn+ - *required* - (String) The ARN of topic you want to
231
233
  # subscribe to.
@@ -250,8 +252,8 @@ module AWS
250
252
  # a hash with the following structure:
251
253
  # * +:subscription_arn+ - (String)
252
254
 
255
+ # @!method unsubscribe(options = {})
253
256
  # Calls the Unsubscribe API operation.
254
- # @method unsubscribe(options = {})
255
257
  # @param [Hash] options
256
258
  # * +:subscription_arn+ - *required* - (String) The ARN of the
257
259
  # subscription to be deleted.
@@ -259,8 +261,6 @@ module AWS
259
261
 
260
262
  ## end client methods ##
261
263
 
262
- define_client_methods('2010-03-31')
263
-
264
264
  end
265
265
  end
266
266
  end