aws-sdk-lightsail 1.27.0 → 1.28.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,9 @@ module Aws::Lightsail
19
19
  AddOnRequest = Shapes::StructureShape.new(name: 'AddOnRequest')
20
20
  AddOnRequestList = Shapes::ListShape.new(name: 'AddOnRequestList')
21
21
  AddOnType = Shapes::StringShape.new(name: 'AddOnType')
22
+ Alarm = Shapes::StructureShape.new(name: 'Alarm')
23
+ AlarmState = Shapes::StringShape.new(name: 'AlarmState')
24
+ AlarmsList = Shapes::ListShape.new(name: 'AlarmsList')
22
25
  AllocateStaticIpRequest = Shapes::StructureShape.new(name: 'AllocateStaticIpRequest')
23
26
  AllocateStaticIpResult = Shapes::StructureShape.new(name: 'AllocateStaticIpResult')
24
27
  AttachDiskRequest = Shapes::StructureShape.new(name: 'AttachDiskRequest')
@@ -52,10 +55,19 @@ module Aws::Lightsail
52
55
  CloudFormationStackRecordSourceInfo = Shapes::StructureShape.new(name: 'CloudFormationStackRecordSourceInfo')
53
56
  CloudFormationStackRecordSourceInfoList = Shapes::ListShape.new(name: 'CloudFormationStackRecordSourceInfoList')
54
57
  CloudFormationStackRecordSourceType = Shapes::StringShape.new(name: 'CloudFormationStackRecordSourceType')
58
+ ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
59
+ ContactMethod = Shapes::StructureShape.new(name: 'ContactMethod')
60
+ ContactMethodStatus = Shapes::StringShape.new(name: 'ContactMethodStatus')
61
+ ContactMethodVerificationProtocol = Shapes::StringShape.new(name: 'ContactMethodVerificationProtocol')
62
+ ContactMethodsList = Shapes::ListShape.new(name: 'ContactMethodsList')
63
+ ContactProtocol = Shapes::StringShape.new(name: 'ContactProtocol')
64
+ ContactProtocolsList = Shapes::ListShape.new(name: 'ContactProtocolsList')
55
65
  CopySnapshotRequest = Shapes::StructureShape.new(name: 'CopySnapshotRequest')
56
66
  CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
57
67
  CreateCloudFormationStackRequest = Shapes::StructureShape.new(name: 'CreateCloudFormationStackRequest')
58
68
  CreateCloudFormationStackResult = Shapes::StructureShape.new(name: 'CreateCloudFormationStackResult')
69
+ CreateContactMethodRequest = Shapes::StructureShape.new(name: 'CreateContactMethodRequest')
70
+ CreateContactMethodResult = Shapes::StructureShape.new(name: 'CreateContactMethodResult')
59
71
  CreateDiskFromSnapshotRequest = Shapes::StructureShape.new(name: 'CreateDiskFromSnapshotRequest')
60
72
  CreateDiskFromSnapshotResult = Shapes::StructureShape.new(name: 'CreateDiskFromSnapshotResult')
61
73
  CreateDiskRequest = Shapes::StructureShape.new(name: 'CreateDiskRequest')
@@ -84,8 +96,12 @@ module Aws::Lightsail
84
96
  CreateRelationalDatabaseResult = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseResult')
85
97
  CreateRelationalDatabaseSnapshotRequest = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseSnapshotRequest')
86
98
  CreateRelationalDatabaseSnapshotResult = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseSnapshotResult')
99
+ DeleteAlarmRequest = Shapes::StructureShape.new(name: 'DeleteAlarmRequest')
100
+ DeleteAlarmResult = Shapes::StructureShape.new(name: 'DeleteAlarmResult')
87
101
  DeleteAutoSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteAutoSnapshotRequest')
88
102
  DeleteAutoSnapshotResult = Shapes::StructureShape.new(name: 'DeleteAutoSnapshotResult')
103
+ DeleteContactMethodRequest = Shapes::StructureShape.new(name: 'DeleteContactMethodRequest')
104
+ DeleteContactMethodResult = Shapes::StructureShape.new(name: 'DeleteContactMethodResult')
89
105
  DeleteDiskRequest = Shapes::StructureShape.new(name: 'DeleteDiskRequest')
90
106
  DeleteDiskResult = Shapes::StructureShape.new(name: 'DeleteDiskResult')
