aws-sdk-outposts 1.83.0 → 1.84.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
2
  SHA256:
3
- metadata.gz: c2bcdb2cb3ef85cb6418d2159af2ef4c766cf21ae5d9ad39f6c6bc597de7bb4b
4
- data.tar.gz: 204eb761eb6b29f59ad917c44a912f3a7e07037330e36dde02dffedda81f66eb
3
+ metadata.gz: ae44b8ca94d6601bfee0e953ab9b9e324d587e805ee38a9d8cb939a97f5f9efa
4
+ data.tar.gz: c92e7dbf053e1b43420ff19f3501779451dd0fad19d8c318c041747790612f86
5
5
  SHA512:
6
- metadata.gz: e0701af76719f9ca86da0c1c1e5380880a3f9772c32956ed68b80ec5f7e6b4da2678dc790e5e8189844645c53739c1d2c4e02fbd6b4266bc9b7999e45b51c0d5
7
- data.tar.gz: 60f1de8338762d7cb9495c5cf062b21cb2fdf24eb9986c0a1613e2acb379bf959d88f073d400cff1312ed0dd392caf546cee05f6ad280b150368450878cc7a81
6
+ metadata.gz: 3210e3a7c73080265bc96f6a960b1fb21886f8b9883a74427cbc06e6460099d4084cab15b15eb856039efda7f65ab55325dc33fac832ab3a30010fe19c3ab265
7
+ data.tar.gz: c622dc83e8fbd730e5ac8435adf30b09a5243d80bc427051b4e887f4d2b0b05e50ed7d1065a59efc446a1c7fc05a65c538dbace33edc661bed6a16b9200ab00e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2025-07-18)
5
+ ------------------
6
+
7
+ * Feature - Add AWS Outposts API to surface customer billing information
8
+
4
9
  1.83.0 (2025-06-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.83.0
1
+ 1.84.0
@@ -1057,6 +1057,58 @@ module Aws::Outposts
1057
1057
  req.send_request(options)
1058
1058
  end
1059
1059
 
1060
+ # Gets current and historical billing information about the specified
1061
+ # Outpost.
1062
+ #
1063
+ # @option params [String] :next_token
1064
+ # The pagination token.
1065
+ #
1066
+ # @option params [Integer] :max_results
1067
+ # The maximum page size.
1068
+ #
1069
+ # @option params [required, String] :outpost_identifier
1070
+ # The ID or ARN of the Outpost.
1071
+ #
1072
+ # @return [Types::GetOutpostBillingInformationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1073
+ #
1074
+ # * {Types::GetOutpostBillingInformationOutput#next_token #next_token} => String
1075
+ # * {Types::GetOutpostBillingInformationOutput#subscriptions #subscriptions} => Array<Types::Subscription>
1076
+ # * {Types::GetOutpostBillingInformationOutput#contract_end_date #contract_end_date} => String
1077
+ #
1078
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1079
+ #
1080
+ # @example Request syntax with placeholder values
1081
+ #
1082
+ # resp = client.get_outpost_billing_information({
1083
+ # next_token: "Token",
1084
+ # max_results: 1,
1085
+ # outpost_identifier: "OutpostIdentifier", # required
1086
+ # })
1087
+ #
1088
+ # @example Response structure
1089
+ #
1090
+ # resp.next_token #=> String
1091
+ # resp.subscriptions #=> Array
1092
+ # resp.subscriptions[0].subscription_id #=> String
1093
+ # resp.subscriptions[0].subscription_type #=> String, one of "ORIGINAL", "RENEWAL", "CAPACITY_INCREASE"
1094
+ # resp.subscriptions[0].subscription_status #=> String, one of "ACTIVE", "INACTIVE", "CANCELLED"
1095
+ # resp.subscriptions[0].order_ids #=> Array
1096
+ # resp.subscriptions[0].order_ids[0] #=> String
1097
+ # resp.subscriptions[0].begin_date #=> Time
1098
+ # resp.subscriptions[0].end_date #=> Time
1099
+ # resp.subscriptions[0].monthly_recurring_price #=> Float
1100
+ # resp.subscriptions[0].upfront_price #=> Float
1101
+ # resp.contract_end_date #=> String
1102
+ #
1103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostBillingInformation AWS API Documentation
1104
+ #
1105
+ # @overload get_outpost_billing_information(params = {})
1106
+ # @param [Hash] params ({})
1107
+ def get_outpost_billing_information(params = {}, options = {})
1108
+ req = build_request(:get_outpost_billing_information, params)
1109
+ req.send_request(options)
1110
+ end
1111
+
1060
1112
  # Gets the instance types for the specified Outpost.
1061
1113
  #
1062
1114
  # @option params [required, String] :outpost_id
@@ -2350,7 +2402,7 @@ module Aws::Outposts
2350
2402
  tracer: tracer
2351
2403
  )
