Skip to content

Commit 3f4a530

Browse files
authored
.NET v3: Removing old abortMPU example. (#7021)
1 parent 648da78 commit 3f4a530

File tree

9 files changed

+307
-149
lines changed

9 files changed

+307
-149
lines changed

.doc_gen/metadata/s3_metadata.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,19 +1189,6 @@ s3_DeleteBucketLifecycle:
11891189
- python.example_code.s3.DeleteBucketLifecycleConfiguration
11901190
services:
11911191
s3: {DeleteBucketLifecycle}
1192-
s3_AbortMultipartUploads:
1193-
languages:
1194-
.NET:
1195-
versions:
1196-
- sdk_version: 3
1197-
github: dotnetv3/S3
1198-
sdkguide:
1199-
excerpts:
1200-
- description:
1201-
snippet_tags:
1202-
- S3.dotnetv3.AbortMPUExample
1203-
services:
1204-
s3: {AbortMultipartUploads}
12051192
s3_AbortMultipartUpload:
12061193
languages:
12071194
C++:

.github/workflows/lint-check-dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
uses: actions/setup-dotnet@v3
1515
with:
1616
dotnet-version: |
17-
5.0.x
1817
6.0.x
18+
8.0.x
1919
- name: Checkout files
2020
uses: actions/checkout@v4
2121
with:

dotnetv3/CloudFormation/Actions/HelloCloudFormation.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,14 @@ await _amazonCloudFormation.DescribeStackResourcesAsync(
8383
{
8484
Console.WriteLine(ex.Message);
8585
Console.WriteLine("If you are usnig SSO, be sure to install" +
86-
" the AWSSDK.SSO and AWSSDK.SSOOIDC packages.");
86+
" the AWSSDK.SSO and AWSSDK.SSOOIDC packages.");
8787
}
8888
else
8989
{
9090
Console.WriteLine(ex.Message);
9191
Console.WriteLine(ex.StackTrace);
9292
}
93+
9394
return false;
9495
}
9596
catch (ArgumentNullException ex)
@@ -104,8 +105,8 @@ await _amazonCloudFormation.DescribeStackResourcesAsync(
104105
Console.WriteLine(ex.Message);
105106
Console.WriteLine(ex.StackTrace);
106107
}
108+
107109
return false;
108110
}
109111
}
110-
}
111-
// snippet-end:[CloudFormation.dotnetv3.CloudFormationActions.HelloCloudFormation]
112+
}// snippet-end:[CloudFormation.dotnetv3.CloudFormationActions.HelloCloudFormation]

dotnetv3/DotNetV3Examples.sln

Lines changed: 301 additions & 23 deletions
Large diffs are not rendered by default.

dotnetv3/S3/AbortMPUExample/AbortMPU.cs

Lines changed: 0 additions & 57 deletions
This file was deleted.

dotnetv3/S3/AbortMPUExample/AbortMPUExample.csproj

Lines changed: 0 additions & 25 deletions
This file was deleted.

dotnetv3/S3/AbortMPUExample/AbortMPUExample.sln

Lines changed: 0 additions & 25 deletions
This file was deleted.

dotnetv3/S3/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Code examples that show you how to perform the essential operations within a ser
4040

4141
Code excerpts that show you how to call individual service functions.
4242

43-
- [AbortMultipartUploads](AbortMPUExample/AbortMPU.cs#L6)
4443
- [CopyObject](CopyObjectExample/CopyObject.cs#L11)
4544
- [CreateBucket](S3_Basics/S3Bucket.cs#L12)
4645
- [DeleteBucket](S3_Basics/S3Bucket.cs#L266)

dotnetv3/S3/scenarios/S3ObjectLockScenario/S3ObjectLockWorkflow/S3ObjectLockWorkflow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ await _s3ActionsWrapper.ModifyBucketDefaultRetention(retentionAfterCreationBucke
148148

149149
Console.WriteLine("\nObject lock policies can also be added to existing buckets.");
150150
await _s3ActionsWrapper.EnableObjectLockOnBucket(lockEnabledBucketName);
151-
151+
152152
Console.WriteLine("Press Enter to continue.");
153153
if (interactive)
154154
Console.ReadLine();

0 commit comments

Comments
 (0)