aws-sdk-lightsail 1.27.0 → 1.32.0

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
 
@@ -1374,6 +1477,8 @@ module Aws::Lightsail
1374
1477
  InstancePortInfo.add_member(:access_type, Shapes::ShapeRef.new(shape: PortAccessType, location_name: "accessType"))
1375
1478
  InstancePortInfo.add_member(:common_name, Shapes::ShapeRef.new(shape: string, location_name: "commonName"))
1376
1479
  InstancePortInfo.add_member(:access_direction, Shapes::ShapeRef.new(shape: AccessDirection, location_name: "accessDirection"))
1480
+ InstancePortInfo.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
1481
+ InstancePortInfo.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
1377
1482
  InstancePortInfo.struct_class = Types::InstancePortInfo
1378
1483
 
1379
1484
  InstancePortInfoList.member = Shapes::ShapeRef.new(shape: InstancePortInfo)
@@ -1382,6 +1487,8 @@ module Aws::Lightsail
1382
1487
  InstancePortState.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
1383
1488
  InstancePortState.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
1384
1489
  InstancePortState.add_member(:state, Shapes::ShapeRef.new(shape: PortState, location_name: "state"))
1490
+ InstancePortState.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
1491
+ InstancePortState.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
1385
1492
  InstancePortState.struct_class = Types::InstancePortState
1386
1493
 
1387
1494
  InstancePortStateList.member = Shapes::ShapeRef.new(shape: InstancePortState)
@@ -1534,6 +1641,11 @@ module Aws::Lightsail
1534
1641
 
1535
1642
  MetricStatisticList.member = Shapes::ShapeRef.new(shape: MetricStatistic)
1536
1643
 
1644
+ MonitoredResourceInfo.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
1645
+ MonitoredResourceInfo.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
1646
+ MonitoredResourceInfo.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
1647
+ MonitoredResourceInfo.struct_class = Types::MonitoredResourceInfo
1648
+
1537
1649
  MonthlyTransfer.add_member(:gb_per_month_allocated, Shapes::ShapeRef.new(shape: integer, location_name: "gbPerMonthAllocated"))
1538
1650
  MonthlyTransfer.struct_class = Types::MonthlyTransfer
1539
1651
 
@@ -1543,6 +1655,8 @@ module Aws::Lightsail
1543
1655
  NotFoundException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
1544
1656
  NotFoundException.struct_class = Types::NotFoundException
1545
1657
 
1658
+ NotificationTriggerList.member = Shapes::ShapeRef.new(shape: AlarmState)
1659
+
1546
1660
  OpenInstancePublicPortsRequest.add_member(:port_info, Shapes::ShapeRef.new(shape: PortInfo, required: true, location_name: "portInfo"))
1547
1661
  OpenInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
1548
1662
  OpenInstancePublicPortsRequest.struct_class = Types::OpenInstancePublicPortsRequest
@@ -1596,12 +1710,30 @@ module Aws::Lightsail
1596
1710
  PortInfo.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "fromPort"))
1597
1711
  PortInfo.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
1598
1712
  PortInfo.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
1713
+ PortInfo.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
1714
+ PortInfo.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
1599
1715
  PortInfo.struct_class = Types::PortInfo
1600
1716
 
1601
1717
  PortInfoList.member = Shapes::ShapeRef.new(shape: PortInfo)
1602
1718
 
1603
1719
  PortList.member = Shapes::ShapeRef.new(shape: Port)
1604
1720
 
1721
+ PutAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
1722
+ PutAlarmRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
1723
+ PutAlarmRequest.add_member(:monitored_resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "monitoredResourceName"))
1724
+ PutAlarmRequest.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "comparisonOperator"))
1725
+ PutAlarmRequest.add_member(:threshold, Shapes::ShapeRef.new(shape: double, required: true, location_name: "threshold"))
1726
+ PutAlarmRequest.add_member(:evaluation_periods, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "evaluationPeriods"))
1727
+ PutAlarmRequest.add_member(:datapoints_to_alarm, Shapes::ShapeRef.new(shape: integer, location_name: "datapointsToAlarm"))
1728
+ PutAlarmRequest.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "treatMissingData"))
1729
+ PutAlarmRequest.add_member(:contact_protocols, Shapes::ShapeRef.new(shape: ContactProtocolsList, location_name: "contactProtocols"))
1730
+ PutAlarmRequest.add_member(:notification_triggers, Shapes::ShapeRef.new(shape: NotificationTriggerList, location_name: "notificationTriggers"))
1731
+ PutAlarmRequest.add_member(:notification_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "notificationEnabled"))
1732
+ PutAlarmRequest.struct_class = Types::PutAlarmRequest
1733
+
1734
+ PutAlarmResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1735
+ PutAlarmResult.struct_class = Types::PutAlarmResult
1736
+
1605
1737
  PutInstancePublicPortsRequest.add_member(:port_infos, Shapes::ShapeRef.new(shape: PortInfoList, required: true, location_name: "portInfos"))