91
107
  DeleteDiskSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteDiskSnapshotRequest')
@@ -151,6 +167,8 @@ module Aws::Lightsail
151
167
  ExportSnapshotResult = Shapes::StructureShape.new(name: 'ExportSnapshotResult')
152
168
  GetActiveNamesRequest = Shapes::StructureShape.new(name: 'GetActiveNamesRequest')
153
169
  GetActiveNamesResult = Shapes::StructureShape.new(name: 'GetActiveNamesResult')
170
+ GetAlarmsRequest = Shapes::StructureShape.new(name: 'GetAlarmsRequest')
171
+ GetAlarmsResult = Shapes::StructureShape.new(name: 'GetAlarmsResult')
154
172
  GetAutoSnapshotsRequest = Shapes::StructureShape.new(name: 'GetAutoSnapshotsRequest')
155
173
  GetAutoSnapshotsResult = Shapes::StructureShape.new(name: 'GetAutoSnapshotsResult')
156
174
  GetBlueprintsRequest = Shapes::StructureShape.new(name: 'GetBlueprintsRequest')
@@ -159,6 +177,8 @@ module Aws::Lightsail
159
177
  GetBundlesResult = Shapes::StructureShape.new(name: 'GetBundlesResult')
160
178
  GetCloudFormationStackRecordsRequest = Shapes::StructureShape.new(name: 'GetCloudFormationStackRecordsRequest')
161
179
  GetCloudFormationStackRecordsResult = Shapes::StructureShape.new(name: 'GetCloudFormationStackRecordsResult')
180
+ GetContactMethodsRequest = Shapes::StructureShape.new(name: 'GetContactMethodsRequest')
181
+ GetContactMethodsResult = Shapes::StructureShape.new(name: 'GetContactMethodsResult')
162
182
  GetDiskRequest = Shapes::StructureShape.new(name: 'GetDiskRequest')
163
183
  GetDiskResult = Shapes::StructureShape.new(name: 'GetDiskResult')
164
184
  GetDiskSnapshotRequest = Shapes::StructureShape.new(name: 'GetDiskSnapshotRequest')
@@ -298,14 +318,17 @@ module Aws::Lightsail
298
318
  LogEventList = Shapes::ListShape.new(name: 'LogEventList')
299
319
  MetricDatapoint = Shapes::StructureShape.new(name: 'MetricDatapoint')
300
320
  MetricDatapointList = Shapes::ListShape.new(name: 'MetricDatapointList')
321
+ MetricName = Shapes::StringShape.new(name: 'MetricName')
301
322
  MetricPeriod = Shapes::IntegerShape.new(name: 'MetricPeriod')
302
323
  MetricStatistic = Shapes::StringShape.new(name: 'MetricStatistic')
303
324
  MetricStatisticList = Shapes::ListShape.new(name: 'MetricStatisticList')
304
325
  MetricUnit = Shapes::StringShape.new(name: 'MetricUnit')
326
+ MonitoredResourceInfo = Shapes::StructureShape.new(name: 'MonitoredResourceInfo')
305
327
  MonthlyTransfer = Shapes::StructureShape.new(name: 'MonthlyTransfer')
306
328
  NetworkProtocol = Shapes::StringShape.new(name: 'NetworkProtocol')
307
329
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
308
330
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
331
+ NotificationTriggerList = Shapes::ListShape.new(name: 'NotificationTriggerList')
309
332
  OpenInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'OpenInstancePublicPortsRequest')
310
333
  OpenInstancePublicPortsResult = Shapes::StructureShape.new(name: 'OpenInstancePublicPortsResult')
311
334
  Operation = Shapes::StructureShape.new(name: 'Operation')
@@ -326,6 +349,8 @@ module Aws::Lightsail
326
349
  PortInfoSourceType = Shapes::StringShape.new(name: 'PortInfoSourceType')
327
350
  PortList = Shapes::ListShape.new(name: 'PortList')
328
351
  PortState = Shapes::StringShape.new(name: 'PortState')
352
+ PutAlarmRequest = Shapes::StructureShape.new(name: 'PutAlarmRequest')
353
+ PutAlarmResult = Shapes::StructureShape.new(name: 'PutAlarmResult')
329
354
  PutInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'PutInstancePublicPortsRequest')
330
355
  PutInstancePublicPortsResult = Shapes::StructureShape.new(name: 'PutInstancePublicPortsResult')
