aws-sdk-outposts 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,228 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Outposts
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
16
+ AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
17
+ AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
18
+ CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
19
+ CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
20
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
21
+ GetOutpostInput = Shapes::StructureShape.new(name: 'GetOutpostInput')
22
+ GetOutpostInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesInput')
23
+ GetOutpostInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesOutput')
24
+ GetOutpostOutput = Shapes::StructureShape.new(name: 'GetOutpostOutput')
25
+ InstanceType = Shapes::StringShape.new(name: 'InstanceType')
26
+ InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem')
27
+ InstanceTypeListDefinition = Shapes::ListShape.new(name: 'InstanceTypeListDefinition')
28
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
29
+ LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
30
+ ListOutpostsInput = Shapes::StructureShape.new(name: 'ListOutpostsInput')
31
+ ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
32
+ ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
33
+ ListSitesOutput = Shapes::StructureShape.new(name: 'ListSitesOutput')
34
+ MaxResults1000 = Shapes::IntegerShape.new(name: 'MaxResults1000')
35
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
36
+ Outpost = Shapes::StructureShape.new(name: 'Outpost')
37
+ OutpostArn = Shapes::StringShape.new(name: 'OutpostArn')
38
+ OutpostDescription = Shapes::StringShape.new(name: 'OutpostDescription')
39
+ OutpostId = Shapes::StringShape.new(name: 'OutpostId')
40
+ OutpostName = Shapes::StringShape.new(name: 'OutpostName')
41
+ OwnerId = Shapes::StringShape.new(name: 'OwnerId')
42
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
43
+ Site = Shapes::StructureShape.new(name: 'Site')
44
+ SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
45
+ SiteId = Shapes::StringShape.new(name: 'SiteId')
46
+ SiteName = Shapes::StringShape.new(name: 'SiteName')
47
+ Token = Shapes::StringShape.new(name: 'Token')
48
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
49
+ outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
50
+ siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
51
+
52
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
53
+ AccessDeniedException.struct_class = Types::AccessDeniedException
54
+
55
+ CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, location_name: "Name"))
56
+ CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
57
+ CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
58
+ CreateOutpostInput.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
59
+ CreateOutpostInput.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
60
+ CreateOutpostInput.struct_class = Types::CreateOutpostInput
61
+
62
+ CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
63
+ CreateOutpostOutput.struct_class = Types::CreateOutpostOutput
64
+
65
+ GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
66
+ GetOutpostInput.struct_class = Types::GetOutpostInput
67
+
68
+ GetOutpostInstanceTypesInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
69
+ GetOutpostInstanceTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
70
+ GetOutpostInstanceTypesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
71
+ GetOutpostInstanceTypesInput.struct_class = Types::GetOutpostInstanceTypesInput
72
+
73
+ GetOutpostInstanceTypesOutput.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeListDefinition, location_name: "InstanceTypes"))
74
+ GetOutpostInstanceTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
75
+ GetOutpostInstanceTypesOutput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
76
+ GetOutpostInstanceTypesOutput.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
77
+ GetOutpostInstanceTypesOutput.struct_class = Types::GetOutpostInstanceTypesOutput
78
+
79
+ GetOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
80
+ GetOutpostOutput.struct_class = Types::GetOutpostOutput
81
+
82
+ InstanceTypeItem.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
83
+ InstanceTypeItem.struct_class = Types::InstanceTypeItem
84
+
85
+ InstanceTypeListDefinition.member = Shapes::ShapeRef.new(shape: InstanceTypeItem)
86
+
87
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
88
+ InternalServerException.struct_class = Types::InternalServerException
89
+
90
+ ListOutpostsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
91
+ ListOutpostsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
92
+ ListOutpostsInput.struct_class = Types::ListOutpostsInput
93
+
94
+ ListOutpostsOutput.add_member(:outposts, Shapes::ShapeRef.new(shape: outpostListDefinition, location_name: "Outposts"))
95
+ ListOutpostsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
96
+ ListOutpostsOutput.struct_class = Types::ListOutpostsOutput
97
+
98
+ ListSitesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
99
+ ListSitesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
100
+ ListSitesInput.struct_class = Types::ListSitesInput
101
+
102
+ ListSitesOutput.add_member(:sites, Shapes::ShapeRef.new(shape: siteListDefinition, location_name: "Sites"))
103
+ ListSitesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
104
+ ListSitesOutput.struct_class = Types::ListSitesOutput
105
+
106
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
107
+ NotFoundException.struct_class = Types::NotFoundException
108
+
109
+ Outpost.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
110
+ Outpost.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
111
+ Outpost.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
112
+ Outpost.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, location_name: "SiteId"))
113
+ Outpost.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, location_name: "Name"))
114
+ Outpost.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
115
+ Outpost.add_member(:life_cycle_status, Shapes::ShapeRef.new(shape: LifeCycleStatus, location_name: "LifeCycleStatus"))
116
+ Outpost.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
117
+ Outpost.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
118
+ Outpost.struct_class = Types::Outpost
119
+
120
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
121
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
122
+
123
+ Site.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, location_name: "SiteId"))
124
+ Site.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
125
+ Site.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
126
+ Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
127
+ Site.struct_class = Types::Site
128
+
129
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
130
+ ValidationException.struct_class = Types::ValidationException
131
+
132
+ outpostListDefinition.member = Shapes::ShapeRef.new(shape: Outpost)
133
+
134
+ siteListDefinition.member = Shapes::ShapeRef.new(shape: Site)
135
+
136
+
137
+ # @api private
138
+ API = Seahorse::Model::Api.new.tap do |api|
139
+
140
+ api.version = "2019-12-03"
141
+
142
+ api.metadata = {
143
+ "apiVersion" => "2019-12-03",
144
+ "endpointPrefix" => "outposts",
145
+ "jsonVersion" => "1.1",
146
+ "protocol" => "rest-json",
147
+ "serviceAbbreviation" => "Outposts",
148
+ "serviceFullName" => "AWS Outposts",
149
+ "serviceId" => "Outposts",
150
+ "signatureVersion" => "v4",
151
+ "signingName" => "outposts",
152
+ "uid" => "outposts-2019-12-03",
153
+ }
154
+
155
+ api.add_operation(:create_outpost, Seahorse::Model::Operation.new.tap do |o|
156
+ o.name = "CreateOutpost"
157
+ o.http_method = "POST"
158
+ o.http_request_uri = "/outposts"
159
+ o.input = Shapes::ShapeRef.new(shape: CreateOutpostInput)
160
+ o.output = Shapes::ShapeRef.new(shape: CreateOutpostOutput)
161
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
162
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
163
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
164
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
165
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
166
+ end)
167
+
168
+ api.add_operation(:get_outpost, Seahorse::Model::Operation.new.tap do |o|
169
+ o.name = "GetOutpost"
170
+ o.http_method = "GET"
171
+ o.http_request_uri = "/outposts/{OutpostId}"
172
+ o.input = Shapes::ShapeRef.new(shape: GetOutpostInput)
173
+ o.output = Shapes::ShapeRef.new(shape: GetOutpostOutput)
174
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
175
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
176
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
177
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
178
+ end)
179
+
180
+ api.add_operation(:get_outpost_instance_types, Seahorse::Model::Operation.new.tap do |o|
181
+ o.name = "GetOutpostInstanceTypes"
182
+ o.http_method = "GET"
183
+ o.http_request_uri = "/outposts/{OutpostId}/instanceTypes"
184
+ o.input = Shapes::ShapeRef.new(shape: GetOutpostInstanceTypesInput)
185
+ o.output = Shapes::ShapeRef.new(shape: GetOutpostInstanceTypesOutput)
186
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
187
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
188
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
189
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
190
+ end)
191
+
192
+ api.add_operation(:list_outposts, Seahorse::Model::Operation.new.tap do |o|
193
+ o.name = "ListOutposts"
194
+ o.http_method = "GET"
195
+ o.http_request_uri = "/outposts"
196
+ o.input = Shapes::ShapeRef.new(shape: ListOutpostsInput)
197
+ o.output = Shapes::ShapeRef.new(shape: ListOutpostsOutput)
198
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
199
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
200
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
201
+ o[:pager] = Aws::Pager.new(
202
+ limit_key: "max_results",
203
+ tokens: {
204
+ "next_token" => "next_token"
205
+ }
206
+ )
207
+ end)
208
+
209
+ api.add_operation(:list_sites, Seahorse::Model::Operation.new.tap do |o|
210
+ o.name = "ListSites"
211
+ o.http_method = "GET"
212
+ o.http_request_uri = "/sites"
213
+ o.input = Shapes::ShapeRef.new(shape: ListSitesInput)
214
+ o.output = Shapes::ShapeRef.new(shape: ListSitesOutput)
215
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
216
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
217
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
218
+ o[:pager] = Aws::Pager.new(
219
+ limit_key: "max_results",
220
+ tokens: {
221
+ "next_token" => "next_token"
222
+ }
223
+ )
224
+ end)
225
+ end
226
+
227
+ end
228
+ end
File without changes
@@ -0,0 +1,94 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Outposts
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Outposts::Types::AccessDeniedException] 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 InternalServerException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::Outposts::Types::InternalServerException] 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 NotFoundException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::Outposts::Types::NotFoundException] 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 ServiceQuotaExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::Outposts::Types::ServiceQuotaExceededException] 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 ValidationException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::Outposts::Types::ValidationException] 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
+
93
+ end
94
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Outposts
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,384 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Outposts
9
+ module Types
10
+
11
+ # You do not have permission to perform this operation.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/AccessDeniedException AWS API Documentation
17
+ #
18
+ class AccessDeniedException < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
23
+ # @note When making an API call, you may pass CreateOutpostInput
24
+ # data as a hash:
25
+ #
26
+ # {
27
+ # name: "OutpostName",
28
+ # description: "OutpostDescription",
29
+ # site_id: "SiteId", # required
30
+ # availability_zone: "AvailabilityZone",
31
+ # availability_zone_id: "AvailabilityZoneId",
32
+ # }
33
+ #
34
+ # @!attribute [rw] name
35
+ # The name of the Outpost.
36
+ # @return [String]
37
+ #
38
+ # @!attribute [rw] description
39
+ # The Outpost description.
40
+ # @return [String]
41
+ #
42
+ # @!attribute [rw] site_id
43
+ # The ID of the site.
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] availability_zone
47
+ # The Availability Zone.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] availability_zone_id
51
+ # The ID of the Availability Zone.
52
+ # @return [String]
53
+ #
54
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpostInput AWS API Documentation
55
+ #
56
+ class CreateOutpostInput < Struct.new(
57
+ :name,
58
+ :description,
59
+ :site_id,
60
+ :availability_zone,
61
+ :availability_zone_id)
62
+ include Aws::Structure
63
+ end
64
+
65
+ # @!attribute [rw] outpost
66
+ # Information about an Outpost.
67
+ # @return [Types::Outpost]
68
+ #
69
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpostOutput AWS API Documentation
70
+ #
71
+ class CreateOutpostOutput < Struct.new(
72
+ :outpost)
73
+ include Aws::Structure
74
+ end
75
+
76
+ # @note When making an API call, you may pass GetOutpostInput
77
+ # data as a hash:
78
+ #
79
+ # {
80
+ # outpost_id: "OutpostId", # required
81
+ # }
82
+ #
83
+ # @!attribute [rw] outpost_id
84
+ # The ID of the Outpost.
85
+ # @return [String]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInput AWS API Documentation
88
+ #
89
+ class GetOutpostInput < Struct.new(
90
+ :outpost_id)
91
+ include Aws::Structure
92
+ end
93
+
94
+ # @note When making an API call, you may pass GetOutpostInstanceTypesInput
95
+ # data as a hash:
96
+ #
97
+ # {
98
+ # outpost_id: "OutpostId", # required
99
+ # next_token: "Token",
100
+ # max_results: 1,
101
+ # }
102
+ #
103
+ # @!attribute [rw] outpost_id
104
+ # The ID of the Outpost.
105
+ # @return [String]
106
+ #
107
+ # @!attribute [rw] next_token
108
+ # The pagination token.
109
+ # @return [String]
110
+ #
111
+ # @!attribute [rw] max_results
112
+ # The maximum page size.
113
+ # @return [Integer]
114
+ #
115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInstanceTypesInput AWS API Documentation
116
+ #
117
+ class GetOutpostInstanceTypesInput < Struct.new(
118
+ :outpost_id,
119
+ :next_token,
120
+ :max_results)
121
+ include Aws::Structure
122
+ end
123
+
124
+ # @!attribute [rw] instance_types
125
+ # Information about the instance types.
126
+ # @return [Array<Types::InstanceTypeItem>]
127
+ #
128
+ # @!attribute [rw] next_token
129
+ # The pagination token.
130
+ # @return [String]
131
+ #
132
+ # @!attribute [rw] outpost_id
133
+ # The ID of the Outpost.
134
+ # @return [String]
135
+ #
136
+ # @!attribute [rw] outpost_arn
137
+ # The Amazon Resource Name (ARN) of the Outpost.
138
+ # @return [String]
139
+ #
140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInstanceTypesOutput AWS API Documentation
141
+ #
142
+ class GetOutpostInstanceTypesOutput < Struct.new(
143
+ :instance_types,
144
+ :next_token,
145
+ :outpost_id,
146
+ :outpost_arn)
147
+ include Aws::Structure
148
+ end
149
+
150
+ # @!attribute [rw] outpost
151
+ # Information about an Outpost.
152
+ # @return [Types::Outpost]
153
+ #
154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostOutput AWS API Documentation
155
+ #
156
+ class GetOutpostOutput < Struct.new(
157
+ :outpost)
158
+ include Aws::Structure
159
+ end
160
+
161
+ # Information about an instance type.
162
+ #
163
+ # @!attribute [rw] instance_type
164
+ # The instance type.
165
+ # @return [String]
166
+ #
167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/InstanceTypeItem AWS API Documentation
168
+ #
169
+ class InstanceTypeItem < Struct.new(
170
+ :instance_type)
171
+ include Aws::Structure
172
+ end
173
+
174
+ # An internal error has occurred.
175
+ #
176
+ # @!attribute [rw] message
177
+ # @return [String]
178
+ #
179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/InternalServerException AWS API Documentation
180
+ #
181
+ class InternalServerException < Struct.new(
182
+ :message)
183
+ include Aws::Structure
184
+ end
185
+
186
+ # @note When making an API call, you may pass ListOutpostsInput
187
+ # data as a hash:
188
+ #
189
+ # {
190
+ # next_token: "Token",
191
+ # max_results: 1,
192
+ # }
193
+ #
194
+ # @!attribute [rw] next_token
195
+ # The pagination token.
196
+ # @return [String]
197
+ #
198
+ # @!attribute [rw] max_results
199
+ # The maximum page size.
200
+ # @return [Integer]
201
+ #
202
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutpostsInput AWS API Documentation
203
+ #
204
+ class ListOutpostsInput < Struct.new(
205
+ :next_token,
206
+ :max_results)
207
+ include Aws::Structure
208
+ end
209
+
210
+ # @!attribute [rw] outposts
211
+ # Information about the Outposts.
212
+ # @return [Array<Types::Outpost>]
213
+ #
214
+ # @!attribute [rw] next_token
215
+ # The pagination token.
216
+ # @return [String]
217
+ #
218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutpostsOutput AWS API Documentation
219
+ #
220
+ class ListOutpostsOutput < Struct.new(
221
+ :outposts,
222
+ :next_token)
223
+ include Aws::Structure
224
+ end
225
+
226
+ # @note When making an API call, you may pass ListSitesInput
227
+ # data as a hash:
228
+ #
229
+ # {
230
+ # next_token: "Token",
231
+ # max_results: 1,
232
+ # }
233
+ #
234
+ # @!attribute [rw] next_token
235
+ # The pagination token.
236
+ # @return [String]
237
+ #
238
+ # @!attribute [rw] max_results
239
+ # The maximum page size.
240
+ # @return [Integer]
241
+ #
242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSitesInput AWS API Documentation
243
+ #
244
+ class ListSitesInput < Struct.new(
245
+ :next_token,
246
+ :max_results)
247
+ include Aws::Structure
248
+ end
249
+
250
+ # @!attribute [rw] sites
251
+ # Information about the sites.
252
+ # @return [Array<Types::Site>]
253
+ #
254
+ # @!attribute [rw] next_token
255
+ # The pagination token.
256
+ # @return [String]
257
+ #
258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSitesOutput AWS API Documentation
259
+ #
260
+ class ListSitesOutput < Struct.new(
261
+ :sites,
262
+ :next_token)
263
+ include Aws::Structure
264
+ end
265
+
266
+ # The specified request is not valid.
267
+ #
268
+ # @!attribute [rw] message
269
+ # @return [String]
270
+ #
271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/NotFoundException AWS API Documentation
272
+ #
273
+ class NotFoundException < Struct.new(
274
+ :message)
275
+ include Aws::Structure
276
+ end
277
+
278
+ # Information about an Outpost.
279
+ #
280
+ # @!attribute [rw] outpost_id
281
+ # The ID of the Outpost.
282
+ # @return [String]
283
+ #
284
+ # @!attribute [rw] owner_id
285
+ # The AWS account ID of the Outpost owner.
286
+ # @return [String]
287
+ #
288
+ # @!attribute [rw] outpost_arn
289
+ # The Amazon Resource Name (ARN) of the Outpost.
290
+ # @return [String]
291
+ #
292
+ # @!attribute [rw] site_id
293
+ # The ID of the site.
294
+ # @return [String]
295
+ #
296
+ # @!attribute [rw] name
297
+ # The name of the Outpost.
298
+ # @return [String]
299
+ #
300
+ # @!attribute [rw] description
301
+ # The Outpost description.
302
+ # @return [String]
303
+ #
304
+ # @!attribute [rw] life_cycle_status
305
+ # The life cycle status.
306
+ # @return [String]
307
+ #
308
+ # @!attribute [rw] availability_zone
309
+ # The Availability Zone.
310
+ # @return [String]
311
+ #
312
+ # @!attribute [rw] availability_zone_id
313
+ # The ID of the Availability Zone.
314
+ # @return [String]
315
+ #
316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
317
+ #
318
+ class Outpost < Struct.new(
319
+ :outpost_id,
320
+ :owner_id,
321
+ :outpost_arn,
322
+ :site_id,
323
+ :name,
324
+ :description,
325
+ :life_cycle_status,
326
+ :availability_zone,
327
+ :availability_zone_id)
328
+ include Aws::Structure
329
+ end
330
+
331
+ # You have exceeded a service quota.
332
+ #
333
+ # @!attribute [rw] message
334
+ # @return [String]
335
+ #
336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ServiceQuotaExceededException AWS API Documentation
337
+ #
338
+ class ServiceQuotaExceededException < Struct.new(
339
+ :message)
340
+ include Aws::Structure
341
+ end
342
+
343
+ # Information about a site.
344
+ #
345
+ # @!attribute [rw] site_id
346
+ # The ID of the site.
347
+ # @return [String]
348
+ #
349
+ # @!attribute [rw] account_id
350
+ # The ID of the AWS account.
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] name
354
+ # The name of the site.
355
+ # @return [String]
356
+ #
357
+ # @!attribute [rw] description
358
+ # The description of the site.
359
+ # @return [String]
360
+ #
361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Site AWS API Documentation
362
+ #
363
+ class Site < Struct.new(
364
+ :site_id,
365
+ :account_id,
366
+ :name,
367
+ :description)
368
+ include Aws::Structure
369
+ end
370
+
371
+ # A parameter is not valid.
372
+ #
373
+ # @!attribute [rw] message
374
+ # @return [String]
375
+ #
376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ValidationException AWS API Documentation
377
+ #
378
+ class ValidationException < Struct.new(
379
+ :message)
380
+ include Aws::Structure
381
+ end
382
+
383
+ end
384
+ end