Skip to content

Commit a9a5406

Browse files
author
aws-sdk-cpp-automation
committed
Documentation updates for rds
Release GitHub Enterprise Server source provider integration Added support for tag-on-create for CreateVpc, CreateEgressOnlyInternetGateway, CreateSecurityGroup, CreateSubnet, CreateNetworkInterface, CreateNetworkAcl, CreateDhcpOptions and CreateInternetGateway. You can now specify tags when creating any of these resources. For more information about tagging, see AWS Tagging Strategies. Add a new parameter (ImageDigest) and a new exception (ImageDigestDoesNotMatchException) to PutImage API to support pushing image by digest. This release adds the relationships between MedicalCondition and Anatomy in DetectEntitiesV2 API.
1 parent 523dc7a commit a9a5406

File tree

2,259 files changed

+110840
-78689
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,259 files changed

+110840
-78689
lines changed

aws-cpp-sdk-AWSMigrationHub/include/aws/AWSMigrationHub/MigrationHubClient.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,23 @@ namespace Model
8585
class NotifyMigrationTaskStateRequest;
8686
class PutResourceAttributesRequest;
8787

88-
typedef Aws::Utils::Outcome<AssociateCreatedArtifactResult, Aws::Client::AWSError<MigrationHubErrors>> AssociateCreatedArtifactOutcome;
89-
typedef Aws::Utils::Outcome<AssociateDiscoveredResourceResult, Aws::Client::AWSError<MigrationHubErrors>> AssociateDiscoveredResourceOutcome;
90-
typedef Aws::Utils::Outcome<CreateProgressUpdateStreamResult, Aws::Client::AWSError<MigrationHubErrors>> CreateProgressUpdateStreamOutcome;
91-
typedef Aws::Utils::Outcome<DeleteProgressUpdateStreamResult, Aws::Client::AWSError<MigrationHubErrors>> DeleteProgressUpdateStreamOutcome;
92-
typedef Aws::Utils::Outcome<DescribeApplicationStateResult, Aws::Client::AWSError<MigrationHubErrors>> DescribeApplicationStateOutcome;
93-
typedef Aws::Utils::Outcome<DescribeMigrationTaskResult, Aws::Client::AWSError<MigrationHubErrors>> DescribeMigrationTaskOutcome;
94-
typedef Aws::Utils::Outcome<DisassociateCreatedArtifactResult, Aws::Client::AWSError<MigrationHubErrors>> DisassociateCreatedArtifactOutcome;
95-
typedef Aws::Utils::Outcome<DisassociateDiscoveredResourceResult, Aws::Client::AWSError<MigrationHubErrors>> DisassociateDiscoveredResourceOutcome;
96-
typedef Aws::Utils::Outcome<ImportMigrationTaskResult, Aws::Client::AWSError<MigrationHubErrors>> ImportMigrationTaskOutcome;
97-
typedef Aws::Utils::Outcome<ListApplicationStatesResult, Aws::Client::AWSError<MigrationHubErrors>> ListApplicationStatesOutcome;
98-
typedef Aws::Utils::Outcome<ListCreatedArtifactsResult, Aws::Client::AWSError<MigrationHubErrors>> ListCreatedArtifactsOutcome;
99-
typedef Aws::Utils::Outcome<ListDiscoveredResourcesResult, Aws::Client::AWSError<MigrationHubErrors>> ListDiscoveredResourcesOutcome;
100-
typedef Aws::Utils::Outcome<ListMigrationTasksResult, Aws::Client::AWSError<MigrationHubErrors>> ListMigrationTasksOutcome;
101-
typedef Aws::Utils::Outcome<ListProgressUpdateStreamsResult, Aws::Client::AWSError<MigrationHubErrors>> ListProgressUpdateStreamsOutcome;
102-
typedef Aws::Utils::Outcome<NotifyApplicationStateResult, Aws::Client::AWSError<MigrationHubErrors>> NotifyApplicationStateOutcome;
103-
typedef Aws::Utils::Outcome<NotifyMigrationTaskStateResult, Aws::Client::AWSError<MigrationHubErrors>> NotifyMigrationTaskStateOutcome;
104-
typedef Aws::Utils::Outcome<PutResourceAttributesResult, Aws::Client::AWSError<MigrationHubErrors>> PutResourceAttributesOutcome;
88+
typedef Aws::Utils::Outcome<AssociateCreatedArtifactResult, MigrationHubError> AssociateCreatedArtifactOutcome;
89+
typedef Aws::Utils::Outcome<AssociateDiscoveredResourceResult, MigrationHubError> AssociateDiscoveredResourceOutcome;
90+
typedef Aws::Utils::Outcome<CreateProgressUpdateStreamResult, MigrationHubError> CreateProgressUpdateStreamOutcome;
91+
typedef Aws::Utils::Outcome<DeleteProgressUpdateStreamResult, MigrationHubError> DeleteProgressUpdateStreamOutcome;
92+
typedef Aws::Utils::Outcome<DescribeApplicationStateResult, MigrationHubError> DescribeApplicationStateOutcome;
93+
typedef Aws::Utils::Outcome<DescribeMigrationTaskResult, MigrationHubError> DescribeMigrationTaskOutcome;
94+
typedef Aws::Utils::Outcome<DisassociateCreatedArtifactResult, MigrationHubError> DisassociateCreatedArtifactOutcome;
95+
typedef Aws::Utils::Outcome<DisassociateDiscoveredResourceResult, MigrationHubError> DisassociateDiscoveredResourceOutcome;
96+
typedef Aws::Utils::Outcome<ImportMigrationTaskResult, MigrationHubError> ImportMigrationTaskOutcome;
97+
typedef Aws::Utils::Outcome<ListApplicationStatesResult, MigrationHubError> ListApplicationStatesOutcome;
98+
typedef Aws::Utils::Outcome<ListCreatedArtifactsResult, MigrationHubError> ListCreatedArtifactsOutcome;
99+
typedef Aws::Utils::Outcome<ListDiscoveredResourcesResult, MigrationHubError> ListDiscoveredResourcesOutcome;
100+
typedef Aws::Utils::Outcome<ListMigrationTasksResult, MigrationHubError> ListMigrationTasksOutcome;
101+
typedef Aws::Utils::Outcome<ListProgressUpdateStreamsResult, MigrationHubError> ListProgressUpdateStreamsOutcome;
102+
typedef Aws::Utils::Outcome<NotifyApplicationStateResult, MigrationHubError> NotifyApplicationStateOutcome;
103+
typedef Aws::Utils::Outcome<NotifyMigrationTaskStateResult, MigrationHubError> NotifyMigrationTaskStateOutcome;
104+
typedef Aws::Utils::Outcome<PutResourceAttributesResult, MigrationHubError> PutResourceAttributesOutcome;
105105

