aws-sdk-cloudhsmv2 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-cloudhsmv2.rb +1 -1
- data/lib/aws-sdk-cloudhsmv2/client.rb +1 -1
- data/lib/aws-sdk-cloudhsmv2/client_api.rb +15 -0
- data/lib/aws-sdk-cloudhsmv2/errors.rb +80 -0
- data/lib/aws-sdk-cloudhsmv2/types.rb +63 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e02a61418d0113ef1d564b872417bd912cad178
|
4
|
+
data.tar.gz: 5f7f6c0c0cf384a168675f13fbeb7b26434f476b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b7de5e1a3bc62fb81f7dd2d2b76a1593abbe8a4a3f12ff67bcd7ce9ecb2bed163706e2d1b7649ee7e74419af2788220ace69fe7c511455de0c4586cf53a5a7
|
7
|
+
data.tar.gz: 1f7b71cd991d47e4367f30e5b06c42045cb8e7c8f18c892b52c02ad660486d735ac0d3d5f9e43db3c0694e4768bf36c0050a974f2d14fc20cbc6a8706cf45c37
|
data/lib/aws-sdk-cloudhsmv2.rb
CHANGED
@@ -105,6 +105,21 @@ module Aws::CloudHSMV2
|
|
105
105
|
Certificates.add_member(:cluster_certificate, Shapes::ShapeRef.new(shape: Cert, location_name: "ClusterCertificate"))
|
106
106
|
Certificates.struct_class = Types::Certificates
|
107
107
|
|
108
|
+
CloudHsmAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
109
|
+
CloudHsmAccessDeniedException.struct_class = Types::CloudHsmAccessDeniedException
|
110
|
+
|
111
|
+
CloudHsmInternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
112
|
+
CloudHsmInternalFailureException.struct_class = Types::CloudHsmInternalFailureException
|
113
|
+
|
114
|
+
CloudHsmInvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
115
|
+
CloudHsmInvalidRequestException.struct_class = Types::CloudHsmInvalidRequestException
|
116
|
+
|
117
|
+
CloudHsmResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
118
|
+
CloudHsmResourceNotFoundException.struct_class = Types::CloudHsmResourceNotFoundException
|
119
|
+
|
120
|
+
CloudHsmServiceException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
121
|
+
CloudHsmServiceException.struct_class = Types::CloudHsmServiceException
|
122
|
+
|
108
123
|
Cluster.add_member(:backup_policy, Shapes::ShapeRef.new(shape: BackupPolicy, location_name: "BackupPolicy"))
|
109
124
|
Cluster.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, location_name: "ClusterId"))
|
110
125
|
Cluster.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTimestamp"))
|
@@ -10,5 +10,85 @@ module Aws::CloudHSMV2
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class CloudHsmAccessDeniedException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::CloudHSMV2::Types::CloudHsmAccessDeniedException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class CloudHsmInternalFailureException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::CloudHSMV2::Types::CloudHsmInternalFailureException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class CloudHsmInvalidRequestException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::CloudHSMV2::Types::CloudHsmInvalidRequestException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class CloudHsmResourceNotFoundException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::CloudHSMV2::Types::CloudHsmResourceNotFoundException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class CloudHsmServiceException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::CloudHSMV2::Types::CloudHsmServiceException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
13
93
|
end
|
14
94
|
end
|
@@ -94,6 +94,69 @@ module Aws::CloudHSMV2
|
|
94
94
|
include Aws::Structure
|
95
95
|
end
|
96
96
|
|
97
|
+
# The request was rejected because the requester does not have
|
98
|
+
# permission to perform the requested operation.
|
99
|
+
#
|
100
|
+
# @!attribute [rw] message
|
101
|
+
# @return [String]
|
102
|
+
#
|
103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CloudHsmAccessDeniedException AWS API Documentation
|
104
|
+
#
|
105
|
+
class CloudHsmAccessDeniedException < Struct.new(
|
106
|
+
:message)
|
107
|
+
include Aws::Structure
|
108
|
+
end
|
109
|
+
|
110
|
+
# The request was rejected because of an AWS CloudHSM internal failure.
|
111
|
+
# The request can be retried.
|
112
|
+
#
|
113
|
+
# @!attribute [rw] message
|
114
|
+
# @return [String]
|
115
|
+
#
|
116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CloudHsmInternalFailureException AWS API Documentation
|
117
|
+
#
|
118
|
+
class CloudHsmInternalFailureException < Struct.new(
|
119
|
+
:message)
|
120
|
+
include Aws::Structure
|
121
|
+
end
|
122
|
+
|
123
|
+
# The request was rejected because it is not a valid request.
|
124
|
+
#
|
125
|
+
# @!attribute [rw] message
|
126
|
+
# @return [String]
|
127
|
+
#
|
128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CloudHsmInvalidRequestException AWS API Documentation
|
129
|
+
#
|
130
|
+
class CloudHsmInvalidRequestException < Struct.new(
|
131
|
+
:message)
|
132
|
+
include Aws::Structure
|
133
|
+
end
|
134
|
+
|
135
|
+
# The request was rejected because it refers to a resource that cannot
|
136
|
+
# be found.
|
137
|
+
#
|
138
|
+
# @!attribute [rw] message
|
139
|
+
# @return [String]
|
140
|
+
#
|
141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CloudHsmResourceNotFoundException AWS API Documentation
|
142
|
+
#
|
143
|
+
class CloudHsmResourceNotFoundException < Struct.new(
|
144
|
+
:message)
|
145
|
+
include Aws::Structure
|
146
|
+
end
|
147
|
+
|
148
|
+
# The request was rejected because an error occurred.
|
149
|
+
#
|
150
|
+
# @!attribute [rw] message
|
151
|
+
# @return [String]
|
152
|
+
#
|
153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CloudHsmServiceException AWS API Documentation
|
154
|
+
#
|
155
|
+
class CloudHsmServiceException < Struct.new(
|
156
|
+
:message)
|
157
|
+
include Aws::Structure
|
158
|
+
end
|
159
|
+
|
97
160
|
# Contains information about an AWS CloudHSM cluster.
|
98
161
|
#
|
99
162
|
# @!attribute [rw] backup_policy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudhsmv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.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: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|