aws-sdk-groundstation 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,6 +70,7 @@ module Aws::GroundStation
70
70
  GetSatelliteRequest = Shapes::StructureShape.new(name: 'GetSatelliteRequest')
71
71
  GetSatelliteResponse = Shapes::StructureShape.new(name: 'GetSatelliteResponse')
72
72
  GroundStationData = Shapes::StructureShape.new(name: 'GroundStationData')
73
+ GroundStationIdList = Shapes::ListShape.new(name: 'GroundStationIdList')
73
74
  GroundStationList = Shapes::ListShape.new(name: 'GroundStationList')
74
75
  Integer = Shapes::IntegerShape.new(name: 'Integer')
75
76
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
@@ -94,6 +95,7 @@ module Aws::GroundStation
94
95
  MissionProfileListItem = Shapes::StructureShape.new(name: 'MissionProfileListItem')
95
96
  Polarization = Shapes::StringShape.new(name: 'Polarization')
96
97
  ReserveContactRequest = Shapes::StructureShape.new(name: 'ReserveContactRequest')
98
+ ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
97
99
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
98
100
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
99
101
  SafeName = Shapes::StringShape.new(name: 'SafeName')
@@ -167,6 +169,7 @@ module Aws::GroundStation
167
169
  ContactData.add_member(:mission_profile_arn, Shapes::ShapeRef.new(shape: MissionProfileArn, location_name: "missionProfileArn"))
168
170
  ContactData.add_member(:post_pass_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "postPassEndTime"))
169
171
  ContactData.add_member(:pre_pass_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "prePassStartTime"))
172
+ ContactData.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
170
173
  ContactData.add_member(:satellite_arn, Shapes::ShapeRef.new(shape: satelliteArn, location_name: "satelliteArn"))
171
174
  ContactData.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
172
175
  ContactData.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
@@ -205,6 +208,7 @@ module Aws::GroundStation
205
208
  DataflowEndpoint.struct_class = Types::DataflowEndpoint
206
209
 
207
210
  DataflowEndpointConfig.add_member(:dataflow_endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "dataflowEndpointName"))
211
+ DataflowEndpointConfig.add_member(:dataflow_endpoint_region, Shapes::ShapeRef.new(shape: String, location_name: "dataflowEndpointRegion"))
208
212
  DataflowEndpointConfig.struct_class = Types::DataflowEndpointConfig
209
213
 
210
214
  DataflowEndpointGroupIdResponse.add_member(:dataflow_endpoint_group_id, Shapes::ShapeRef.new(shape: String, location_name: "dataflowEndpointGroupId"))
@@ -248,6 +252,7 @@ module Aws::GroundStation
248
252
  DescribeContactResponse.add_member(:mission_profile_arn, Shapes::ShapeRef.new(shape: MissionProfileArn, location_name: "missionProfileArn"))
249
253
  DescribeContactResponse.add_member(:post_pass_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "postPassEndTime"))
250
254
  DescribeContactResponse.add_member(:pre_pass_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "prePassStartTime"))
255
+ DescribeContactResponse.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
251
256
  DescribeContactResponse.add_member(:satellite_arn, Shapes::ShapeRef.new(shape: satelliteArn, location_name: "satelliteArn"))
252
257
  DescribeContactResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
253
258
  DescribeContactResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
@@ -325,12 +330,10 @@ module Aws::GroundStation
325
330
  GetSatelliteRequest.add_member(:satellite_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "satelliteId"))
326
331
  GetSatelliteRequest.struct_class = Types::GetSatelliteRequest
327
332
 
328
- GetSatelliteResponse.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "dateCreated"))
329
- GetSatelliteResponse.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdated"))
333
+ GetSatelliteResponse.add_member(:ground_stations, Shapes::ShapeRef.new(shape: GroundStationIdList, location_name: "groundStations"))
330
334
  GetSatelliteResponse.add_member(:norad_satellite_id, Shapes::ShapeRef.new(shape: noradSatelliteID, location_name: "noradSatelliteID"))
331
335
  GetSatelliteResponse.add_member(:satellite_arn, Shapes::ShapeRef.new(shape: satelliteArn, location_name: "satelliteArn"))
332
336
  GetSatelliteResponse.add_member(:satellite_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "satelliteId"))
333
- GetSatelliteResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
334
337
  GetSatelliteResponse.struct_class = Types::GetSatelliteResponse
335
338
 
336
339
  GroundStationData.add_member(:ground_station_id, Shapes::ShapeRef.new(shape: String, location_name: "groundStationId"))