331
356
  RebootInstanceRequest = Shapes::StructureShape.new(name: 'RebootInstanceRequest')
@@ -360,6 +385,8 @@ module Aws::Lightsail
360
385
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
361
386
  ResourceNameList = Shapes::ListShape.new(name: 'ResourceNameList')
362
387
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
388
+ SendContactMethodVerificationRequest = Shapes::StructureShape.new(name: 'SendContactMethodVerificationRequest')
389
+ SendContactMethodVerificationResult = Shapes::StructureShape.new(name: 'SendContactMethodVerificationResult')
363
390
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
364
391
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
365
392
  StartInstanceRequest = Shapes::StructureShape.new(name: 'StartInstanceRequest')
@@ -381,7 +408,10 @@ module Aws::Lightsail
381
408
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
382
409
  TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
383
410
  TagValue = Shapes::StringShape.new(name: 'TagValue')
411
+ TestAlarmRequest = Shapes::StructureShape.new(name: 'TestAlarmRequest')
412
+ TestAlarmResult = Shapes::StructureShape.new(name: 'TestAlarmResult')
384
413
  TimeOfDay = Shapes::StringShape.new(name: 'TimeOfDay')
414
+ TreatMissingData = Shapes::StringShape.new(name: 'TreatMissingData')
385
415
  UnauthenticatedException = Shapes::StructureShape.new(name: 'UnauthenticatedException')
386
416
  UnpeerVpcRequest = Shapes::StructureShape.new(name: 'UnpeerVpcRequest')
387
417
  UnpeerVpcResult = Shapes::StructureShape.new(name: 'UnpeerVpcResult')
@@ -428,6 +458,30 @@ module Aws::Lightsail
428
458
 
429
459
  AddOnRequestList.member = Shapes::ShapeRef.new(shape: AddOnRequest)
430
460
 
461
+ Alarm.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
462
+ Alarm.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
463
+ Alarm.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
464
+ Alarm.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
465
+ Alarm.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
466
+ Alarm.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
467
+ Alarm.add_member(:monitored_resource_info, Shapes::ShapeRef.new(shape: MonitoredResourceInfo, location_name: "monitoredResourceInfo"))
468
+ Alarm.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "comparisonOperator"))
469
+ Alarm.add_member(:evaluation_periods, Shapes::ShapeRef.new(shape: integer, location_name: "evaluationPeriods"))
470
+ Alarm.add_member(:period, Shapes::ShapeRef.new(shape: MetricPeriod, location_name: "period"))
471
+ Alarm.add_member(:threshold, Shapes::ShapeRef.new(shape: double, location_name: "threshold"))
472
+ Alarm.add_member(:datapoints_to_alarm, Shapes::ShapeRef.new(shape: integer, location_name: "datapointsToAlarm"))
473
+ Alarm.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "treatMissingData"))
474
+ Alarm.add_member(:statistic, Shapes::ShapeRef.new(shape: MetricStatistic, location_name: "statistic"))
475
+ Alarm.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "metricName"))
476
+ Alarm.add_member(:state, Shapes::ShapeRef.new(shape: AlarmState, location_name: "state"))
477
+ Alarm.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, location_name: "unit"))
478
+ Alarm.add_member(:contact_protocols, Shapes::ShapeRef.new(shape: ContactProtocolsList, location_name: "contactProtocols"))
479
+ Alarm.add_member(:notification_triggers, Shapes::ShapeRef.new(shape: NotificationTriggerList, location_name: "notificationTriggers"))
480
+ Alarm.add_member(:notification_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "notificationEnabled"))
481
+ Alarm.struct_class = Types::Alarm
482
+
483
+ AlarmsList.member = Shapes::ShapeRef.new(shape: Alarm)
484
+
431
485
  AllocateStaticIpRequest.add_member(:static_ip_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "staticIpName"))
432
486
  AllocateStaticIpRequest.struct_class = Types::AllocateStaticIpRequest
433
487
 
@@ -546,6 +600,21 @@ module Aws::Lightsail
546
600
 
547
601
  CloudFormationStackRecordSourceInfoList.member = Shapes::ShapeRef.new(shape: CloudFormationStackRecordSourceInfo)
548
602
 
