aws-sdk-lightsail 1.51.0 → 1.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +1312 -487
- data/lib/aws-sdk-lightsail/client_api.rb +323 -0
- data/lib/aws-sdk-lightsail/types.rb +1157 -173
- metadata +2 -2
@@ -15,6 +15,11 @@ module Aws::Lightsail
|
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AccessDirection = Shapes::StringShape.new(name: 'AccessDirection')
|
18
|
+
AccessKey = Shapes::StructureShape.new(name: 'AccessKey')
|
19
|
+
AccessKeyList = Shapes::ListShape.new(name: 'AccessKeyList')
|
20
|
+
AccessReceiverList = Shapes::ListShape.new(name: 'AccessReceiverList')
|
21
|
+
AccessRules = Shapes::StructureShape.new(name: 'AccessRules')
|
22
|
+
AccessType = Shapes::StringShape.new(name: 'AccessType')
|
18
23
|
AccountSetupInProgressException = Shapes::StructureShape.new(name: 'AccountSetupInProgressException')
|
19
24
|
AddOn = Shapes::StructureShape.new(name: 'AddOn')
|
20
25
|
AddOnList = Shapes::ListShape.new(name: 'AddOnList')
|
@@ -51,6 +56,13 @@ module Aws::Lightsail
|
|
51
56
|
Blueprint = Shapes::StructureShape.new(name: 'Blueprint')
|
52
57
|
BlueprintList = Shapes::ListShape.new(name: 'BlueprintList')
|
53
58
|
BlueprintType = Shapes::StringShape.new(name: 'BlueprintType')
|
59
|
+
Bucket = Shapes::StructureShape.new(name: 'Bucket')
|
60
|
+
BucketBundle = Shapes::StructureShape.new(name: 'BucketBundle')
|
61
|
+
BucketBundleList = Shapes::ListShape.new(name: 'BucketBundleList')
|
62
|
+
BucketList = Shapes::ListShape.new(name: 'BucketList')
|
63
|
+
BucketMetricName = Shapes::StringShape.new(name: 'BucketMetricName')
|
64
|
+
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
65
|
+
BucketState = Shapes::StructureShape.new(name: 'BucketState')
|
54
66
|
Bundle = Shapes::StructureShape.new(name: 'Bundle')
|
55
67
|
BundleList = Shapes::ListShape.new(name: 'BundleList')
|
56
68
|
CacheBehavior = Shapes::StructureShape.new(name: 'CacheBehavior')
|
@@ -112,6 +124,10 @@ module Aws::Lightsail
|
|
112
124
|
CookieObject = Shapes::StructureShape.new(name: 'CookieObject')
|
113
125
|
CopySnapshotRequest = Shapes::StructureShape.new(name: 'CopySnapshotRequest')
|
114
126
|
CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
|
127
|
+
CreateBucketAccessKeyRequest = Shapes::StructureShape.new(name: 'CreateBucketAccessKeyRequest')
|
128
|
+
CreateBucketAccessKeyResult = Shapes::StructureShape.new(name: 'CreateBucketAccessKeyResult')
|
129
|
+
CreateBucketRequest = Shapes::StructureShape.new(name: 'CreateBucketRequest')
|
130
|
+
CreateBucketResult = Shapes::StructureShape.new(name: 'CreateBucketResult')
|
115
131
|
CreateCertificateRequest = Shapes::StructureShape.new(name: 'CreateCertificateRequest')
|
116
132
|
CreateCertificateResult = Shapes::StructureShape.new(name: 'CreateCertificateResult')
|
117
133
|
CreateCloudFormationStackRequest = Shapes::StructureShape.new(name: 'CreateCloudFormationStackRequest')
|
@@ -158,6 +174,10 @@ module Aws::Lightsail
|
|
158
174
|
DeleteAlarmResult = Shapes::StructureShape.new(name: 'DeleteAlarmResult')
|
159
175
|
DeleteAutoSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteAutoSnapshotRequest')
|
160
176
|
DeleteAutoSnapshotResult = Shapes::StructureShape.new(name: 'DeleteAutoSnapshotResult')
|
177
|
+
DeleteBucketAccessKeyRequest = Shapes::StructureShape.new(name: 'DeleteBucketAccessKeyRequest')
|
178
|
+
DeleteBucketAccessKeyResult = Shapes::StructureShape.new(name: 'DeleteBucketAccessKeyResult')
|
179
|
+
DeleteBucketRequest = Shapes::StructureShape.new(name: 'DeleteBucketRequest')
|
180
|
+
DeleteBucketResult = Shapes::StructureShape.new(name: 'DeleteBucketResult')
|
161
181
|
DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
|
162
182
|
DeleteCertificateResult = Shapes::StructureShape.new(name: 'DeleteCertificateResult')
|
163
183
|
DeleteContactMethodRequest = Shapes::StructureShape.new(name: 'DeleteContactMethodRequest')
|
@@ -251,6 +271,14 @@ module Aws::Lightsail
|
|
251
271
|
GetAutoSnapshotsResult = Shapes::StructureShape.new(name: 'GetAutoSnapshotsResult')
|
252
272
|
GetBlueprintsRequest = Shapes::StructureShape.new(name: 'GetBlueprintsRequest')
|
253
273
|
GetBlueprintsResult = Shapes::StructureShape.new(name: 'GetBlueprintsResult')
|
274
|
+
GetBucketAccessKeysRequest = Shapes::StructureShape.new(name: 'GetBucketAccessKeysRequest')
|
275
|
+
GetBucketAccessKeysResult = Shapes::StructureShape.new(name: 'GetBucketAccessKeysResult')
|
276
|
+
GetBucketBundlesRequest = Shapes::StructureShape.new(name: 'GetBucketBundlesRequest')
|
277
|
+
GetBucketBundlesResult = Shapes::StructureShape.new(name: 'GetBucketBundlesResult')
|
278
|
+
GetBucketMetricDataRequest = Shapes::StructureShape.new(name: 'GetBucketMetricDataRequest')
|
279
|
+
GetBucketMetricDataResult = Shapes::StructureShape.new(name: 'GetBucketMetricDataResult')
|
280
|
+
GetBucketsRequest = Shapes::StructureShape.new(name: 'GetBucketsRequest')
|
281
|
+
GetBucketsResult = Shapes::StructureShape.new(name: 'GetBucketsResult')
|
254
282
|
GetBundlesRequest = Shapes::StructureShape.new(name: 'GetBundlesRequest')
|
255
283
|
GetBundlesResult = Shapes::StructureShape.new(name: 'GetBundlesResult')
|
256
284
|
GetCertificatesRequest = Shapes::StructureShape.new(name: 'GetCertificatesRequest')
|
@@ -363,6 +391,7 @@ module Aws::Lightsail
|
|
363
391
|
HeaderObject = Shapes::StructureShape.new(name: 'HeaderObject')
|
364
392
|
HostKeyAttributes = Shapes::StructureShape.new(name: 'HostKeyAttributes')
|
365
393
|
HostKeysList = Shapes::ListShape.new(name: 'HostKeysList')
|
394
|
+
IAMAccessKeyId = Shapes::StringShape.new(name: 'IAMAccessKeyId')
|
366
395
|
ImportKeyPairRequest = Shapes::StructureShape.new(name: 'ImportKeyPairRequest')
|
367
396
|
ImportKeyPairResult = Shapes::StructureShape.new(name: 'ImportKeyPairResult')
|
368
397
|
InUseResourceCount = Shapes::IntegerShape.new(name: 'InUseResourceCount')
|
@@ -450,6 +479,7 @@ module Aws::Lightsail
|
|
450
479
|
OperationType = Shapes::StringShape.new(name: 'OperationType')
|
451
480
|
Origin = Shapes::StructureShape.new(name: 'Origin')
|
452
481
|
OriginProtocolPolicyEnum = Shapes::StringShape.new(name: 'OriginProtocolPolicyEnum')
|
482
|
+
PartnerIdList = Shapes::ListShape.new(name: 'PartnerIdList')
|
453
483
|
PasswordData = Shapes::StructureShape.new(name: 'PasswordData')
|
454
484
|
PeerVpcRequest = Shapes::StructureShape.new(name: 'PeerVpcRequest')
|
455
485
|
PeerVpcResult = Shapes::StructureShape.new(name: 'PeerVpcResult')
|
@@ -505,9 +535,11 @@ module Aws::Lightsail
|
|
505
535
|
ResetDistributionCacheRequest = Shapes::StructureShape.new(name: 'ResetDistributionCacheRequest')
|
506
536
|
ResetDistributionCacheResult = Shapes::StructureShape.new(name: 'ResetDistributionCacheResult')
|
507
537
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
538
|
+
ResourceBucketAccess = Shapes::StringShape.new(name: 'ResourceBucketAccess')
|
508
539
|
ResourceLocation = Shapes::StructureShape.new(name: 'ResourceLocation')
|
509
540
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
510
541
|
ResourceNameList = Shapes::ListShape.new(name: 'ResourceNameList')
|
542
|
+
ResourceReceivingAccess = Shapes::StructureShape.new(name: 'ResourceReceivingAccess')
|
511
543
|
ResourceRecord = Shapes::StructureShape.new(name: 'ResourceRecord')
|
512
544
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
513
545
|
RevocationReason = Shapes::StringShape.new(name: 'RevocationReason')
|
@@ -518,12 +550,15 @@ module Aws::Lightsail
|
|
518
550
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
519
551
|
SetIpAddressTypeRequest = Shapes::StructureShape.new(name: 'SetIpAddressTypeRequest')
|
520
552
|
SetIpAddressTypeResult = Shapes::StructureShape.new(name: 'SetIpAddressTypeResult')
|
553
|
+
SetResourceAccessForBucketRequest = Shapes::StructureShape.new(name: 'SetResourceAccessForBucketRequest')
|
554
|
+
SetResourceAccessForBucketResult = Shapes::StructureShape.new(name: 'SetResourceAccessForBucketResult')
|
521
555
|
StartInstanceRequest = Shapes::StructureShape.new(name: 'StartInstanceRequest')
|
522
556
|
StartInstanceResult = Shapes::StructureShape.new(name: 'StartInstanceResult')
|
523
557
|
StartRelationalDatabaseRequest = Shapes::StructureShape.new(name: 'StartRelationalDatabaseRequest')
|
524
558
|
StartRelationalDatabaseResult = Shapes::StructureShape.new(name: 'StartRelationalDatabaseResult')
|
525
559
|
StaticIp = Shapes::StructureShape.new(name: 'StaticIp')
|
526
560
|
StaticIpList = Shapes::ListShape.new(name: 'StaticIpList')
|
561
|
+
StatusType = Shapes::StringShape.new(name: 'StatusType')
|
527
562
|
StopInstanceRequest = Shapes::StructureShape.new(name: 'StopInstanceRequest')
|
528
563
|
StopInstanceResult = Shapes::StructureShape.new(name: 'StopInstanceResult')
|
529
564
|
StopRelationalDatabaseRequest = Shapes::StructureShape.new(name: 'StopRelationalDatabaseRequest')
|
@@ -547,6 +582,10 @@ module Aws::Lightsail
|
|
547
582
|
UnpeerVpcResult = Shapes::StructureShape.new(name: 'UnpeerVpcResult')
|
548
583
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
549
584
|
UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
|
585
|
+
UpdateBucketBundleRequest = Shapes::StructureShape.new(name: 'UpdateBucketBundleRequest')
|
586
|
+
UpdateBucketBundleResult = Shapes::StructureShape.new(name: 'UpdateBucketBundleResult')
|
587
|
+
UpdateBucketRequest = Shapes::StructureShape.new(name: 'UpdateBucketRequest')
|
588
|
+
UpdateBucketResult = Shapes::StructureShape.new(name: 'UpdateBucketResult')
|
550
589
|
UpdateContainerServiceRequest = Shapes::StructureShape.new(name: 'UpdateContainerServiceRequest')
|
551
590
|
UpdateContainerServiceResult = Shapes::StructureShape.new(name: 'UpdateContainerServiceResult')
|
552
591
|
UpdateDistributionBundleRequest = Shapes::StructureShape.new(name: 'UpdateDistributionBundleRequest')
|
@@ -575,6 +614,20 @@ module Aws::Lightsail
|
|
575
614
|
AccessDeniedException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
|
576
615
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
577
616
|
|
617
|
+
AccessKey.add_member(:access_key_id, Shapes::ShapeRef.new(shape: IAMAccessKeyId, location_name: "accessKeyId"))
|
618
|
+
AccessKey.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "secretAccessKey"))
|
619
|
+
AccessKey.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "status"))
|
620
|
+
AccessKey.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
621
|
+
AccessKey.struct_class = Types::AccessKey
|
622
|
+
|
623
|
+
AccessKeyList.member = Shapes::ShapeRef.new(shape: AccessKey)
|
624
|
+
|
625
|
+
AccessReceiverList.member = Shapes::ShapeRef.new(shape: ResourceReceivingAccess)
|
626
|
+
|
627
|
+
AccessRules.add_member(:get_object, Shapes::ShapeRef.new(shape: AccessType, location_name: "getObject"))
|
628
|
+
AccessRules.add_member(:allow_public_overrides, Shapes::ShapeRef.new(shape: boolean, location_name: "allowPublicOverrides"))
|
629
|
+
AccessRules.struct_class = Types::AccessRules
|
630
|
+
|
578
631
|
AccountSetupInProgressException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
579
632
|
AccountSetupInProgressException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
|
580
633
|
AccountSetupInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
@@ -703,6 +756,39 @@ module Aws::Lightsail
|
|
703
756
|
|
704
757
|
BlueprintList.member = Shapes::ShapeRef.new(shape: Blueprint)
|
705
758
|
|
759
|
+
Bucket.add_member(:resource_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceType"))
|
760
|
+
Bucket.add_member(:access_rules, Shapes::ShapeRef.new(shape: AccessRules, location_name: "accessRules"))
|
761
|
+
Bucket.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
762
|
+
Bucket.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bundleId"))
|
763
|
+
Bucket.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
764
|
+
Bucket.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "url"))
|
765
|
+
Bucket.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
|
766
|
+
Bucket.add_member(:name, Shapes::ShapeRef.new(shape: BucketName, location_name: "name"))
|
767
|
+
Bucket.add_member(:support_code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "supportCode"))
|
768
|
+
Bucket.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
769
|
+
Bucket.add_member(:object_versioning, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "objectVersioning"))
|
770
|
+
Bucket.add_member(:able_to_update_bundle, Shapes::ShapeRef.new(shape: boolean, location_name: "ableToUpdateBundle"))
|
771
|
+
Bucket.add_member(:readonly_access_accounts, Shapes::ShapeRef.new(shape: PartnerIdList, location_name: "readonlyAccessAccounts"))
|
772
|
+
Bucket.add_member(:resources_receiving_access, Shapes::ShapeRef.new(shape: AccessReceiverList, location_name: "resourcesReceivingAccess"))
|
773
|
+
Bucket.add_member(:state, Shapes::ShapeRef.new(shape: BucketState, location_name: "state"))
|
774
|
+
Bucket.struct_class = Types::Bucket
|
775
|
+
|
776
|
+
BucketBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bundleId"))
|
777
|
+
BucketBundle.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
|
778
|
+
BucketBundle.add_member(:price, Shapes::ShapeRef.new(shape: float, location_name: "price"))
|
779
|
+
BucketBundle.add_member(:storage_per_month_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "storagePerMonthInGb"))
|
780
|
+
BucketBundle.add_member(:transfer_per_month_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "transferPerMonthInGb"))
|
781
|
+
BucketBundle.add_member(:is_active, Shapes::ShapeRef.new(shape: boolean, location_name: "isActive"))
|
782
|
+
BucketBundle.struct_class = Types::BucketBundle
|
783
|
+
|
784
|
+
BucketBundleList.member = Shapes::ShapeRef.new(shape: BucketBundle)
|
785
|
+
|
786
|
+
BucketList.member = Shapes::ShapeRef.new(shape: Bucket)
|
787
|
+
|
788
|
+
BucketState.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "code"))
|
789
|
+
BucketState.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
790
|
+
BucketState.struct_class = Types::BucketState
|
791
|
+
|
706
792
|
Bundle.add_member(:price, Shapes::ShapeRef.new(shape: float, location_name: "price"))
|
707
793
|
Bundle.add_member(:cpu_count, Shapes::ShapeRef.new(shape: integer, location_name: "cpuCount"))
|
708
794
|
Bundle.add_member(:disk_size_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "diskSizeInGb"))
|
@@ -930,6 +1016,23 @@ module Aws::Lightsail
|
|
930
1016
|
CopySnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
931
1017
|
CopySnapshotResult.struct_class = Types::CopySnapshotResult
|
932
1018
|
|
1019
|
+
CreateBucketAccessKeyRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
1020
|
+
CreateBucketAccessKeyRequest.struct_class = Types::CreateBucketAccessKeyRequest
|
1021
|
+
|
1022
|
+
CreateBucketAccessKeyResult.add_member(:access_key, Shapes::ShapeRef.new(shape: AccessKey, location_name: "accessKey"))
|
1023
|
+
CreateBucketAccessKeyResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
1024
|
+
CreateBucketAccessKeyResult.struct_class = Types::CreateBucketAccessKeyResult
|
1025
|
+
|
1026
|
+
CreateBucketRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
1027
|
+
CreateBucketRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "bundleId"))
|
1028
|
+
CreateBucketRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1029
|
+
CreateBucketRequest.add_member(:enable_object_versioning, Shapes::ShapeRef.new(shape: boolean, location_name: "enableObjectVersioning"))
|
1030
|
+
CreateBucketRequest.struct_class = Types::CreateBucketRequest
|
1031
|
+
|
1032
|
+
CreateBucketResult.add_member(:bucket, Shapes::ShapeRef.new(shape: Bucket, location_name: "bucket"))
|
1033
|
+
CreateBucketResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
1034
|
+
CreateBucketResult.struct_class = Types::CreateBucketResult
|
1035
|
+
|
933
1036
|
CreateCertificateRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: CertificateName, required: true, location_name: "certificateName"))
|
934
1037
|
CreateCertificateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
|
935
1038
|
CreateCertificateRequest.add_member(:subject_alternative_names, Shapes::ShapeRef.new(shape: SubjectAlternativeNameList, location_name: "subjectAlternativeNames"))
|
@@ -1163,6 +1266,20 @@ module Aws::Lightsail
|
|
1163
1266
|
DeleteAutoSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
1164
1267
|
DeleteAutoSnapshotResult.struct_class = Types::DeleteAutoSnapshotResult
|
1165
1268
|
|
1269
|
+
DeleteBucketAccessKeyRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
1270
|
+
DeleteBucketAccessKeyRequest.add_member(:access_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "accessKeyId"))
|
1271
|
+
DeleteBucketAccessKeyRequest.struct_class = Types::DeleteBucketAccessKeyRequest
|
1272
|
+
|
1273
|
+
DeleteBucketAccessKeyResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
1274
|
+
DeleteBucketAccessKeyResult.struct_class = Types::DeleteBucketAccessKeyResult
|
1275
|
+
|
1276
|
+
DeleteBucketRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
1277
|
+
DeleteBucketRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: boolean, location_name: "forceDelete"))
|
1278
|
+
DeleteBucketRequest.struct_class = Types::DeleteBucketRequest
|
1279
|
+
|
1280
|
+
DeleteBucketResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
1281
|
+
DeleteBucketResult.struct_class = Types::DeleteBucketResult
|
1282
|
+
|
1166
1283
|
DeleteCertificateRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: CertificateName, required: true, location_name: "certificateName"))
|
1167
1284
|
DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
|
1168
1285
|
|
@@ -1489,6 +1606,40 @@ module Aws::Lightsail
|
|
1489
1606
|
GetBlueprintsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
1490
1607
|
GetBlueprintsResult.struct_class = Types::GetBlueprintsResult
|
1491
1608
|
|
1609
|
+
GetBucketAccessKeysRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
1610
|
+
GetBucketAccessKeysRequest.struct_class = Types::GetBucketAccessKeysRequest
|
1611
|
+
|
1612
|
+
GetBucketAccessKeysResult.add_member(:access_keys, Shapes::ShapeRef.new(shape: AccessKeyList, location_name: "accessKeys"))
|
1613
|
+
GetBucketAccessKeysResult.struct_class = Types::GetBucketAccessKeysResult
|
1614
|
+
|
1615
|
+
GetBucketBundlesRequest.add_member(:include_inactive, Shapes::ShapeRef.new(shape: boolean, location_name: "includeInactive"))
|
1616
|
+
GetBucketBundlesRequest.struct_class = Types::GetBucketBundlesRequest
|
1617
|
+
|
1618
|
+
GetBucketBundlesResult.add_member(:bundles, Shapes::ShapeRef.new(shape: BucketBundleList, location_name: "bundles"))
|
1619
|
+
GetBucketBundlesResult.struct_class = Types::GetBucketBundlesResult
|
1620
|
+
|
1621
|
+
GetBucketMetricDataRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
1622
|
+
GetBucketMetricDataRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: BucketMetricName, required: true, location_name: "metricName"))
|
1623
|
+
GetBucketMetricDataRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: IsoDate, required: true, location_name: "startTime"))
|
1624
|
+
GetBucketMetricDataRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: IsoDate, required: true, location_name: "endTime"))
|
1625
|
+
GetBucketMetricDataRequest.add_member(:period, Shapes::ShapeRef.new(shape: MetricPeriod, required: true, location_name: "period"))
|
1626
|
+
GetBucketMetricDataRequest.add_member(:statistics, Shapes::ShapeRef.new(shape: MetricStatisticList, required: true, location_name: "statistics"))
|
1627
|
+
GetBucketMetricDataRequest.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, required: true, location_name: "unit"))
|
1628
|
+
GetBucketMetricDataRequest.struct_class = Types::GetBucketMetricDataRequest
|
1629
|
+
|
1630
|
+
GetBucketMetricDataResult.add_member(:metric_name, Shapes::ShapeRef.new(shape: BucketMetricName, location_name: "metricName"))
|
1631
|
+
GetBucketMetricDataResult.add_member(:metric_data, Shapes::ShapeRef.new(shape: MetricDatapointList, location_name: "metricData"))
|
1632
|
+
GetBucketMetricDataResult.struct_class = Types::GetBucketMetricDataResult
|
1633
|
+
|
1634
|
+
GetBucketsRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, location_name: "bucketName"))
|
1635
|
+
GetBucketsRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
|
1636
|
+
GetBucketsRequest.add_member(:include_connected_resources, Shapes::ShapeRef.new(shape: boolean, location_name: "includeConnectedResources"))
|
1637
|
+
GetBucketsRequest.struct_class = Types::GetBucketsRequest
|
1638
|
+
|
1639
|
+
GetBucketsResult.add_member(:buckets, Shapes::ShapeRef.new(shape: BucketList, location_name: "buckets"))
|
1640
|
+
GetBucketsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
1641
|
+
GetBucketsResult.struct_class = Types::GetBucketsResult
|
1642
|
+
|
1492
1643
|
GetBundlesRequest.add_member(:include_inactive, Shapes::ShapeRef.new(shape: boolean, location_name: "includeInactive"))
|
1493
1644
|
GetBundlesRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
|
1494
1645
|
GetBundlesRequest.struct_class = Types::GetBundlesRequest
|
@@ -2230,6 +2381,8 @@ module Aws::Lightsail
|
|
2230
2381
|
Origin.add_member(:protocol_policy, Shapes::ShapeRef.new(shape: OriginProtocolPolicyEnum, location_name: "protocolPolicy"))
|
2231
2382
|
Origin.struct_class = Types::Origin
|
2232
2383
|
|
2384
|
+
PartnerIdList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2385
|
+
|
2233
2386
|
PasswordData.add_member(:ciphertext, Shapes::ShapeRef.new(shape: string, location_name: "ciphertext"))
|
2234
2387
|
PasswordData.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "keyPairName"))
|
2235
2388
|
PasswordData.struct_class = Types::PasswordData
|
@@ -2450,6 +2603,10 @@ module Aws::Lightsail
|
|
2450
2603
|
|
2451
2604
|
ResourceNameList.member = Shapes::ShapeRef.new(shape: ResourceName)
|
2452
2605
|
|
2606
|
+
ResourceReceivingAccess.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
|
2607
|
+
ResourceReceivingAccess.add_member(:resource_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceType"))
|
2608
|
+
ResourceReceivingAccess.struct_class = Types::ResourceReceivingAccess
|
2609
|
+
|
2453
2610
|
ResourceRecord.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
|
2454
2611
|
ResourceRecord.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
2455
2612
|
ResourceRecord.add_member(:value, Shapes::ShapeRef.new(shape: string, location_name: "value"))
|
@@ -2475,6 +2632,14 @@ module Aws::Lightsail
|
|
2475
2632
|
SetIpAddressTypeResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
2476
2633
|
SetIpAddressTypeResult.struct_class = Types::SetIpAddressTypeResult
|
2477
2634
|
|
2635
|
+
SetResourceAccessForBucketRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
2636
|
+
SetResourceAccessForBucketRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
2637
|
+
SetResourceAccessForBucketRequest.add_member(:access, Shapes::ShapeRef.new(shape: ResourceBucketAccess, required: true, location_name: "access"))
|
2638
|
+
SetResourceAccessForBucketRequest.struct_class = Types::SetResourceAccessForBucketRequest
|
2639
|
+
|
2640
|
+
SetResourceAccessForBucketResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
2641
|
+
SetResourceAccessForBucketResult.struct_class = Types::SetResourceAccessForBucketResult
|
2642
|
+
|
2478
2643
|
StartInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
2479
2644
|
StartInstanceRequest.struct_class = Types::StartInstanceRequest
|
2480
2645
|
|
@@ -2560,6 +2725,23 @@ module Aws::Lightsail
|
|
2560
2725
|
UntagResourceResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
2561
2726
|
UntagResourceResult.struct_class = Types::UntagResourceResult
|
2562
2727
|
|
2728
|
+
UpdateBucketBundleRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
2729
|
+
UpdateBucketBundleRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "bundleId"))
|
2730
|
+
UpdateBucketBundleRequest.struct_class = Types::UpdateBucketBundleRequest
|
2731
|
+
|
2732
|
+
UpdateBucketBundleResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
2733
|
+
UpdateBucketBundleResult.struct_class = Types::UpdateBucketBundleResult
|
2734
|
+
|
2735
|
+
UpdateBucketRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
2736
|
+
UpdateBucketRequest.add_member(:access_rules, Shapes::ShapeRef.new(shape: AccessRules, location_name: "accessRules"))
|
2737
|
+
UpdateBucketRequest.add_member(:versioning, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "versioning"))
|
2738
|
+
UpdateBucketRequest.add_member(:readonly_access_accounts, Shapes::ShapeRef.new(shape: PartnerIdList, location_name: "readonlyAccessAccounts"))
|
2739
|
+
UpdateBucketRequest.struct_class = Types::UpdateBucketRequest
|
2740
|
+
|
2741
|
+
UpdateBucketResult.add_member(:bucket, Shapes::ShapeRef.new(shape: Bucket, location_name: "bucket"))
|
2742
|
+
UpdateBucketResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
2743
|
+
UpdateBucketResult.struct_class = Types::UpdateBucketResult
|
2744
|
+
|
2563
2745
|
UpdateContainerServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: ContainerServiceName, required: true, location_name: "serviceName"))
|
2564
2746
|
UpdateContainerServiceRequest.add_member(:power, Shapes::ShapeRef.new(shape: ContainerServicePowerName, location_name: "power"))
|
2565
2747
|
UpdateContainerServiceRequest.add_member(:scale, Shapes::ShapeRef.new(shape: ContainerServiceScale, location_name: "scale"))
|
@@ -2762,6 +2944,31 @@ module Aws::Lightsail
|
|
2762
2944
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2763
2945
|
end)
|
2764
2946
|
|
2947
|
+
api.add_operation(:create_bucket, Seahorse::Model::Operation.new.tap do |o|
|
2948
|
+
o.name = "CreateBucket"
|
2949
|
+
o.http_method = "POST"
|
2950
|
+
o.http_request_uri = "/"
|
2951
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBucketRequest)
|
2952
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBucketResult)
|
2953
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2954
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2955
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2956
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2957
|
+
end)
|
2958
|
+
|
2959
|
+
api.add_operation(:create_bucket_access_key, Seahorse::Model::Operation.new.tap do |o|
|
2960
|
+
o.name = "CreateBucketAccessKey"
|
2961
|
+
o.http_method = "POST"
|
2962
|
+
o.http_request_uri = "/"
|
2963
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBucketAccessKeyRequest)
|
2964
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBucketAccessKeyResult)
|
2965
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2966
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2967
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2968
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2969
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2970
|
+
end)
|
2971
|
+
|
2765
2972
|
api.add_operation(:create_certificate, Seahorse::Model::Operation.new.tap do |o|
|
2766
2973
|
o.name = "CreateCertificate"
|
2767
2974
|
o.http_method = "POST"
|
@@ -3095,6 +3302,32 @@ module Aws::Lightsail
|
|
3095
3302
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3096
3303
|
end)
|
3097
3304
|
|
3305
|
+
api.add_operation(:delete_bucket, Seahorse::Model::Operation.new.tap do |o|
|
3306
|
+
o.name = "DeleteBucket"
|
3307
|
+
o.http_method = "POST"
|
3308
|
+
o.http_request_uri = "/"
|
3309
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketRequest)
|
3310
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBucketResult)
|
3311
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3312
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3313
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3314
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
3315
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3316
|
+
end)
|
3317
|
+
|
3318
|
+
api.add_operation(:delete_bucket_access_key, Seahorse::Model::Operation.new.tap do |o|
|
3319
|
+
o.name = "DeleteBucketAccessKey"
|
3320
|
+
o.http_method = "POST"
|
3321
|
+
o.http_request_uri = "/"
|
3322
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketAccessKeyRequest)
|
3323
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBucketAccessKeyResult)
|
3324
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3325
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3326
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3327
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
3328
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3329
|
+
end)
|
3330
|
+
|
3098
3331
|
api.add_operation(:delete_certificate, Seahorse::Model::Operation.new.tap do |o|
|
3099
3332
|
o.name = "DeleteCertificate"
|
3100
3333
|
o.http_method = "POST"
|
@@ -3517,6 +3750,57 @@ module Aws::Lightsail
|
|
3517
3750
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3518
3751
|
end)
|
3519
3752
|
|
3753
|
+
api.add_operation(:get_bucket_access_keys, Seahorse::Model::Operation.new.tap do |o|
|
3754
|
+
o.name = "GetBucketAccessKeys"
|
3755
|
+
o.http_method = "POST"
|
3756
|
+
o.http_request_uri = "/"
|
3757
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketAccessKeysRequest)
|
3758
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketAccessKeysResult)
|
3759
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3760
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3761
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3762
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
3763
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3764
|
+
end)
|
3765
|
+
|
3766
|
+
api.add_operation(:get_bucket_bundles, Seahorse::Model::Operation.new.tap do |o|
|
3767
|
+
o.name = "GetBucketBundles"
|
3768
|
+
o.http_method = "POST"
|
3769
|
+
o.http_request_uri = "/"
|
3770
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketBundlesRequest)
|
3771
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketBundlesResult)
|
3772
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3773
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3774
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
3775
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3776
|
+
end)
|
3777
|
+
|
3778
|
+
api.add_operation(:get_bucket_metric_data, Seahorse::Model::Operation.new.tap do |o|
|
3779
|
+
o.name = "GetBucketMetricData"
|
3780
|
+
o.http_method = "POST"
|
3781
|
+
o.http_request_uri = "/"
|
3782
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketMetricDataRequest)
|
3783
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketMetricDataResult)
|
3784
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3785
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3786
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3787
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
3788
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3789
|
+
end)
|
3790
|
+
|
3791
|
+
api.add_operation(:get_buckets, Seahorse::Model::Operation.new.tap do |o|
|
3792
|
+
o.name = "GetBuckets"
|
3793
|
+
o.http_method = "POST"
|
3794
|
+
o.http_request_uri = "/"
|
3795
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketsRequest)
|
3796
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketsResult)
|
3797
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3798
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3799
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3800
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
3801
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
3802
|
+
end)
|
3803
|
+
|
3520
3804
|
api.add_operation(:get_bundles, Seahorse::Model::Operation.new.tap do |o|
|
3521
3805
|
o.name = "GetBundles"
|
3522
3806
|
o.http_method = "POST"
|
@@ -4494,6 +4778,19 @@ module Aws::Lightsail
|
|
4494
4778
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
4495
4779
|
end)
|
4496
4780
|
|
4781
|
+
api.add_operation(:set_resource_access_for_bucket, Seahorse::Model::Operation.new.tap do |o|
|
4782
|
+
o.name = "SetResourceAccessForBucket"
|
4783
|
+
o.http_method = "POST"
|
4784
|
+
o.http_request_uri = "/"
|
4785
|
+
o.input = Shapes::ShapeRef.new(shape: SetResourceAccessForBucketRequest)
|
4786
|
+
o.output = Shapes::ShapeRef.new(shape: SetResourceAccessForBucketResult)
|
4787
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
4788
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
4789
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4790
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
4791
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
4792
|
+
end)
|
4793
|
+
|
4497
4794
|
api.add_operation(:start_instance, Seahorse::Model::Operation.new.tap do |o|
|
4498
4795
|
o.name = "StartInstance"
|
4499
4796
|
o.http_method = "POST"
|
@@ -4613,6 +4910,32 @@ module Aws::Lightsail
|
|
4613
4910
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
4614
4911
|
end)
|
4615
4912
|
|
4913
|
+
api.add_operation(:update_bucket, Seahorse::Model::Operation.new.tap do |o|
|
4914
|
+
o.name = "UpdateBucket"
|
4915
|
+
o.http_method = "POST"
|
4916
|
+
o.http_request_uri = "/"
|
4917
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBucketRequest)
|
4918
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBucketResult)
|
4919
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
4920
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
4921
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4922
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
4923
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
4924
|
+
end)
|
4925
|
+
|
4926
|
+
api.add_operation(:update_bucket_bundle, Seahorse::Model::Operation.new.tap do |o|
|
4927
|
+
o.name = "UpdateBucketBundle"
|
4928
|
+
o.http_method = "POST"
|
4929
|
+
o.http_request_uri = "/"
|
4930
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBucketBundleRequest)
|
4931
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBucketBundleResult)
|
4932
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
4933
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
4934
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4935
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
4936
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
4937
|
+
end)
|
4938
|
+
|
4616
4939
|
api.add_operation(:update_container_service, Seahorse::Model::Operation.new.tap do |o|
|
4617
4940
|
o.name = "UpdateContainerService"
|
4618
4941
|
o.http_method = "POST"
|