1606
1738
  PutInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
1607
1739
  PutInstancePublicPortsRequest.struct_class = Types::PutInstancePublicPortsRequest
@@ -1744,6 +1876,12 @@ module Aws::Lightsail
1744
1876
 
1745
1877
  ResourceNameList.member = Shapes::ShapeRef.new(shape: ResourceName)
1746
1878
 
1879
+ SendContactMethodVerificationRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: ContactMethodVerificationProtocol, required: true, location_name: "protocol"))
1880
+ SendContactMethodVerificationRequest.struct_class = Types::SendContactMethodVerificationRequest
1881
+
1882
+ SendContactMethodVerificationResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1883
+ SendContactMethodVerificationResult.struct_class = Types::SendContactMethodVerificationResult
1884
+
1747
1885
  ServiceException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1748
1886
  ServiceException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1749
1887
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -1807,6 +1945,13 @@ module Aws::Lightsail
1807
1945
  TagResourceResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1808
1946
  TagResourceResult.struct_class = Types::TagResourceResult
1809
1947
 
1948
+ TestAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
1949
+ TestAlarmRequest.add_member(:state, Shapes::ShapeRef.new(shape: AlarmState, required: true, location_name: "state"))
1950
+ TestAlarmRequest.struct_class = Types::TestAlarmRequest
1951
+
1952
+ TestAlarmResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1953
+ TestAlarmResult.struct_class = Types::TestAlarmResult
1954
+
1810
1955
  UnauthenticatedException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1811
1956
  UnauthenticatedException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1812
1957
  UnauthenticatedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -2001,6 +2146,20 @@ module Aws::Lightsail
2001
2146
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2002
2147
  end)
2003
2148
 
2149
+ api.add_operation(:create_contact_method, Seahorse::Model::Operation.new.tap do |o|
2150
+ o.name = "CreateContactMethod"
2151
+ o.http_method = "POST"
2152
+ o.http_request_uri = "/"
2153
+ o.input = Shapes::ShapeRef.new(shape: CreateContactMethodRequest)
2154
+ o.output = Shapes::ShapeRef.new(shape: CreateContactMethodResult)
2155
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2156
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2157
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2158
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2159
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2160
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2161
+ end)
2162
+
2004
2163
  api.add_operation(:create_disk, Seahorse::Model::Operation.new.tap do |o|
2005
2164
  o.name = "CreateDisk"
2006
2165
  o.http_method = "POST"
@@ -2211,6 +2370,20 @@ module Aws::Lightsail
2211
2370
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2212
2371
  end)
2213
2372
 
2373
+ api.add_operation(:delete_alarm, Seahorse::Model::Operation.new.tap do |o|
2374
+ o.name = "DeleteAlarm"
2375
+ o.http_method = "POST"
2376
+ o.http_request_uri = "/"
2377
+ o.input = Shapes::ShapeRef.new(shape: DeleteAlarmRequest)
2378
+ o.output = Shapes::ShapeRef.new(shape: DeleteAlarmResult)
2379
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2380
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2381
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2382
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2383
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2384
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2385
+ end)
2386
+
2214
2387
  api.add_operation(:delete_auto_snapshot, Seahorse::Model::Operation.new.tap do |o|
2215
2388
  o.name = "DeleteAutoSnapshot"
2216
2389
  o.http_method = "POST"
@@ -2225,6 +2398,20 @@ module Aws::Lightsail
2225
2398
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2226
2399
  end)
2227
2400
 
2401
+ api.add_operation(:delete_contact_method, Seahorse::Model::Operation.new.tap do |o|
2402
+ o.name = "DeleteContactMethod"
2403
+ o.http_method = "POST"
2404
+ o.http_request_uri = "/"
2405
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactMethodRequest)
2406
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactMethodResult)
2407
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2408
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2409
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2410
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2411
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2412
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2413
+ end)
2414
+
2228
2415
  api.add_operation(:delete_disk, Seahorse::Model::Operation.new.tap do |o|
2229
2416
  o.name = "DeleteDisk"
2230
2417
  o.http_method = "POST"
@@ -2523,6 +2710,20 @@ module Aws::Lightsail
2523
2710
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2524
2711
  end)