2352
2404
  context[:gem_name] = 'aws-sdk-outposts'
2353
- context[:gem_version] = '1.83.0'
2405
+ context[:gem_version] = '1.84.0'
2354
2406
  Seahorse::Client::Request.new(handlers, context)
2355
2407
  end
2356
2408
 
@@ -102,6 +102,8 @@ module Aws::Outposts
102
102
  GetConnectionResponse = Shapes::StructureShape.new(name: 'GetConnectionResponse')
103
103
  GetOrderInput = Shapes::StructureShape.new(name: 'GetOrderInput')
104
104
  GetOrderOutput = Shapes::StructureShape.new(name: 'GetOrderOutput')
105
+ GetOutpostBillingInformationInput = Shapes::StructureShape.new(name: 'GetOutpostBillingInformationInput')
106
+ GetOutpostBillingInformationOutput = Shapes::StructureShape.new(name: 'GetOutpostBillingInformationOutput')
105
107
  GetOutpostInput = Shapes::StructureShape.new(name: 'GetOutpostInput')
106
108
  GetOutpostInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesInput')
107
109
  GetOutpostInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesOutput')
@@ -165,9 +167,11 @@ module Aws::Outposts
165
167
  Municipality = Shapes::StringShape.new(name: 'Municipality')
166
168
  NetworkInterfaceDeviceIndex = Shapes::IntegerShape.new(name: 'NetworkInterfaceDeviceIndex')
167
169
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
170
+ NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
168
171
  OpticalStandard = Shapes::StringShape.new(name: 'OpticalStandard')
169
172
  Order = Shapes::StructureShape.new(name: 'Order')
170
173
  OrderId = Shapes::StringShape.new(name: 'OrderId')
174
+ OrderIdList = Shapes::ListShape.new(name: 'OrderIdList')
171
175
  OrderStatus = Shapes::StringShape.new(name: 'OrderStatus')
172
176
  OrderSummary = Shapes::StructureShape.new(name: 'OrderSummary')
173
177
  OrderSummaryListDefinition = Shapes::ListShape.new(name: 'OrderSummaryListDefinition')
@@ -214,6 +218,10 @@ module Aws::Outposts
214
218
  StateOrRegionList = Shapes::ListShape.new(name: 'StateOrRegionList')
215
219
  StatusList = Shapes::ListShape.new(name: 'StatusList')
216
220
  String = Shapes::StringShape.new(name: 'String')
221
+ Subscription = Shapes::StructureShape.new(name: 'Subscription')
222
+ SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
223
+ SubscriptionStatus = Shapes::StringShape.new(name: 'SubscriptionStatus')
224
+ SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
217
225
  SupportedHardwareType = Shapes::StringShape.new(name: 'SupportedHardwareType')
218
226
  SupportedStorageEnum = Shapes::StringShape.new(name: 'SupportedStorageEnum')
219
227
  SupportedStorageList = Shapes::ListShape.new(name: 'SupportedStorageList')
@@ -465,6 +473,16 @@ module Aws::Outposts
465
473
  GetOrderOutput.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "Order"))
466
474
  GetOrderOutput.struct_class = Types::GetOrderOutput
467
475
 