603
+ ContactMethod.add_member(:contact_endpoint, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "contactEndpoint"))
604
+ ContactMethod.add_member(:status, Shapes::ShapeRef.new(shape: ContactMethodStatus, location_name: "status"))
605
+ ContactMethod.add_member(:protocol, Shapes::ShapeRef.new(shape: ContactProtocol, location_name: "protocol"))
606
+ ContactMethod.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
607
+ ContactMethod.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
608
+ ContactMethod.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
609
+ ContactMethod.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
610
+ ContactMethod.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
611
+ ContactMethod.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
612
+ ContactMethod.struct_class = Types::ContactMethod
613
+
614
+ ContactMethodsList.member = Shapes::ShapeRef.new(shape: ContactMethod)
615
+
616
+ ContactProtocolsList.member = Shapes::ShapeRef.new(shape: ContactProtocol)
617
+
549
618
  CopySnapshotRequest.add_member(:source_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "sourceSnapshotName"))
550
619
  CopySnapshotRequest.add_member(:source_resource_name, Shapes::ShapeRef.new(shape: string, location_name: "sourceResourceName"))
551
620
  CopySnapshotRequest.add_member(:restore_date, Shapes::ShapeRef.new(shape: string, location_name: "restoreDate"))
@@ -563,6 +632,13 @@ module Aws::Lightsail
563
632
  CreateCloudFormationStackResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
564
633
  CreateCloudFormationStackResult.struct_class = Types::CreateCloudFormationStackResult
565
634
 
635
+ CreateContactMethodRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: ContactProtocol, required: true, location_name: "protocol"))
636
+ CreateContactMethodRequest.add_member(:contact_endpoint, Shapes::ShapeRef.new(shape: StringMax256, required: true, location_name: "contactEndpoint"))
637
+ CreateContactMethodRequest.struct_class = Types::CreateContactMethodRequest
638
+
639
+ CreateContactMethodResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
640
+ CreateContactMethodResult.struct_class = Types::CreateContactMethodResult
641
+
566
642
  CreateDiskFromSnapshotRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
567
643
  CreateDiskFromSnapshotRequest.add_member(:disk_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "diskSnapshotName"))
568
644
  CreateDiskFromSnapshotRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "availabilityZone"))
@@ -719,6 +795,12 @@ module Aws::Lightsail
719
795
  CreateRelationalDatabaseSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
720
796
  CreateRelationalDatabaseSnapshotResult.struct_class = Types::CreateRelationalDatabaseSnapshotResult
721
797
 
798
+ DeleteAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
799
+ DeleteAlarmRequest.struct_class = Types::DeleteAlarmRequest
800
+
801
+ DeleteAlarmResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
802
+ DeleteAlarmResult.struct_class = Types::DeleteAlarmResult
803
+
722
804
  DeleteAutoSnapshotRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
723
805
  DeleteAutoSnapshotRequest.add_member(:date, Shapes::ShapeRef.new(shape: AutoSnapshotDate, required: true, location_name: "date"))
724
806
  DeleteAutoSnapshotRequest.struct_class = Types::DeleteAutoSnapshotRequest
@@ -726,6 +808,12 @@ module Aws::Lightsail
726
808
  DeleteAutoSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
727
809
  DeleteAutoSnapshotResult.struct_class = Types::DeleteAutoSnapshotResult
728
810
 
811
+ DeleteContactMethodRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: ContactProtocol, required: true, location_name: "protocol"))
812
+ DeleteContactMethodRequest.struct_class = Types::DeleteContactMethodRequest
813
+
814
+ DeleteContactMethodResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
815
+ DeleteContactMethodResult.struct_class = Types::DeleteContactMethodResult
816
+
729
817
  DeleteDiskRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
730
818
  DeleteDiskRequest.add_member(:force_delete_add_ons, Shapes::ShapeRef.new(shape: boolean, location_name: "forceDeleteAddOns"))
731
819
  DeleteDiskRequest.struct_class = Types::DeleteDiskRequest
@@ -967,6 +1055,15 @@ module Aws::Lightsail
967
1055
  GetActiveNamesResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
968
1056
  GetActiveNamesResult.struct_class = Types::GetActiveNamesResult
969
1057
 
