Skip to content

Commit

Permalink
Introduce Endpoint and EndpointConfig Arns in sagemaker:ListPipelineE…
Browse files Browse the repository at this point in the history
…xecutionSteps API response

Amazon QuickSight launches Customer Managed Key (CMK) encryption for Data Source metadata
Improvements of integration between AWS Batch and EC2.
Marking use case description field of account details as deprecated.
Update the correct format of key and values for resource tags
  • Loading branch information
aws-sdk-cpp-automation committed Aug 16, 2024
1 parent af521af commit 670c1d7
Show file tree
Hide file tree
Showing 24 changed files with 635 additions and 26 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.385
1.11.386
25 changes: 12 additions & 13 deletions generated/src/aws-cpp-sdk-batch/include/aws/batch/BatchClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,18 @@ namespace Batch
virtual ~BatchClient();

/**
* <p>Cancels a job in an Batch job queue. Jobs that are in the
* <code>SUBMITTED</code> or <code>PENDING</code> are canceled. A job
* in<code>RUNNABLE</code> remains in <code>RUNNABLE</code> until it reaches the
* head of the job queue. Then the job status is updated to
* <code>FAILED</code>.</p> <p>A <code>PENDING</code> job is canceled after
* all dependency jobs are completed. Therefore, it may take longer than expected
* to cancel a job in <code>PENDING</code> status.</p> <p>When you try to cancel an
* array parent job in <code>PENDING</code>, Batch attempts to cancel all child
* jobs. The array parent job is canceled when all child jobs are completed.</p>
* <p>Jobs that progressed to the <code>STARTING</code> or
* <code>RUNNING</code> state aren't canceled. However, the API operation still
* succeeds, even if no job is canceled. These jobs must be terminated with the
* <a>TerminateJob</a> operation.</p><p><h3>See Also:</h3> <a
* <p>Cancels a job in an Batch job queue. Jobs that are in a
* <code>SUBMITTED</code>, <code>PENDING</code>, or <code>RUNNABLE</code> state are
* cancelled and the job status is updated to <code>FAILED</code>.</p> <p>A
* <code>PENDING</code> job is canceled after all dependency jobs are completed.
* Therefore, it may take longer than expected to cancel a job in
* <code>PENDING</code> status.</p> <p>When you try to cancel an array parent job
* in <code>PENDING</code>, Batch attempts to cancel all child jobs. The array
* parent job is canceled when all child jobs are completed.</p> <p>Jobs
* that progressed to the <code>STARTING</code> or <code>RUNNING</code> state
* aren't canceled. However, the API operation still succeeds, even if no job is
* canceled. These jobs must be terminated with the <a>TerminateJob</a>
* operation.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob">AWS API
* Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,20 @@ namespace Model
inline ComputeEnvironmentDetail& WithUuid(Aws::String&& value) { SetUuid(std::move(value)); return *this;}
inline ComputeEnvironmentDetail& WithUuid(const char* value) { SetUuid(value); return *this;}
///@}

///@{
/**
* <p>Reserved.</p>
*/
inline const Aws::String& GetContext() const{ return m_context; }
inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
inline ComputeEnvironmentDetail& WithContext(const Aws::String& value) { SetContext(value); return *this;}
inline ComputeEnvironmentDetail& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
inline ComputeEnvironmentDetail& WithContext(const char* value) { SetContext(value); return *this;}
///@}
private:

Aws::String m_computeEnvironmentName;
Expand Down Expand Up @@ -329,6 +343,9 @@ namespace Model

Aws::String m_uuid;
bool m_uuidHasBeenSet = false;

Aws::String m_context;
bool m_contextHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,20 @@ namespace Model
inline CreateComputeEnvironmentRequest& WithEksConfiguration(const EksConfiguration& value) { SetEksConfiguration(value); return *this;}
inline CreateComputeEnvironmentRequest& WithEksConfiguration(EksConfiguration&& value) { SetEksConfiguration(std::move(value)); return *this;}
///@}

///@{
/**
* <p>Reserved.</p>
*/
inline const Aws::String& GetContext() const{ return m_context; }
inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
inline CreateComputeEnvironmentRequest& WithContext(const Aws::String& value) { SetContext(value); return *this;}
inline CreateComputeEnvironmentRequest& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
inline CreateComputeEnvironmentRequest& WithContext(const char* value) { SetContext(value); return *this;}
///@}
private:

Aws::String m_computeEnvironmentName;
Expand All @@ -235,6 +249,9 @@ namespace Model

EksConfiguration m_eksConfiguration;
bool m_eksConfigurationHasBeenSet = false;

Aws::String m_context;
bool m_contextHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,20 @@ namespace Model
inline UpdateComputeEnvironmentRequest& WithUpdatePolicy(const UpdatePolicy& value) { SetUpdatePolicy(value); return *this;}
inline UpdateComputeEnvironmentRequest& WithUpdatePolicy(UpdatePolicy&& value) { SetUpdatePolicy(std::move(value)); return *this;}
///@}

///@{
/**
* <p>Reserved.</p>
*/
inline const Aws::String& GetContext() const{ return m_context; }
inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
inline UpdateComputeEnvironmentRequest& WithContext(const Aws::String& value) { SetContext(value); return *this;}
inline UpdateComputeEnvironmentRequest& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
inline UpdateComputeEnvironmentRequest& WithContext(const char* value) { SetContext(value); return *this;}
///@}
private:

Aws::String m_computeEnvironment;
Expand All @@ -182,6 +196,9 @@ namespace Model

UpdatePolicy m_updatePolicy;
bool m_updatePolicyHasBeenSet = false;

Aws::String m_context;
bool m_contextHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ ComputeEnvironmentDetail::ComputeEnvironmentDetail() :
m_eksConfigurationHasBeenSet(false),
m_containerOrchestrationType(OrchestrationType::NOT_SET),
m_containerOrchestrationTypeHasBeenSet(false),
m_uuidHasBeenSet(false)
m_uuidHasBeenSet(false),
m_contextHasBeenSet(false)
{
}

Expand Down Expand Up @@ -158,6 +159,13 @@ ComputeEnvironmentDetail& ComputeEnvironmentDetail::operator =(JsonView jsonValu
m_uuidHasBeenSet = true;
}

if(jsonValue.ValueExists("context"))
{
m_context = jsonValue.GetString("context");

m_contextHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -256,6 +264,12 @@ JsonValue ComputeEnvironmentDetail::Jsonize() const

}

if(m_contextHasBeenSet)
{
payload.WithString("context", m_context);

}

return payload;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ CreateComputeEnvironmentRequest::CreateComputeEnvironmentRequest() :
m_computeResourcesHasBeenSet(false),
m_serviceRoleHasBeenSet(false),
m_tagsHasBeenSet(false),
m_eksConfigurationHasBeenSet(false)
m_eksConfigurationHasBeenSet(false),
m_contextHasBeenSet(false)
{
}

Expand Down Expand Up @@ -82,6 +83,12 @@ Aws::String CreateComputeEnvironmentRequest::SerializePayload() const

}

if(m_contextHasBeenSet)
{
payload.WithString("context", m_context);

}

return payload.View().WriteReadable();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ UpdateComputeEnvironmentRequest::UpdateComputeEnvironmentRequest() :
m_unmanagedvCpusHasBeenSet(false),
m_computeResourcesHasBeenSet(false),
m_serviceRoleHasBeenSet(false),
m_updatePolicyHasBeenSet(false)
m_updatePolicyHasBeenSet(false),
m_contextHasBeenSet(false)
{
}

Expand Down Expand Up @@ -63,6 +64,12 @@ Aws::String UpdateComputeEnvironmentRequest::SerializePayload() const

}

if(m_contextHasBeenSet)
{
payload.WithString("context", m_context);

}

return payload.View().WriteReadable();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ enum class QuickSightErrors

