Skip to content

Commit 0f78995

Browse files
authored
fix(object): change name from S3 to Object Storage (scaleway#2283)
1 parent 2a48843 commit 0f78995

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

api/documentdb/v1beta1/documentdb_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ type ListInstanceLogsDetailsResponseInstanceLogDetail struct {
12701270

12711271
// InstanceLog: instance log.
12721272
type InstanceLog struct {
1273-
// DownloadURL: presigned S3 URL to download your log file.
1273+
// DownloadURL: presigned Object Storage URL to download your log file.
12741274
DownloadURL *string `json:"download_url"`
12751275

12761276
// ID: UUID of the Database Instance log.

api/inference/v1beta1/inference_sdk.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ type Model struct {
372372
// Description: purpose of the model.
373373
Description string `json:"description"`
374374

375-
// HasEula: defines whether the model has an end user licence agreement.
375+
// HasEula: defines whether the model has an end user license agreement.
376376
HasEula bool `json:"has_eula"`
377377

378378
// CreatedAt: creation date of the model.
@@ -384,7 +384,7 @@ type Model struct {
384384
// Region: region of the model.
385385
Region scw.Region `json:"region"`
386386

387-
// S3Model: s3 URL pointing to the model source weight.
387+
// S3Model: object Storage URL pointing to the model source weight.
388388
// Precisely one of S3Model must be set.
389389
S3Model *ModelS3Model `json:"s3_model,omitempty"`
390390

@@ -531,7 +531,7 @@ type DeleteEndpointRequest struct {
531531

532532
// Eula: eula.
533533
type Eula struct {
534-
// Content: content of the end user licence agreement.
534+
// Content: content of the end user license agreement.
535535
Content string `json:"content"`
536536
}
537537

api/instance/v1/instance_sdk.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,10 +2581,10 @@ type ExportSnapshotRequest struct {
25812581
// SnapshotID: snapshot ID.
25822582
SnapshotID string `json:"-"`
25832583

2584-
// Bucket: s3 bucket name.
2584+
// Bucket: object Storage bucket name.
25852585
Bucket string `json:"bucket,omitempty"`
25862586

2587-
// Key: s3 object key.
2587+
// Key: object key.
25882588
Key string `json:"key,omitempty"`
25892589
}
25902590

@@ -5122,7 +5122,7 @@ func (s *API) DeleteSnapshot(req *DeleteSnapshotRequest, opts ...scw.RequestOpti
51225122
return nil
51235123
}
51245124

5125-
// ExportSnapshot: Export a snapshot to a specified S3 bucket in the same region.
5125+
// ExportSnapshot: Export a snapshot to a specified Object Storage bucket in the same region.
51265126
func (s *API) ExportSnapshot(req *ExportSnapshotRequest, opts ...scw.RequestOption) (*ExportSnapshotResponse, error) {
51275127
var err error
51285128

api/iot/v1/iot_sdk.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -883,16 +883,16 @@ type RouteRestConfig struct {
883883

884884
// RouteS3Config: route s3 config.
885885
type RouteS3Config struct {
886-
// BucketRegion: region of the S3 route's destination bucket (e.g., 'fr-par').
886+
// BucketRegion: region of the Amazon S3 route's destination bucket (e.g., 'fr-par').
887887
BucketRegion string `json:"bucket_region"`
888888

889-
// BucketName: destination bucket name of the S3 route.
889+
// BucketName: destination bucket name of the Amazon S3 route.
890890
BucketName string `json:"bucket_name"`
891891

892892
// ObjectPrefix: optional string to prefix object names with.
893893
ObjectPrefix string `json:"object_prefix"`
894894

895-
// Strategy: how the S3 route's objects will be created: one per topic or one per message.
895+
// Strategy: how the Amazon S3 route's objects will be created: one per topic or one per message.
896896
// Default value: unknown
897897
Strategy RouteS3ConfigS3Strategy `json:"strategy"`
898898
}
@@ -1038,7 +1038,7 @@ type CreateRouteRequest struct {
10381038
// Topic: topic the route subscribes to. It must be a valid MQTT topic and up to 65535 characters.
10391039
Topic string `json:"topic"`
10401040

1041-
// S3Config: if creating S3 Route, S3-specific configuration fields.
1041+
// S3Config: if creating Amazon S3 Routes, Amazon S3-specific configuration fields.
10421042
// Precisely one of S3Config, DbConfig, RestConfig must be set.
10431043
S3Config *CreateRouteRequestS3Config `json:"s3_config,omitempty"`
10441044

@@ -1570,7 +1570,7 @@ type Route struct {
15701570
// CreatedAt: date at which the route was created.
15711571
CreatedAt *time.Time `json:"created_at"`
15721572

1573-
// S3Config: when using S3 Route, S3-specific configuration fields.
1573+
// S3Config: when using Amazon S3 Routes, Amazon S3-specific configuration fields.
15741574
// Precisely one of S3Config, DbConfig, RestConfig must be set.
15751575
S3Config *RouteS3Config `json:"s3_config,omitempty"`
15761576

@@ -1702,7 +1702,7 @@ type UpdateRouteRequest struct {
17021702
// Topic: topic the route subscribes to. It must be a valid MQTT topic and up to 65535 characters.
17031703
Topic *string `json:"topic,omitempty"`
17041704

1705-
// S3Config: when updating S3 Route, S3-specific configuration fields.
1705+
// S3Config: when updating Amazon S3 Route, Amazon S3-specific configuration fields.
17061706
// Precisely one of S3Config, DbConfig, RestConfig must be set.
17071707
S3Config *UpdateRouteRequestS3Config `json:"s3_config,omitempty"`
17081708

@@ -2516,8 +2516,8 @@ func (s *API) ListRoutes(req *ListRoutesRequest, opts ...scw.RequestOption) (*Li
25162516
// <b>You need to manage the database by yourself</b>.
25172517
// - REST Route.
25182518
// Create a route that will call a REST API on received subscribed MQTT messages.
2519-
// - S3 Routes.
2520-
// Create a route that will put subscribed MQTT messages into an S3 bucket.
2519+
// - Amazon S3 Routes.
2520+
// Create a route that will put subscribed MQTT messages into an Object Storage bucket.
25212521
// You need to create the bucket yourself and grant write access.
25222522
// Granting can be done with s3cmd (`s3cmd setacl s3://<my-bucket> --acl-grant=write:555c69c3-87d0-4bf8-80f1-99a2f757d031:555c69c3-87d0-4bf8-80f1-99a2f757d031`).
25232523
func (s *API) CreateRoute(req *CreateRouteRequest, opts ...scw.RequestOption) (*Route, error) {

api/lb/v1/lb_sdk.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ type Backend struct {
14601460
// UpdatedAt: date at which the backend was updated.
14611461
UpdatedAt *time.Time `json:"updated_at"`
14621462

1463-
// FailoverHost: scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
1463+
// FailoverHost: scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
14641464
FailoverHost *string `json:"failover_host"`
14651465

14661466
// SslBridging: defines whether to enable SSL bridging between the Load Balancer and backend servers.
@@ -1960,7 +1960,7 @@ type CreateBackendRequest struct {
19601960
// Default value: proxy_protocol_unknown
19611961
ProxyProtocol ProxyProtocol `json:"proxy_protocol"`
19621962

1963-
// FailoverHost: scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
1963+
// FailoverHost: scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
19641964
FailoverHost *string `json:"failover_host,omitempty"`
19651965

19661966
// SslBridging: defines whether to enable SSL bridging between the Load Balancer and backend servers.
@@ -3081,7 +3081,7 @@ type UpdateBackendRequest struct {
30813081
// Default value: proxy_protocol_unknown
30823082
ProxyProtocol ProxyProtocol `json:"proxy_protocol"`
30833083

3084-
// FailoverHost: scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
3084+
// FailoverHost: scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
30853085
FailoverHost *string `json:"failover_host,omitempty"`
30863086

30873087
// SslBridging: defines whether to enable SSL bridging between the Load Balancer and backend servers.
@@ -3489,7 +3489,7 @@ type ZonedAPICreateBackendRequest struct {
34893489
// Default value: proxy_protocol_unknown
34903490
ProxyProtocol ProxyProtocol `json:"proxy_protocol"`
34913491

3492-
// FailoverHost: scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
3492+
// FailoverHost: scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
34933493
FailoverHost *string `json:"failover_host,omitempty"`
34943494

34953495
// SslBridging: defines whether to enable SSL bridging between the Load Balancer and backend servers.
@@ -4280,7 +4280,7 @@ type ZonedAPIUpdateBackendRequest struct {
42804280
// Default value: proxy_protocol_unknown
42814281
ProxyProtocol ProxyProtocol `json:"proxy_protocol"`
42824282

4283-
// FailoverHost: scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
4283+
// FailoverHost: scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.
42844284
FailoverHost *string `json:"failover_host,omitempty"`
42854285

42864286
// SslBridging: defines whether to enable SSL bridging between the Load Balancer and backend servers.

api/rdb/v1/rdb_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ type ListInstanceLogsDetailsResponseInstanceLogDetail struct {
14591459

14601460
// InstanceLog: instance log.
14611461
type InstanceLog struct {
1462-
// DownloadURL: presigned S3 URL to download your log file.
1462+
// DownloadURL: presigned Object Storage URL to download your log file.
14631463
DownloadURL *string `json:"download_url"`
14641464

14651465
// ID: UUID of the Database Instance log.

0 commit comments

Comments
 (0)