476
+ GetOutpostBillingInformationInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
477
+ GetOutpostBillingInformationInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
478
+ GetOutpostBillingInformationInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostIdentifier"))
479
+ GetOutpostBillingInformationInput.struct_class = Types::GetOutpostBillingInformationInput
480
+
481
+ GetOutpostBillingInformationOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
482
+ GetOutpostBillingInformationOutput.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
483
+ GetOutpostBillingInformationOutput.add_member(:contract_end_date, Shapes::ShapeRef.new(shape: String, location_name: "ContractEndDate"))
484
+ GetOutpostBillingInformationOutput.struct_class = Types::GetOutpostBillingInformationOutput
485
+
468
486
  GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
469
487
  GetOutpostInput.struct_class = Types::GetOutpostInput
470
488
 
@@ -669,6 +687,8 @@ module Aws::Outposts
669
687
  Order.add_member(:order_type, Shapes::ShapeRef.new(shape: OrderType, location_name: "OrderType"))
670
688
  Order.struct_class = Types::Order
671
689
 
690
+ OrderIdList.member = Shapes::ShapeRef.new(shape: String)
691
+
672
692
  OrderSummary.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostIdOnly, location_name: "OutpostId"))
673
693
  OrderSummary.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
674
694
  OrderSummary.add_member(:order_type, Shapes::ShapeRef.new(shape: OrderType, location_name: "OrderType"))
@@ -767,6 +787,18 @@ module Aws::Outposts
767
787
 
768
788
  StatusList.member = Shapes::ShapeRef.new(shape: AssetState)
769
789
 
790
+ Subscription.add_member(:subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "SubscriptionId"))
791
+ Subscription.add_member(:subscription_type, Shapes::ShapeRef.new(shape: SubscriptionType, location_name: "SubscriptionType"))
792
+ Subscription.add_member(:subscription_status, Shapes::ShapeRef.new(shape: SubscriptionStatus, location_name: "SubscriptionStatus"))
793
+ Subscription.add_member(:order_ids, Shapes::ShapeRef.new(shape: OrderIdList, location_name: "OrderIds"))
794
+ Subscription.add_member(:begin_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "BeginDate"))
795
+ Subscription.add_member(:end_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "EndDate"))
796
+ Subscription.add_member(:monthly_recurring_price, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MonthlyRecurringPrice"))
797
+ Subscription.add_member(:upfront_price, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "UpfrontPrice"))
798
+ Subscription.struct_class = Types::Subscription
799
+
800
+ SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
801
+
770
802
  SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
771
803
 
772
804
  SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
@@ -971,6 +1003,7 @@ module Aws::Outposts
971
1003
  o.output = Shapes::ShapeRef.new(shape: GetCatalogItemOutput)
972
1004
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
973
1005
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
974
1007
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
975
1008
  end)
976
1009
 
@@ -1009,6 +1042,23 @@ module Aws::Outposts
1009
1042
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1010
1043
  end)
1011
1044
 