106106
typedef std::future<AssociateCreatedArtifactOutcome> AssociateCreatedArtifactOutcomeCallable;
107107
typedef std::future<AssociateDiscoveredResourceOutcome> AssociateDiscoveredResourceOutcomeCallable;

aws-cpp-sdk-AWSMigrationHub/include/aws/AWSMigrationHub/MigrationHubErrors.h

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#pragma once
77

8+
#include <aws/core/client/AWSError.h>
89
#include <aws/core/client/CoreErrors.h>
910
#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
1011

@@ -42,7 +43,7 @@ enum class MigrationHubErrors
4243
INVALID_ACCESS_KEY_ID = 23,
4344
REQUEST_TIMEOUT = 24,
4445
NETWORK_CONNECTION = 99,
45-
46+
4647
UNKNOWN = 100,
4748
///////////////////////////////////////////////////////////////////////////////////////////
4849

@@ -52,6 +53,20 @@ enum class MigrationHubErrors
5253
POLICY_ERROR,
5354
UNAUTHORIZED_OPERATION
5455
};
56+
57+
class AWS_MIGRATIONHUB_API MigrationHubError : public Aws::Client::AWSError<MigrationHubErrors>
58+
{
59+
public:
60+
MigrationHubError() {}
61+
MigrationHubError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<MigrationHubErrors>(rhs) {}
62+
MigrationHubError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<MigrationHubErrors>(rhs) {}
63+
MigrationHubError(const Aws::Client::AWSError<MigrationHubErrors>& rhs) : Aws::Client::AWSError<MigrationHubErrors>(rhs) {}
64+
MigrationHubError(Aws::Client::AWSError<MigrationHubErrors>&& rhs) : Aws::Client::AWSError<MigrationHubErrors>(rhs) {}
65+
66+
template <typename T>
67+
T GetModeledError();
68+
};
69+
5570
namespace MigrationHubErrorMapper
5671
{
5772
AWS_MIGRATIONHUB_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace MigrationHub
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>The request was denied due to request throttling.</p><p><h3>See Also:</h3>
28+
* <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ThrottlingException">AWS
30+
* API Reference</a></p>
31+
*/
32+
class AWS_MIGRATIONHUB_API ThrottlingException
33+
{
34+
public:
35+
ThrottlingException();
36+
ThrottlingException(Aws::Utils::Json::JsonView jsonValue);
37+
ThrottlingException& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
/**
42+
* <p>A message that provides information about the exception.</p>
43+
*/
44+
inline const Aws::String& GetMessage() const{ return m_message; }
45+
46+
/**
47+
* <p>A message that provides information about the exception.</p>
48+
*/
49+
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
50+
51+
/**
52+
* <p>A message that provides information about the exception.</p>
53+
*/
54+
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
55+
56+
/**
57+
* <p>A message that provides information about the exception.</p>
58+
*/
59+
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
60+
61+
/**
62+
* <p>A message that provides information about the exception.</p>
63+
*/
64+
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
65+
66+
/**
67+
* <p>A message that provides information about the exception.</p>
68+
*/
69+
inline ThrottlingException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
70+
71+
/**
72+
* <p>A message that provides information about the exception.</p>
73+
*/
74+
inline ThrottlingException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
75+
76+
/**
77+
* <p>A message that provides information about the exception.</p>
78+
*/
79+
inline ThrottlingException& WithMessage(const char* value) { SetMessage(value); return *this;}
80+
81+
82+
/**
83+
* <p>The number of seconds the caller should wait before retrying.</p>
84+
*/
85+
inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; }
86+
87+
/**
88+
* <p>The number of seconds the caller should wait before retrying.</p>
89+
*/
90+
inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; }
91+
92+
/**
93+
* <p>The number of seconds the caller should wait before retrying.</p>
94+
*/
95+
inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; }
96+
97+
/**
98+
* <p>The number of seconds the caller should wait before retrying.</p>
99+
*/
100+
inline ThrottlingException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;}
101+
102+
private:
103+
104+
Aws::String m_message;
105+
bool m_messageHasBeenSet;
106+
107+
int m_retryAfterSeconds;
108+
bool m_retryAfterSecondsHasBeenSet;
109+
};
110+
111+
} // namespace Model
112+
} // namespace MigrationHub
113+
} // namespace Aws

0 commit comments

Comments
 (0)