Skip to content

Commit

Permalink
SAP ABAP: Update SAP ABAP test bucket names to be the new standard na…
Browse files Browse the repository at this point in the history
…mes. (awsdocs#6976)

Update SAP ABAP test bucket names to be the new standard names.
  • Loading branch information
Laren-AWS authored Oct 15, 2024
1 parent 3d8f947 commit 0658b41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ CLASS ltc_zcl_aws1_s3_actions IMPLEMENTATION.
ao_s3_actions = NEW zcl_aws1_s3_actions( ).
ENDMETHOD.
METHOD create_bucket.
CONSTANTS cv_bucket TYPE /aws1/s3_bucketname VALUE 'code-example-create-bucket'.
CONSTANTS cv_bucket TYPE /aws1/s3_bucketname VALUE 'amzn-s3-demo-bucket'.
ao_s3_actions->create_bucket( iv_bucket_name = cv_bucket ).

assert_bucket_exists(
Expand Down Expand Up @@ -152,9 +152,9 @@ CLASS ltc_zcl_aws1_s3_actions IMPLEMENTATION.
).
ENDMETHOD.
METHOD copy_object.
CONSTANTS cv_src_bucket TYPE /aws1/s3_bucketname VALUE 'code-example-copy-object-src-bucket'.
CONSTANTS cv_src_bucket TYPE /aws1/s3_bucketname VALUE 'amzn-s3-demo-copy-object-src-bucket'.
ao_s3->createbucket( iv_bucket = cv_src_bucket ).
CONSTANTS cv_dest_bucket TYPE /aws1/s3_bucketname VALUE 'code-example-copy-object-dest-bucket'.
CONSTANTS cv_dest_bucket TYPE /aws1/s3_bucketname VALUE 'amzn-s3-demo-copy-object-dest-bucket'.
ao_s3->createbucket( iv_bucket = cv_dest_bucket ).

CONSTANTS cv_src_file TYPE /aws1/s3_objectkey VALUE 'copy_object_ex_file'.
Expand Down Expand Up @@ -283,7 +283,7 @@ CLASS ltc_zcl_aws1_s3_actions IMPLEMENTATION.

ENDMETHOD.
METHOD delete_bucket.
CONSTANTS cv_bucket TYPE /aws1/s3_bucketname VALUE 'code-example-delete-bucket'.
CONSTANTS cv_bucket TYPE /aws1/s3_bucketname VALUE 'amzn-s3-demo-bucket'.
ao_s3->createbucket( iv_bucket = cv_bucket ).
ao_s3_actions->delete_bucket( iv_bucket_name = cv_bucket ).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CLASS ltc_zcl_aws1_s3_scenario DEFINITION FOR TESTING DURATION SHORT RISK LEVEL

PRIVATE SECTION.
CONSTANTS: cv_pfl TYPE /aws1/rt_profile_id VALUE 'ZCODE_DEMO',
cv_bucket TYPE /aws1/s3_bucketname VALUE 'code-example-scenario-bucket',
cv_bucket TYPE /aws1/s3_bucketname VALUE 'amzn-s3-demo-bucket',
cv_file TYPE /aws1/s3_objectkey VALUE 's3_scenario_ex_file',
cv_copy_to_folder TYPE /aws1/s3_bucketname VALUE 'code-example-scenario-folder'.

Expand Down

0 comments on commit 0658b41

Please sign in to comment.