1045
+ api.add_operation(:get_outpost_billing_information, Seahorse::Model::Operation.new.tap do |o|
1046
+ o.name = "GetOutpostBillingInformation"
1047
+ o.http_method = "GET"
1048
+ o.http_request_uri = "/outpost/{OutpostIdentifier}/billing-information"
1049
+ o.input = Shapes::ShapeRef.new(shape: GetOutpostBillingInformationInput)
1050
+ o.output = Shapes::ShapeRef.new(shape: GetOutpostBillingInformationOutput)
1051
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1053
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1054
+ o[:pager] = Aws::Pager.new(
1055
+ limit_key: "max_results",
1056
+ tokens: {
1057
+ "next_token" => "next_token"
1058
+ }
1059
+ )
1060
+ end)
1061
+
1012
1062
  api.add_operation(:get_outpost_instance_types, Seahorse::Model::Operation.new.tap do |o|
1013
1063
  o.name = "GetOutpostInstanceTypes"
1014
1064
  o.http_method = "GET"
@@ -1149,6 +1199,7 @@ module Aws::Outposts
1149
1199
  o.output = Shapes::ShapeRef.new(shape: ListCatalogItemsOutput)
1150
1200
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1151
1201
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1152
1203
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1153
1204
  o[:pager] = Aws::Pager.new(
1154
1205
  limit_key: "max_results",
@@ -893,6 +893,55 @@ module Aws::Outposts
893
893
  include Aws::Structure
894
894
  end
895
895
 
896
+ # @!attribute [rw] next_token
897
+ # The pagination token.
898
+ # @return [String]
899
+ #
900
+ # @!attribute [rw] max_results
901
+ # The maximum page size.
902
+ # @return [Integer]
903
+ #
904
+ # @!attribute [rw] outpost_identifier
905
+ # The ID or ARN of the Outpost.
906
+ # @return [String]
907
+ #
908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostBillingInformationInput AWS API Documentation
909
+ #
910
+ class GetOutpostBillingInformationInput < Struct.new(
911
+ :next_token,
912
+ :max_results,
913
+ :outpost_identifier)
914
+ SENSITIVE = []
915
+ include Aws::Structure
916
+ end
917
+
918
+ # @!attribute [rw] next_token
919
+ # The pagination token.
920
+ # @return [String]
921
+ #
922
+ # @!attribute [rw] subscriptions
923
+ # The subscription details for the specified Outpost.
924
+ # @return [Array<Types::Subscription>]
925
+ #
926
+ # @!attribute [rw] contract_end_date
927
+ # The date the current contract term ends for the specified Outpost.
928
+ # You must start the renewal or decommission process at least 5
929
+ # business days before the current term for your Amazon Web Services
930
+ # Outposts ends. Failing to complete these steps at least 5 business
931
+ # days before the current term ends might result in unanticipated
932
+ # charges.
933
+ # @return [String]
934
+ #
935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostBillingInformationOutput AWS API Documentation
936
+ #
937
+ class GetOutpostBillingInformationOutput < Struct.new(
938
+ :next_token,
939
+ :subscriptions,
940
+ :contract_end_date)
941
+ SENSITIVE = []
942
+ include Aws::Structure
943
+ end
944
+
896
945
  # @!attribute [rw] outpost_id
897
946
  # The ID or ARN of the Outpost.
898
947
  # @return [String]
@@ -2224,6 +2273,73 @@ module Aws::Outposts
2224
2273
  include Aws::Structure
2225
2274
  end
2226
2275
 
2276
+ # Provides information about your Amazon Web Services Outposts
2277
+ # subscriptions.
2278
+ #
2279
+ # @!attribute [rw] subscription_id
2280
+ # The ID of the subscription that appears on the Amazon Web Services
2281
+ # Billing Center console.
2282
+ # @return [String]
2283
+ #
2284
+ # @!attribute [rw] subscription_type
2285
+ # The type of subscription which can be one of the following:
2286
+ #
2287
+ # * **ORIGINAL** - The first order on the Amazon Web Services
2288
+ # Outposts.
2289
+ #
2290
+ # * **RENEWAL** - Renewal requests, both month to month and longer
2291
+ # term.
2292
+ #
2293
+ # * **CAPACITY\_INCREASE** - Capacity scaling orders.
2294
+ # @return [String]
2295
+ #
2296
+ # @!attribute [rw] subscription_status
2297
+ # The status of subscription which can be one of the following:
2298
+ #
2299
+ # * **INACTIVE** - Subscription requests that are inactive.
2300
+ #
2301
+ # * **ACTIVE** - Subscription requests that are in progress and have
2302
+ # an end date in the future.
2303
+ #
2304
+ # * **CANCELLED** - Subscription requests that are cancelled.
2305
+ # @return [String]
2306
+ #
2307
+ # @!attribute [rw] order_ids
2308
+ # The order ID for your subscription.
2309
+ # @return [Array<String>]
2310
+ #
2311
+ # @!attribute [rw] begin_date
2312
+ # The date your subscription starts.
2313
+ # @return [Time]
2314
+ #
2315
+ # @!attribute [rw] end_date
2316
+ # The date your subscription ends.
2317
+ # @return [Time]
2318
+ #
2319
+ # @!attribute [rw] monthly_recurring_price
2320
+ # The amount you are billed each month in the subscription period.
2321
+ # @return [Float]
2322
+ #
2323
+ # @!attribute [rw] upfront_price
2324
+ # The amount billed when the subscription is created. This is a
2325
+ # one-time charge.
2326
+ # @return [Float]
2327
+ #
2328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Subscription AWS API Documentation
2329
+ #
2330
+ class Subscription < Struct.new(
2331
+ :subscription_id,
2332
+ :subscription_type,
2333
+ :subscription_status,
2334
+ :order_ids,
2335
+ :begin_date,
2336
+ :end_date,
2337
+ :monthly_recurring_price,
2338
+ :upfront_price)
2339
+ SENSITIVE = []
2340
+ include Aws::Structure
2341
+ end
2342
+
2227
2343
  # @!attribute [rw] resource_arn
2228
2344
  # The Amazon Resource Name (ARN) of the resource.
2229
2345
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::Outposts
54
54
  autoload :EndpointProvider, 'aws-sdk-outposts/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-outposts/endpoints'
56
56
 
57
- GEM_VERSION = '1.83.0'
57
+ GEM_VERSION = '1.84.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -262,6 +262,20 @@ module Aws
262
262
  ) -> _GetOutpostResponseSuccess
263
263
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutpostResponseSuccess
264
264
 
265
+ interface _GetOutpostBillingInformationResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOutpostBillingInformationOutput]
267
+ def next_token: () -> ::String
268
+ def subscriptions: () -> ::Array[Types::Subscription]
269
+ def contract_end_date: () -> ::String
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#get_outpost_billing_information-instance_method
272
+ def get_outpost_billing_information: (
273
+ ?next_token: ::String,
274
+ ?max_results: ::Integer,
275
+ outpost_identifier: ::String
276
+ ) -> _GetOutpostBillingInformationResponseSuccess
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutpostBillingInformationResponseSuccess
278
+
265
279
  interface _GetOutpostInstanceTypesResponseSuccess