1058
+ GetAlarmsRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "alarmName"))
1059
+ GetAlarmsRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
1060
+ GetAlarmsRequest.add_member(:monitored_resource_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "monitoredResourceName"))
1061
+ GetAlarmsRequest.struct_class = Types::GetAlarmsRequest
1062
+
1063
+ GetAlarmsResult.add_member(:alarms, Shapes::ShapeRef.new(shape: AlarmsList, location_name: "alarms"))
1064
+ GetAlarmsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
1065
+ GetAlarmsResult.struct_class = Types::GetAlarmsResult
1066
+
970
1067
  GetAutoSnapshotsRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
971
1068
  GetAutoSnapshotsRequest.struct_class = Types::GetAutoSnapshotsRequest
972
1069
 
@@ -998,6 +1095,12 @@ module Aws::Lightsail
998
1095
  GetCloudFormationStackRecordsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
999
1096
  GetCloudFormationStackRecordsResult.struct_class = Types::GetCloudFormationStackRecordsResult
1000
1097
 
1098
+ GetContactMethodsRequest.add_member(:protocols, Shapes::ShapeRef.new(shape: ContactProtocolsList, location_name: "protocols"))
1099
+ GetContactMethodsRequest.struct_class = Types::GetContactMethodsRequest
1100
+
1101
+ GetContactMethodsResult.add_member(:contact_methods, Shapes::ShapeRef.new(shape: ContactMethodsList, location_name: "contactMethods"))
1102
+ GetContactMethodsResult.struct_class = Types::GetContactMethodsResult
1103
+
1001
1104
  GetDiskRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
1002
1105
  GetDiskRequest.struct_class = Types::GetDiskRequest
1003
1106
 
@@ -1534,6 +1637,11 @@ module Aws::Lightsail
1534
1637
 
1535
1638
  MetricStatisticList.member = Shapes::ShapeRef.new(shape: MetricStatistic)
1536
1639
 
1640
+ MonitoredResourceInfo.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
1641
+ MonitoredResourceInfo.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
1642
+ MonitoredResourceInfo.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
1643
+ MonitoredResourceInfo.struct_class = Types::MonitoredResourceInfo
1644
+
1537
1645
  MonthlyTransfer.add_member(:gb_per_month_allocated, Shapes::ShapeRef.new(shape: integer, location_name: "gbPerMonthAllocated"))
1538
1646
  MonthlyTransfer.struct_class = Types::MonthlyTransfer
1539
1647
 
@@ -1543,6 +1651,8 @@ module Aws::Lightsail
1543
1651
  NotFoundException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
1544
1652
  NotFoundException.struct_class = Types::NotFoundException
1545
1653
 
1654
+ NotificationTriggerList.member = Shapes::ShapeRef.new(shape: AlarmState)
1655
+
1546
1656
  OpenInstancePublicPortsRequest.add_member(:port_info, Shapes::ShapeRef.new(shape: PortInfo, required: true, location_name: "portInfo"))
1547
1657
  OpenInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
1548
1658
  OpenInstancePublicPortsRequest.struct_class = Types::OpenInstancePublicPortsRequest
@@ -1602,6 +1712,22 @@ module Aws::Lightsail
1602
1712
 
1603
1713
  PortList.member = Shapes::ShapeRef.new(shape: Port)
1604
1714
 
1715
+ PutAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
1716
+ PutAlarmRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
1717
+ PutAlarmRequest.add_member(:monitored_resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "monitoredResourceName"))
1718
+ PutAlarmRequest.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "comparisonOperator"))
1719
+ PutAlarmRequest.add_member(:threshold, Shapes::ShapeRef.new(shape: double, required: true, location_name: "threshold"))
1720
+ PutAlarmRequest.add_member(:evaluation_periods, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "evaluationPeriods"))
1721
+ PutAlarmRequest.add_member(:datapoints_to_alarm, Shapes::ShapeRef.new(shape: integer, location_name: "datapointsToAlarm"))
1722
+ PutAlarmRequest.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "treatMissingData"))
1723
+ PutAlarmRequest.add_member(:contact_protocols, Shapes::ShapeRef.new(shape: ContactProtocolsList, location_name: "contactProtocols"))
1724
+ PutAlarmRequest.add_member(:notification_triggers, Shapes::ShapeRef.new(shape: NotificationTriggerList, location_name: "notificationTriggers"))
1725
+ PutAlarmRequest.add_member(:notification_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "notificationEnabled"))
1726
+ PutAlarmRequest.struct_class = Types::PutAlarmRequest
1727
+
1728
+ PutAlarmResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1729
+ PutAlarmResult.struct_class = Types::PutAlarmResult
1730
+
1605
1731
  PutInstancePublicPortsRequest.add_member(:port_infos, Shapes::ShapeRef.new(shape: PortInfoList, required: true, location_name: "portInfos"))
