diff --git a/.doc_gen/metadata/aurora_metadata.yaml b/.doc_gen/metadata/aurora_metadata.yaml index 013dd57fef7..9198b7d2abf 100644 --- a/.doc_gen/metadata/aurora_metadata.yaml +++ b/.doc_gen/metadata/aurora_metadata.yaml @@ -16,13 +16,13 @@ aurora_Hello: - rds.java2.hello.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.HelloAurora + - Aurora.dotnetv4.HelloAurora Go: versions: - sdk_version: 2 @@ -72,13 +72,13 @@ aurora_DescribeDBClusterParameterGroups: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DescribeDBClusterParameterGroups + - Aurora.dotnetv4.DescribeDBClusterParameterGroups Go: versions: - sdk_version: 2 @@ -134,13 +134,13 @@ aurora_CreateDBClusterParameterGroup: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.CreateDBClusterParameterGroup + - Aurora.dotnetv4.CreateDBClusterParameterGroup Go: versions: - sdk_version: 2 @@ -204,13 +204,13 @@ aurora_DeleteDBClusterParameterGroup: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DeleteDBClusterParameterGroup + - Aurora.dotnetv4.DeleteDBClusterParameterGroup Go: versions: - sdk_version: 2 @@ -274,13 +274,13 @@ aurora_DescribeDBClusterParameters: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DescribeDBClusterParameters + - Aurora.dotnetv4.DescribeDBClusterParameters Go: versions: - sdk_version: 2 @@ -344,13 +344,13 @@ aurora_ModifyDBClusterParameterGroup: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.ModifyDBClusterParameterGroup + - Aurora.dotnetv4.ModifyDBClusterParameterGroup Go: versions: - sdk_version: 2 @@ -414,13 +414,13 @@ aurora_DescribeDBClusters: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DescribeDBClusters + - Aurora.dotnetv4.DescribeDBClusters Go: versions: - sdk_version: 2 @@ -484,13 +484,13 @@ aurora_CreateDBCluster: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.CreateDBCluster + - Aurora.dotnetv4.CreateDBCluster Go: versions: - sdk_version: 2 @@ -554,13 +554,13 @@ aurora_DeleteDBCluster: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DeleteDBCluster + - Aurora.dotnetv4.DeleteDBCluster Go: versions: - sdk_version: 2 @@ -624,13 +624,13 @@ aurora_CreateDBClusterSnapshot: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.CreateSnapshot + - Aurora.dotnetv4.CreateSnapshot Go: versions: - sdk_version: 2 @@ -694,13 +694,13 @@ aurora_DescribeDBClusterSnapshots: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DescribeDBSnapshots + - Aurora.dotnetv4.DescribeDBSnapshots Go: versions: - sdk_version: 2 @@ -755,13 +755,13 @@ aurora_CreateDBInstance: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.CreateDBInstance + - Aurora.dotnetv4.CreateDBInstance Go: versions: - sdk_version: 2 @@ -825,13 +825,13 @@ aurora_DescribeDBEngineVersions: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DescribeEngineVersionsAsync + - Aurora.dotnetv4.DescribeEngineVersionsAsync Go: versions: - sdk_version: 2 @@ -895,13 +895,13 @@ aurora_DescribeOrderableDBInstanceOptions: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DescribeOrderableDBInstanceOptions + - Aurora.dotnetv4.DescribeOrderableDBInstanceOptions Go: versions: - sdk_version: 2 @@ -956,13 +956,13 @@ aurora_DescribeDBInstances: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DescribeDBInstances + - Aurora.dotnetv4.DescribeDBInstances Go: versions: - sdk_version: 2 @@ -1026,13 +1026,13 @@ aurora_DeleteDBInstance: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: snippet_tags: - - Aurora.dotnetv3.DeleteDBInstance + - Aurora.dotnetv4.DeleteDBInstance Go: versions: - sdk_version: 2 @@ -1102,16 +1102,16 @@ aurora_Scenario_GetStartedClusters: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Aurora + - sdk_version: 4 + github: dotnetv4/Aurora sdkguide: excerpts: - description: Run an interactive scenario at a command prompt. snippet_tags: - - Aurora.dotnetv3.AuroraClusterScenario + - Aurora.dotnetv4.AuroraClusterScenario - description: Wrapper methods that are called by the scenario to manage &AUR; actions. snippet_tags: - - Aurora.dotnetv3.AuroraWrapper + - Aurora.dotnetv4.AuroraWrapper Go: versions: - sdk_version: 2 diff --git a/.doc_gen/metadata/auto-scaling_metadata.yaml b/.doc_gen/metadata/auto-scaling_metadata.yaml index 2b130d98922..11719b71d26 100644 --- a/.doc_gen/metadata/auto-scaling_metadata.yaml +++ b/.doc_gen/metadata/auto-scaling_metadata.yaml @@ -15,13 +15,13 @@ auto-scaling_Hello: - autoscale.java2.hello.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.HelloAutoScaling + - AutoScaling.dotnetv4.AutoScalingActions.HelloAutoScaling PHP: versions: - sdk_version: 3 @@ -71,12 +71,12 @@ auto-scaling_CreateAutoScalingGroup: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.CreateAutoScalingGroup + - AutoScaling.dotnetv4.AutoScalingActions.CreateAutoScalingGroup PHP: versions: - sdk_version: 3 @@ -203,12 +203,12 @@ auto-scaling_DescribeAutoScalingGroups: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.DescribeAutoScalingInstances + - AutoScaling.dotnetv4.AutoScalingActions.DescribeAutoScalingInstances Kotlin: versions: - sdk_version: 1 @@ -282,12 +282,12 @@ auto-scaling_UpdateAutoScalingGroup: - autoscale.java2.update_autoscalinggroup.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.UpdateAutoScalingGroup + - AutoScaling.dotnetv4.AutoScalingActions.UpdateAutoScalingGroup PHP: versions: - sdk_version: 3 @@ -346,13 +346,13 @@ auto-scaling_TerminateInstanceInAutoScalingGroup: - autoscale.java2.terminate_instance.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.TerminateInstanceInAutoScalingGroup + - AutoScaling.dotnetv4.AutoScalingActions.TerminateInstanceInAutoScalingGroup PHP: versions: - sdk_version: 3 @@ -413,13 +413,13 @@ auto-scaling_SetDesiredCapacity: - autoscale.java2.set_capacity.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.SetDesiredCapacity + - AutoScaling.dotnetv4.AutoScalingActions.SetDesiredCapacity PHP: versions: - sdk_version: 3 @@ -479,13 +479,13 @@ auto-scaling_DescribeAutoScalingInstances: - autoscale.java2.describe_autoscalinggroup.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.DescribeAutoScalingInstances + - AutoScaling.dotnetv4.AutoScalingActions.DescribeAutoScalingInstances PHP: versions: - sdk_version: 3 @@ -545,13 +545,13 @@ auto-scaling_DescribeScalingActivities: - autoscale.java2.describe_scaling_activites.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.DescribeScalingActivities + - AutoScaling.dotnetv4.AutoScalingActions.DescribeScalingActivities PHP: versions: - sdk_version: 3 @@ -611,13 +611,13 @@ auto-scaling_EnableMetricsCollection: - autoscale.java2.enable_collection.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.EnableMetricsCollection + - AutoScaling.dotnetv4.AutoScalingActions.EnableMetricsCollection PHP: versions: - sdk_version: 3 @@ -677,13 +677,13 @@ auto-scaling_DisableMetricsCollection: - autoscale.java2.disable_collection.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.DisableMetricsCollection + - AutoScaling.dotnetv4.AutoScalingActions.DisableMetricsCollection PHP: versions: - sdk_version: 3 @@ -767,21 +767,21 @@ auto-scaling_Scenario_GroupsAndInstances: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/AutoScaling + - sdk_version: 4 + github: dotnetv4/AutoScaling sdkguide: excerpts: - description: snippet_tags: - - AutoScaling.dotnetv3.AutoScalingBasics.Usings - - AutoScaling.dotnetv3.AutoScalingBasics - - AutoScaling.dotnetv3.AutoScalingBasics.UIWrapper + - AutoScaling.dotnetv4.AutoScalingBasics.Usings + - AutoScaling.dotnetv4.AutoScalingBasics + - AutoScaling.dotnetv4.AutoScalingBasics.UIWrapper - description: Define functions that are called by the scenario to manage launch templates and metrics. These functions wrap &AS;, &EC2;, and &CW; actions. snippet_tags: - - AutoScaling.dotnetv3.AutoScalingActions.AutoScalingWrapper - - AutoScaling.dotnetv3.AutoScalingActions.EC2Wrapper - - AutoScaling.dotnetv3.AutoScalingActions.CloudWatchWrapper + - AutoScaling.dotnetv4.AutoScalingActions.AutoScalingWrapper + - AutoScaling.dotnetv4.AutoScalingActions.EC2Wrapper + - AutoScaling.dotnetv4.AutoScalingActions.CloudWatchWrapper Kotlin: versions: - sdk_version: 1 diff --git a/.doc_gen/metadata/bedrock-runtime_metadata.yaml b/.doc_gen/metadata/bedrock-runtime_metadata.yaml index b8ebf05e497..8df71d8f2f5 100644 --- a/.doc_gen/metadata/bedrock-runtime_metadata.yaml +++ b/.doc_gen/metadata/bedrock-runtime_metadata.yaml @@ -58,12 +58,12 @@ bedrock-runtime_Converse_Ai21LabsJurassic2: - bedrock-runtime.java2.ConverseAsync_Ai21LabsJurassic2 .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to AI21 Labs Jurassic-2, using Bedrock's Converse API. snippet_tags: - - BedrockRuntime.dotnetv3.Converse_Ai21LabsJurassic2 + - BedrockRuntime.dotnetv4.Converse_Ai21LabsJurassic2 Python: versions: - sdk_version: 3 @@ -170,12 +170,12 @@ bedrock-runtime_Converse_AmazonTitanText: - bedrock-runtime.java2.ConverseAsync_AmazonTitanText .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Amazon Titan Text, using Bedrock's Converse API. snippet_tags: - - BedrockRuntime.dotnetv3.Converse_AmazonTitanText + - BedrockRuntime.dotnetv4.Converse_AmazonTitanText Python: versions: - sdk_version: 3 @@ -293,12 +293,12 @@ bedrock-runtime_Converse_AnthropicClaude: - bedrock-runtime.java2.ConverseAsync_AnthropicClaude .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Anthropic Claude, using Bedrock's Converse API. snippet_tags: - - BedrockRuntime.dotnetv3.Converse_AnthropicClaude + - BedrockRuntime.dotnetv4.Converse_AnthropicClaude Go: versions: - sdk_version: 2 @@ -365,12 +365,12 @@ bedrock-runtime_Converse_CohereCommand: - bedrock-runtime.java2.ConverseAsync_CohereCommand .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Cohere Command, using Bedrock's Converse API. snippet_tags: - - BedrockRuntime.dotnetv3.Converse_CohereCommand + - BedrockRuntime.dotnetv4.Converse_CohereCommand Python: versions: - sdk_version: 3 @@ -409,12 +409,12 @@ bedrock-runtime_Converse_MetaLlama: - bedrock-runtime.java2.ConverseAsync_MetaLlama .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Meta Llama, using Bedrock's Converse API. snippet_tags: - - BedrockRuntime.dotnetv3.Converse_MetaLlama + - BedrockRuntime.dotnetv4.Converse_MetaLlama Python: versions: - sdk_version: 3 @@ -461,12 +461,12 @@ bedrock-runtime_Converse_Mistral: - bedrock-runtime.java2.ConverseAsync_Mistral .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Mistral, using Bedrock's Converse API. snippet_tags: - - BedrockRuntime.dotnetv3.Converse_Mistral + - BedrockRuntime.dotnetv4.Converse_Mistral Python: versions: - sdk_version: 3 @@ -560,12 +560,12 @@ bedrock-runtime_ConverseStream_AmazonTitanText: - bedrock-runtime.java2.ConverseStream_AmazonTitanText .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Amazon Titan Text, using Bedrock's Converse API and process the response stream in real-time. snippet_tags: - - BedrockRuntime.dotnetv3.ConverseStream_AmazonTitanText + - BedrockRuntime.dotnetv4.ConverseStream_AmazonTitanText Python: versions: - sdk_version: 3 @@ -601,12 +601,12 @@ bedrock-runtime_ConverseStream_AnthropicClaude: - bedrock-runtime.java2.ConverseStream_AnthropicClaude .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Anthropic Claude, using Bedrock's Converse API and process the response stream in real-time. snippet_tags: - - BedrockRuntime.dotnetv3.ConverseStream_AnthropicClaude + - BedrockRuntime.dotnetv4.ConverseStream_AnthropicClaude Python: versions: - sdk_version: 3 @@ -661,12 +661,12 @@ bedrock-runtime_ConverseStream_CohereCommand: - bedrock-runtime.java2.ConverseStream_CohereCommand .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Cohere Command, using Bedrock's Converse API and process the response stream in real-time. snippet_tags: - - BedrockRuntime.dotnetv3.ConverseStream_CohereCommand + - BedrockRuntime.dotnetv4.ConverseStream_CohereCommand Python: versions: - sdk_version: 3 @@ -702,12 +702,12 @@ bedrock-runtime_ConverseStream_MetaLlama: - bedrock-runtime.java2.ConverseStream_MetaLlama .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Meta Llama, using Bedrock's Converse API and process the response stream in real-time. snippet_tags: - - BedrockRuntime.dotnetv3.ConverseStream_MetaLlama + - BedrockRuntime.dotnetv4.ConverseStream_MetaLlama Python: versions: - sdk_version: 3 @@ -751,12 +751,12 @@ bedrock-runtime_ConverseStream_Mistral: - bedrock-runtime.java2.ConverseStream_Mistral .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Send a text message to Mistral, using Bedrock's Converse API and process the response stream in real-time. snippet_tags: - - BedrockRuntime.dotnetv3.ConverseStream_Mistral + - BedrockRuntime.dotnetv4.ConverseStream_Mistral Python: versions: - sdk_version: 3 @@ -793,12 +793,12 @@ bedrock-runtime_InvokeModel_Ai21LabsJurassic2: - bedrock-runtime.java2.InvokeModel_Ai21LabsJurassic2 .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Use the Invoke Model API to send a text message. snippet_tags: - - BedrockRuntime.dotnetv3.InvokeModel_Ai21LabsJurassic2 + - BedrockRuntime.dotnetv4.InvokeModel_Ai21LabsJurassic2 Python: versions: - sdk_version: 3 @@ -843,12 +843,12 @@ bedrock-runtime_InvokeModel_TitanText: - bedrock-runtime.kotlin.InvokeModel_AmazonTitanText .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Use the Invoke Model API to send a text message. snippet_tags: - - BedrockRuntime.dotnetv3.InvokeModel_AmazonTitanText + - BedrockRuntime.dotnetv4.InvokeModel_AmazonTitanText Python: versions: - sdk_version: 3 @@ -893,12 +893,12 @@ bedrock-runtime_InvokeModel_AnthropicClaude: - bedrock-runtime.java2.InvokeModel_AnthropicClaude .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock-runtime + - sdk_version: 4 + github: dotnetv4/Bedrock-runtime excerpts: - description: Use the Invoke Model API to send a text message. snippet_tags: - - BedrockRuntime.dotnetv3.InvokeModel_AnthropicClaude + - BedrockRuntime.dotnetv4.InvokeModel_AnthropicClaude Python: versions: - sdk_version: 3 diff --git a/.doc_gen/metadata/bedrock_metadata.yaml b/.doc_gen/metadata/bedrock_metadata.yaml index 6c95de1e8e5..e900e6e3078 100644 --- a/.doc_gen/metadata/bedrock_metadata.yaml +++ b/.doc_gen/metadata/bedrock_metadata.yaml @@ -15,12 +15,12 @@ bedrock_Hello: - gov2.bedrock.Hello .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock + - sdk_version: 4 + github: dotnetv4/Bedrock excerpts: - description: snippet_tags: - - Bedrock.dotnetv3.BedrockActions.HelloBedrock + - Bedrock.dotnetv4.BedrockActions.HelloBedrock JavaScript: versions: - sdk_version: 3 @@ -137,12 +137,12 @@ bedrock_ListFoundationModels: - python.example_code.bedrock.ListFoundationModels .NET: versions: - - sdk_version: 3 - github: dotnetv3/Bedrock + - sdk_version: 4 + github: dotnetv4/Bedrock excerpts: - description: List the available Bedrock foundation models. snippet_tags: - - Bedrock.dotnetv3.BedrockActions.ListFoundationModels + - Bedrock.dotnetv4.BedrockActions.ListFoundationModels Swift: versions: - sdk_version: 1 diff --git a/.doc_gen/metadata/cloudformation_metadata.yaml b/.doc_gen/metadata/cloudformation_metadata.yaml index 63721901e11..63baca9d03f 100644 --- a/.doc_gen/metadata/cloudformation_metadata.yaml +++ b/.doc_gen/metadata/cloudformation_metadata.yaml @@ -6,12 +6,12 @@ cloudformation_Hello: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/CloudFormation + - sdk_version: 4 + github: dotnetv4/CloudFormation excerpts: - description: snippet_tags: - - CloudFormation.dotnetv3.CloudFormationActions.HelloCloudFormation + - CloudFormation.dotnetv4.CloudFormationActions.HelloCloudFormation services: cloudformation: {DescribeStackResources} cloudformation_DescribeStacks: diff --git a/.doc_gen/metadata/cloudwatch_metadata.yaml b/.doc_gen/metadata/cloudwatch_metadata.yaml index 326d0b3c015..faf0c9aa5d9 100644 --- a/.doc_gen/metadata/cloudwatch_metadata.yaml +++ b/.doc_gen/metadata/cloudwatch_metadata.yaml @@ -24,13 +24,13 @@ cloudwatch_Hello: - cloudwatch.java2.hello.main .NET: versions: - - sdk_version: 3 - github: dotnetv3/CloudWatch + - sdk_version: 4 + github: dotnetv4/CloudWatch sdkguide: excerpts: - description: snippet_tags: - - CloudWatch.dotnetv3.HelloCloudWatch + - CloudWatch.dotnetv4.HelloCloudWatch services: cloudwatch: {ListMetrics} cloudwatch_DeleteAlarms: diff --git a/.doc_gen/metadata/cognito-identity-provider_metadata.yaml b/.doc_gen/metadata/cognito-identity-provider_metadata.yaml index 6507d9537d1..2fda47da7ac 100644 --- a/.doc_gen/metadata/cognito-identity-provider_metadata.yaml +++ b/.doc_gen/metadata/cognito-identity-provider_metadata.yaml @@ -63,12 +63,12 @@ cognito-identity-provider_ListUserPools: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/Cognito + - sdk_version: 4 + github: dotnetv4/Cognito excerpts: - description: snippet_tags: - - Cognito.dotnetv3.ListUserPools + - Cognito.dotnetv4.ListUserPools Go: versions: - sdk_version: 2 diff --git a/.doc_gen/metadata/ec2_metadata.yaml b/.doc_gen/metadata/ec2_metadata.yaml index d70b24088ac..73ed60a9d66 100644 --- a/.doc_gen/metadata/ec2_metadata.yaml +++ b/.doc_gen/metadata/ec2_metadata.yaml @@ -6,13 +6,13 @@ ec2_Hello: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/EC2 + - sdk_version: 4 + github: dotnetv4/EC2 sdkguide: excerpts: - description: snippet_tags: - - EC2.dotnetv3.HelloEc2 + - EC2.dotnetv4.HelloEc2 Kotlin: versions: - sdk_version: 1 diff --git a/.doc_gen/metadata/ecs_metadata.yaml b/.doc_gen/metadata/ecs_metadata.yaml index 63c6c927a81..86387489046 100644 --- a/.doc_gen/metadata/ecs_metadata.yaml +++ b/.doc_gen/metadata/ecs_metadata.yaml @@ -7,13 +7,13 @@ ecs_Hello: languages: .NET: versions: - - sdk_version: 3 - github: dotnetv3/ECS + - sdk_version: 4 + github: dotnetv4/ECS sdkguide: excerpts: - description: snippet_tags: - - ECS.dotnetv3.ECSActions.HelloECS + - ECS.dotnetv4.ECSActions.HelloECS services: ecs: {ListClusters} ecs_CreateCluster: diff --git a/.tools/readmes/config.py b/.tools/readmes/config.py index 2f1c3816511..e6e215717d8 100644 --- a/.tools/readmes/config.py +++ b/.tools/readmes/config.py @@ -123,10 +123,15 @@ 4: { "base_folder": "dotnetv4", "service_folder": 'dotnetv4/{{service["name"] | capitalize}}', - "sdk_api_ref": 'https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/{{service["name"] | capitalize}}/N{{service["name"] | capitalize}}.html', + "sdk_api_ref": 'https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/{{service["name"] | capitalize}}/N{{service["name"] | capitalize}}.html', "service_folder_overrides": { "aurora": "dotnetv4/Aurora", "auto-scaling": "dotnetv4/AutoScaling", + "cloudformation": "dotnetv4/CloudFormation", + "cloudwatch": "dotnetv4/CloudWatch", + "cognito-identity-provider": "dotnetv4/Cognito", + "ec2": "dotnetv4/EC2", + "ecs": "dotnetv4/ECS", }, } }, diff --git a/dotnetv4/Aurora/README.md b/dotnetv4/Aurora/README.md index 519d4cbe3e1..070c4cfd723 100644 --- a/dotnetv4/Aurora/README.md +++ b/dotnetv4/Aurora/README.md @@ -1,8 +1,8 @@ -# Aurora code examples for the SDK for .NET +# Aurora code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon Aurora. +Shows how to use the AWS SDK for .NET (v4) to work with Amazon Aurora. @@ -47,14 +47,14 @@ Code excerpts that show you how to call individual service functions. - [CreateDBCluster](Actions/AuroraWrapper.cs#L199) - [CreateDBClusterParameterGroup](Actions/AuroraWrapper.cs#L41) -- [CreateDBClusterSnapshot](Actions/AuroraWrapper.cs#L320) -- [CreateDBInstance](Actions/AuroraWrapper.cs#L286) -- [DeleteDBCluster](Actions/AuroraWrapper.cs#L367) +- [CreateDBClusterSnapshot](Actions/AuroraWrapper.cs#L323) +- [CreateDBInstance](Actions/AuroraWrapper.cs#L289) +- [DeleteDBCluster](Actions/AuroraWrapper.cs#L370) - [DeleteDBClusterParameterGroup](Actions/AuroraWrapper.cs#L181) -- [DeleteDBInstance](Actions/AuroraWrapper.cs#L386) +- [DeleteDBInstance](Actions/AuroraWrapper.cs#L389) - [DescribeDBClusterParameterGroups](Actions/AuroraWrapper.cs#L98) - [DescribeDBClusterParameters](Actions/AuroraWrapper.cs#L66) -- [DescribeDBClusterSnapshots](Actions/AuroraWrapper.cs#L340) +- [DescribeDBClusterSnapshots](Actions/AuroraWrapper.cs#L343) - [DescribeDBClusters](Actions/AuroraWrapper.cs#L259) - [DescribeDBEngineVersions](Actions/AuroraWrapper.cs#L21) - [DescribeDBInstances](Actions/AuroraWrapper.cs#L236) @@ -69,23 +69,6 @@ Code excerpts that show you how to call individual service functions. ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv3` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -111,6 +94,7 @@ This example shows you how to do the following: + ### Tests ⚠ Running tests might result in charges to your AWS account. @@ -128,7 +112,7 @@ in the `dotnetv4` folder. - [Aurora User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - [Aurora API Reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/Welcome.html) -- [SDK for .NET Aurora reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/RDS/NRDS.html) +- [SDK for .NET (v4) Aurora reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Aurora/NAurora.html) @@ -137,4 +121,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/AutoScaling/README.md b/dotnetv4/AutoScaling/README.md index de8a23bb40e..dc9cf2458cc 100644 --- a/dotnetv4/AutoScaling/README.md +++ b/dotnetv4/AutoScaling/README.md @@ -1,8 +1,8 @@ -# Auto Scaling code examples for the SDK for .NET +# Auto Scaling code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon EC2 Auto Scaling. +Shows how to use the AWS SDK for .NET (v4) to work with Amazon EC2 Auto Scaling. @@ -45,17 +45,16 @@ Code examples that show you how to perform the essential operations within a ser Code excerpts that show you how to call individual service functions. -- [AttachLoadBalancerTargetGroups](../cross-service/ResilientService/AutoScalerActions/AutoScalerWrapper.cs#L890) - [CreateAutoScalingGroup](Actions/AutoScalingWrapper.cs#L28) -- [DeleteAutoScalingGroup](../cross-service/ResilientService/AutoScalerActions/AutoScalerWrapper.cs#L693) -- [DescribeAutoScalingGroups](Actions/AutoScalingWrapper.cs#L109) -- [DescribeAutoScalingInstances](Actions/AutoScalingWrapper.cs#L109) -- [DescribeScalingActivities](Actions/AutoScalingWrapper.cs#L86) -- [DisableMetricsCollection](Actions/AutoScalingWrapper.cs#L202) -- [EnableMetricsCollection](Actions/AutoScalingWrapper.cs#L223) -- [SetDesiredCapacity](Actions/AutoScalingWrapper.cs#L249) -- [TerminateInstanceInAutoScalingGroup](Actions/AutoScalingWrapper.cs#L275) -- [UpdateAutoScalingGroup](Actions/AutoScalingWrapper.cs#L306) +- [DescribeAutoScalingGroups](Actions/AutoScalingWrapper.cs#L121) +- [DescribeAutoScalingInstances](Actions/AutoScalingWrapper.cs#L121) +- [DescribeScalingActivities](Actions/AutoScalingWrapper.cs#L93) +- [DisableMetricsCollection](Actions/AutoScalingWrapper.cs#L227) +- [EnableMetricsCollection](Actions/AutoScalingWrapper.cs#L248) +- [SetDesiredCapacity](Actions/AutoScalingWrapper.cs#L274) +- [TerminateInstanceInAutoScalingGroup](Actions/AutoScalingWrapper.cs#L300) +- [UpdateAutoScalingGroup](Actions/AutoScalingWrapper.cs#L331) + @@ -64,23 +63,6 @@ Code excerpts that show you how to call individual service functions. ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -142,7 +124,7 @@ in the `dotnetv4` folder. - [Auto Scaling User Guide](https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html) - [Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html) -- [SDK for .NET Auto Scaling reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/AutoScaling/NAutoScaling.html) +- [SDK for .NET (v4) Auto Scaling reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Auto-scaling/NAuto-scaling.html) @@ -151,4 +133,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/Bedrock-runtime/README.md b/dotnetv4/Bedrock-runtime/README.md index f013c458260..dcd0537295b 100644 --- a/dotnetv4/Bedrock-runtime/README.md +++ b/dotnetv4/Bedrock-runtime/README.md @@ -1,8 +1,8 @@ -# Amazon Bedrock Runtime code examples for the SDK for .NET +# Amazon Bedrock Runtime code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon Bedrock Runtime. +Shows how to use the AWS SDK for .NET (v4) to work with Amazon Bedrock Runtime. @@ -38,39 +38,27 @@ For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv4 - [Converse](Models/AmazonTitanText/Converse/Converse.cs#L4) - [ConverseStream](Models/AmazonTitanText/ConverseStream/ConverseStream.cs#L4) - [InvokeModel](Models/AmazonTitanText/InvokeModel/InvokeModel.cs#L4) -- [InvokeModelWithResponseStream](Models/AmazonTitanText/InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4) ### Anthropic Claude - [Converse](Models/AnthropicClaude/Converse/Converse.cs#L4) - [ConverseStream](Models/AnthropicClaude/ConverseStream/ConverseStream.cs#L4) - [InvokeModel](Models/AnthropicClaude/InvokeModel/InvokeModel.cs#L4) -- [InvokeModelWithResponseStream](Models/AnthropicClaude/InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4) ### Cohere Command - [Converse](Models/CohereCommand/Converse/Converse.cs#L4) - [ConverseStream](Models/CohereCommand/ConverseStream/ConverseStream.cs#L4) -- [InvokeModel: Command R and R+](Models/CohereCommand/Command_R_InvokeModel/InvokeModel.cs#L4) -- [InvokeModel: Command and Command Light](Models/CohereCommand/Command_InvokeModel/InvokeModel.cs#L4) -- [InvokeModelWithResponseStream: Command R and R+](Models/CohereCommand/Command_R_InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4) -- [InvokeModelWithResponseStream: Command and Command Light](Models/CohereCommand/Command_InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4) ### Meta Llama - [Converse](Models/MetaLlama/Converse/Converse.cs#L4) - [ConverseStream](Models/MetaLlama/ConverseStream/ConverseStream.cs#L4) -- [InvokeModel: Llama 2](Models/MetaLlama/Llama2_InvokeModel/InvokeModel.cs#L4) -- [InvokeModel: Llama 3](Models/MetaLlama/Llama3_InvokeModel/InvokeModel.cs#L4) -- [InvokeModelWithResponseStream: Llama 2](Models/MetaLlama/Llama2_InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4) -- [InvokeModelWithResponseStream: Llama 3](Models/MetaLlama/Llama3_InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4) ### Mistral AI - [Converse](Models/Mistral/Converse/Converse.cs#L4) - [ConverseStream](Models/Mistral/ConverseStream/ConverseStream.cs#L4) -- [InvokeModel](Models/Mistral/InvokeModel/InvokeModel.cs#L4) -- [InvokeModelWithResponseStream](Models/Mistral/InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4) @@ -80,23 +68,6 @@ For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv4 ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -120,7 +91,7 @@ in the `dotnetv4` folder. - [Amazon Bedrock Runtime User Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html) - [Amazon Bedrock Runtime API Reference](https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html) -- [SDK for .NET Amazon Bedrock Runtime reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/Bedrock-runtime/NBedrock-runtime.html) +- [SDK for .NET (v4) Amazon Bedrock Runtime reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Bedrock-runtime/NBedrock-runtime.html) @@ -129,4 +100,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/Bedrock/README.md b/dotnetv4/Bedrock/README.md index 3a495548dfd..327e9a3bac4 100644 --- a/dotnetv4/Bedrock/README.md +++ b/dotnetv4/Bedrock/README.md @@ -1,8 +1,8 @@ -# Amazon Bedrock code examples for the SDK for .NET +# Amazon Bedrock code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon Bedrock. +Shows how to use the AWS SDK for .NET (v4) to work with Amazon Bedrock. @@ -48,23 +48,6 @@ Code excerpts that show you how to call individual service functions. ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -92,7 +75,7 @@ in the `dotnetv4` folder. - [Amazon Bedrock User Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html) - [Amazon Bedrock API Reference](https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html) -- [SDK for .NET Amazon Bedrock reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/Bedrock/NBedrock.html) +- [SDK for .NET (v4) Amazon Bedrock reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Bedrock/NBedrock.html) @@ -101,4 +84,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/Cloudformation/Actions/CloudFormationActions.csproj b/dotnetv4/CloudFormation/Actions/CloudFormationActions.csproj similarity index 100% rename from dotnetv4/Cloudformation/Actions/CloudFormationActions.csproj rename to dotnetv4/CloudFormation/Actions/CloudFormationActions.csproj diff --git a/dotnetv4/Cloudformation/Actions/HelloCloudFormation.cs b/dotnetv4/CloudFormation/Actions/HelloCloudFormation.cs similarity index 100% rename from dotnetv4/Cloudformation/Actions/HelloCloudFormation.cs rename to dotnetv4/CloudFormation/Actions/HelloCloudFormation.cs diff --git a/dotnetv4/Cloudformation/CloudFormationExamples.sln b/dotnetv4/CloudFormation/CloudFormationExamples.sln similarity index 100% rename from dotnetv4/Cloudformation/CloudFormationExamples.sln rename to dotnetv4/CloudFormation/CloudFormationExamples.sln diff --git a/dotnetv4/Cloudformation/README.md b/dotnetv4/CloudFormation/README.md similarity index 68% rename from dotnetv4/Cloudformation/README.md rename to dotnetv4/CloudFormation/README.md index ca5f9483cac..c8319230068 100644 --- a/dotnetv4/Cloudformation/README.md +++ b/dotnetv4/CloudFormation/README.md @@ -1,8 +1,8 @@ -# CloudFormation code examples for the SDK for .NET +# CloudFormation code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with AWS CloudFormation. +Shows how to use the AWS SDK for .NET (v4) to work with AWS CloudFormation. @@ -41,23 +41,6 @@ For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv4 ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -85,7 +68,7 @@ in the `dotnetv4` folder. - [CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html) - [CloudFormation API Reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/Welcome.html) -- [SDK for .NET CloudFormation reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CloudFormation/NCloudFormation.html) +- [SDK for .NET (v4) CloudFormation reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Cloudformation/NCloudformation.html) @@ -94,4 +77,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/Cloudformation/Tests/CloudFormationTests.cs b/dotnetv4/CloudFormation/Tests/CloudFormationTests.cs similarity index 100% rename from dotnetv4/Cloudformation/Tests/CloudFormationTests.cs rename to dotnetv4/CloudFormation/Tests/CloudFormationTests.cs diff --git a/dotnetv4/Cloudformation/Tests/CloudFormationTests.csproj b/dotnetv4/CloudFormation/Tests/CloudFormationTests.csproj similarity index 100% rename from dotnetv4/Cloudformation/Tests/CloudFormationTests.csproj rename to dotnetv4/CloudFormation/Tests/CloudFormationTests.csproj diff --git a/dotnetv4/Cloudformation/Tests/Usings.cs b/dotnetv4/CloudFormation/Tests/Usings.cs similarity index 100% rename from dotnetv4/Cloudformation/Tests/Usings.cs rename to dotnetv4/CloudFormation/Tests/Usings.cs diff --git a/dotnetv4/CloudWatch/README.md b/dotnetv4/CloudWatch/README.md index 1c2ef4126c9..f7e07658354 100644 --- a/dotnetv4/CloudWatch/README.md +++ b/dotnetv4/CloudWatch/README.md @@ -1,8 +1,8 @@ -# CloudWatch code examples for the SDK for .NET +# CloudWatch code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon CloudWatch. +Shows how to use the AWS SDK for .NET (v4) to work with Amazon CloudWatch. @@ -36,38 +36,6 @@ To enable billing metrics and statistics for these examples, make sure to - [Hello CloudWatch](Actions/HelloCloudWatch.cs#L4) (`ListMetrics`) -### Basics - -Code examples that show you how to perform the essential operations within a service. - -- [Learn the basics](Scenarios/CloudWatchScenario.cs) - - -### Single actions - -Code excerpts that show you how to call individual service functions. - -- [DeleteAlarms](Actions/CloudWatchWrapper.cs#L396) -- [DeleteAnomalyDetector](Actions/CloudWatchWrapper.cs#L494) -- [DeleteDashboards](Actions/CloudWatchWrapper.cs#L512) -- [DescribeAlarmHistory](Actions/CloudWatchWrapper.cs#L369) -- [DescribeAlarms](Actions/CloudWatchWrapper.cs#L326) -- [DescribeAlarmsForMetric](Actions/CloudWatchWrapper.cs#L349) -- [DescribeAnomalyDetectors](Actions/CloudWatchWrapper.cs#L468) -- [DisableAlarmActions](Actions/CloudWatchWrapper.cs#L414) -- [EnableAlarmActions](Actions/CloudWatchWrapper.cs#L432) -- [GetDashboard](Actions/CloudWatchWrapper.cs#L115) -- [GetMetricData](Actions/CloudWatchWrapper.cs#L226) -- [GetMetricStatistics](Actions/CloudWatchWrapper.cs#L61) -- [GetMetricWidgetImage](Actions/CloudWatchWrapper.cs#L175) -- [ListDashboards](Actions/CloudWatchWrapper.cs#L134) -- [ListMetrics](Actions/CloudWatchWrapper.cs#L33) -- [PutAnomalyDetector](Actions/CloudWatchWrapper.cs#L450) -- [PutDashboard](Actions/CloudWatchWrapper.cs#L91) -- [PutMetricAlarm](Actions/CloudWatchWrapper.cs#L265) -- [PutMetricData](Actions/CloudWatchWrapper.cs#L154) - - @@ -75,23 +43,6 @@ Code excerpts that show you how to call individual service functions. ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -101,25 +52,6 @@ Alternatively, you can run the example from within your IDE. This example shows you how to get started using CloudWatch. -#### Learn the basics - -This example shows you how to do the following: - -- List CloudWatch namespaces and metrics. -- Get statistics for a metric and for estimated billing. -- Create and update a dashboard. -- Create and add data to a metric. -- Create and trigger an alarm, then view alarm history. -- Add an anomaly detector. -- Get a metric image, then clean up resources. - - - - - - - - ### Tests @@ -127,7 +59,7 @@ This example shows you how to do the following: To find instructions for running these tests, see the [README](../README.md#Tests) -in the `dotnetv3` folder. +in the `dotnetv4` folder. @@ -138,7 +70,7 @@ in the `dotnetv3` folder. - [CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html) - [CloudWatch API Reference](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/Welcome.html) -- [SDK for .NET CloudWatch reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CloudWatch/NCloudWatch.html) +- [SDK for .NET (v4) CloudWatch reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Cloudwatch/NCloudwatch.html) @@ -147,4 +79,4 @@ in the `dotnetv3` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/Cognito/README.md b/dotnetv4/Cognito/README.md index 677b1901dae..b7b0844099e 100644 --- a/dotnetv4/Cognito/README.md +++ b/dotnetv4/Cognito/README.md @@ -1,8 +1,8 @@ -# Amazon Cognito Identity Provider code examples for the SDK for .NET +# Amazon Cognito Identity Provider code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon Cognito Identity Provider. +Shows how to use the AWS SDK for .NET (v4) to work with Amazon Cognito Identity Provider. @@ -43,25 +43,7 @@ the scenario. Code excerpts that show you how to call individual service functions. -- [AdminGetUser](Actions/CognitoWrapper.cs#L288) -- [AdminInitiateAuth](Actions/CognitoWrapper.cs#L156) -- [AdminRespondToAuthChallenge](Actions/CognitoWrapper.cs#L72) -- [AssociateSoftwareToken](Actions/CognitoWrapper.cs#L133) -- [ConfirmDevice](Actions/CognitoWrapper.cs#L241) -- [ConfirmSignUp](Actions/CognitoWrapper.cs#L213) -- [InitiateAuth](Actions/CognitoWrapper.cs#L184) - [ListUserPools](Actions/CognitoWrapper.cs#L25) -- [ListUsers](Actions/CognitoWrapper.cs#L46) -- [ResendConfirmationCode](Actions/CognitoWrapper.cs#L264) -- [SignUp](Actions/CognitoWrapper.cs#L311) -- [VerifySoftwareToken](Actions/CognitoWrapper.cs#L111) - -### Scenarios - -Code examples that show you how to accomplish a specific task by calling multiple -functions within the same service. - -- [Sign up a user with a user pool that requires MFA](Actions/CognitoWrapper.cs) @@ -71,44 +53,12 @@ functions within the same service. ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - -#### Sign up a user with a user pool that requires MFA - -This example shows you how to do the following: - -- Sign up and confirm a user with a username, password, and email address. -- Set up multi-factor authentication by associating an MFA application with the user. -- Sign in by using a password and an MFA code. - - - - - - - - ### Tests ⚠ Running tests might result in charges to your AWS account. @@ -126,7 +76,7 @@ in the `dotnetv4` folder. - [Amazon Cognito Identity Provider Developer Guide](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html) - [Amazon Cognito Identity Provider API Reference](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/Welcome.html) -- [SDK for .NET Amazon Cognito Identity Provider reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CognitoIdentity/NCognitoIdentity.html) +- [SDK for .NET (v4) Amazon Cognito Identity Provider reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Cognito-identity-provider/NCognito-identity-provider.html) @@ -135,4 +85,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/Dockerfile b/dotnetv4/Dockerfile index 9223c7f7b3a..9088b4aadba 100644 --- a/dotnetv4/Dockerfile +++ b/dotnetv4/Dockerfile @@ -12,4 +12,4 @@ COPY . /dotnetv4 RUN cd /dotnetv4 && dotnet build -v=q --property WarningLevel=0 /clp:ErrorsOnly --nologo -CMD ["dotnet", "test", "dotnetv3", "--filter", "Category=Unit|Category=Weathertop", "--verbosity=quiet", "/clp:ErrorsOnly", "--nologo"] \ No newline at end of file +CMD ["dotnet", "test", "dotnetv4", "--filter", "Category=Unit|Category=Weathertop", "--verbosity=quiet", "/clp:ErrorsOnly", "--nologo"] \ No newline at end of file diff --git a/dotnetv4/DotNetV4Examples.sln b/dotnetv4/DotNetV4Examples.sln index 54ed1e5f32f..55584997279 100644 --- a/dotnetv4/DotNetV4Examples.sln +++ b/dotnetv4/DotNetV4Examples.sln @@ -95,11 +95,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Converse", "Bedrock-runtime EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BedrockRuntimeActions", "Bedrock-runtime\Actions\BedrockRuntimeActions.csproj", "{05E93A3E-CFA0-4980-8EE5-CD25C7ED766D}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Cloudformation", "Cloudformation", "{5FBEAD92-9234-4824-9320-2052D236C9CD}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CloudFormation", "CloudFormation", "{5FBEAD92-9234-4824-9320-2052D236C9CD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudFormationTests", "Cloudformation\Tests\CloudFormationTests.csproj", "{AAFC86EB-49D7-4FD8-8C79-C42C129EB75A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudFormationTests", "CloudFormation\Tests\CloudFormationTests.csproj", "{AAFC86EB-49D7-4FD8-8C79-C42C129EB75A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudFormationActions", "Cloudformation\Actions\CloudFormationActions.csproj", "{98A11016-DD41-4848-A848-51D703951A91}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudFormationActions", "CloudFormation\Actions\CloudFormationActions.csproj", "{98A11016-DD41-4848-A848-51D703951A91}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CloudWatch", "CloudWatch", "{CED87D19-7F82-4D67-8A30-3EE085D07E45}" EndProject diff --git a/dotnetv4/EC2/README.md b/dotnetv4/EC2/README.md index 45de83bb0bd..0ae03726904 100644 --- a/dotnetv4/EC2/README.md +++ b/dotnetv4/EC2/README.md @@ -1,8 +1,8 @@ -# Amazon EC2 code examples for the SDK for .NET +# Amazon EC2 code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon Elastic Compute Cloud (Amazon EC2). +Shows how to use the AWS SDK for .NET (v4) to work with Amazon Elastic Compute Cloud (Amazon EC2). @@ -23,7 +23,7 @@ _Amazon EC2 is a web service that provides resizable computing capacity—litera ### Prerequisites -For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv3` folder. +For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv4` folder. @@ -34,35 +34,6 @@ For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv3 - [Hello Amazon EC2](Actions/HelloEC2.cs#L4) (`DescribeSecurityGroups`) -### Basics - -Code examples that show you how to perform the essential operations within a service. - -- [Learn the basics](Scenarios/EC2_Basics/EC2Basics.cs) - - -### Single actions - -Code excerpts that show you how to call individual service functions. - -- [AllocateAddress](Actions/EC2Wrapper.cs#L28) -- [AssociateAddress](Actions/EC2Wrapper.cs#L64) -- [AuthorizeSecurityGroupIngress](Actions/EC2Wrapper.cs#L107) -- [CreateKeyPair](Actions/EC2Wrapper.cs#L170) -- [CreateSecurityGroup](Actions/EC2Wrapper.cs#L242) -- [DeleteKeyPair](Actions/EC2Wrapper.cs#L319) -- [DeleteSecurityGroup](Actions/EC2Wrapper.cs#L361) -- [DescribeInstanceTypes](Actions/EC2Wrapper.cs#L531) -- [DescribeInstances](Actions/EC2Wrapper.cs#L474) -- [DescribeKeyPairs](Actions/EC2Wrapper.cs#L578) -- [DescribeSecurityGroups](Actions/EC2Wrapper.cs#L620) -- [DisassociateAddress](Actions/EC2Wrapper.cs#L714) -- [ReleaseAddress](Actions/EC2Wrapper.cs#L802) -- [RunInstances](Actions/EC2Wrapper.cs#L837) -- [StartInstances](Actions/EC2Wrapper.cs#L890) -- [StopInstances](Actions/EC2Wrapper.cs#L930) -- [TerminateInstances](Actions/EC2Wrapper.cs#L971) - @@ -70,23 +41,6 @@ Code excerpts that show you how to call individual service functions. ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -96,22 +50,6 @@ Alternatively, you can run the example from within your IDE. This example shows you how to get started using Amazon EC2. -#### Learn the basics - -This example shows you how to do the following: - -- Create a key pair and security group. -- Select an Amazon Machine Image (AMI) and compatible instance type, then create an instance. -- Stop and restart the instance. -- Associate an Elastic IP address with your instance. -- Connect to your instance with SSH, then clean up resources. - - - - - - - ### Tests @@ -130,7 +68,7 @@ in the `dotnetv4` folder. - [Amazon EC2 User Guide](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html) - [Amazon EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Welcome.html) -- [SDK for .NET Amazon EC2 reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/EC2/NEC2.html) +- [SDK for .NET (v4) Amazon EC2 reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Ec2/NEc2.html) @@ -139,4 +77,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/ECS/README.md b/dotnetv4/ECS/README.md index 0d6ac3e3343..5cc4a41395c 100644 --- a/dotnetv4/ECS/README.md +++ b/dotnetv4/ECS/README.md @@ -1,8 +1,8 @@ -# Amazon ECS code examples for the SDK for .NET +# Amazon ECS code examples for the SDK for .NET (v4) ## Overview -Shows how to use the AWS SDK for .NET to work with Amazon Elastic Container Service (Amazon ECS). +Shows how to use the AWS SDK for .NET (v4) to work with Amazon Elastic Container Service (Amazon ECS). @@ -34,22 +34,6 @@ For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv4 - [Hello Amazon ECS](ECSActions/HelloECS.cs#L4) (`ListClusters`) -### Single actions - -Code excerpts that show you how to call individual service functions. - -- [ListClusters](ECSActions/ECSWrapper.cs#L28) -- [ListServices](ECSActions/ECSWrapper.cs#L68) -- [ListTasks](ECSActions/ECSWrapper.cs#L102) - -### Scenarios - -Code examples that show you how to accomplish a specific task by calling multiple -functions within the same service. - -- [Get ARN information for clusters, services, and tasks](ECSScenario/ECSScenario.cs) - - @@ -57,23 +41,6 @@ functions within the same service. ### Instructions -For general instructions to run the examples, see the -[README](../README.md#building-and-running-the-code-examples) in the `dotnetv4` folder. - -Some projects might include a settings.json file. Before compiling the project, -you can change these values to match your own account and resources. Alternatively, -add a settings.local.json file with your local settings, which will be loaded automatically -when the application runs. - -After the example compiles, you can run it from the command line. To do so, navigate to -the folder that contains the .csproj file and run the following command: - -``` -dotnet run -``` - -Alternatively, you can run the example from within your IDE. - @@ -84,21 +51,6 @@ This example shows you how to get started using Amazon ECS. -#### Get ARN information for clusters, services, and tasks - -This example shows you how to do the following: - -- Get a list of all clusters. -- Get services for a cluster. -- Get tasks for a cluster. - - - - - - - - ### Tests ⚠ Running tests might result in charges to your AWS account. @@ -116,7 +68,7 @@ in the `dotnetv4` folder. - [Amazon ECS Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html) - [Amazon ECS API Reference](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/Welcome.html) -- [SDK for .NET Amazon ECS reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/ECS/NECS.html) +- [SDK for .NET (v4) Amazon ECS reference](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/items/Ecs/NEcs.html) @@ -125,4 +77,4 @@ in the `dotnetv4` folder. Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +SPDX-License-Identifier: Apache-2.0 diff --git a/dotnetv4/README.md b/dotnetv4/README.md index 73f73a20c09..a9c91067508 100644 --- a/dotnetv4/README.md +++ b/dotnetv4/README.md @@ -33,7 +33,7 @@ Developer Guide](https://docs.aws.amazon.com/sdk-for-net/latest/developer-guide/ - AWS credentials, either configured in a local AWS credentials file, or by setting the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. -For more information, see the authentication topics in the [AWS SDK for .NET Developer Guide](https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/creds-idc.html) and the [AWS Tools and SDKs Shared Configuration and Credentials Reference Guide](https://docs.aws.amazon.com/sdkref/latest/guide/access.html). +For more information, see the authentication topics in the [AWS SDK for .NET Developer Guide](https://docs.aws.amazon.com/sdk-for-net/v4/developer-guide/creds-idc.html) and the [AWS Tools and SDKs Shared Configuration and Credentials Reference Guide](https://docs.aws.amazon.com/sdkref/latest/guide/access.html). ## Building and running the code examples @@ -95,7 +95,7 @@ dotnet test --filter Category=Integration -l "console;verbosity=detailed" ## Additional resources -* [*AWS SDK for .NET Version 3 API Reference*](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/index.html) -* [*AWS SDK for .NET Developer Guide*](https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/welcome.html) +* [*AWS SDK for .NET Version 4 API Reference*](https://docs.aws.amazon.com/sdkfornet/v4/apidocs/index.html) +* [*AWS SDK for .NET Developer Guide*](https://docs.aws.amazon.com/sdk-for-net/v4/developer-guide/welcome.html) Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0