aws-sdk-signer 1.26.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +165 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-signer.rb +3 -3
- data/lib/aws-sdk-signer/client.rb +302 -8
- data/lib/aws-sdk-signer/client_api.rb +234 -16
- data/lib/aws-sdk-signer/errors.rb +99 -1
- data/lib/aws-sdk-signer/resource.rb +1 -1
- data/lib/aws-sdk-signer/types.rb +656 -21
- data/lib/aws-sdk-signer/waiters.rb +1 -1
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa49f9f01d4ee7e8fdb7de097f2750e2406449e6dc001ee546e32ffa397ce363
|
4
|
+
data.tar.gz: e0bf29f071ecdfe2c1036716b1323b423dd498f96b2551cd878d527d64155352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afffe3e66d55947db67239154bd7a2bb1f6deb3a034aeac2e63cde1e1dd248ad596662ff43a029fbfab9caf36c32f1758ecebb54135f8ec57aea5a730053a7cb
|
7
|
+
data.tar.gz: cccc5eae5a84181ac0b90b537342076e3a6c22a6c6adc382aacebd219aff7beb9742974d69f420491a59baec87baf6cd4882f6abf96f5339a42e04414a77dbd5
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.30.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.29.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.28.0 (2021-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.27.0 (2020-11-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - AWS Signer is launching code-signing for AWS Lambda. Now customers can cryptographically sign Lambda code to ensure trust, integrity, and functionality.
|
23
|
+
|
24
|
+
1.26.0 (2020-09-30)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.25.0 (2020-09-15)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.24.0 (2020-08-25)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.23.0 (2020-06-23)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.22.1 (2020-06-11)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
48
|
+
|
49
|
+
1.22.0 (2020-06-10)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Issue - This version has been yanked. (#2327).
|
53
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
54
|
+
|
55
|
+
1.21.0 (2020-05-28)
|
56
|
+
------------------
|
57
|
+
|
58
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
59
|
+
|
60
|
+
1.20.0 (2020-05-07)
|
61
|
+
------------------
|
62
|
+
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.19.0 (2020-03-09)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.18.0 (2020-03-06)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - This release enables signing image format override in PutSigningProfile requests, adding two more enum fields, JSONEmbedded and JSONDetached. This release also extends the length limit of SigningProfile name from 20 to 64.
|
74
|
+
|
75
|
+
1.17.0 (2019-11-06)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - This release adds support for tagging code-signing profiles in AWS Signer.
|
79
|
+
|
80
|
+
1.16.0 (2019-10-23)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.15.0 (2019-07-25)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.14.0 (2019-07-01)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.13.0 (2019-06-17)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.12.0 (2019-05-21)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - API update.
|
104
|
+
|
105
|
+
1.11.0 (2019-05-15)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - API update.
|
109
|
+
|
110
|
+
1.10.0 (2019-05-14)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - API update.
|
114
|
+
|
115
|
+
1.9.0 (2019-03-22)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.8.0 (2019-03-21)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.7.0 (2019-03-18)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.6.0 (2019-03-14)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.5.0 (2018-11-20)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.4.0 (2018-10-24)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.3.0 (2018-10-23)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.2.0 (2018-09-05)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.1.0 (2018-08-27)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
* Issue - Fix incorrectly generated gem.
|
161
|
+
|
162
|
+
1.0.0 (2018-08-27)
|
163
|
+
------------------
|
164
|
+
|
165
|
+
* Feature - Initial release of `aws-sdk-signer`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.30.0
|
data/lib/aws-sdk-signer.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -29,7 +29,7 @@ require_relative 'aws-sdk-signer/customizations'
|
|
29
29
|
# structure.
|
30
30
|
#
|
31
31
|
# signer = Aws::Signer::Client.new
|
32
|
-
# resp = signer.
|
32
|
+
# resp = signer.add_profile_permission(params)
|
33
33
|
#
|
34
34
|
# See {Client} for more information.
|
35
35
|
#
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-signer/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::Signer
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.30.0'
|
53
53
|
|
54
54
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -327,6 +327,55 @@ module Aws::Signer
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Adds cross-account permissions to a signing profile.
|
331
|
+
#
|
332
|
+
# @option params [required, String] :profile_name
|
333
|
+
# The human-readable name of the signing profile.
|
334
|
+
#
|
335
|
+
# @option params [String] :profile_version
|
336
|
+
# The version of the signing profile.
|
337
|
+
#
|
338
|
+
# @option params [required, String] :action
|
339
|
+
# The AWS Signer action permitted as part of cross-account permissions.
|
340
|
+
#
|
341
|
+
# @option params [required, String] :principal
|
342
|
+
# The AWS principal receiving cross-account permissions. This may be an
|
343
|
+
# IAM role or another AWS account ID.
|
344
|
+
#
|
345
|
+
# @option params [String] :revision_id
|
346
|
+
# A unique identifier for the current profile revision.
|
347
|
+
#
|
348
|
+
# @option params [required, String] :statement_id
|
349
|
+
# A unique identifier for the cross-account permission statement.
|
350
|
+
#
|
351
|
+
# @return [Types::AddProfilePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
352
|
+
#
|
353
|
+
# * {Types::AddProfilePermissionResponse#revision_id #revision_id} => String
|
354
|
+
#
|
355
|
+
# @example Request syntax with placeholder values
|
356
|
+
#
|
357
|
+
# resp = client.add_profile_permission({
|
358
|
+
# profile_name: "ProfileName", # required
|
359
|
+
# profile_version: "ProfileVersion",
|
360
|
+
# action: "String", # required
|
361
|
+
# principal: "String", # required
|
362
|
+
# revision_id: "String",
|
363
|
+
# statement_id: "String", # required
|
364
|
+
# })
|
365
|
+
#
|
366
|
+
# @example Response structure
|
367
|
+
#
|
368
|
+
# resp.revision_id #=> String
|
369
|
+
#
|
370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/AddProfilePermission AWS API Documentation
|
371
|
+
#
|
372
|
+
# @overload add_profile_permission(params = {})
|
373
|
+
# @param [Hash] params ({})
|
374
|
+
def add_profile_permission(params = {}, options = {})
|
375
|
+
req = build_request(:add_profile_permission, params)
|
376
|
+
req.send_request(options)
|
377
|
+
end
|
378
|
+
|
330
379
|
# Changes the state of an `ACTIVE` signing profile to `CANCELED`. A
|
331
380
|
# canceled profile is still viewable with the `ListSigningProfiles`
|
332
381
|
# operation, but it cannot perform new signing jobs, and is deleted two
|
@@ -365,15 +414,21 @@ module Aws::Signer
|
|
365
414
|
# * {Types::DescribeSigningJobResponse#source #source} => Types::Source
|
366
415
|
# * {Types::DescribeSigningJobResponse#signing_material #signing_material} => Types::SigningMaterial
|
367
416
|
# * {Types::DescribeSigningJobResponse#platform_id #platform_id} => String
|
417
|
+
# * {Types::DescribeSigningJobResponse#platform_display_name #platform_display_name} => String
|
368
418
|
# * {Types::DescribeSigningJobResponse#profile_name #profile_name} => String
|
419
|
+
# * {Types::DescribeSigningJobResponse#profile_version #profile_version} => String
|
369
420
|
# * {Types::DescribeSigningJobResponse#overrides #overrides} => Types::SigningPlatformOverrides
|
370
421
|
# * {Types::DescribeSigningJobResponse#signing_parameters #signing_parameters} => Hash<String,String>
|
371
422
|
# * {Types::DescribeSigningJobResponse#created_at #created_at} => Time
|
372
423
|
# * {Types::DescribeSigningJobResponse#completed_at #completed_at} => Time
|
424
|
+
# * {Types::DescribeSigningJobResponse#signature_expires_at #signature_expires_at} => Time
|
373
425
|
# * {Types::DescribeSigningJobResponse#requested_by #requested_by} => String
|
374
426
|
# * {Types::DescribeSigningJobResponse#status #status} => String
|
375
427
|
# * {Types::DescribeSigningJobResponse#status_reason #status_reason} => String
|
428
|
+
# * {Types::DescribeSigningJobResponse#revocation_record #revocation_record} => Types::SigningJobRevocationRecord
|
376
429
|
# * {Types::DescribeSigningJobResponse#signed_object #signed_object} => Types::SignedObject
|
430
|
+
# * {Types::DescribeSigningJobResponse#job_owner #job_owner} => String
|
431
|
+
# * {Types::DescribeSigningJobResponse#job_invoker #job_invoker} => String
|
377
432
|
#
|
378
433
|
# @example Request syntax with placeholder values
|
379
434
|
#
|
@@ -389,7 +444,9 @@ module Aws::Signer
|
|
389
444
|
# resp.source.s3.version #=> String
|
390
445
|
# resp.signing_material.certificate_arn #=> String
|
391
446
|
# resp.platform_id #=> String
|
447
|
+
# resp.platform_display_name #=> String
|
392
448
|
# resp.profile_name #=> String
|
449
|
+
# resp.profile_version #=> String
|
393
450
|
# resp.overrides.signing_configuration.encryption_algorithm #=> String, one of "RSA", "ECDSA"
|
394
451
|
# resp.overrides.signing_configuration.hash_algorithm #=> String, one of "SHA1", "SHA256"
|
395
452
|
# resp.overrides.signing_image_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
@@ -397,11 +454,17 @@ module Aws::Signer
|
|
397
454
|
# resp.signing_parameters["SigningParameterKey"] #=> String
|
398
455
|
# resp.created_at #=> Time
|
399
456
|
# resp.completed_at #=> Time
|
457
|
+
# resp.signature_expires_at #=> Time
|
400
458
|
# resp.requested_by #=> String
|
401
459
|
# resp.status #=> String, one of "InProgress", "Failed", "Succeeded"
|
402
460
|
# resp.status_reason #=> String
|
461
|
+
# resp.revocation_record.reason #=> String
|
462
|
+
# resp.revocation_record.revoked_at #=> Time
|
463
|
+
# resp.revocation_record.revoked_by #=> String
|
403
464
|
# resp.signed_object.s3.bucket_name #=> String
|
404
465
|
# resp.signed_object.s3.key #=> String
|
466
|
+
# resp.job_owner #=> String
|
467
|
+
# resp.job_invoker #=> String
|
405
468
|
#
|
406
469
|
#
|
407
470
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -432,6 +495,7 @@ module Aws::Signer
|
|
432
495
|
# * {Types::GetSigningPlatformResponse#signing_configuration #signing_configuration} => Types::SigningConfiguration
|
433
496
|
# * {Types::GetSigningPlatformResponse#signing_image_format #signing_image_format} => Types::SigningImageFormat
|
434
497
|
# * {Types::GetSigningPlatformResponse#max_size_in_mb #max_size_in_mb} => Integer
|
498
|
+
# * {Types::GetSigningPlatformResponse#revocation_supported #revocation_supported} => Boolean
|
435
499
|
#
|
436
500
|
# @example Request syntax with placeholder values
|
437
501
|
#
|
@@ -456,6 +520,7 @@ module Aws::Signer
|
|
456
520
|
# resp.signing_image_format.supported_formats[0] #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
457
521
|
# resp.signing_image_format.default_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
458
522
|
# resp.max_size_in_mb #=> Integer
|
523
|
+
# resp.revocation_supported #=> Boolean
|
459
524
|
#
|
460
525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatform AWS API Documentation
|
461
526
|
#
|
@@ -471,14 +536,23 @@ module Aws::Signer
|
|
471
536
|
# @option params [required, String] :profile_name
|
472
537
|
# The name of the target signing profile.
|
473
538
|
#
|
539
|
+
# @option params [String] :profile_owner
|
540
|
+
# The AWS account ID of the profile owner.
|
541
|
+
#
|
474
542
|
# @return [Types::GetSigningProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
475
543
|
#
|
476
544
|
# * {Types::GetSigningProfileResponse#profile_name #profile_name} => String
|
545
|
+
# * {Types::GetSigningProfileResponse#profile_version #profile_version} => String
|
546
|
+
# * {Types::GetSigningProfileResponse#profile_version_arn #profile_version_arn} => String
|
547
|
+
# * {Types::GetSigningProfileResponse#revocation_record #revocation_record} => Types::SigningProfileRevocationRecord
|
477
548
|
# * {Types::GetSigningProfileResponse#signing_material #signing_material} => Types::SigningMaterial
|
478
549
|
# * {Types::GetSigningProfileResponse#platform_id #platform_id} => String
|
550
|
+
# * {Types::GetSigningProfileResponse#platform_display_name #platform_display_name} => String
|
551
|
+
# * {Types::GetSigningProfileResponse#signature_validity_period #signature_validity_period} => Types::SignatureValidityPeriod
|
479
552
|
# * {Types::GetSigningProfileResponse#overrides #overrides} => Types::SigningPlatformOverrides
|
480
553
|
# * {Types::GetSigningProfileResponse#signing_parameters #signing_parameters} => Hash<String,String>
|
481
554
|
# * {Types::GetSigningProfileResponse#status #status} => String
|
555
|
+
# * {Types::GetSigningProfileResponse#status_reason #status_reason} => String
|
482
556
|
# * {Types::GetSigningProfileResponse#arn #arn} => String
|
483
557
|
# * {Types::GetSigningProfileResponse#tags #tags} => Hash<String,String>
|
484
558
|
#
|
@@ -486,19 +560,29 @@ module Aws::Signer
|
|
486
560
|
#
|
487
561
|
# resp = client.get_signing_profile({
|
488
562
|
# profile_name: "ProfileName", # required
|
563
|
+
# profile_owner: "AccountId",
|
489
564
|
# })
|
490
565
|
#
|
491
566
|
# @example Response structure
|
492
567
|
#
|
493
568
|
# resp.profile_name #=> String
|
569
|
+
# resp.profile_version #=> String
|
570
|
+
# resp.profile_version_arn #=> String
|
571
|
+
# resp.revocation_record.revocation_effective_from #=> Time
|
572
|
+
# resp.revocation_record.revoked_at #=> Time
|
573
|
+
# resp.revocation_record.revoked_by #=> String
|
494
574
|
# resp.signing_material.certificate_arn #=> String
|
495
575
|
# resp.platform_id #=> String
|
576
|
+
# resp.platform_display_name #=> String
|
577
|
+
# resp.signature_validity_period.value #=> Integer
|
578
|
+
# resp.signature_validity_period.type #=> String, one of "DAYS", "MONTHS", "YEARS"
|
496
579
|
# resp.overrides.signing_configuration.encryption_algorithm #=> String, one of "RSA", "ECDSA"
|
497
580
|
# resp.overrides.signing_configuration.hash_algorithm #=> String, one of "SHA1", "SHA256"
|
498
581
|
# resp.overrides.signing_image_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
499
582
|
# resp.signing_parameters #=> Hash
|
500
583
|
# resp.signing_parameters["SigningParameterKey"] #=> String
|
501
|
-
# resp.status #=> String, one of "Active", "Canceled"
|
584
|
+
# resp.status #=> String, one of "Active", "Canceled", "Revoked"
|
585
|
+
# resp.status_reason #=> String
|
502
586
|
# resp.arn #=> String
|
503
587
|
# resp.tags #=> Hash
|
504
588
|
# resp.tags["TagKey"] #=> String
|
@@ -512,6 +596,48 @@ module Aws::Signer
|
|
512
596
|
req.send_request(options)
|
513
597
|
end
|
514
598
|
|
599
|
+
# Lists the cross-account permissions associated with a signing profile.
|
600
|
+
#
|
601
|
+
# @option params [required, String] :profile_name
|
602
|
+
# Name of the signing profile containing the cross-account permissions.
|
603
|
+
#
|
604
|
+
# @option params [String] :next_token
|
605
|
+
# String for specifying the next set of paginated results.
|
606
|
+
#
|
607
|
+
# @return [Types::ListProfilePermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
608
|
+
#
|
609
|
+
# * {Types::ListProfilePermissionsResponse#revision_id #revision_id} => String
|
610
|
+
# * {Types::ListProfilePermissionsResponse#policy_size_bytes #policy_size_bytes} => Integer
|
611
|
+
# * {Types::ListProfilePermissionsResponse#permissions #permissions} => Array<Types::Permission>
|
612
|
+
# * {Types::ListProfilePermissionsResponse#next_token #next_token} => String
|
613
|
+
#
|
614
|
+
# @example Request syntax with placeholder values
|
615
|
+
#
|
616
|
+
# resp = client.list_profile_permissions({
|
617
|
+
# profile_name: "ProfileName", # required
|
618
|
+
# next_token: "String",
|
619
|
+
# })
|
620
|
+
#
|
621
|
+
# @example Response structure
|
622
|
+
#
|
623
|
+
# resp.revision_id #=> String
|
624
|
+
# resp.policy_size_bytes #=> Integer
|
625
|
+
# resp.permissions #=> Array
|
626
|
+
# resp.permissions[0].action #=> String
|
627
|
+
# resp.permissions[0].principal #=> String
|
628
|
+
# resp.permissions[0].statement_id #=> String
|
629
|
+
# resp.permissions[0].profile_version #=> String
|
630
|
+
# resp.next_token #=> String
|
631
|
+
#
|
632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListProfilePermissions AWS API Documentation
|
633
|
+
#
|
634
|
+
# @overload list_profile_permissions(params = {})
|
635
|
+
# @param [Hash] params ({})
|
636
|
+
def list_profile_permissions(params = {}, options = {})
|
637
|
+
req = build_request(:list_profile_permissions, params)
|
638
|
+
req.send_request(options)
|
639
|
+
end
|
640
|
+
|
515
641
|
# Lists all your signing jobs. You can use the `maxResults` parameter to
|
516
642
|
# limit the number of signing jobs that are returned in the response. If
|
517
643
|
# additional jobs remain to be listed, code signing returns a
|
@@ -544,6 +670,21 @@ module Aws::Signer
|
|
544
670
|
# parameter in a subsequent request. Set it to the value of `nextToken`
|
545
671
|
# from the response that you just received.
|
546
672
|
#
|
673
|
+
# @option params [Boolean] :is_revoked
|
674
|
+
# Filters results to return only signing jobs with revoked signatures.
|
675
|
+
#
|
676
|
+
# @option params [Time,DateTime,Date,Integer,String] :signature_expires_before
|
677
|
+
# Filters results to return only signing jobs with signatures expiring
|
678
|
+
# before a specified timestamp.
|
679
|
+
#
|
680
|
+
# @option params [Time,DateTime,Date,Integer,String] :signature_expires_after
|
681
|
+
# Filters results to return only signing jobs with signatures expiring
|
682
|
+
# after a specified timestamp.
|
683
|
+
#
|
684
|
+
# @option params [String] :job_invoker
|
685
|
+
# Filters results to return only signing jobs initiated by a specified
|
686
|
+
# IAM entity.
|
687
|
+
#
|
547
688
|
# @return [Types::ListSigningJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
548
689
|
#
|
549
690
|
# * {Types::ListSigningJobsResponse#jobs #jobs} => Array<Types::SigningJob>
|
@@ -559,6 +700,10 @@ module Aws::Signer
|
|
559
700
|
# requested_by: "RequestedBy",
|
560
701
|
# max_results: 1,
|
561
702
|
# next_token: "NextToken",
|
703
|
+
# is_revoked: false,
|
704
|
+
# signature_expires_before: Time.now,
|
705
|
+
# signature_expires_after: Time.now,
|
706
|
+
# job_invoker: "AccountId",
|
562
707
|
# })
|
563
708
|
#
|
564
709
|
# @example Response structure
|
@@ -573,6 +718,14 @@ module Aws::Signer
|
|
573
718
|
# resp.jobs[0].signing_material.certificate_arn #=> String
|
574
719
|
# resp.jobs[0].created_at #=> Time
|
575
720
|
# resp.jobs[0].status #=> String, one of "InProgress", "Failed", "Succeeded"
|
721
|
+
# resp.jobs[0].is_revoked #=> Boolean
|
722
|
+
# resp.jobs[0].profile_name #=> String
|
723
|
+
# resp.jobs[0].profile_version #=> String
|
724
|
+
# resp.jobs[0].platform_id #=> String
|
725
|
+
# resp.jobs[0].platform_display_name #=> String
|
726
|
+
# resp.jobs[0].signature_expires_at #=> Time
|
727
|
+
# resp.jobs[0].job_owner #=> String
|
728
|
+
# resp.jobs[0].job_invoker #=> String
|
576
729
|
# resp.next_token #=> String
|
577
730
|
#
|
578
731
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningJobs AWS API Documentation
|
@@ -645,6 +798,7 @@ module Aws::Signer
|
|
645
798
|
# resp.platforms[0].signing_image_format.supported_formats[0] #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
646
799
|
# resp.platforms[0].signing_image_format.default_format #=> String, one of "JSON", "JSONEmbedded", "JSONDetached"
|
647
800
|
# resp.platforms[0].max_size_in_mb #=> Integer
|
801
|
+
# resp.platforms[0].revocation_supported #=> Boolean
|
648
802
|
# resp.next_token #=> String
|
649
803
|
#
|
650
804
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningPlatforms AWS API Documentation
|
@@ -677,6 +831,14 @@ module Aws::Signer
|
|
677
831
|
# parameter in a subsequent request. Set it to the value of `nextToken`
|
678
832
|
# from the response that you just received.
|
679
833
|
#
|
834
|
+
# @option params [String] :platform_id
|
835
|
+
# Filters results to return only signing jobs initiated for a specified
|
836
|
+
# signing platform.
|
837
|
+
#
|
838
|
+
# @option params [Array<String>] :statuses
|
839
|
+
# Filters results to return only signing jobs with statuses in the
|
840
|
+
# specified list.
|
841
|
+
#
|
680
842
|
# @return [Types::ListSigningProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
681
843
|
#
|
682
844
|
# * {Types::ListSigningProfilesResponse#profiles #profiles} => Array<Types::SigningProfile>
|
@@ -690,17 +852,24 @@ module Aws::Signer
|
|
690
852
|
# include_canceled: false,
|
691
853
|
# max_results: 1,
|
692
854
|
# next_token: "NextToken",
|
855
|
+
# platform_id: "PlatformId",
|
856
|
+
# statuses: ["Active"], # accepts Active, Canceled, Revoked
|
693
857
|
# })
|
694
858
|
#
|
695
859
|
# @example Response structure
|
696
860
|
#
|
697
861
|
# resp.profiles #=> Array
|
698
862
|
# resp.profiles[0].profile_name #=> String
|
863
|
+
# resp.profiles[0].profile_version #=> String
|
864
|
+
# resp.profiles[0].profile_version_arn #=> String
|
699
865
|
# resp.profiles[0].signing_material.certificate_arn #=> String
|
866
|
+
# resp.profiles[0].signature_validity_period.value #=> Integer
|
867
|
+
# resp.profiles[0].signature_validity_period.type #=> String, one of "DAYS", "MONTHS", "YEARS"
|
700
868
|
# resp.profiles[0].platform_id #=> String
|
869
|
+
# resp.profiles[0].platform_display_name #=> String
|
701
870
|
# resp.profiles[0].signing_parameters #=> Hash
|
702
871
|
# resp.profiles[0].signing_parameters["SigningParameterKey"] #=> String
|
703
|
-
# resp.profiles[0].status #=> String, one of "Active", "Canceled"
|
872
|
+
# resp.profiles[0].status #=> String, one of "Active", "Canceled", "Revoked"
|
704
873
|
# resp.profiles[0].arn #=> String
|
705
874
|
# resp.profiles[0].tags #=> Hash
|
706
875
|
# resp.profiles[0].tags["TagKey"] #=> String
|
@@ -756,10 +925,14 @@ module Aws::Signer
|
|
756
925
|
# @option params [required, String] :profile_name
|
757
926
|
# The name of the signing profile to be created.
|
758
927
|
#
|
759
|
-
# @option params [
|
928
|
+
# @option params [Types::SigningMaterial] :signing_material
|
760
929
|
# The AWS Certificate Manager certificate that will be used to sign code
|
761
930
|
# with the new signing profile.
|
762
931
|
#
|
932
|
+
# @option params [Types::SignatureValidityPeriod] :signature_validity_period
|
933
|
+
# The default validity period override for any signature generated using
|
934
|
+
# this signing profile. If unspecified, the default is 135 months.
|
935
|
+
#
|
763
936
|
# @option params [required, String] :platform_id
|
764
937
|
# The ID of the signing platform to be created.
|
765
938
|
#
|
@@ -778,14 +951,20 @@ module Aws::Signer
|
|
778
951
|
# @return [Types::PutSigningProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
779
952
|
#
|
780
953
|
# * {Types::PutSigningProfileResponse#arn #arn} => String
|
954
|
+
# * {Types::PutSigningProfileResponse#profile_version #profile_version} => String
|
955
|
+
# * {Types::PutSigningProfileResponse#profile_version_arn #profile_version_arn} => String
|
781
956
|
#
|
782
957
|
# @example Request syntax with placeholder values
|
783
958
|
#
|
784
959
|
# resp = client.put_signing_profile({
|
785
960
|
# profile_name: "ProfileName", # required
|
786
|
-
# signing_material: {
|
961
|
+
# signing_material: {
|
787
962
|
# certificate_arn: "CertificateArn", # required
|
788
963
|
# },
|
964
|
+
# signature_validity_period: {
|
965
|
+
# value: 1,
|
966
|
+
# type: "DAYS", # accepts DAYS, MONTHS, YEARS
|
967
|
+
# },
|
789
968
|
# platform_id: "PlatformId", # required
|
790
969
|
# overrides: {
|
791
970
|
# signing_configuration: {
|
@@ -805,6 +984,8 @@ module Aws::Signer
|
|
805
984
|
# @example Response structure
|
806
985
|
#
|
807
986
|
# resp.arn #=> String
|
987
|
+
# resp.profile_version #=> String
|
988
|
+
# resp.profile_version_arn #=> String
|
808
989
|
#
|
809
990
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfile AWS API Documentation
|
810
991
|
#
|
@@ -815,6 +996,113 @@ module Aws::Signer
|
|
815
996
|
req.send_request(options)
|
816
997
|
end
|
817
998
|
|
999
|
+
# Removes cross-account permissions from a signing profile.
|
1000
|
+
#
|
1001
|
+
# @option params [required, String] :profile_name
|
1002
|
+
# A human-readable name for the signing profile with permissions to be
|
1003
|
+
# removed.
|
1004
|
+
#
|
1005
|
+
# @option params [required, String] :revision_id
|
1006
|
+
# An identifier for the current revision of the signing profile
|
1007
|
+
# permissions.
|
1008
|
+
#
|
1009
|
+
# @option params [required, String] :statement_id
|
1010
|
+
# A unique identifier for the cross-account permissions statement.
|
1011
|
+
#
|
1012
|
+
# @return [Types::RemoveProfilePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1013
|
+
#
|
1014
|
+
# * {Types::RemoveProfilePermissionResponse#revision_id #revision_id} => String
|
1015
|
+
#
|
1016
|
+
# @example Request syntax with placeholder values
|
1017
|
+
#
|
1018
|
+
# resp = client.remove_profile_permission({
|
1019
|
+
# profile_name: "ProfileName", # required
|
1020
|
+
# revision_id: "String", # required
|
1021
|
+
# statement_id: "String", # required
|
1022
|
+
# })
|
1023
|
+
#
|
1024
|
+
# @example Response structure
|
1025
|
+
#
|
1026
|
+
# resp.revision_id #=> String
|
1027
|
+
#
|
1028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RemoveProfilePermission AWS API Documentation
|
1029
|
+
#
|
1030
|
+
# @overload remove_profile_permission(params = {})
|
1031
|
+
# @param [Hash] params ({})
|
1032
|
+
def remove_profile_permission(params = {}, options = {})
|
1033
|
+
req = build_request(:remove_profile_permission, params)
|
1034
|
+
req.send_request(options)
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# Changes the state of a signing job to REVOKED. This indicates that the
|
1038
|
+
# signature is no longer valid.
|
1039
|
+
#
|
1040
|
+
# @option params [required, String] :job_id
|
1041
|
+
# ID of the signing job to be revoked.
|
1042
|
+
#
|
1043
|
+
# @option params [String] :job_owner
|
1044
|
+
# AWS account ID of the job owner.
|
1045
|
+
#
|
1046
|
+
# @option params [required, String] :reason
|
1047
|
+
# The reason for revoking the signing job.
|
1048
|
+
#
|
1049
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1050
|
+
#
|
1051
|
+
# @example Request syntax with placeholder values
|
1052
|
+
#
|
1053
|
+
# resp = client.revoke_signature({
|
1054
|
+
# job_id: "JobId", # required
|
1055
|
+
# job_owner: "AccountId",
|
1056
|
+
# reason: "RevocationReasonString", # required
|
1057
|
+
# })
|
1058
|
+
#
|
1059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSignature AWS API Documentation
|
1060
|
+
#
|
1061
|
+
# @overload revoke_signature(params = {})
|
1062
|
+
# @param [Hash] params ({})
|
1063
|
+
def revoke_signature(params = {}, options = {})
|
1064
|
+
req = build_request(:revoke_signature, params)
|
1065
|
+
req.send_request(options)
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Changes the state of a signing profile to REVOKED. This indicates that
|
1069
|
+
# signatures generated using the signing profile after an effective
|
1070
|
+
# start date are no longer valid.
|
1071
|
+
#
|
1072
|
+
# @option params [required, String] :profile_name
|
1073
|
+
# The name of the signing profile to be revoked.
|
1074
|
+
#
|
1075
|
+
# @option params [required, String] :profile_version
|
1076
|
+
# The version of the signing profile to be revoked.
|
1077
|
+
#
|
1078
|
+
# @option params [required, String] :reason
|
1079
|
+
# The reason for revoking a signing profile.
|
1080
|
+
#
|
1081
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :effective_time
|
1082
|
+
# A timestamp for when revocation of a Signing Profile should become
|
1083
|
+
# effective. Signatures generated using the signing profile after this
|
1084
|
+
# timestamp are not trusted.
|
1085
|
+
#
|
1086
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1087
|
+
#
|
1088
|
+
# @example Request syntax with placeholder values
|
1089
|
+
#
|
1090
|
+
# resp = client.revoke_signing_profile({
|
1091
|
+
# profile_name: "ProfileName", # required
|
1092
|
+
# profile_version: "ProfileVersion", # required
|
1093
|
+
# reason: "RevocationReasonString", # required
|
1094
|
+
# effective_time: Time.now, # required
|
1095
|
+
# })
|
1096
|
+
#
|
1097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSigningProfile AWS API Documentation
|
1098
|
+
#
|
1099
|
+
# @overload revoke_signing_profile(params = {})
|
1100
|
+
# @param [Hash] params ({})
|
1101
|
+
def revoke_signing_profile(params = {}, options = {})
|
1102
|
+
req = build_request(:revoke_signing_profile, params)
|
1103
|
+
req.send_request(options)
|
1104
|
+
end
|
1105
|
+
|
818
1106
|
# Initiates a signing job to be performed on the code provided. Signing
|
819
1107
|
# jobs are viewable by the `ListSigningJobs` operation for two years
|
820
1108
|
# after they are performed. Note the following requirements:
|
@@ -852,7 +1140,7 @@ module Aws::Signer
|
|
852
1140
|
# The S3 bucket in which to save your signed object. The destination
|
853
1141
|
# contains the name of your bucket and an optional prefix.
|
854
1142
|
#
|
855
|
-
# @option params [String] :profile_name
|
1143
|
+
# @option params [required, String] :profile_name
|
856
1144
|
# The name of the signing profile.
|
857
1145
|
#
|
858
1146
|
# @option params [required, String] :client_request_token
|
@@ -862,9 +1150,13 @@ module Aws::Signer
|
|
862
1150
|
# **A suitable default value is auto-generated.** You should normally
|
863
1151
|
# not need to pass this option.**
|
864
1152
|
#
|
1153
|
+
# @option params [String] :profile_owner
|
1154
|
+
# The AWS account ID of the signing profile owner.
|
1155
|
+
#
|
865
1156
|
# @return [Types::StartSigningJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
866
1157
|
#
|
867
1158
|
# * {Types::StartSigningJobResponse#job_id #job_id} => String
|
1159
|
+
# * {Types::StartSigningJobResponse#job_owner #job_owner} => String
|
868
1160
|
#
|
869
1161
|
# @example Request syntax with placeholder values
|
870
1162
|
#
|
@@ -882,13 +1174,15 @@ module Aws::Signer
|
|
882
1174
|
# prefix: "Prefix",
|
883
1175
|
# },
|
884
1176
|
# },
|
885
|
-
# profile_name: "ProfileName",
|
1177
|
+
# profile_name: "ProfileName", # required
|
886
1178
|
# client_request_token: "ClientRequestToken", # required
|
1179
|
+
# profile_owner: "AccountId",
|
887
1180
|
# })
|
888
1181
|
#
|
889
1182
|
# @example Response structure
|
890
1183
|
#
|
891
1184
|
# resp.job_id #=> String
|
1185
|
+
# resp.job_owner #=> String
|
892
1186
|
#
|
893
1187
|
# @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJob AWS API Documentation
|
894
1188
|
#
|
@@ -971,7 +1265,7 @@ module Aws::Signer
|
|
971
1265
|
params: params,
|
972
1266
|
config: config)
|
973
1267
|
context[:gem_name] = 'aws-sdk-signer'
|
974
|
-
context[:gem_version] = '1.
|
1268
|
+
context[:gem_version] = '1.30.0'
|
975
1269
|
Seahorse::Client::Request.new(handlers, context)
|
976
1270
|
end
|
977
1271
|
|