2525
2712
 
2713
+ api.add_operation(:get_alarms, Seahorse::Model::Operation.new.tap do |o|
2714
+ o.name = "GetAlarms"
2715
+ o.http_method = "POST"
2716
+ o.http_request_uri = "/"
2717
+ o.input = Shapes::ShapeRef.new(shape: GetAlarmsRequest)
2718
+ o.output = Shapes::ShapeRef.new(shape: GetAlarmsResult)
2719
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2720
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2721
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2722
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2723
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2724
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2725
+ end)
2726
+
2526
2727
  api.add_operation(:get_auto_snapshots, Seahorse::Model::Operation.new.tap do |o|
2527
2728
  o.name = "GetAutoSnapshots"
2528
2729
  o.http_method = "POST"
@@ -2582,6 +2783,20 @@ module Aws::Lightsail
2582
2783
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2583
2784
  end)
2584
2785
 
2786
+ api.add_operation(:get_contact_methods, Seahorse::Model::Operation.new.tap do |o|
2787
+ o.name = "GetContactMethods"
2788
+ o.http_method = "POST"
2789
+ o.http_request_uri = "/"
2790
+ o.input = Shapes::ShapeRef.new(shape: GetContactMethodsRequest)
2791
+ o.output = Shapes::ShapeRef.new(shape: GetContactMethodsResult)
2792
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2793
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2794
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2795
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
2796
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2797
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
2798
+ end)
2799
+
2585
2800
  api.add_operation(:get_disk, Seahorse::Model::Operation.new.tap do |o|
2586
2801
  o.name = "GetDisk"
2587
2802
  o.http_method = "POST"
@@ -3227,6 +3442,20 @@ module Aws::Lightsail
3227
3442
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3228
3443
  end)
3229
3444
 
3445
+ api.add_operation(:put_alarm, Seahorse::Model::Operation.new.tap do |o|
3446
+ o.name = "PutAlarm"
3447
+ o.http_method = "POST"
3448
+ o.http_request_uri = "/"
3449
+ o.input = Shapes::ShapeRef.new(shape: PutAlarmRequest)
3450
+ o.output = Shapes::ShapeRef.new(shape: PutAlarmResult)
3451
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3452
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3453
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
3454
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3455
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3456
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3457
+ end)
3458
+
3230
3459
  api.add_operation(:put_instance_public_ports, Seahorse::Model::Operation.new.tap do |o|
3231
3460
  o.name = "PutInstancePublicPorts"
3232
3461
  o.http_method = "POST"
@@ -3287,6 +3516,20 @@ module Aws::Lightsail
3287
3516
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3288
3517
  end)
3289
3518
 
3519
+ api.add_operation(:send_contact_method_verification, Seahorse::Model::Operation.new.tap do |o|
3520
+ o.name = "SendContactMethodVerification"
3521
+ o.http_method = "POST"
3522
+ o.http_request_uri = "/"
3523
+ o.input = Shapes::ShapeRef.new(shape: SendContactMethodVerificationRequest)
3524
+ o.output = Shapes::ShapeRef.new(shape: SendContactMethodVerificationResult)
3525
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3526
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3527
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
3528
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3529
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3530
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3531
+ end)
3532
+
3290
3533
  api.add_operation(:start_instance, Seahorse::Model::Operation.new.tap do |o|
3291
3534
  o.name = "StartInstance"
3292
3535
  o.http_method = "POST"
@@ -3362,6 +3605,20 @@ module Aws::Lightsail
3362
3605
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3363
3606
  end)
3364
3607
 
3608
+ api.add_operation(:test_alarm, Seahorse::Model::Operation.new.tap do |o|
3609
+ o.name = "TestAlarm"
3610
+ o.http_method = "POST"
3611
+ o.http_request_uri = "/"
3612
+ o.input = Shapes::ShapeRef.new(shape: TestAlarmRequest)
3613
+ o.output = Shapes::ShapeRef.new(shape: TestAlarmResult)
3614
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3615
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3616
+ o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
3617
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
3618
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3619
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3620
+ end)
3621
+
3365
3622
  api.add_operation(:unpeer_vpc, Seahorse::Model::Operation.new.tap do |o|
3366
3623
  o.name = "UnpeerVpc"
3367
3624
  o.http_method = "POST"