CONCURRENT_UPDATING= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
CONFLICT,
CUSTOMER_MANAGED_KEY_UNAVAILABLE,
DOMAIN_NOT_WHITELISTED,
IDENTITY_TYPE_NOT_SUPPORTED,
INVALID_NEXT_TOKEN,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{

/**
* <p>The customer managed key that is registered to your Amazon QuickSight account
* is unavailable.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CustomerManagedKeyUnavailableException">AWS
* API Reference</a></p>
*/
class CustomerManagedKeyUnavailableException
{
public:
AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException();
AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException(Aws::Utils::Json::JsonView jsonValue);
AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{

inline const Aws::String& GetMessage() const{ return m_message; }
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
inline CustomerManagedKeyUnavailableException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
inline CustomerManagedKeyUnavailableException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
inline CustomerManagedKeyUnavailableException& WithMessage(const char* value) { SetMessage(value); return *this;}
///@}

///@{
/**
* <p>The Amazon Web Services request ID for this operation.</p>
*/
inline const Aws::String& GetRequestId() const{ return m_requestId; }
inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
inline CustomerManagedKeyUnavailableException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline CustomerManagedKeyUnavailableException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline CustomerManagedKeyUnavailableException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
///@}
private:

Aws::String m_message;
bool m_messageHasBeenSet = false;

Aws::String m_requestId;
bool m_requestIdHasBeenSet = false;
};

} // namespace Model
} // namespace QuickSight
} // namespace Aws
12 changes: 12 additions & 0 deletions generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <aws/quicksight/model/UnsupportedPricingPlanException.h>
#include <aws/quicksight/model/DomainNotWhitelistedException.h>
#include <aws/quicksight/model/ThrottlingException.h>
#include <aws/quicksight/model/CustomerManagedKeyUnavailableException.h>
#include <aws/quicksight/model/UnsupportedUserEditionException.h>
#include <aws/quicksight/model/SessionLifetimeInMinutesInvalidException.h>
#include <aws/quicksight/model/AccessDeniedException.h>
Expand Down Expand Up @@ -107,6 +108,12 @@ template<> AWS_QUICKSIGHT_API ThrottlingException QuickSightError::GetModeledErr
return ThrottlingException(this->GetJsonPayload().View());
}

template<> AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException QuickSightError::GetModeledError()
{
assert(this->GetErrorType() == QuickSightErrors::CUSTOMER_MANAGED_KEY_UNAVAILABLE);
return CustomerManagedKeyUnavailableException(this->GetJsonPayload().View());
}

template<> AWS_QUICKSIGHT_API UnsupportedUserEditionException QuickSightError::GetModeledError()
{
assert(this->GetErrorType() == QuickSightErrors::UNSUPPORTED_USER_EDITION);
Expand Down Expand Up @@ -160,6 +167,7 @@ static const int IDENTITY_TYPE_NOT_SUPPORTED_HASH = HashingUtils::HashString("Id
static const int INVALID_NEXT_TOKEN_HASH = HashingUtils::HashString("InvalidNextTokenException");
static const int UNSUPPORTED_PRICING_PLAN_HASH = HashingUtils::HashString("UnsupportedPricingPlanException");
static const int DOMAIN_NOT_WHITELISTED_HASH = HashingUtils::HashString("DomainNotWhitelistedException");
static const int CUSTOMER_MANAGED_KEY_UNAVAILABLE_HASH = HashingUtils::HashString("CustomerManagedKeyUnavailableException");
static const int UNSUPPORTED_USER_EDITION_HASH = HashingUtils::HashString("UnsupportedUserEditionException");
static const int SESSION_LIFETIME_IN_MINUTES_INVALID_HASH = HashingUtils::HashString("SessionLifetimeInMinutesInvalidException");
static const int PRECONDITION_NOT_MET_HASH = HashingUtils::HashString("PreconditionNotMetException");
Expand Down Expand Up @@ -204,6 +212,10 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(QuickSightErrors::DOMAIN_NOT_WHITELISTED), RetryableType::NOT_RETRYABLE);
}
else if (hashCode == CUSTOMER_MANAGED_KEY_UNAVAILABLE_HASH)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(QuickSightErrors::CUSTOMER_MANAGED_KEY_UNAVAILABLE), RetryableType::NOT_RETRYABLE);
}
else if (hashCode == UNSUPPORTED_USER_EDITION_HASH)
{
return AWSError<CoreErrors>(static_cast<CoreErrors>(QuickSightErrors::UNSUPPORTED_USER_EDITION), RetryableType::NOT_RETRYABLE);
Expand Down
Loading

0 comments on commit 670c1d7

Please sign in to comment.