1606
1732
  PutInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
1607
1733
  PutInstancePublicPortsRequest.struct_class = Types::PutInstancePublicPortsRequest
@@ -1744,6 +1870,12 @@ module Aws::Lightsail
1744
1870
 
1745
1871
  ResourceNameList.member = Shapes::ShapeRef.new(shape: ResourceName)
1746
1872
 
1873
+ SendContactMethodVerificationRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: ContactMethodVerificationProtocol, required: true, location_name: "protocol"))
1874
+ SendContactMethodVerificationRequest.struct_class = Types::SendContactMethodVerificationRequest
1875
+
1876
+ SendContactMethodVerificationResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1877
+ SendContactMethodVerificationResult.struct_class = Types::SendContactMethodVerificationResult
1878
+
1747
1879
  ServiceException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1748
1880
  ServiceException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1749
1881
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -1807,6 +1939,13 @@ module Aws::Lightsail
1807
1939
  TagResourceResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1808
1940
  TagResourceResult.struct_class = Types::TagResourceResult
1809
1941
 
1942
+ TestAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
1943
+ TestAlarmRequest.add_member(:state, Shapes::ShapeRef.new(shape: AlarmState, required: true, location_name: "state"))
1944
+ TestAlarmRequest.struct_class = Types::TestAlarmRequest
1945
+
1946
+ TestAlarmResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1947
+ TestAlarmResult.struct_class = Types::TestAlarmResult
1948
+
1810
1949
  UnauthenticatedException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1811
1950
  UnauthenticatedException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1812
1951
  UnauthenticatedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -2001,6 +2140,20 @@ module Aws::Lightsail
2001
2140
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2002
2141
  end)
2003
2142
 
2143
+ api.add_operation(:create_contact_method, Seahorse::Model::Operation.new.tap do |o|
2144
+ o.name = "CreateContactMethod"
2145
+ o.http_method = "POST"
2146
+ o.http_request_uri = "/"
2147
+ o.input = Shapes::ShapeRef.new(shape: CreateContactMethodRequest)
2148
+ o.output = Shapes::ShapeRef.new(shape: CreateContactMethodResult)
2149
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2150
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2151
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2152
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2153
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2154
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2155
+ end)
2156
+
2004
2157
  api.add_operation(:create_disk, Seahorse::Model::Operation.new.tap do |o|
2005
2158
  o.name = "CreateDisk"
2006
2159
  o.http_method = "POST"
@@ -2211,6 +2364,20 @@ module Aws::Lightsail
2211
2364
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2212
2365
  end)
2213
2366
 
2367
+ api.add_operation(:delete_alarm, Seahorse::Model::Operation.new.tap do |o|
2368
+ o.name = "DeleteAlarm"
2369
+ o.http_method = "POST"
2370
+ o.http_request_uri = "/"
2371
+ o.input = Shapes::ShapeRef.new(shape: DeleteAlarmRequest)
2372
+ o.output = Shapes::ShapeRef.new(shape: DeleteAlarmResult)
2373
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2374
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2375
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2376
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2377
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2378
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2379
+ end)
2380
+
2214
2381
  api.add_operation(:delete_auto_snapshot, Seahorse::Model::Operation.new.tap do |o|
2215
2382
  o.name = "DeleteAutoSnapshot"
2216
2383
  o.http_method = "POST"
@@ -2225,6 +2392,20 @@ module Aws::Lightsail
2225
2392
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2226
2393
  end)
2227
2394
 
2395
+ api.add_operation(:delete_contact_method, Seahorse::Model::Operation.new.tap do |o|
2396
+ o.name = "DeleteContactMethod"
2397
+ o.http_method = "POST"
2398
+ o.http_request_uri = "/"
2399
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactMethodRequest)
2400
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactMethodResult)
2401
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2403
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2404
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2405
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2406
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2407
+ end)
2408
+
2228
2409
  api.add_operation(:delete_disk, Seahorse::Model::Operation.new.tap do |o|
2229
2410
  o.name = "DeleteDisk"
2230
2411
  o.http_method = "POST"
@@ -2523,6 +2704,20 @@ module Aws::Lightsail
2523
2704
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2524
2705
  end)