@@ -338,6 +341,8 @@ module Aws::GroundStation
338
341
  GroundStationData.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
339
342
  GroundStationData.struct_class = Types::GroundStationData
340
343
 
344
+ GroundStationIdList.member = Shapes::ShapeRef.new(shape: String)
345
+
341
346
  GroundStationList.member = Shapes::ShapeRef.new(shape: GroundStationData)
342
347
 
343
348
  InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -376,6 +381,7 @@ module Aws::GroundStation
376
381
 
377
382
  ListGroundStationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
378
383
  ListGroundStationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
384
+ ListGroundStationsRequest.add_member(:satellite_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "satelliteId"))
379
385
  ListGroundStationsRequest.struct_class = Types::ListGroundStationsRequest
380
386
 
381
387
  ListGroundStationsResponse.add_member(:ground_station_list, Shapes::ShapeRef.new(shape: GroundStationList, location_name: "groundStationList"))
@@ -423,11 +429,16 @@ module Aws::GroundStation
423
429
  ReserveContactRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
424
430
  ReserveContactRequest.struct_class = Types::ReserveContactRequest
425
431
 
432
+ ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
433
+ ResourceLimitExceededException.add_member(:parameter_name, Shapes::ShapeRef.new(shape: String, location_name: "parameterName"))
434
+ ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
435
+
426
436
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
427
437
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
428
438
 
429
439
  SatelliteList.member = Shapes::ShapeRef.new(shape: SatelliteListItem)
430
440
 
441
+ SatelliteListItem.add_member(:ground_stations, Shapes::ShapeRef.new(shape: GroundStationIdList, location_name: "groundStations"))
431
442
  SatelliteListItem.add_member(:norad_satellite_id, Shapes::ShapeRef.new(shape: noradSatelliteID, location_name: "noradSatelliteID"))
432
443
  SatelliteListItem.add_member(:satellite_arn, Shapes::ShapeRef.new(shape: satelliteArn, location_name: "satelliteArn"))
433
444
  SatelliteListItem.add_member(:satellite_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "satelliteId"))
@@ -456,7 +467,7 @@ module Aws::GroundStation
456
467
  TagKeys.member = Shapes::ShapeRef.new(shape: String)
457
468
 
458
469
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
459
- TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
470
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
460
471
  TagResourceRequest.struct_class = Types::TagResourceRequest
461
472
 
462
473
  TagResourceResponse.struct_class = Types::TagResourceResponse
@@ -520,8 +531,8 @@ module Aws::GroundStation
520
531
  o.http_request_uri = "/contact/{contactId}"
521
532
  o.input = Shapes::ShapeRef.new(shape: CancelContactRequest)
522
533
  o.output = Shapes::ShapeRef.new(shape: ContactIdResponse)
523
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
524
534
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
535
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
525
536
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
526
537
  end)
527
538
 
@@ -531,8 +542,9 @@ module Aws::GroundStation
531
542
  o.http_request_uri = "/config"
532
543
  o.input = Shapes::ShapeRef.new(shape: CreateConfigRequest)
533
544
  o.output = Shapes::ShapeRef.new(shape: ConfigIdResponse)
534
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
535
545
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
546
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
536
548
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
537
549
  end)
538
550
 
@@ -542,8 +554,8 @@ module Aws::GroundStation
542
554
  o.http_request_uri = "/dataflowEndpointGroup"
543
555
  o.input = Shapes::ShapeRef.new(shape: CreateDataflowEndpointGroupRequest)
544
556
  o.output = Shapes::ShapeRef.new(shape: DataflowEndpointGroupIdResponse)
545
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
546
557
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
558
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
547
559
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
548
560
  end)
549
561
 
@@ -553,8 +565,8 @@ module Aws::GroundStation
553
565
  o.http_request_uri = "/missionprofile"
554
566
  o.input = Shapes::ShapeRef.new(shape: CreateMissionProfileRequest)
555
567
  o.output = Shapes::ShapeRef.new(shape: MissionProfileIdResponse)
556
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
557
568
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
569
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
558
570
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
559
571
  end)
560
572
 
@@ -564,8 +576,8 @@ module Aws::GroundStation
564
576
  o.http_request_uri = "/config/{configType}/{configId}"
565
577
  o.input = Shapes::ShapeRef.new(shape: DeleteConfigRequest)
566
578
  o.output = Shapes::ShapeRef.new(shape: ConfigIdResponse)
