aws-sdk-swf 1.14.0 → 1.15.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/lib/aws-sdk-swf.rb +1 -1
- data/lib/aws-sdk-swf/client.rb +400 -127
- data/lib/aws-sdk-swf/client_api.rb +120 -1
- data/lib/aws-sdk-swf/errors.rb +16 -0
- data/lib/aws-sdk-swf/types.rb +332 -138
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7377e1314a40d78651ef909e78bbf41d2861d0c1
|
4
|
+
data.tar.gz: bf378ec57a8f8af468c966acb933ba026aa504c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcaf5b71764df323b63fbd721be569d0dff11af2305bd1f747f7bf071f175d7ad6c3d24299258d9f5a382e0b74d645e99db39f1992478a253871ab70b2e5061d
|
7
|
+
data.tar.gz: 71eeac9a3675678568c2d6152c8049de85d6f8db79783afa3f7d9daeef6b704018b6e3a5147ec36eb5ef623f7b7a3b404b64f4854f0621feca1c3478131bb234
|
data/lib/aws-sdk-swf.rb
CHANGED
data/lib/aws-sdk-swf/client.rb
CHANGED
@@ -306,7 +306,7 @@ module Aws::SWF
|
|
306
306
|
#
|
307
307
|
#
|
308
308
|
#
|
309
|
-
# [1]:
|
309
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
310
310
|
#
|
311
311
|
# @option params [required, String] :domain
|
312
312
|
# The name of the domain containing the workflow executions to count.
|
@@ -454,7 +454,7 @@ module Aws::SWF
|
|
454
454
|
#
|
455
455
|
#
|
456
456
|
#
|
457
|
-
# [1]:
|
457
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
458
458
|
#
|
459
459
|
# @option params [required, String] :domain
|
460
460
|
# The name of the domain containing the workflow executions to count.
|
@@ -555,7 +555,7 @@ module Aws::SWF
|
|
555
555
|
#
|
556
556
|
#
|
557
557
|
#
|
558
|
-
# [1]:
|
558
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
559
559
|
#
|
560
560
|
# @option params [required, String] :domain
|
561
561
|
# The name of the domain that contains the task list.
|
@@ -618,7 +618,7 @@ module Aws::SWF
|
|
618
618
|
#
|
619
619
|
#
|
620
620
|
#
|
621
|
-
# [1]:
|
621
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
622
622
|
#
|
623
623
|
# @option params [required, String] :domain
|
624
624
|
# The name of the domain that contains the task list.
|
@@ -691,7 +691,7 @@ module Aws::SWF
|
|
691
691
|
#
|
692
692
|
#
|
693
693
|
#
|
694
|
-
# [1]:
|
694
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
695
695
|
#
|
696
696
|
# @option params [required, String] :domain
|
697
697
|
# The name of the domain in which the activity type is registered.
|
@@ -752,7 +752,7 @@ module Aws::SWF
|
|
752
752
|
#
|
753
753
|
#
|
754
754
|
#
|
755
|
-
# [1]:
|
755
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
756
756
|
#
|
757
757
|
# @option params [required, String] :name
|
758
758
|
# The name of the domain to deprecate.
|
@@ -812,7 +812,7 @@ module Aws::SWF
|
|
812
812
|
#
|
813
813
|
#
|
814
814
|
#
|
815
|
-
# [1]:
|
815
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
816
816
|
#
|
817
817
|
# @option params [required, String] :domain
|
818
818
|
# The name of the domain in which the workflow type is registered.
|
@@ -872,7 +872,7 @@ module Aws::SWF
|
|
872
872
|
#
|
873
873
|
#
|
874
874
|
#
|
875
|
-
# [1]:
|
875
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
876
876
|
#
|
877
877
|
# @option params [required, String] :domain
|
878
878
|
# The name of the domain in which the activity type is registered.
|
@@ -944,7 +944,7 @@ module Aws::SWF
|
|
944
944
|
#
|
945
945
|
#
|
946
946
|
#
|
947
|
-
# [1]:
|
947
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
948
948
|
#
|
949
949
|
# @option params [required, String] :name
|
950
950
|
# The name of the domain to describe.
|
@@ -965,6 +965,7 @@ module Aws::SWF
|
|
965
965
|
# resp.domain_info.name #=> String
|
966
966
|
# resp.domain_info.status #=> String, one of "REGISTERED", "DEPRECATED"
|
967
967
|
# resp.domain_info.description #=> String
|
968
|
+
# resp.domain_info.arn #=> String
|
968
969
|
# resp.configuration.workflow_execution_retention_period_in_days #=> String
|
969
970
|
#
|
970
971
|
# @overload describe_domain(params = {})
|
@@ -1004,7 +1005,7 @@ module Aws::SWF
|
|
1004
1005
|
#
|
1005
1006
|
#
|
1006
1007
|
#
|
1007
|
-
# [1]:
|
1008
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
1008
1009
|
#
|
1009
1010
|
# @option params [required, String] :domain
|
1010
1011
|
# The name of the domain containing the workflow execution.
|
@@ -1099,7 +1100,7 @@ module Aws::SWF
|
|
1099
1100
|
#
|
1100
1101
|
#
|
1101
1102
|
#
|
1102
|
-
# [1]:
|
1103
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
1103
1104
|
#
|
1104
1105
|
# @option params [required, String] :domain
|
1105
1106
|
# The name of the domain in which this workflow type is registered.
|
@@ -1175,7 +1176,7 @@ module Aws::SWF
|
|
1175
1176
|
#
|
1176
1177
|
#
|
1177
1178
|
#
|
1178
|
-
# [1]:
|
1179
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
1179
1180
|
#
|
1180
1181
|
# @option params [required, String] :domain
|
1181
1182
|
# The name of the domain containing the workflow execution.
|
@@ -1184,22 +1185,20 @@ module Aws::SWF
|
|
1184
1185
|
# Specifies the workflow execution for which to return the history.
|
1185
1186
|
#
|
1186
1187
|
# @option params [String] :next_page_token
|
1187
|
-
# If
|
1188
|
-
#
|
1189
|
-
# again using the returned token
|
1190
|
-
# arguments unchanged.
|
1188
|
+
# If `NextPageToken` is returned there are more results available. The
|
1189
|
+
# value of `NextPageToken` is a unique pagination token for each page.
|
1190
|
+
# Make the call again using the returned token to retrieve the next
|
1191
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
1192
|
+
# expires after 60 seconds. Using an expired pagination token will
|
1193
|
+
# return a `400` error: "`Specified token has exceeded its maximum
|
1194
|
+
# lifetime`".
|
1191
1195
|
#
|
1192
1196
|
# The configured `maximumPageSize` determines how many results can be
|
1193
1197
|
# returned in a single call.
|
1194
1198
|
#
|
1195
1199
|
# @option params [Integer] :maximum_page_size
|
1196
|
-
# The maximum number of results that are returned per call.
|
1197
|
-
# `nextPageToken`
|
1198
|
-
# default is 1000, which is the maximum allowed page size. You can,
|
1199
|
-
# however, specify a page size *smaller* than the maximum.
|
1200
|
-
#
|
1201
|
-
# This is an upper limit only; the actual number of results returned per
|
1202
|
-
# call may be fewer than the specified maximum.
|
1200
|
+
# The maximum number of results that are returned per call. Use
|
1201
|
+
# `nextPageToken` to obtain further pages of results.
|
1203
1202
|
#
|
1204
1203
|
# @option params [Boolean] :reverse_order
|
1205
1204
|
# When set to `true`, returns the events in reverse order. By default
|
@@ -1510,7 +1509,7 @@ module Aws::SWF
|
|
1510
1509
|
#
|
1511
1510
|
#
|
1512
1511
|
#
|
1513
|
-
# [1]:
|
1512
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
1514
1513
|
#
|
1515
1514
|
# @option params [required, String] :domain
|
1516
1515
|
# The name of the domain in which the activity types have been
|
@@ -1523,22 +1522,20 @@ module Aws::SWF
|
|
1523
1522
|
# Specifies the registration status of the activity types to list.
|
1524
1523
|
#
|
1525
1524
|
# @option params [String] :next_page_token
|
1526
|
-
# If
|
1527
|
-
#
|
1528
|
-
# again using the returned token
|
1529
|
-
# arguments unchanged.
|
1525
|
+
# If `NextPageToken` is returned there are more results available. The
|
1526
|
+
# value of `NextPageToken` is a unique pagination token for each page.
|
1527
|
+
# Make the call again using the returned token to retrieve the next
|
1528
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
1529
|
+
# expires after 60 seconds. Using an expired pagination token will
|
1530
|
+
# return a `400` error: "`Specified token has exceeded its maximum
|
1531
|
+
# lifetime`".
|
1530
1532
|
#
|
1531
1533
|
# The configured `maximumPageSize` determines how many results can be
|
1532
1534
|
# returned in a single call.
|
1533
1535
|
#
|
1534
1536
|
# @option params [Integer] :maximum_page_size
|
1535
|
-
# The maximum number of results that are returned per call.
|
1536
|
-
# `nextPageToken`
|
1537
|
-
# default is 1000, which is the maximum allowed page size. You can,
|
1538
|
-
# however, specify a page size *smaller* than the maximum.
|
1539
|
-
#
|
1540
|
-
# This is an upper limit only; the actual number of results returned per
|
1541
|
-
# call may be fewer than the specified maximum.
|
1537
|
+
# The maximum number of results that are returned per call. Use
|
1538
|
+
# `nextPageToken` to obtain further pages of results.
|
1542
1539
|
#
|
1543
1540
|
# @option params [Boolean] :reverse_order
|
1544
1541
|
# When set to `true`, returns the results in reverse order. By default,
|
@@ -1621,7 +1618,7 @@ module Aws::SWF
|
|
1621
1618
|
#
|
1622
1619
|
#
|
1623
1620
|
#
|
1624
|
-
# [1]:
|
1621
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
1625
1622
|
#
|
1626
1623
|
# @option params [required, String] :domain
|
1627
1624
|
# The name of the domain that contains the workflow executions to list.
|
@@ -1689,22 +1686,20 @@ module Aws::SWF
|
|
1689
1686
|
# </note>
|
1690
1687
|
#
|
1691
1688
|
# @option params [String] :next_page_token
|
1692
|
-
# If
|
1693
|
-
#
|
1694
|
-
# again using the returned token
|
1695
|
-
# arguments unchanged.
|
1689
|
+
# If `NextPageToken` is returned there are more results available. The
|
1690
|
+
# value of `NextPageToken` is a unique pagination token for each page.
|
1691
|
+
# Make the call again using the returned token to retrieve the next
|
1692
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
1693
|
+
# expires after 60 seconds. Using an expired pagination token will
|
1694
|
+
# return a `400` error: "`Specified token has exceeded its maximum
|
1695
|
+
# lifetime`".
|
1696
1696
|
#
|
1697
1697
|
# The configured `maximumPageSize` determines how many results can be
|
1698
1698
|
# returned in a single call.
|
1699
1699
|
#
|
1700
1700
|
# @option params [Integer] :maximum_page_size
|
1701
|
-
# The maximum number of results that are returned per call.
|
1702
|
-
# `nextPageToken`
|
1703
|
-
# default is 1000, which is the maximum allowed page size. You can,
|
1704
|
-
# however, specify a page size *smaller* than the maximum.
|
1705
|
-
#
|
1706
|
-
# This is an upper limit only; the actual number of results returned per
|
1707
|
-
# call may be fewer than the specified maximum.
|
1701
|
+
# The maximum number of results that are returned per call. Use
|
1702
|
+
# `nextPageToken` to obtain further pages of results.
|
1708
1703
|
#
|
1709
1704
|
# @option params [Boolean] :reverse_order
|
1710
1705
|
# When set to `true`, returns the results in reverse order. By default
|
@@ -1804,13 +1799,16 @@ module Aws::SWF
|
|
1804
1799
|
#
|
1805
1800
|
#
|
1806
1801
|
#
|
1807
|
-
# [1]:
|
1802
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
1808
1803
|
#
|
1809
1804
|
# @option params [String] :next_page_token
|
1810
|
-
# If
|
1811
|
-
#
|
1812
|
-
# again using the returned token
|
1813
|
-
# arguments unchanged.
|
1805
|
+
# If `NextPageToken` is returned there are more results available. The
|
1806
|
+
# value of `NextPageToken` is a unique pagination token for each page.
|
1807
|
+
# Make the call again using the returned token to retrieve the next
|
1808
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
1809
|
+
# expires after 60 seconds. Using an expired pagination token will
|
1810
|
+
# return a `400` error: "`Specified token has exceeded its maximum
|
1811
|
+
# lifetime`".
|
1814
1812
|
#
|
1815
1813
|
# The configured `maximumPageSize` determines how many results can be
|
1816
1814
|
# returned in a single call.
|
@@ -1819,13 +1817,8 @@ module Aws::SWF
|
|
1819
1817
|
# Specifies the registration status of the domains to list.
|
1820
1818
|
#
|
1821
1819
|
# @option params [Integer] :maximum_page_size
|
1822
|
-
# The maximum number of results that are returned per call.
|
1823
|
-
# `nextPageToken`
|
1824
|
-
# default is 1000, which is the maximum allowed page size. You can,
|
1825
|
-
# however, specify a page size *smaller* than the maximum.
|
1826
|
-
#
|
1827
|
-
# This is an upper limit only; the actual number of results returned per
|
1828
|
-
# call may be fewer than the specified maximum.
|
1820
|
+
# The maximum number of results that are returned per call. Use
|
1821
|
+
# `nextPageToken` to obtain further pages of results.
|
1829
1822
|
#
|
1830
1823
|
# @option params [Boolean] :reverse_order
|
1831
1824
|
# When set to `true`, returns the results in reverse order. By default,
|
@@ -1852,6 +1845,7 @@ module Aws::SWF
|
|
1852
1845
|
# resp.domain_infos[0].name #=> String
|
1853
1846
|
# resp.domain_infos[0].status #=> String, one of "REGISTERED", "DEPRECATED"
|
1854
1847
|
# resp.domain_infos[0].description #=> String
|
1848
|
+
# resp.domain_infos[0].arn #=> String
|
1855
1849
|
# resp.next_page_token #=> String
|
1856
1850
|
#
|
1857
1851
|
# @overload list_domains(params = {})
|
@@ -1903,7 +1897,7 @@ module Aws::SWF
|
|
1903
1897
|
#
|
1904
1898
|
#
|
1905
1899
|
#
|
1906
|
-
# [1]:
|
1900
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
1907
1901
|
#
|
1908
1902
|
# @option params [required, String] :domain
|
1909
1903
|
# The name of the domain that contains the workflow executions to list.
|
@@ -1931,22 +1925,20 @@ module Aws::SWF
|
|
1931
1925
|
# </note>
|
1932
1926
|
#
|
1933
1927
|
# @option params [String] :next_page_token
|
1934
|
-
# If
|
1935
|
-
#
|
1936
|
-
# again using the returned token
|
1937
|
-
# arguments unchanged.
|
1928
|
+
# If `NextPageToken` is returned there are more results available. The
|
1929
|
+
# value of `NextPageToken` is a unique pagination token for each page.
|
1930
|
+
# Make the call again using the returned token to retrieve the next
|
1931
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
1932
|
+
# expires after 60 seconds. Using an expired pagination token will
|
1933
|
+
# return a `400` error: "`Specified token has exceeded its maximum
|
1934
|
+
# lifetime`".
|
1938
1935
|
#
|
1939
1936
|
# The configured `maximumPageSize` determines how many results can be
|
1940
1937
|
# returned in a single call.
|
1941
1938
|
#
|
1942
1939
|
# @option params [Integer] :maximum_page_size
|
1943
|
-
# The maximum number of results that are returned per call.
|
1944
|
-
# `nextPageToken`
|
1945
|
-
# default is 1000, which is the maximum allowed page size. You can,
|
1946
|
-
# however, specify a page size *smaller* than the maximum.
|
1947
|
-
#
|
1948
|
-
# This is an upper limit only; the actual number of results returned per
|
1949
|
-
# call may be fewer than the specified maximum.
|
1940
|
+
# The maximum number of results that are returned per call. Use
|
1941
|
+
# `nextPageToken` to obtain further pages of results.
|
1950
1942
|
#
|
1951
1943
|
# @option params [Boolean] :reverse_order
|
1952
1944
|
# When set to `true`, returns the results in reverse order. By default
|
@@ -2015,6 +2007,34 @@ module Aws::SWF
|
|
2015
2007
|
req.send_request(options)
|
2016
2008
|
end
|
2017
2009
|
|
2010
|
+
# List tags for a given domain.
|
2011
|
+
#
|
2012
|
+
# @option params [required, String] :resource_arn
|
2013
|
+
# The Amazon Resource Name (ARN) for the Amazon SWF domain.
|
2014
|
+
#
|
2015
|
+
# @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2016
|
+
#
|
2017
|
+
# * {Types::ListTagsForResourceOutput#tags #tags} => Array<Types::ResourceTag>
|
2018
|
+
#
|
2019
|
+
# @example Request syntax with placeholder values
|
2020
|
+
#
|
2021
|
+
# resp = client.list_tags_for_resource({
|
2022
|
+
# resource_arn: "Arn", # required
|
2023
|
+
# })
|
2024
|
+
#
|
2025
|
+
# @example Response structure
|
2026
|
+
#
|
2027
|
+
# resp.tags #=> Array
|
2028
|
+
# resp.tags[0].key #=> String
|
2029
|
+
# resp.tags[0].value #=> String
|
2030
|
+
#
|
2031
|
+
# @overload list_tags_for_resource(params = {})
|
2032
|
+
# @param [Hash] params ({})
|
2033
|
+
def list_tags_for_resource(params = {}, options = {})
|
2034
|
+
req = build_request(:list_tags_for_resource, params)
|
2035
|
+
req.send_request(options)
|
2036
|
+
end
|
2037
|
+
|
2018
2038
|
# Returns information about workflow types in the specified domain. The
|
2019
2039
|
# results may be split into multiple pages that can be retrieved by
|
2020
2040
|
# making the call repeatedly.
|
@@ -2041,7 +2061,7 @@ module Aws::SWF
|
|
2041
2061
|
#
|
2042
2062
|
#
|
2043
2063
|
#
|
2044
|
-
# [1]:
|
2064
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
2045
2065
|
#
|
2046
2066
|
# @option params [required, String] :domain
|
2047
2067
|
# The name of the domain in which the workflow types have been
|
@@ -2054,22 +2074,20 @@ module Aws::SWF
|
|
2054
2074
|
# Specifies the registration status of the workflow types to list.
|
2055
2075
|
#
|
2056
2076
|
# @option params [String] :next_page_token
|
2057
|
-
# If
|
2058
|
-
#
|
2059
|
-
# again using the returned token
|
2060
|
-
# arguments unchanged.
|
2077
|
+
# If `NextPageToken` is returned there are more results available. The
|
2078
|
+
# value of `NextPageToken` is a unique pagination token for each page.
|
2079
|
+
# Make the call again using the returned token to retrieve the next
|
2080
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
2081
|
+
# expires after 60 seconds. Using an expired pagination token will
|
2082
|
+
# return a `400` error: "`Specified token has exceeded its maximum
|
2083
|
+
# lifetime`".
|
2061
2084
|
#
|
2062
2085
|
# The configured `maximumPageSize` determines how many results can be
|
2063
2086
|
# returned in a single call.
|
2064
2087
|
#
|
2065
2088
|
# @option params [Integer] :maximum_page_size
|
2066
|
-
# The maximum number of results that are returned per call.
|
2067
|
-
# `nextPageToken`
|
2068
|
-
# default is 1000, which is the maximum allowed page size. You can,
|
2069
|
-
# however, specify a page size *smaller* than the maximum.
|
2070
|
-
#
|
2071
|
-
# This is an upper limit only; the actual number of results returned per
|
2072
|
-
# call may be fewer than the specified maximum.
|
2089
|
+
# The maximum number of results that are returned per call. Use
|
2090
|
+
# `nextPageToken` to obtain further pages of results.
|
2073
2091
|
#
|
2074
2092
|
# @option params [Boolean] :reverse_order
|
2075
2093
|
# When set to `true`, returns the results in reverse order. By default
|
@@ -2148,7 +2166,7 @@ module Aws::SWF
|
|
2148
2166
|
#
|
2149
2167
|
#
|
2150
2168
|
#
|
2151
|
-
# [1]:
|
2169
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
2152
2170
|
#
|
2153
2171
|
# @option params [required, String] :domain
|
2154
2172
|
# The name of the domain that contains the task lists being polled.
|
@@ -2159,7 +2177,7 @@ module Aws::SWF
|
|
2159
2177
|
# The specified string must not start or end with whitespace. It must
|
2160
2178
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
2161
2179
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
2162
|
-
# not
|
2180
|
+
# not *be* the literal string `arn`.
|
2163
2181
|
#
|
2164
2182
|
# @option params [String] :identity
|
2165
2183
|
# Identity of the worker making the request, recorded in the
|
@@ -2253,7 +2271,7 @@ module Aws::SWF
|
|
2253
2271
|
#
|
2254
2272
|
#
|
2255
2273
|
#
|
2256
|
-
# [1]:
|
2274
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
2257
2275
|
#
|
2258
2276
|
# @option params [required, String] :domain
|
2259
2277
|
# The name of the domain containing the task lists to poll.
|
@@ -2264,7 +2282,7 @@ module Aws::SWF
|
|
2264
2282
|
# The specified string must not start or end with whitespace. It must
|
2265
2283
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
2266
2284
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
2267
|
-
# not
|
2285
|
+
# not *be* the literal string `arn`.
|
2268
2286
|
#
|
2269
2287
|
# @option params [String] :identity
|
2270
2288
|
# Identity of the decider making the request, which is recorded in the
|
@@ -2273,10 +2291,13 @@ module Aws::SWF
|
|
2273
2291
|
# user defined.
|
2274
2292
|
#
|
2275
2293
|
# @option params [String] :next_page_token
|
2276
|
-
# If
|
2277
|
-
#
|
2278
|
-
# again using the returned token
|
2279
|
-
# arguments unchanged.
|
2294
|
+
# If `NextPageToken` is returned there are more results available. The
|
2295
|
+
# value of `NextPageToken` is a unique pagination token for each page.
|
2296
|
+
# Make the call again using the returned token to retrieve the next
|
2297
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
2298
|
+
# expires after 60 seconds. Using an expired pagination token will
|
2299
|
+
# return a `400` error: "`Specified token has exceeded its maximum
|
2300
|
+
# lifetime`".
|
2280
2301
|
#
|
2281
2302
|
# The configured `maximumPageSize` determines how many results can be
|
2282
2303
|
# returned in a single call.
|
@@ -2290,10 +2311,8 @@ module Aws::SWF
|
|
2290
2311
|
# </note>
|
2291
2312
|
#
|
2292
2313
|
# @option params [Integer] :maximum_page_size
|
2293
|
-
# The maximum number of results that are returned per call.
|
2294
|
-
# `nextPageToken`
|
2295
|
-
# default is 1000, which is the maximum allowed page size. You can,
|
2296
|
-
# however, specify a page size *smaller* than the maximum.
|
2314
|
+
# The maximum number of results that are returned per call. Use
|
2315
|
+
# `nextPageToken` to obtain further pages of results.
|
2297
2316
|
#
|
2298
2317
|
# This is an upper limit only; the actual number of results returned per
|
2299
2318
|
# call may be fewer than the specified maximum.
|
@@ -2648,7 +2667,7 @@ module Aws::SWF
|
|
2648
2667
|
#
|
2649
2668
|
#
|
2650
2669
|
#
|
2651
|
-
# [1]:
|
2670
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
2652
2671
|
#
|
2653
2672
|
# @option params [required, String] :task_token
|
2654
2673
|
# The `taskToken` of the ActivityTask.
|
@@ -2720,7 +2739,7 @@ module Aws::SWF
|
|
2720
2739
|
#
|
2721
2740
|
#
|
2722
2741
|
#
|
2723
|
-
# [1]:
|
2742
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
2724
2743
|
#
|
2725
2744
|
# @option params [required, String] :domain
|
2726
2745
|
# The name of the domain in which this activity is to be registered.
|
@@ -2731,7 +2750,7 @@ module Aws::SWF
|
|
2731
2750
|
# The specified string must not start or end with whitespace. It must
|
2732
2751
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
2733
2752
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
2734
|
-
# not
|
2753
|
+
# not *be* the literal string `arn`.
|
2735
2754
|
#
|
2736
2755
|
# @option params [required, String] :version
|
2737
2756
|
# The version of the activity type.
|
@@ -2744,7 +2763,7 @@ module Aws::SWF
|
|
2744
2763
|
# The specified string must not start or end with whitespace. It must
|
2745
2764
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
2746
2765
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
2747
|
-
# not
|
2766
|
+
# not *be* the literal string `arn`.
|
2748
2767
|
#
|
2749
2768
|
# @option params [String] :description
|
2750
2769
|
# A textual description of the activity type.
|
@@ -2789,7 +2808,7 @@ module Aws::SWF
|
|
2789
2808
|
#
|
2790
2809
|
#
|
2791
2810
|
#
|
2792
|
-
# [1]:
|
2811
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
|
2793
2812
|
#
|
2794
2813
|
# @option params [String] :default_task_schedule_to_start_timeout
|
2795
2814
|
# If set, specifies the default maximum duration that a task of this
|
@@ -2859,7 +2878,7 @@ module Aws::SWF
|
|
2859
2878
|
#
|
2860
2879
|
#
|
2861
2880
|
#
|
2862
|
-
# [1]:
|
2881
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
2863
2882
|
#
|
2864
2883
|
# @option params [required, String] :name
|
2865
2884
|
# Name of the domain to register. The name must be unique in the region
|
@@ -2868,7 +2887,7 @@ module Aws::SWF
|
|
2868
2887
|
# The specified string must not start or end with whitespace. It must
|
2869
2888
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
2870
2889
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
2871
|
-
# not
|
2890
|
+
# not *be* the literal string `arn`.
|
2872
2891
|
#
|
2873
2892
|
# @option params [String] :description
|
2874
2893
|
# A text description of the domain.
|
@@ -2889,7 +2908,13 @@ module Aws::SWF
|
|
2889
2908
|
#
|
2890
2909
|
#
|
2891
2910
|
#
|
2892
|
-
# [1]:
|
2911
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html
|
2912
|
+
#
|
2913
|
+
# @option params [Array<Types::ResourceTag>] :tags
|
2914
|
+
# Tags to be added when registering a domain.
|
2915
|
+
#
|
2916
|
+
# Tags may only contain unicode letters, digits, whitespace, or these
|
2917
|
+
# symbols: `_ . : / = + - @`.
|
2893
2918
|
#
|
2894
2919
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2895
2920
|
#
|
@@ -2899,6 +2924,12 @@ module Aws::SWF
|
|
2899
2924
|
# name: "DomainName", # required
|
2900
2925
|
# description: "Description",
|
2901
2926
|
# workflow_execution_retention_period_in_days: "DurationInDays", # required
|
2927
|
+
# tags: [
|
2928
|
+
# {
|
2929
|
+
# key: "ResourceTagKey", # required
|
2930
|
+
# value: "ResourceTagValue",
|
2931
|
+
# },
|
2932
|
+
# ],
|
2902
2933
|
# })
|
2903
2934
|
#
|
2904
2935
|
# @overload register_domain(params = {})
|
@@ -2948,7 +2979,7 @@ module Aws::SWF
|
|
2948
2979
|
#
|
2949
2980
|
#
|
2950
2981
|
#
|
2951
|
-
# [1]:
|
2982
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
2952
2983
|
#
|
2953
2984
|
# @option params [required, String] :domain
|
2954
2985
|
# The name of the domain in which to register the workflow type.
|
@@ -2959,7 +2990,7 @@ module Aws::SWF
|
|
2959
2990
|
# The specified string must not start or end with whitespace. It must
|
2960
2991
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
2961
2992
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
2962
|
-
# not
|
2993
|
+
# not *be* the literal string `arn`.
|
2963
2994
|
#
|
2964
2995
|
# @option params [required, String] :version
|
2965
2996
|
# The version of the workflow type.
|
@@ -2973,7 +3004,7 @@ module Aws::SWF
|
|
2973
3004
|
# The specified string must not start or end with whitespace. It must
|
2974
3005
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
2975
3006
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
2976
|
-
# not
|
3007
|
+
# not *be* the literal string `arn`.
|
2977
3008
|
#
|
2978
3009
|
# @option params [String] :description
|
2979
3010
|
# Textual description of the workflow type.
|
@@ -3018,7 +3049,7 @@ module Aws::SWF
|
|
3018
3049
|
#
|
3019
3050
|
#
|
3020
3051
|
#
|
3021
|
-
# [1]:
|
3052
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
|
3022
3053
|
#
|
3023
3054
|
# @option params [String] :default_child_policy
|
3024
3055
|
# If set, specifies the default policy to use for the child workflow
|
@@ -3047,14 +3078,14 @@ module Aws::SWF
|
|
3047
3078
|
# functions. If you don't specify an IAM role when you start this
|
3048
3079
|
# workflow type, the default Lambda role is attached to the execution.
|
3049
3080
|
# For more information, see
|
3050
|
-
# [
|
3081
|
+
# [https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
|
3051
3082
|
# in the *Amazon SWF Developer Guide*.
|
3052
3083
|
#
|
3053
3084
|
# </note>
|
3054
3085
|
#
|
3055
3086
|
#
|
3056
3087
|
#
|
3057
|
-
# [1]:
|
3088
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
|
3058
3089
|
#
|
3059
3090
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3060
3091
|
#
|
@@ -3122,7 +3153,7 @@ module Aws::SWF
|
|
3122
3153
|
#
|
3123
3154
|
#
|
3124
3155
|
#
|
3125
|
-
# [1]:
|
3156
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3126
3157
|
#
|
3127
3158
|
# @option params [required, String] :domain
|
3128
3159
|
# The name of the domain containing the workflow execution to cancel.
|
@@ -3189,8 +3220,8 @@ module Aws::SWF
|
|
3189
3220
|
#
|
3190
3221
|
#
|
3191
3222
|
#
|
3192
|
-
# [1]:
|
3193
|
-
# [2]:
|
3223
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types
|
3224
|
+
# [2]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3194
3225
|
#
|
3195
3226
|
# @option params [required, String] :task_token
|
3196
3227
|
# The `taskToken` of the ActivityTask.
|
@@ -3258,8 +3289,8 @@ module Aws::SWF
|
|
3258
3289
|
#
|
3259
3290
|
#
|
3260
3291
|
#
|
3261
|
-
# [1]:
|
3262
|
-
# [2]:
|
3292
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types
|
3293
|
+
# [2]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3263
3294
|
#
|
3264
3295
|
# @option params [required, String] :task_token
|
3265
3296
|
# The `taskToken` of the ActivityTask.
|
@@ -3322,8 +3353,8 @@ module Aws::SWF
|
|
3322
3353
|
#
|
3323
3354
|
#
|
3324
3355
|
#
|
3325
|
-
# [1]:
|
3326
|
-
# [2]:
|
3356
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types
|
3357
|
+
# [2]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3327
3358
|
#
|
3328
3359
|
# @option params [required, String] :task_token
|
3329
3360
|
# The `taskToken` of the ActivityTask.
|
@@ -3379,7 +3410,7 @@ module Aws::SWF
|
|
3379
3410
|
#
|
3380
3411
|
#
|
3381
3412
|
#
|
3382
|
-
# [1]:
|
3413
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3383
3414
|
#
|
3384
3415
|
# @option params [required, String] :task_token
|
3385
3416
|
# The `taskToken` from the DecisionTask.
|
@@ -3549,7 +3580,7 @@ module Aws::SWF
|
|
3549
3580
|
#
|
3550
3581
|
#
|
3551
3582
|
#
|
3552
|
-
# [1]:
|
3583
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3553
3584
|
#
|
3554
3585
|
# @option params [required, String] :domain
|
3555
3586
|
# The name of the domain containing the workflow execution to signal.
|
@@ -3633,7 +3664,7 @@ module Aws::SWF
|
|
3633
3664
|
#
|
3634
3665
|
#
|
3635
3666
|
#
|
3636
|
-
# [1]:
|
3667
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3637
3668
|
#
|
3638
3669
|
# @option params [required, String] :domain
|
3639
3670
|
# The name of the domain in which the workflow execution is created.
|
@@ -3643,12 +3674,13 @@ module Aws::SWF
|
|
3643
3674
|
# You can use this to associate a custom identifier with the workflow
|
3644
3675
|
# execution. You may specify the same identifier if a workflow execution
|
3645
3676
|
# is logically a *restart* of a previous execution. You cannot have two
|
3646
|
-
# open workflow executions with the same `workflowId` at the same time
|
3677
|
+
# open workflow executions with the same `workflowId` at the same time
|
3678
|
+
# within the same domain.
|
3647
3679
|
#
|
3648
3680
|
# The specified string must not start or end with whitespace. It must
|
3649
3681
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
3650
3682
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
3651
|
-
# not
|
3683
|
+
# not *be* the literal string `arn`.
|
3652
3684
|
#
|
3653
3685
|
# @option params [required, Types::WorkflowType] :workflow_type
|
3654
3686
|
# The type of the workflow to start.
|
@@ -3668,7 +3700,7 @@ module Aws::SWF
|
|
3668
3700
|
# The specified string must not start or end with whitespace. It must
|
3669
3701
|
# not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
|
3670
3702
|
# control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it must
|
3671
|
-
# not
|
3703
|
+
# not *be* the literal string `arn`.
|
3672
3704
|
#
|
3673
3705
|
# @option params [String] :task_priority
|
3674
3706
|
# The task priority to use for this workflow execution. This overrides
|
@@ -3683,7 +3715,7 @@ module Aws::SWF
|
|
3683
3715
|
#
|
3684
3716
|
#
|
3685
3717
|
#
|
3686
|
-
# [1]:
|
3718
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
|
3687
3719
|
#
|
3688
3720
|
# @option params [String] :input
|
3689
3721
|
# The input for the workflow execution. This is a free form string which
|
@@ -3765,14 +3797,14 @@ module Aws::SWF
|
|
3765
3797
|
# functions. If you don't attach an IAM role, any attempt to schedule a
|
3766
3798
|
# Lambda task fails. This results in a `ScheduleLambdaFunctionFailed`
|
3767
3799
|
# history event. For more information, see
|
3768
|
-
# [
|
3800
|
+
# [https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
|
3769
3801
|
# in the *Amazon SWF Developer Guide*.
|
3770
3802
|
#
|
3771
3803
|
# </note>
|
3772
3804
|
#
|
3773
3805
|
#
|
3774
3806
|
#
|
3775
|
-
# [1]:
|
3807
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
|
3776
3808
|
#
|
3777
3809
|
# @return [Types::Run] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3778
3810
|
#
|
@@ -3810,6 +3842,42 @@ module Aws::SWF
|
|
3810
3842
|
req.send_request(options)
|
3811
3843
|
end
|
3812
3844
|
|
3845
|
+
# Add a tag to a Amazon SWF domain.
|
3846
|
+
#
|
3847
|
+
# <note markdown="1"> Amazon SWF supports a maximum of 50 tags per resource.
|
3848
|
+
#
|
3849
|
+
# </note>
|
3850
|
+
#
|
3851
|
+
# @option params [required, String] :resource_arn
|
3852
|
+
# The Amazon Resource Name (ARN) for the Amazon SWF domain.
|
3853
|
+
#
|
3854
|
+
# @option params [required, Array<Types::ResourceTag>] :tags
|
3855
|
+
# The list of tags to add to a domain.
|
3856
|
+
#
|
3857
|
+
# Tags may only contain unicode letters, digits, whitespace, or these
|
3858
|
+
# symbols: `_ . : / = + - @`.
|
3859
|
+
#
|
3860
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3861
|
+
#
|
3862
|
+
# @example Request syntax with placeholder values
|
3863
|
+
#
|
3864
|
+
# resp = client.tag_resource({
|
3865
|
+
# resource_arn: "Arn", # required
|
3866
|
+
# tags: [ # required
|
3867
|
+
# {
|
3868
|
+
# key: "ResourceTagKey", # required
|
3869
|
+
# value: "ResourceTagValue",
|
3870
|
+
# },
|
3871
|
+
# ],
|
3872
|
+
# })
|
3873
|
+
#
|
3874
|
+
# @overload tag_resource(params = {})
|
3875
|
+
# @param [Hash] params ({})
|
3876
|
+
def tag_resource(params = {}, options = {})
|
3877
|
+
req = build_request(:tag_resource, params)
|
3878
|
+
req.send_request(options)
|
3879
|
+
end
|
3880
|
+
|
3813
3881
|
# Records a `WorkflowExecutionTerminated` event and forces closure of
|
3814
3882
|
# the workflow execution identified by the given domain, runId, and
|
3815
3883
|
# workflowId. The child policy, registered with the workflow type or
|
@@ -3853,7 +3921,7 @@ module Aws::SWF
|
|
3853
3921
|
#
|
3854
3922
|
#
|
3855
3923
|
#
|
3856
|
-
# [1]:
|
3924
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
3857
3925
|
#
|
3858
3926
|
# @option params [required, String] :domain
|
3859
3927
|
# The domain of the workflow execution to terminate.
|
@@ -3915,6 +3983,211 @@ module Aws::SWF
|
|
3915
3983
|
req.send_request(options)
|
3916
3984
|
end
|
3917
3985
|
|
3986
|
+
# Undeprecates a previously deprecated *activity type*. After an
|
3987
|
+
# activity type has been undeprecated, you can create new tasks of that
|
3988
|
+
# activity type.
|
3989
|
+
#
|
3990
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
3991
|
+
# and may not exactly reflect recent updates and changes.
|
3992
|
+
#
|
3993
|
+
# </note>
|
3994
|
+
#
|
3995
|
+
# **Access Control**
|
3996
|
+
#
|
3997
|
+
# You can use IAM policies to control this action's access to Amazon
|
3998
|
+
# SWF resources as follows:
|
3999
|
+
#
|
4000
|
+
# * Use a `Resource` element with the domain name to limit the action to
|
4001
|
+
# only specified domains.
|
4002
|
+
#
|
4003
|
+
# * Use an `Action` element to allow or deny permission to call this
|
4004
|
+
# action.
|
4005
|
+
#
|
4006
|
+
# * Constrain the following parameters by using a `Condition` element
|
4007
|
+
# with the appropriate keys.
|
4008
|
+
#
|
4009
|
+
# * `activityType.name`\: String constraint. The key is
|
4010
|
+
# `swf:activityType.name`.
|
4011
|
+
#
|
4012
|
+
# * `activityType.version`\: String constraint. The key is
|
4013
|
+
# `swf:activityType.version`.
|
4014
|
+
#
|
4015
|
+
# If the caller doesn't have sufficient permissions to invoke the
|
4016
|
+
# action, or the parameter values fall outside the specified
|
4017
|
+
# constraints, the action fails. The associated event attribute's
|
4018
|
+
# `cause` parameter is set to `OPERATION_NOT_PERMITTED`. For details and
|
4019
|
+
# example IAM policies, see [Using IAM to Manage Access to Amazon SWF
|
4020
|
+
# Workflows][1] in the *Amazon SWF Developer Guide*.
|
4021
|
+
#
|
4022
|
+
#
|
4023
|
+
#
|
4024
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
4025
|
+
#
|
4026
|
+
# @option params [required, String] :domain
|
4027
|
+
# The name of the domain of the deprecated activity type.
|
4028
|
+
#
|
4029
|
+
# @option params [required, Types::ActivityType] :activity_type
|
4030
|
+
# The activity type to undeprecate.
|
4031
|
+
#
|
4032
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4033
|
+
#
|
4034
|
+
# @example Request syntax with placeholder values
|
4035
|
+
#
|
4036
|
+
# resp = client.undeprecate_activity_type({
|
4037
|
+
# domain: "DomainName", # required
|
4038
|
+
# activity_type: { # required
|
4039
|
+
# name: "Name", # required
|
4040
|
+
# version: "Version", # required
|
4041
|
+
# },
|
4042
|
+
# })
|
4043
|
+
#
|
4044
|
+
# @overload undeprecate_activity_type(params = {})
|
4045
|
+
# @param [Hash] params ({})
|
4046
|
+
def undeprecate_activity_type(params = {}, options = {})
|
4047
|
+
req = build_request(:undeprecate_activity_type, params)
|
4048
|
+
req.send_request(options)
|
4049
|
+
end
|
4050
|
+
|
4051
|
+
# Undeprecates a previously deprecated domain. After a domain has been
|
4052
|
+
# undeprecated it can be used to create new workflow executions or
|
4053
|
+
# register new types.
|
4054
|
+
#
|
4055
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
4056
|
+
# and may not exactly reflect recent updates and changes.
|
4057
|
+
#
|
4058
|
+
# </note>
|
4059
|
+
#
|
4060
|
+
# **Access Control**
|
4061
|
+
#
|
4062
|
+
# You can use IAM policies to control this action's access to Amazon
|
4063
|
+
# SWF resources as follows:
|
4064
|
+
#
|
4065
|
+
# * Use a `Resource` element with the domain name to limit the action to
|
4066
|
+
# only specified domains.
|
4067
|
+
#
|
4068
|
+
# * Use an `Action` element to allow or deny permission to call this
|
4069
|
+
# action.
|
4070
|
+
#
|
4071
|
+
# * You cannot use an IAM policy to constrain this action's parameters.
|
4072
|
+
#
|
4073
|
+
# If the caller doesn't have sufficient permissions to invoke the
|
4074
|
+
# action, or the parameter values fall outside the specified
|
4075
|
+
# constraints, the action fails. The associated event attribute's
|
4076
|
+
# `cause` parameter is set to `OPERATION_NOT_PERMITTED`. For details and
|
4077
|
+
# example IAM policies, see [Using IAM to Manage Access to Amazon SWF
|
4078
|
+
# Workflows][1] in the *Amazon SWF Developer Guide*.
|
4079
|
+
#
|
4080
|
+
#
|
4081
|
+
#
|
4082
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
4083
|
+
#
|
4084
|
+
# @option params [required, String] :name
|
4085
|
+
# The name of the domain of the deprecated workflow type.
|
4086
|
+
#
|
4087
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4088
|
+
#
|
4089
|
+
# @example Request syntax with placeholder values
|
4090
|
+
#
|
4091
|
+
# resp = client.undeprecate_domain({
|
4092
|
+
# name: "DomainName", # required
|
4093
|
+
# })
|
4094
|
+
#
|
4095
|
+
# @overload undeprecate_domain(params = {})
|
4096
|
+
# @param [Hash] params ({})
|
4097
|
+
def undeprecate_domain(params = {}, options = {})
|
4098
|
+
req = build_request(:undeprecate_domain, params)
|
4099
|
+
req.send_request(options)
|
4100
|
+
end
|
4101
|
+
|
4102
|
+
# Undeprecates a previously deprecated *workflow type*. After a workflow
|
4103
|
+
# type has been undeprecated, you can create new executions of that
|
4104
|
+
# type.
|
4105
|
+
#
|
4106
|
+
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
4107
|
+
# and may not exactly reflect recent updates and changes.
|
4108
|
+
#
|
4109
|
+
# </note>
|
4110
|
+
#
|
4111
|
+
# **Access Control**
|
4112
|
+
#
|
4113
|
+
# You can use IAM policies to control this action's access to Amazon
|
4114
|
+
# SWF resources as follows:
|
4115
|
+
#
|
4116
|
+
# * Use a `Resource` element with the domain name to limit the action to
|
4117
|
+
# only specified domains.
|
4118
|
+
#
|
4119
|
+
# * Use an `Action` element to allow or deny permission to call this
|
4120
|
+
# action.
|
4121
|
+
#
|
4122
|
+
# * Constrain the following parameters by using a `Condition` element
|
4123
|
+
# with the appropriate keys.
|
4124
|
+
#
|
4125
|
+
# * `workflowType.name`\: String constraint. The key is
|
4126
|
+
# `swf:workflowType.name`.
|
4127
|
+
#
|
4128
|
+
# * `workflowType.version`\: String constraint. The key is
|
4129
|
+
# `swf:workflowType.version`.
|
4130
|
+
#
|
4131
|
+
# If the caller doesn't have sufficient permissions to invoke the
|
4132
|
+
# action, or the parameter values fall outside the specified
|
4133
|
+
# constraints, the action fails. The associated event attribute's
|
4134
|
+
# `cause` parameter is set to `OPERATION_NOT_PERMITTED`. For details and
|
4135
|
+
# example IAM policies, see [Using IAM to Manage Access to Amazon SWF
|
4136
|
+
# Workflows][1] in the *Amazon SWF Developer Guide*.
|
4137
|
+
#
|
4138
|
+
#
|
4139
|
+
#
|
4140
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
4141
|
+
#
|
4142
|
+
# @option params [required, String] :domain
|
4143
|
+
# The name of the domain of the deprecated workflow type.
|
4144
|
+
#
|
4145
|
+
# @option params [required, Types::WorkflowType] :workflow_type
|
4146
|
+
# The name of the domain of the deprecated workflow type.
|
4147
|
+
#
|
4148
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4149
|
+
#
|
4150
|
+
# @example Request syntax with placeholder values
|
4151
|
+
#
|
4152
|
+
# resp = client.undeprecate_workflow_type({
|
4153
|
+
# domain: "DomainName", # required
|
4154
|
+
# workflow_type: { # required
|
4155
|
+
# name: "Name", # required
|
4156
|
+
# version: "Version", # required
|
4157
|
+
# },
|
4158
|
+
# })
|
4159
|
+
#
|
4160
|
+
# @overload undeprecate_workflow_type(params = {})
|
4161
|
+
# @param [Hash] params ({})
|
4162
|
+
def undeprecate_workflow_type(params = {}, options = {})
|
4163
|
+
req = build_request(:undeprecate_workflow_type, params)
|
4164
|
+
req.send_request(options)
|
4165
|
+
end
|
4166
|
+
|
4167
|
+
# Remove a tag from a Amazon SWF domain.
|
4168
|
+
#
|
4169
|
+
# @option params [required, String] :resource_arn
|
4170
|
+
# The Amazon Resource Name (ARN) for the Amazon SWF domain.
|
4171
|
+
#
|
4172
|
+
# @option params [required, Array<String>] :tag_keys
|
4173
|
+
# The list of tags to remove from the Amazon SWF domain.
|
4174
|
+
#
|
4175
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4176
|
+
#
|
4177
|
+
# @example Request syntax with placeholder values
|
4178
|
+
#
|
4179
|
+
# resp = client.untag_resource({
|
4180
|
+
# resource_arn: "Arn", # required
|
4181
|
+
# tag_keys: ["ResourceTagKey"], # required
|
4182
|
+
# })
|
4183
|
+
#
|
4184
|
+
# @overload untag_resource(params = {})
|
4185
|
+
# @param [Hash] params ({})
|
4186
|
+
def untag_resource(params = {}, options = {})
|
4187
|
+
req = build_request(:untag_resource, params)
|
4188
|
+
req.send_request(options)
|
4189
|
+
end
|
4190
|
+
|
3918
4191
|
# @!endgroup
|
3919
4192
|
|
3920
4193
|
# @param params ({})
|
@@ -3928,7 +4201,7 @@ module Aws::SWF
|
|
3928
4201
|
params: params,
|
3929
4202
|
config: config)
|
3930
4203
|
context[:gem_name] = 'aws-sdk-swf'
|
3931
|
-
context[:gem_version] = '1.
|
4204
|
+
context[:gem_version] = '1.15.0'
|
3932
4205
|
Seahorse::Client::Request.new(handlers, context)
|
3933
4206
|
end
|
3934
4207
|
|