Class: BucketsService
Constructors​
constructor​
• new BucketsService(client
)
Parameters​
Name | Type |
---|---|
client | S3Client |
Defined in​
services/buckets.service.ts:34
Methods​
create​
â–¸ create(bucket
, options?
): Promise
<CreateBucketCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
options | Omit <CreateBucketCommandInput , "Bucket" > |
Returns​
Promise
<CreateBucketCommandOutput
>
Defined in​
services/buckets.service.ts:36
delete​
â–¸ delete(bucket
): Promise
<DeleteBucketCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
Returns​
Promise
<DeleteBucketCommandOutput
>
Defined in​
services/buckets.service.ts:48
find​
â–¸ find(bucket
): Promise
<Bucket
>
Parameters​
Name | Type |
---|---|
bucket | string |
Returns​
Promise
<Bucket
>
Defined in​
services/buckets.service.ts:60
list​
â–¸ list(): Promise
<ListBucketsCommandOutput
>
Returns​
Promise
<ListBucketsCommandOutput
>
Defined in​
services/buckets.service.ts:56
tagging​
â–¸ tagging(bucket
): Promise
<GetBucketTaggingCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
Returns​
Promise
<GetBucketTaggingCommandOutput
>
Defined in​
services/buckets.service.ts:66
updateAccelerateConfiguration​
â–¸ updateAccelerateConfiguration(bucket
, configuration
): Promise
<PutBucketAccelerateConfigurationCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
configuration | AccelerateConfiguration |
Returns​
Promise
<PutBucketAccelerateConfigurationCommandOutput
>
Defined in​
services/buckets.service.ts:119
updateAcl​
â–¸ updateAcl(bucket
, configuration
): Promise
<PutBucketAclCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
configuration | Omit <PutBucketAclCommandInput , "Bucket" > |
Returns​
Promise
<PutBucketAclCommandOutput
>
Defined in​
services/buckets.service.ts:83
updateCors​
â–¸ updateCors(bucket
, configuration
): Promise
<PutBucketCorsCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
configuration | CORSConfiguration |
Returns​
Promise
<PutBucketCorsCommandOutput
>
Defined in​
services/buckets.service.ts:74
updateEncryption​
â–¸ updateEncryption(bucket
, configuration
): Promise
<PutBucketEncryptionCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
configuration | Omit <PutBucketEncryptionCommandInput , "Bucket" > |
Returns​
Promise
<PutBucketEncryptionCommandOutput
>
Defined in​
services/buckets.service.ts:107
updateLogging​
â–¸ updateLogging(bucket
, configuration
): Promise
<PutBucketLoggingCommandOutput
>
Parameters​
Name | Type |
---|---|
bucket | string |
configuration | Omit <PutBucketLoggingCommandInput , "Bucket" > |
Returns​
Promise
<PutBucketLoggingCommandOutput
>