266
280
  include ::Seahorse::Client::_ResponseSuccess[Types::GetOutpostInstanceTypesOutput]
267
281
  def instance_types: () -> ::Array[Types::InstanceTypeItem]
data/sig/types.rbs CHANGED
@@ -258,6 +258,20 @@ module Aws::Outposts
258
258
  SENSITIVE: []
259
259
  end
260
260
 
261
+ class GetOutpostBillingInformationInput
262
+ attr_accessor next_token: ::String
263
+ attr_accessor max_results: ::Integer
264
+ attr_accessor outpost_identifier: ::String
265
+ SENSITIVE: []
266
+ end
267
+
268
+ class GetOutpostBillingInformationOutput
269
+ attr_accessor next_token: ::String
270
+ attr_accessor subscriptions: ::Array[Types::Subscription]
271
+ attr_accessor contract_end_date: ::String
272
+ SENSITIVE: []
273
+ end
274
+
261
275
  class GetOutpostInput
262
276
  attr_accessor outpost_id: ::String
263
277
  SENSITIVE: []
@@ -623,6 +637,18 @@ module Aws::Outposts
623
637
  SENSITIVE: []
624
638
  end
625
639
 
640
+ class Subscription
641
+ attr_accessor subscription_id: ::String
642
+ attr_accessor subscription_type: ("ORIGINAL" | "RENEWAL" | "CAPACITY_INCREASE")
643
+ attr_accessor subscription_status: ("ACTIVE" | "INACTIVE" | "CANCELLED")
644
+ attr_accessor order_ids: ::Array[::String]
645
+ attr_accessor begin_date: ::Time
646
+ attr_accessor end_date: ::Time
647
+ attr_accessor monthly_recurring_price: ::Float
648
+ attr_accessor upfront_price: ::Float
649
+ SENSITIVE: []
650
+ end
651
+
626
652
  class TagResourceRequest
627
653
  attr_accessor resource_arn: ::String
628
654
  attr_accessor tags: ::Hash[::String, ::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-outposts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services