aws-sdk-lightsail 1.149.0 → 1.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +655 -222
- data/lib/aws-sdk-lightsail/client_api.rb +155 -0
- data/lib/aws-sdk-lightsail/types.rb +499 -2
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/sig/client.rbs +70 -3
- data/sig/types.rbs +119 -25
- metadata +1 -1
|
@@ -96,6 +96,8 @@ module Aws::Lightsail
|
|
|
96
96
|
CertificateStatusList = Shapes::ListShape.new(name: 'CertificateStatusList')
|
|
97
97
|
CertificateSummary = Shapes::StructureShape.new(name: 'CertificateSummary')
|
|
98
98
|
CertificateSummaryList = Shapes::ListShape.new(name: 'CertificateSummaryList')
|
|
99
|
+
CheckSubdomainAvailabilityRequest = Shapes::StructureShape.new(name: 'CheckSubdomainAvailabilityRequest')
|
|
100
|
+
CheckSubdomainAvailabilityResult = Shapes::StructureShape.new(name: 'CheckSubdomainAvailabilityResult')
|
|
99
101
|
CloseInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'CloseInstancePublicPortsRequest')
|
|
100
102
|
CloseInstancePublicPortsResult = Shapes::StructureShape.new(name: 'CloseInstancePublicPortsResult')
|
|
101
103
|
CloudFormationStackRecord = Shapes::StructureShape.new(name: 'CloudFormationStackRecord')
|
|
@@ -197,6 +199,8 @@ module Aws::Lightsail
|
|
|
197
199
|
CreateRelationalDatabaseResult = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseResult')
|
|
198
200
|
CreateRelationalDatabaseSnapshotRequest = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseSnapshotRequest')
|
|
199
201
|
CreateRelationalDatabaseSnapshotResult = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseSnapshotResult')
|
|
202
|
+
CreateSubdomainRequest = Shapes::StructureShape.new(name: 'CreateSubdomainRequest')
|
|
203
|
+
CreateSubdomainResult = Shapes::StructureShape.new(name: 'CreateSubdomainResult')
|
|
200
204
|
Currency = Shapes::StringShape.new(name: 'Currency')
|
|
201
205
|
DeleteAlarmRequest = Shapes::StructureShape.new(name: 'DeleteAlarmRequest')
|
|
202
206
|
DeleteAlarmResult = Shapes::StructureShape.new(name: 'DeleteAlarmResult')
|
|
@@ -240,6 +244,8 @@ module Aws::Lightsail
|
|
|
240
244
|
DeleteRelationalDatabaseResult = Shapes::StructureShape.new(name: 'DeleteRelationalDatabaseResult')
|
|
241
245
|
DeleteRelationalDatabaseSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteRelationalDatabaseSnapshotRequest')
|
|
242
246
|
DeleteRelationalDatabaseSnapshotResult = Shapes::StructureShape.new(name: 'DeleteRelationalDatabaseSnapshotResult')
|
|
247
|
+
DeleteSubdomainRequest = Shapes::StructureShape.new(name: 'DeleteSubdomainRequest')
|
|
248
|
+
DeleteSubdomainResult = Shapes::StructureShape.new(name: 'DeleteSubdomainResult')
|
|
243
249
|
DestinationInfo = Shapes::StructureShape.new(name: 'DestinationInfo')
|
|
244
250
|
DetachCertificateFromDistributionRequest = Shapes::StructureShape.new(name: 'DetachCertificateFromDistributionRequest')
|
|
245
251
|
DetachCertificateFromDistributionResult = Shapes::StructureShape.new(name: 'DetachCertificateFromDistributionResult')
|
|
@@ -429,6 +435,8 @@ module Aws::Lightsail
|
|
|
429
435
|
GetStaticIpResult = Shapes::StructureShape.new(name: 'GetStaticIpResult')
|
|
430
436
|
GetStaticIpsRequest = Shapes::StructureShape.new(name: 'GetStaticIpsRequest')
|
|
431
437
|
GetStaticIpsResult = Shapes::StructureShape.new(name: 'GetStaticIpsResult')
|
|
438
|
+
GetSubdomainsRequest = Shapes::StructureShape.new(name: 'GetSubdomainsRequest')
|
|
439
|
+
GetSubdomainsResult = Shapes::StructureShape.new(name: 'GetSubdomainsResult')
|
|
432
440
|
HeaderEnum = Shapes::StringShape.new(name: 'HeaderEnum')
|
|
433
441
|
HeaderForwardList = Shapes::ListShape.new(name: 'HeaderForwardList')
|
|
434
442
|
HeaderObject = Shapes::StructureShape.new(name: 'HeaderObject')
|
|
@@ -489,6 +497,8 @@ module Aws::Lightsail
|
|
|
489
497
|
KeyPair = Shapes::StructureShape.new(name: 'KeyPair')
|
|
490
498
|
KeyPairList = Shapes::ListShape.new(name: 'KeyPairList')
|
|
491
499
|
LightsailDistribution = Shapes::StructureShape.new(name: 'LightsailDistribution')
|
|
500
|
+
LightsailDistributionSubdomain = Shapes::StructureShape.new(name: 'LightsailDistributionSubdomain')
|
|
501
|
+
LightsailDistributionSubdomainStateEnum = Shapes::StringShape.new(name: 'LightsailDistributionSubdomainStateEnum')
|
|
492
502
|
LoadBalancer = Shapes::StructureShape.new(name: 'LoadBalancer')
|
|
493
503
|
LoadBalancerAttributeName = Shapes::StringShape.new(name: 'LoadBalancerAttributeName')
|
|
494
504
|
LoadBalancerConfigurationOptions = Shapes::MapShape.new(name: 'LoadBalancerConfigurationOptions')
|
|
@@ -660,6 +670,11 @@ module Aws::Lightsail
|
|
|
660
670
|
StopRelationalDatabaseResult = Shapes::StructureShape.new(name: 'StopRelationalDatabaseResult')
|
|
661
671
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
|
662
672
|
StringMax256 = Shapes::StringShape.new(name: 'StringMax256')
|
|
673
|
+
Subdomain = Shapes::StructureShape.new(name: 'Subdomain')
|
|
674
|
+
SubdomainAssociationAction = Shapes::StringShape.new(name: 'SubdomainAssociationAction')
|
|
675
|
+
SubdomainAttachableResource = Shapes::StructureShape.new(name: 'SubdomainAttachableResource')
|
|
676
|
+
SubdomainList = Shapes::ListShape.new(name: 'SubdomainList')
|
|
677
|
+
SubdomainState = Shapes::StringShape.new(name: 'SubdomainState')
|
|
663
678
|
SubjectAlternativeNameList = Shapes::ListShape.new(name: 'SubjectAlternativeNameList')
|
|
664
679
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
665
680
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
@@ -699,6 +714,8 @@ module Aws::Lightsail
|
|
|
699
714
|
UpdateRelationalDatabaseParametersResult = Shapes::StructureShape.new(name: 'UpdateRelationalDatabaseParametersResult')
|
|
700
715
|
UpdateRelationalDatabaseRequest = Shapes::StructureShape.new(name: 'UpdateRelationalDatabaseRequest')
|
|
701
716
|
UpdateRelationalDatabaseResult = Shapes::StructureShape.new(name: 'UpdateRelationalDatabaseResult')
|
|
717
|
+
UpdateSubdomainAssociationRequest = Shapes::StructureShape.new(name: 'UpdateSubdomainAssociationRequest')
|
|
718
|
+
UpdateSubdomainAssociationResult = Shapes::StructureShape.new(name: 'UpdateSubdomainAssociationResult')
|
|
702
719
|
ViewerMinimumTlsProtocolVersionEnum = Shapes::StringShape.new(name: 'ViewerMinimumTlsProtocolVersionEnum')
|
|
703
720
|
WafAcfpConfig = Shapes::StructureShape.new(name: 'WafAcfpConfig')
|
|
704
721
|
WafAtpConfig = Shapes::StructureShape.new(name: 'WafAtpConfig')
|
|
@@ -1018,6 +1035,15 @@ module Aws::Lightsail
|
|
|
1018
1035
|
|
|
1019
1036
|
CertificateSummaryList.member = Shapes::ShapeRef.new(shape: CertificateSummary)
|
|
1020
1037
|
|
|
1038
|
+
CheckSubdomainAvailabilityRequest.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "subdomainName"))
|
|
1039
|
+
CheckSubdomainAvailabilityRequest.add_member(:reserve, Shapes::ShapeRef.new(shape: boolean, location_name: "reserve"))
|
|
1040
|
+
CheckSubdomainAvailabilityRequest.struct_class = Types::CheckSubdomainAvailabilityRequest
|
|
1041
|
+
|
|
1042
|
+
CheckSubdomainAvailabilityResult.add_member(:available, Shapes::ShapeRef.new(shape: boolean, location_name: "available"))
|
|
1043
|
+
CheckSubdomainAvailabilityResult.add_member(:reservation_expires_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "reservationExpiresAt"))
|
|
1044
|
+
CheckSubdomainAvailabilityResult.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, location_name: "subdomainName"))
|
|
1045
|
+
CheckSubdomainAvailabilityResult.struct_class = Types::CheckSubdomainAvailabilityResult
|
|
1046
|
+
|
|
1021
1047
|
CloseInstancePublicPortsRequest.add_member(:port_info, Shapes::ShapeRef.new(shape: PortInfo, required: true, location_name: "portInfo"))
|
|
1022
1048
|
CloseInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
|
1023
1049
|
CloseInstancePublicPortsRequest.struct_class = Types::CloseInstancePublicPortsRequest
|
|
@@ -1306,6 +1332,7 @@ module Aws::Lightsail
|
|
|
1306
1332
|
CreateDistributionRequest.add_member(:custom_error_responses, Shapes::ShapeRef.new(shape: DistributionCustomErrorResponseList, location_name: "customErrorResponses"))
|
|
1307
1333
|
CreateDistributionRequest.add_member(:enable_waf, Shapes::ShapeRef.new(shape: boolean, location_name: "enableWaf"))
|
|
1308
1334
|
CreateDistributionRequest.add_member(:waf_rules, Shapes::ShapeRef.new(shape: WafRuleList, location_name: "wafRules"))
|
|
1335
|
+
CreateDistributionRequest.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, location_name: "subdomainName"))
|
|
1309
1336
|
CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
|
|
1310
1337
|
|
|
1311
1338
|
CreateDistributionResult.add_member(:distribution, Shapes::ShapeRef.new(shape: LightsailDistribution, location_name: "distribution"))
|
|
@@ -1449,6 +1476,14 @@ module Aws::Lightsail
|
|
|
1449
1476
|
CreateRelationalDatabaseSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
|
1450
1477
|
CreateRelationalDatabaseSnapshotResult.struct_class = Types::CreateRelationalDatabaseSnapshotResult
|
|
1451
1478
|
|
|
1479
|
+
CreateSubdomainRequest.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "subdomainName"))
|
|
1480
|
+
CreateSubdomainRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
1481
|
+
CreateSubdomainRequest.struct_class = Types::CreateSubdomainRequest
|
|
1482
|
+
|
|
1483
|
+
CreateSubdomainResult.add_member(:subdomain, Shapes::ShapeRef.new(shape: Subdomain, location_name: "subdomain"))
|
|
1484
|
+
CreateSubdomainResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
|
1485
|
+
CreateSubdomainResult.struct_class = Types::CreateSubdomainResult
|
|
1486
|
+
|
|
1452
1487
|
DeleteAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
|
|
1453
1488
|
DeleteAlarmRequest.struct_class = Types::DeleteAlarmRequest
|
|
1454
1489
|
|
|
@@ -1585,6 +1620,13 @@ module Aws::Lightsail
|
|
|
1585
1620
|
DeleteRelationalDatabaseSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
|
1586
1621
|
DeleteRelationalDatabaseSnapshotResult.struct_class = Types::DeleteRelationalDatabaseSnapshotResult
|
|
1587
1622
|
|
|
1623
|
+
DeleteSubdomainRequest.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "subdomainName"))
|
|
1624
|
+
DeleteSubdomainRequest.struct_class = Types::DeleteSubdomainRequest
|
|
1625
|
+
|
|
1626
|
+
DeleteSubdomainResult.add_member(:subdomain, Shapes::ShapeRef.new(shape: Subdomain, location_name: "subdomain"))
|
|
1627
|
+
DeleteSubdomainResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
|
1628
|
+
DeleteSubdomainResult.struct_class = Types::DeleteSubdomainResult
|
|
1629
|
+
|
|
1588
1630
|
DestinationInfo.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
|
|
1589
1631
|
DestinationInfo.add_member(:service, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "service"))
|
|
1590
1632
|
DestinationInfo.struct_class = Types::DestinationInfo
|
|
@@ -2301,6 +2343,14 @@ module Aws::Lightsail
|
|
|
2301
2343
|
GetStaticIpsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
|
2302
2344
|
GetStaticIpsResult.struct_class = Types::GetStaticIpsResult
|
|
2303
2345
|
|
|
2346
|
+
GetSubdomainsRequest.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, location_name: "subdomainName"))
|
|
2347
|
+
GetSubdomainsRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
|
|
2348
|
+
GetSubdomainsRequest.struct_class = Types::GetSubdomainsRequest
|
|
2349
|
+
|
|
2350
|
+
GetSubdomainsResult.add_member(:subdomains, Shapes::ShapeRef.new(shape: SubdomainList, location_name: "subdomains"))
|
|
2351
|
+
GetSubdomainsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
|
2352
|
+
GetSubdomainsResult.struct_class = Types::GetSubdomainsResult
|
|
2353
|
+
|
|
2304
2354
|
HeaderForwardList.member = Shapes::ShapeRef.new(shape: HeaderEnum)
|
|
2305
2355
|
|
|
2306
2356
|
HeaderObject.add_member(:option, Shapes::ShapeRef.new(shape: ForwardValues, location_name: "option"))
|
|
@@ -2524,8 +2574,15 @@ module Aws::Lightsail
|
|
|
2524
2574
|
LightsailDistribution.add_member(:default_root_object, Shapes::ShapeRef.new(shape: string, location_name: "defaultRootObject"))
|
|
2525
2575
|
LightsailDistribution.add_member(:custom_error_responses, Shapes::ShapeRef.new(shape: DistributionCustomErrorResponseList, location_name: "customErrorResponses"))
|
|
2526
2576
|
LightsailDistribution.add_member(:waf, Shapes::ShapeRef.new(shape: WafConfig, location_name: "waf"))
|
|
2577
|
+
LightsailDistribution.add_member(:subdomain, Shapes::ShapeRef.new(shape: LightsailDistributionSubdomain, location_name: "subdomain"))
|
|
2527
2578
|
LightsailDistribution.struct_class = Types::LightsailDistribution
|
|
2528
2579
|
|
|
2580
|
+
LightsailDistributionSubdomain.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
|
|
2581
|
+
LightsailDistributionSubdomain.add_member(:state, Shapes::ShapeRef.new(shape: LightsailDistributionSubdomainStateEnum, required: true, location_name: "state"))
|
|
2582
|
+
LightsailDistributionSubdomain.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
|
2583
|
+
LightsailDistributionSubdomain.add_member(:error_details, Shapes::ShapeRef.new(shape: string, location_name: "errorDetails"))
|
|
2584
|
+
LightsailDistributionSubdomain.struct_class = Types::LightsailDistributionSubdomain
|
|
2585
|
+
|
|
2529
2586
|
LoadBalancer.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
|
2530
2587
|
LoadBalancer.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
|
2531
2588
|
LoadBalancer.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
|
|
@@ -3098,6 +3155,27 @@ module Aws::Lightsail
|
|
|
3098
3155
|
|
|
3099
3156
|
StringList.member = Shapes::ShapeRef.new(shape: string)
|
|
3100
3157
|
|
|
3158
|
+
Subdomain.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, location_name: "subdomainName"))
|
|
3159
|
+
Subdomain.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
|
3160
|
+
Subdomain.add_member(:fqdn, Shapes::ShapeRef.new(shape: string, location_name: "fqdn"))
|
|
3161
|
+
Subdomain.add_member(:depth, Shapes::ShapeRef.new(shape: integer, location_name: "depth"))
|
|
3162
|
+
Subdomain.add_member(:state, Shapes::ShapeRef.new(shape: SubdomainState, location_name: "state"))
|
|
3163
|
+
Subdomain.add_member(:attached_resource, Shapes::ShapeRef.new(shape: SubdomainAttachableResource, location_name: "attachedResource"))
|
|
3164
|
+
Subdomain.add_member(:attaching_resource, Shapes::ShapeRef.new(shape: SubdomainAttachableResource, location_name: "attachingResource"))
|
|
3165
|
+
Subdomain.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
|
|
3166
|
+
Subdomain.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
|
3167
|
+
Subdomain.add_member(:parent_fqdn, Shapes::ShapeRef.new(shape: string, location_name: "parentFqdn"))
|
|
3168
|
+
Subdomain.add_member(:children, Shapes::ShapeRef.new(shape: SubdomainList, location_name: "children"))
|
|
3169
|
+
Subdomain.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
3170
|
+
Subdomain.struct_class = Types::Subdomain
|
|
3171
|
+
|
|
3172
|
+
SubdomainAttachableResource.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
|
3173
|
+
SubdomainAttachableResource.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
|
3174
|
+
SubdomainAttachableResource.add_member(:attached_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "attachedAt"))
|
|
3175
|
+
SubdomainAttachableResource.struct_class = Types::SubdomainAttachableResource
|
|
3176
|
+
|
|
3177
|
+
SubdomainList.member = Shapes::ShapeRef.new(shape: Subdomain)
|
|
3178
|
+
|
|
3101
3179
|
SubjectAlternativeNameList.member = Shapes::ShapeRef.new(shape: DomainName)
|
|
3102
3180
|
|
|
3103
3181
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
|
|
@@ -3250,6 +3328,15 @@ module Aws::Lightsail
|
|
|
3250
3328
|
UpdateRelationalDatabaseResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
|
3251
3329
|
UpdateRelationalDatabaseResult.struct_class = Types::UpdateRelationalDatabaseResult
|
|
3252
3330
|
|
|
3331
|
+
UpdateSubdomainAssociationRequest.add_member(:subdomain_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "subdomainName"))
|
|
3332
|
+
UpdateSubdomainAssociationRequest.add_member(:action, Shapes::ShapeRef.new(shape: SubdomainAssociationAction, required: true, location_name: "action"))
|
|
3333
|
+
UpdateSubdomainAssociationRequest.add_member(:target_resource_arn, Shapes::ShapeRef.new(shape: string, location_name: "targetResourceArn"))
|
|
3334
|
+
UpdateSubdomainAssociationRequest.struct_class = Types::UpdateSubdomainAssociationRequest
|
|
3335
|
+
|
|
3336
|
+
UpdateSubdomainAssociationResult.add_member(:subdomain, Shapes::ShapeRef.new(shape: Subdomain, location_name: "subdomain"))
|
|
3337
|
+
UpdateSubdomainAssociationResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
|
3338
|
+
UpdateSubdomainAssociationResult.struct_class = Types::UpdateSubdomainAssociationResult
|
|
3339
|
+
|
|
3253
3340
|
WafAcfpConfig.add_member(:payload_type, Shapes::ShapeRef.new(shape: WafPayloadTypeEnum, location_name: "payloadType"))
|
|
3254
3341
|
WafAcfpConfig.add_member(:creation_path, Shapes::ShapeRef.new(shape: string, location_name: "creationPath"))
|
|
3255
3342
|
WafAcfpConfig.add_member(:registration_page_path, Shapes::ShapeRef.new(shape: string, location_name: "registrationPagePath"))
|
|
@@ -3400,6 +3487,19 @@ module Aws::Lightsail
|
|
|
3400
3487
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
3401
3488
|
end)
|
|
3402
3489
|
|
|
3490
|
+
api.add_operation(:check_subdomain_availability, Seahorse::Model::Operation.new.tap do |o|
|
|
3491
|
+
o.name = "CheckSubdomainAvailability"
|
|
3492
|
+
o.http_method = "POST"
|
|
3493
|
+
o.http_request_uri = "/"
|
|
3494
|
+
o.input = Shapes::ShapeRef.new(shape: CheckSubdomainAvailabilityRequest)
|
|
3495
|
+
o.output = Shapes::ShapeRef.new(shape: CheckSubdomainAvailabilityResult)
|
|
3496
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
3497
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
3498
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
|
3499
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3500
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
3501
|
+
end)
|
|
3502
|
+
|
|
3403
3503
|
api.add_operation(:close_instance_public_ports, Seahorse::Model::Operation.new.tap do |o|
|
|
3404
3504
|
o.name = "CloseInstancePublicPorts"
|
|
3405
3505
|
o.http_method = "POST"
|
|
@@ -3798,6 +3898,20 @@ module Aws::Lightsail
|
|
|
3798
3898
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
3799
3899
|
end)
|
|
3800
3900
|
|
|
3901
|
+
api.add_operation(:create_subdomain, Seahorse::Model::Operation.new.tap do |o|
|
|
3902
|
+
o.name = "CreateSubdomain"
|
|
3903
|
+
o.http_method = "POST"
|
|
3904
|
+
o.http_request_uri = "/"
|
|
3905
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSubdomainRequest)
|
|
3906
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSubdomainResult)
|
|
3907
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
3908
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
3909
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
3910
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
|
3911
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3912
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
3913
|
+
end)
|
|
3914
|
+
|
|
3801
3915
|
api.add_operation(:delete_alarm, Seahorse::Model::Operation.new.tap do |o|
|
|
3802
3916
|
o.name = "DeleteAlarm"
|
|
3803
3917
|
o.http_method = "POST"
|
|
@@ -4119,6 +4233,20 @@ module Aws::Lightsail
|
|
|
4119
4233
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
4120
4234
|
end)
|
|
4121
4235
|
|
|
4236
|
+
api.add_operation(:delete_subdomain, Seahorse::Model::Operation.new.tap do |o|
|
|
4237
|
+
o.name = "DeleteSubdomain"
|
|
4238
|
+
o.http_method = "POST"
|
|
4239
|
+
o.http_request_uri = "/"
|
|
4240
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSubdomainRequest)
|
|
4241
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSubdomainResult)
|
|
4242
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
4243
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
4244
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
4245
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
|
4246
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4247
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
4248
|
+
end)
|
|
4249
|
+
|
|
4122
4250
|
api.add_operation(:detach_certificate_from_distribution, Seahorse::Model::Operation.new.tap do |o|
|
|
4123
4251
|
o.name = "DetachCertificateFromDistribution"
|
|
4124
4252
|
o.http_method = "POST"
|
|
@@ -5252,6 +5380,19 @@ module Aws::Lightsail
|
|
|
5252
5380
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
5253
5381
|
end)
|
|
5254
5382
|
|
|
5383
|
+
api.add_operation(:get_subdomains, Seahorse::Model::Operation.new.tap do |o|
|
|
5384
|
+
o.name = "GetSubdomains"
|
|
5385
|
+
o.http_method = "POST"
|
|
5386
|
+
o.http_request_uri = "/"
|
|
5387
|
+
o.input = Shapes::ShapeRef.new(shape: GetSubdomainsRequest)
|
|
5388
|
+
o.output = Shapes::ShapeRef.new(shape: GetSubdomainsResult)
|
|
5389
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
5390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
5391
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
5392
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
5393
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
5394
|
+
end)
|
|
5395
|
+
|
|
5255
5396
|
api.add_operation(:import_key_pair, Seahorse::Model::Operation.new.tap do |o|
|
|
5256
5397
|
o.name = "ImportKeyPair"
|
|
5257
5398
|
o.http_method = "POST"
|
|
@@ -5786,6 +5927,20 @@ module Aws::Lightsail
|
|
|
5786
5927
|
o.errors << Shapes::ShapeRef.new(shape: RegionSetupInProgressException)
|
|
5787
5928
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
5788
5929
|
end)
|
|
5930
|
+
|
|
5931
|
+
api.add_operation(:update_subdomain_association, Seahorse::Model::Operation.new.tap do |o|
|
|
5932
|
+
o.name = "UpdateSubdomainAssociation"
|
|
5933
|
+
o.http_method = "POST"
|
|
5934
|
+
o.http_request_uri = "/"
|
|
5935
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSubdomainAssociationRequest)
|
|
5936
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSubdomainAssociationResult)
|
|
5937
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
5938
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
5939
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
5940
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
|
5941
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
5942
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
5943
|
+
end)
|
|
5789
5944
|
end
|
|
5790
5945
|
|
|
5791
5946
|
end
|