567
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
568
579
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
580
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
569
581
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
570
582
  end)
571
583
 
@@ -575,8 +587,8 @@ module Aws::GroundStation
575
587
  o.http_request_uri = "/dataflowEndpointGroup/{dataflowEndpointGroupId}"
576
588
  o.input = Shapes::ShapeRef.new(shape: DeleteDataflowEndpointGroupRequest)
577
589
  o.output = Shapes::ShapeRef.new(shape: DataflowEndpointGroupIdResponse)
578
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
579
590
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
591
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
580
592
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
581
593
  end)
582
594
 
@@ -586,8 +598,8 @@ module Aws::GroundStation
586
598
  o.http_request_uri = "/missionprofile/{missionProfileId}"
587
599
  o.input = Shapes::ShapeRef.new(shape: DeleteMissionProfileRequest)
588
600
  o.output = Shapes::ShapeRef.new(shape: MissionProfileIdResponse)
589
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
590
601
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
602
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
591
603
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
592
604
  end)
593
605
 
@@ -597,8 +609,8 @@ module Aws::GroundStation
597
609
  o.http_request_uri = "/contact/{contactId}"
598
610
  o.input = Shapes::ShapeRef.new(shape: DescribeContactRequest)
599
611
  o.output = Shapes::ShapeRef.new(shape: DescribeContactResponse)
600
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
601
612
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
613
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
602
614
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
603
615
  end)
604
616
 
@@ -608,8 +620,8 @@ module Aws::GroundStation
608
620
  o.http_request_uri = "/config/{configType}/{configId}"
609
621
  o.input = Shapes::ShapeRef.new(shape: GetConfigRequest)
610
622
  o.output = Shapes::ShapeRef.new(shape: GetConfigResponse)
611
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
612
623
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
624
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
613
625
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
614
626
  end)
615
627
 
@@ -619,8 +631,19 @@ module Aws::GroundStation
619
631
  o.http_request_uri = "/dataflowEndpointGroup/{dataflowEndpointGroupId}"
620
632
  o.input = Shapes::ShapeRef.new(shape: GetDataflowEndpointGroupRequest)
621
633
  o.output = Shapes::ShapeRef.new(shape: GetDataflowEndpointGroupResponse)
634
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
622
635
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
637
+ end)
638
+
639
+ api.add_operation(:get_minute_usage, Seahorse::Model::Operation.new.tap do |o|
640
+ o.name = "GetMinuteUsage"
641
+ o.http_method = "POST"
642
+ o.http_request_uri = "/minute-usage"
643
+ o.input = Shapes::ShapeRef.new(shape: GetMinuteUsageRequest)
644
+ o.output = Shapes::ShapeRef.new(shape: GetMinuteUsageResponse)
623
645
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
646
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
624
647
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
625
648
  end)
626
649
 
@@ -630,8 +653,19 @@ module Aws::GroundStation
630
653
  o.http_request_uri = "/missionprofile/{missionProfileId}"
631
654
  o.input = Shapes::ShapeRef.new(shape: GetMissionProfileRequest)
632
655
  o.output = Shapes::ShapeRef.new(shape: GetMissionProfileResponse)
656
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
633
657
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
658
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
659
+ end)
660
+
661
+ api.add_operation(:get_satellite, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "GetSatellite"
663
+ o.http_method = "GET"
664
+ o.http_request_uri = "/satellite/{satelliteId}"
665
+ o.input = Shapes::ShapeRef.new(shape: GetSatelliteRequest)
666
+ o.output = Shapes::ShapeRef.new(shape: GetSatelliteResponse)
634
667
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
668
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
635
669
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
636
670
  end)
637
671
 
@@ -641,8 +675,8 @@ module Aws::GroundStation
641
675
  o.http_request_uri = "/config"
642
676
  o.input = Shapes::ShapeRef.new(shape: ListConfigsRequest)
643
677
  o.output = Shapes::ShapeRef.new(shape: ListConfigsResponse)