2525
2706
 
2707
+ api.add_operation(:get_alarms, Seahorse::Model::Operation.new.tap do |o|
2708
+ o.name = "GetAlarms"
2709
+ o.http_method = "POST"
2710
+ o.http_request_uri = "/"
2711
+ o.input = Shapes::ShapeRef.new(shape: GetAlarmsRequest)
2712
+ o.output = Shapes::ShapeRef.new(shape: GetAlarmsResult)
2713
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2714
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2715
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2716
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2717
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2718
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2719
+ end)
2720
+
2526
2721
  api.add_operation(:get_auto_snapshots, Seahorse::Model::Operation.new.tap do |o|
2527
2722
  o.name = "GetAutoSnapshots"
2528
2723
  o.http_method = "POST"
@@ -2582,6 +2777,20 @@ module Aws::Lightsail
2582
2777
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2583
2778
  end)
2584
2779
 
2780
+ api.add_operation(:get_contact_methods, Seahorse::Model::Operation.new.tap do |o|
2781
+ o.name = "GetContactMethods"
2782
+ o.http_method = "POST"
2783
+ o.http_request_uri = "/"
2784
+ o.input = Shapes::ShapeRef.new(shape: GetContactMethodsRequest)
2785
+ o.output = Shapes::ShapeRef.new(shape: GetContactMethodsResult)
2786
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2787
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2788
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2789
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2790
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2791
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2792
+ end)
2793
+
2585
2794
  api.add_operation(:get_disk, Seahorse::Model::Operation.new.tap do |o|
2586
2795
  o.name = "GetDisk"
2587
2796
  o.http_method = "POST"
@@ -3227,6 +3436,20 @@ module Aws::Lightsail
3227
3436
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3228
3437
  end)
3229
3438
 
3439
+ api.add_operation(:put_alarm, Seahorse::Model::Operation.new.tap do |o|
3440
+ o.name = "PutAlarm"
3441
+ o.http_method = "POST"
3442
+ o.http_request_uri = "/"
3443
+ o.input = Shapes::ShapeRef.new(shape: PutAlarmRequest)
3444
+ o.output = Shapes::ShapeRef.new(shape: PutAlarmResult)
3445
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3446
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3447
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
3448
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3449
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3450
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3451
+ end)
3452
+
3230
3453
  api.add_operation(:put_instance_public_ports, Seahorse::Model::Operation.new.tap do |o|
3231
3454
  o.name = "PutInstancePublicPorts"
3232
3455
  o.http_method = "POST"
@@ -3287,6 +3510,20 @@ module Aws::Lightsail
3287
3510
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3288
3511
  end)
3289
3512
 
3513
+ api.add_operation(:send_contact_method_verification, Seahorse::Model::Operation.new.tap do |o|
3514
+ o.name = "SendContactMethodVerification"
3515
+ o.http_method = "POST"
3516
+ o.http_request_uri = "/"
3517
+ o.input = Shapes::ShapeRef.new(shape: SendContactMethodVerificationRequest)
3518
+ o.output = Shapes::ShapeRef.new(shape: SendContactMethodVerificationResult)
3519
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3520
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3521
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
3522
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3523
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3524
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3525
+ end)
3526
+
3290
3527
  api.add_operation(:start_instance, Seahorse::Model::Operation.new.tap do |o|
3291
3528
  o.name = "StartInstance"
3292
3529
  o.http_method = "POST"
@@ -3362,6 +3599,20 @@ module Aws::Lightsail
3362
3599
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3363
3600
  end)
3364
3601
 
3602
+ api.add_operation(:test_alarm, Seahorse::Model::Operation.new.tap do |o|
3603
+ o.name = "TestAlarm"
3604
+ o.http_method = "POST"
3605
+ o.http_request_uri = "/"
3606
+ o.input = Shapes::ShapeRef.new(shape: TestAlarmRequest)
3607
+ o.output = Shapes::ShapeRef.new(shape: TestAlarmResult)
3608
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3609
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3610
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
3611
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3612
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3613
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3614
+ end)
3615
+
3365
3616
  api.add_operation(:unpeer_vpc, Seahorse::Model::Operation.new.tap do |o|
3366
3617
  o.name = "UnpeerVpc"
3367
3618
  o.http_method = "POST"