aws-sdk-serverlessapplicationrepository 1.24.0 → 1.25.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0e1935856640fb6381b2d50caa762cd3e1a6a26b74d64517d564043fb30930f5
|
4
|
+
data.tar.gz: be5dd7b8494083eeb7c4d44c05d36966df03d8639ed74a2a81365e3e7bca3b92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3870548491f6648f28177b1b2eca346aa82e363746acfbc104a9024b9681ce6a609e28b365dd5386a1a69679cef0866cc0d637efaa382ccbcb4854960e28c587
|
7
|
+
data.tar.gz: ea0162f39ef402d34c5fd5ce641325eca945d405c163e97369cfebe7897b8c09bfe3f503f4f0bbd4e2502545f2dbf088d75076a2add44fa15de611e6185d849e
|
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:serverlessapplicationrepositor
|
|
32
32
|
module Aws::ServerlessApplicationRepository
|
33
33
|
# An API client for ServerlessApplicationRepository. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::ServerlessApplicationRepository::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::ServerlessApplicationRepository
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -749,6 +753,8 @@ module Aws::ServerlessApplicationRepository
|
|
749
753
|
# resp.statements #=> Array
|
750
754
|
# resp.statements[0].actions #=> Array
|
751
755
|
# resp.statements[0].actions[0] #=> String
|
756
|
+
# resp.statements[0].principal_org_i_ds #=> Array
|
757
|
+
# resp.statements[0].principal_org_i_ds[0] #=> String
|
752
758
|
# resp.statements[0].principals #=> Array
|
753
759
|
# resp.statements[0].principals[0] #=> String
|
754
760
|
# resp.statements[0].statement_id #=> String
|
@@ -947,6 +953,7 @@ module Aws::ServerlessApplicationRepository
|
|
947
953
|
# statements: [ # required
|
948
954
|
# {
|
949
955
|
# actions: ["__string"], # required
|
956
|
+
# principal_org_i_ds: ["__string"],
|
950
957
|
# principals: ["__string"], # required
|
951
958
|
# statement_id: "__string",
|
952
959
|
# },
|
@@ -958,6 +965,8 @@ module Aws::ServerlessApplicationRepository
|
|
958
965
|
# resp.statements #=> Array
|
959
966
|
# resp.statements[0].actions #=> Array
|
960
967
|
# resp.statements[0].actions[0] #=> String
|
968
|
+
# resp.statements[0].principal_org_i_ds #=> Array
|
969
|
+
# resp.statements[0].principal_org_i_ds[0] #=> String
|
961
970
|
# resp.statements[0].principals #=> Array
|
962
971
|
# resp.statements[0].principals[0] #=> String
|
963
972
|
# resp.statements[0].statement_id #=> String
|
@@ -971,6 +980,33 @@ module Aws::ServerlessApplicationRepository
|
|
971
980
|
req.send_request(options)
|
972
981
|
end
|
973
982
|
|
983
|
+
# Unshares an application from an AWS Organization.
|
984
|
+
#
|
985
|
+
# This operation can be called only from the organization's master
|
986
|
+
# account.
|
987
|
+
#
|
988
|
+
# @option params [required, String] :application_id
|
989
|
+
#
|
990
|
+
# @option params [required, String] :organization_id
|
991
|
+
#
|
992
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
993
|
+
#
|
994
|
+
# @example Request syntax with placeholder values
|
995
|
+
#
|
996
|
+
# resp = client.unshare_application({
|
997
|
+
# application_id: "__string", # required
|
998
|
+
# organization_id: "__string", # required
|
999
|
+
# })
|
1000
|
+
#
|
1001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplication AWS API Documentation
|
1002
|
+
#
|
1003
|
+
# @overload unshare_application(params = {})
|
1004
|
+
# @param [Hash] params ({})
|
1005
|
+
def unshare_application(params = {}, options = {})
|
1006
|
+
req = build_request(:unshare_application, params)
|
1007
|
+
req.send_request(options)
|
1008
|
+
end
|
1009
|
+
|
974
1010
|
# Updates the specified application.
|
975
1011
|
#
|
976
1012
|
# @option params [required, String] :application_id
|
@@ -1078,7 +1114,7 @@ module Aws::ServerlessApplicationRepository
|
|
1078
1114
|
params: params,
|
1079
1115
|
config: config)
|
1080
1116
|
context[:gem_name] = 'aws-sdk-serverlessapplicationrepository'
|
1081
|
-
context[:gem_version] = '1.
|
1117
|
+
context[:gem_version] = '1.25.0'
|
1082
1118
|
Seahorse::Client::Request.new(handlers, context)
|
1083
1119
|
end
|
1084
1120
|
|
@@ -61,6 +61,8 @@ module Aws::ServerlessApplicationRepository
|
|
61
61
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
62
62
|
TemplateDetails = Shapes::StructureShape.new(name: 'TemplateDetails')
|
63
63
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
64
|
+
UnshareApplicationInput = Shapes::StructureShape.new(name: 'UnshareApplicationInput')
|
65
|
+
UnshareApplicationRequest = Shapes::StructureShape.new(name: 'UnshareApplicationRequest')
|
64
66
|
UpdateApplicationInput = Shapes::StructureShape.new(name: 'UpdateApplicationInput')
|
65
67
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
66
68
|
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
@@ -113,6 +115,7 @@ module Aws::ServerlessApplicationRepository
|
|
113
115
|
ApplicationPolicy.struct_class = Types::ApplicationPolicy
|
114
116
|
|
115
117
|
ApplicationPolicyStatement.add_member(:actions, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "actions"))
|
118
|
+
ApplicationPolicyStatement.add_member(:principal_org_i_ds, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "principalOrgIDs"))
|
116
119
|
ApplicationPolicyStatement.add_member(:principals, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "principals"))
|
117
120
|
ApplicationPolicyStatement.add_member(:statement_id, Shapes::ShapeRef.new(shape: __string, location_name: "statementId"))
|
118
121
|
ApplicationPolicyStatement.struct_class = Types::ApplicationPolicyStatement
|
@@ -398,6 +401,13 @@ module Aws::ServerlessApplicationRepository
|
|
398
401
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
399
402
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
400
403
|
|
404
|
+
UnshareApplicationInput.add_member(:organization_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "organizationId"))
|
405
|
+
UnshareApplicationInput.struct_class = Types::UnshareApplicationInput
|
406
|
+
|
407
|
+
UnshareApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
408
|
+
UnshareApplicationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "organizationId"))
|
409
|
+
UnshareApplicationRequest.struct_class = Types::UnshareApplicationRequest
|
410
|
+
|
401
411
|
UpdateApplicationInput.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
402
412
|
UpdateApplicationInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
403
413
|
UpdateApplicationInput.add_member(:home_page_url, Shapes::ShapeRef.new(shape: __string, location_name: "homePageUrl"))
|
@@ -658,6 +668,19 @@ module Aws::ServerlessApplicationRepository
|
|
658
668
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
659
669
|
end)
|
660
670
|
|
671
|
+
api.add_operation(:unshare_application, Seahorse::Model::Operation.new.tap do |o|
|
672
|
+
o.name = "UnshareApplication"
|
673
|
+
o.http_method = "POST"
|
674
|
+
o.http_request_uri = "/applications/{applicationId}/unshare"
|
675
|
+
o.input = Shapes::ShapeRef.new(shape: UnshareApplicationRequest)
|
676
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
682
|
+
end)
|
683
|
+
|
661
684
|
api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
|
662
685
|
o.name = "UpdateApplication"
|
663
686
|
o.http_method = "PATCH"
|
@@ -181,6 +181,7 @@ module Aws::ServerlessApplicationRepository
|
|
181
181
|
#
|
182
182
|
# {
|
183
183
|
# actions: ["__string"], # required
|
184
|
+
# principal_org_i_ds: ["__string"],
|
184
185
|
# principals: ["__string"], # required
|
185
186
|
# statement_id: "__string",
|
186
187
|
# }
|
@@ -194,6 +195,15 @@ module Aws::ServerlessApplicationRepository
|
|
194
195
|
# [1]: https://docs.aws.amazon.com/serverlessrepo/latest/devguide/access-control-resource-based.html#application-permissions
|
195
196
|
# @return [Array<String>]
|
196
197
|
#
|
198
|
+
# @!attribute [rw] principal_org_i_ds
|
199
|
+
# An array of PrinciplalOrgIDs, which corresponds to AWS IAM
|
200
|
+
# [aws:PrincipalOrgID][1] global condition key.
|
201
|
+
#
|
202
|
+
#
|
203
|
+
#
|
204
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#principal-org-id
|
205
|
+
# @return [Array<String>]
|
206
|
+
#
|
197
207
|
# @!attribute [rw] principals
|
198
208
|
# An array of AWS account IDs, or * to make the application public.
|
199
209
|
# @return [Array<String>]
|
@@ -206,6 +216,7 @@ module Aws::ServerlessApplicationRepository
|
|
206
216
|
#
|
207
217
|
class ApplicationPolicyStatement < Struct.new(
|
208
218
|
:actions,
|
219
|
+
:principal_org_i_ds,
|
209
220
|
:principals,
|
210
221
|
:statement_id)
|
211
222
|
include Aws::Structure
|
@@ -1622,6 +1633,7 @@ module Aws::ServerlessApplicationRepository
|
|
1622
1633
|
# statements: [ # required
|
1623
1634
|
# {
|
1624
1635
|
# actions: ["__string"], # required
|
1636
|
+
# principal_org_i_ds: ["__string"],
|
1625
1637
|
# principals: ["__string"], # required
|
1626
1638
|
# statement_id: "__string",
|
1627
1639
|
# },
|
@@ -1835,6 +1847,41 @@ module Aws::ServerlessApplicationRepository
|
|
1835
1847
|
include Aws::Structure
|
1836
1848
|
end
|
1837
1849
|
|
1850
|
+
# Unshare application request.
|
1851
|
+
#
|
1852
|
+
# @!attribute [rw] organization_id
|
1853
|
+
# The AWS Organization ID to unshare the application from.
|
1854
|
+
# @return [String]
|
1855
|
+
#
|
1856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplicationInput AWS API Documentation
|
1857
|
+
#
|
1858
|
+
class UnshareApplicationInput < Struct.new(
|
1859
|
+
:organization_id)
|
1860
|
+
include Aws::Structure
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
# @note When making an API call, you may pass UnshareApplicationRequest
|
1864
|
+
# data as a hash:
|
1865
|
+
#
|
1866
|
+
# {
|
1867
|
+
# application_id: "__string", # required
|
1868
|
+
# organization_id: "__string", # required
|
1869
|
+
# }
|
1870
|
+
#
|
1871
|
+
# @!attribute [rw] application_id
|
1872
|
+
# @return [String]
|
1873
|
+
#
|
1874
|
+
# @!attribute [rw] organization_id
|
1875
|
+
# @return [String]
|
1876
|
+
#
|
1877
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplicationRequest AWS API Documentation
|
1878
|
+
#
|
1879
|
+
class UnshareApplicationRequest < Struct.new(
|
1880
|
+
:application_id,
|
1881
|
+
:organization_id)
|
1882
|
+
include Aws::Structure
|
1883
|
+
end
|
1884
|
+
|
1838
1885
|
# Update the application request.
|
1839
1886
|
#
|
1840
1887
|
# @!attribute [rw] author
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-serverlessapplicationrepository
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.5.2.3
|
83
|
+
rubygems_version: 3.0.3
|
85
84
|
signing_key:
|
86
85
|
specification_version: 4
|
87
86
|
summary: AWS SDK for Ruby - AWSServerlessApplicationRepository
|