644
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
645
678
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
679
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
646
680
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
647
681
  o[:pager] = Aws::Pager.new(
648
682
  limit_key: "max_results",
@@ -658,8 +692,8 @@ module Aws::GroundStation
658
692
  o.http_request_uri = "/contacts"
659
693
  o.input = Shapes::ShapeRef.new(shape: ListContactsRequest)
660
694
  o.output = Shapes::ShapeRef.new(shape: ListContactsResponse)
661
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
662
695
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
696
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
663
697
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
664
698
  o[:pager] = Aws::Pager.new(
665
699
  limit_key: "max_results",
@@ -675,8 +709,8 @@ module Aws::GroundStation
675
709
  o.http_request_uri = "/dataflowEndpointGroup"
676
710
  o.input = Shapes::ShapeRef.new(shape: ListDataflowEndpointGroupsRequest)
677
711
  o.output = Shapes::ShapeRef.new(shape: ListDataflowEndpointGroupsResponse)
678
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
679
712
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
713
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
680
714
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
681
715
  o[:pager] = Aws::Pager.new(
682
716
  limit_key: "max_results",
@@ -686,14 +720,14 @@ module Aws::GroundStation
686
720
  )
687
721
  end)
688
722
 
689
- api.add_operation(:list_mission_profiles, Seahorse::Model::Operation.new.tap do |o|
690
- o.name = "ListMissionProfiles"
723
+ api.add_operation(:list_ground_stations, Seahorse::Model::Operation.new.tap do |o|
724
+ o.name = "ListGroundStations"
691
725
  o.http_method = "GET"
692
- o.http_request_uri = "/missionprofile"
693
- o.input = Shapes::ShapeRef.new(shape: ListMissionProfilesRequest)
694
- o.output = Shapes::ShapeRef.new(shape: ListMissionProfilesResponse)
695
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
726
+ o.http_request_uri = "/groundstation"
727
+ o.input = Shapes::ShapeRef.new(shape: ListGroundStationsRequest)
728
+ o.output = Shapes::ShapeRef.new(shape: ListGroundStationsResponse)
696
729
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
730
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
697
731
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
698
732
  o[:pager] = Aws::Pager.new(
699
733
  limit_key: "max_results",
@@ -703,69 +737,14 @@ module Aws::GroundStation
703
737
  )
704
738
  end)
705
739
 
706
- api.add_operation(:reserve_contact, Seahorse::Model::Operation.new.tap do |o|
707
- o.name = "ReserveContact"
708
- o.http_method = "POST"
709
- o.http_request_uri = "/contact"
710
- o.input = Shapes::ShapeRef.new(shape: ReserveContactRequest)
711
- o.output = Shapes::ShapeRef.new(shape: ContactIdResponse)
712
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
713
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
714
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
715
- end)
716
-
717
- api.add_operation(:update_config, Seahorse::Model::Operation.new.tap do |o|
718
- o.name = "UpdateConfig"
719
- o.http_method = "PUT"
720
- o.http_request_uri = "/config/{configType}/{configId}"
721
- o.input = Shapes::ShapeRef.new(shape: UpdateConfigRequest)
722
- o.output = Shapes::ShapeRef.new(shape: ConfigIdResponse)
723
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
724
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
725
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
726
- end)
727
-
728
- api.add_operation(:update_mission_profile, Seahorse::Model::Operation.new.tap do |o|
729
- o.name = "UpdateMissionProfile"
730
- o.http_method = "PUT"
731
- o.http_request_uri = "/missionprofile/{missionProfileId}"
732
- o.input = Shapes::ShapeRef.new(shape: UpdateMissionProfileRequest)
733
- o.output = Shapes::ShapeRef.new(shape: MissionProfileIdResponse)
734
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
735
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
736
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
737
- end)
738
-
739
- api.add_operation(:get_minute_usage, Seahorse::Model::Operation.new.tap do |o|
740
- o.name = "GetMinuteUsage"
741
- o.http_method = "POST"
742
- o.http_request_uri = "/minute-usage"
743
- o.input = Shapes::ShapeRef.new(shape: GetMinuteUsageRequest)
744
- o.output = Shapes::ShapeRef.new(shape: GetMinuteUsageResponse)
745
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
746
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
747
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
748
- end)
749
-
750
- api.add_operation(:get_satellite, Seahorse::Model::Operation.new.tap do |o|
751
- o.name = "GetSatellite"
740
+ api.add_operation(:list_mission_profiles, Seahorse::Model::Operation.new.tap do |o|
741
+ o.name = "ListMissionProfiles"
752
742
  o.http_method = "GET"
753
- o.http_request_uri = "/satellite/{satelliteId}"
754
- o.input = Shapes::ShapeRef.new(shape: GetSatelliteRequest)
755
- o.output = Shapes::ShapeRef.new(shape: GetSatelliteResponse)
756
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
743
+ o.http_request_uri = "/missionprofile"
744
+ o.input = Shapes::ShapeRef.new(shape: ListMissionProfilesRequest)
745
+ o.output = Shapes::ShapeRef.new(shape: ListMissionProfilesResponse)
757
746
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
758
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
759
- end)
760
-
761
- api.add_operation(:list_ground_stations, Seahorse::Model::Operation.new.tap do |o|
762
- o.name = "ListGroundStations"
763
- o.http_method = "GET"
764
- o.http_request_uri = "/groundstation"
765
- o.input = Shapes::ShapeRef.new(shape: ListGroundStationsRequest)
766
- o.output = Shapes::ShapeRef.new(shape: ListGroundStationsResponse)
767
747
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
768
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
769
748
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
770
749
  o[:pager] = Aws::Pager.new(
771
750
  limit_key: "max_results",
@@ -781,8 +760,8 @@ module Aws::GroundStation
781
760
  o.http_request_uri = "/satellite"
782
761
  o.input = Shapes::ShapeRef.new(shape: ListSatellitesRequest)
783
762
  o.output = Shapes::ShapeRef.new(shape: ListSatellitesResponse)
784
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
785
763
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
764
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
786
765
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
787
766
  o[:pager] = Aws::Pager.new(
788
767
  limit_key: "max_results",
@@ -798,8 +777,19 @@ module Aws::GroundStation
798
777
  o.http_request_uri = "/tags/{resourceArn}"
799
778
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
800
779
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
780
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
801
781
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
782
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
783
+ end)
784
+
785
+ api.add_operation(:reserve_contact, Seahorse::Model::Operation.new.tap do |o|
786
+ o.name = "ReserveContact"
787
+ o.http_method = "POST"
788
+ o.http_request_uri = "/contact"
789
+ o.input = Shapes::ShapeRef.new(shape: ReserveContactRequest)
790
+ o.output = Shapes::ShapeRef.new(shape: ContactIdResponse)
802
791
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
792
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
803
793
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
804
794
  end)
805
795
 
@@ -809,8 +799,8 @@ module Aws::GroundStation
809
799
  o.http_request_uri = "/tags/{resourceArn}"
810
800
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
811
801
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
812
- o.errors << Shapes::ShapeRef.new(shape: DependencyException)
813
802
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
803
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
814
804
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
815
805
  end)
816
806
 
@@ -820,8 +810,30 @@ module Aws::GroundStation
820
810
  o.http_request_uri = "/tags/{resourceArn}"
821
811
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
822
812
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
813
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
814
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
816
+ end)
817
+
818
+ api.add_operation(:update_config, Seahorse::Model::Operation.new.tap do |o|
819
+ o.name = "UpdateConfig"
820
+ o.http_method = "PUT"
821
+ o.http_request_uri = "/config/{configType}/{configId}"
822
+ o.input = Shapes::ShapeRef.new(shape: UpdateConfigRequest)
823
+ o.output = Shapes::ShapeRef.new(shape: ConfigIdResponse)
824
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
823
825
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
826
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
827
+ end)
828
+
829
+ api.add_operation(:update_mission_profile, Seahorse::Model::Operation.new.tap do |o|
830
+ o.name = "UpdateMissionProfile"
831
+ o.http_method = "PUT"
832
+ o.http_request_uri = "/missionprofile/{missionProfileId}"
833
+ o.input = Shapes::ShapeRef.new(shape: UpdateMissionProfileRequest)
834
+ o.output = Shapes::ShapeRef.new(shape: MissionProfileIdResponse)
824
835
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
836
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
825
837
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
826
838
  end)
827
839
  end
@@ -10,6 +10,27 @@ module Aws::GroundStation
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class DependencyException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::GroundStation::Types::DependencyException] 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
+ # @return [String]
28
+ def parameter_name
29
+ @data[:parameter_name]
30
+ end
31
+
32
+ end
33
+
13
34
  class InvalidParameterException < ServiceError
14
35
 
15
36
  # @param [Seahorse::Client::RequestContext] context
@@ -31,11 +52,11 @@ module Aws::GroundStation
31
52
 
32
53
  end
33
54
 
34
- class DependencyException < ServiceError
55
+ class ResourceLimitExceededException < ServiceError
35
56
 
36
57
  # @param [Seahorse::Client::RequestContext] context
37
58
  # @param [String] message
38
- # @param [Aws::GroundStation::Types::DependencyException] data
59
+ # @param [Aws::GroundStation::Types::ResourceLimitExceededException] data
39
60
  def initialize(context, message, data = Aws::EmptyStructure.new)
40
61
  super(context, message, data)
41
62
  end