Skip to content

Commit

Permalink
This release launches the CreateIntegration, DeleteIntegration, Descr…
Browse files Browse the repository at this point in the history
…ibeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations.

Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites.
On a channel that you own, you can now replace an ongoing stream with a new stream by streaming up with the priority parameter appended to the stream key.
This release adds support for email maximum delivery seconds that allows senders to control the time within which their emails are attempted for delivery.
Enable proxy for reserved capacity fleet.
Added sourceUrlType field to StartDeployment request
Documentation update for AWS CloudFormation API Reference.
AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement.
We are expanding support for 40 new locales in AWS Transcribe Streaming.
  • Loading branch information
aws-sdk-cpp-automation committed Oct 15, 2024
1 parent c789ac6 commit aea7020
Show file tree
Hide file tree
Showing 241 changed files with 16,224 additions and 8,378 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.426
1.11.427
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ namespace Amplify

/**
* <p>Creates a deployment for a manually deployed Amplify app. Manually deployed
* apps are not connected to a repository. </p> <p>The maximum duration between the
* <code>CreateDeployment</code> call and the <code>StartDeployment</code> call
* apps are not connected to a Git repository. </p> <p>The maximum duration between
* the <code>CreateDeployment</code> call and the <code>StartDeployment</code> call
* cannot exceed 8 hours. If the duration exceeds 8 hours, the
* <code>StartDeployment</code> call and the associated <code>Job</code> will
* fail.</p><p><h3>See Also:</h3> <a
Expand Down Expand Up @@ -821,7 +821,7 @@ namespace Amplify

/**
* <p>Starts a deployment for a manually deployed app. Manually deployed apps are
* not connected to a repository. </p> <p>The maximum duration between the
* not connected to a Git repository. </p> <p>The maximum duration between the
* <code>CreateDeployment</code> call and the <code>StartDeployment</code> call
* cannot exceed 8 hours. If the duration exceeds 8 hours, the
* <code>StartDeployment</code> call and the associated <code>Job</code> will
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <aws/core/utils/DateTime.h>
#include <aws/amplify/model/JobStatus.h>
#include <aws/amplify/model/JobType.h>
#include <aws/amplify/model/SourceUrlType.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -148,10 +149,13 @@ namespace Model
///@{
/**
* <p> The type for the job. If the value is <code>RELEASE</code>, the job was
* manually released from its source by using the <code>StartJob</code> API. If the
* value is <code>RETRY</code>, the job was manually retried using the
* manually released from its source by using the <code>StartJob</code> API. This
* value is available only for apps that are connected to a repository.</p> <p>If
* the value is <code>RETRY</code>, the job was manually retried using the
* <code>StartJob</code> API. If the value is <code>WEB_HOOK</code>, the job was
* automatically triggered by webhooks. </p>
* automatically triggered by webhooks. If the value is <code>MANUAL</code>, the
* job is for a manually deployed app. Manually deployed apps are not connected to
* a Git repository.</p>
*/
inline const JobType& GetJobType() const{ return m_jobType; }
inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
Expand All @@ -160,6 +164,37 @@ namespace Model
inline JobSummary& WithJobType(const JobType& value) { SetJobType(value); return *this;}
inline JobSummary& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
///@}

///@{
/**
* <p>The source URL for the files to deploy. The source URL can be either an HTTP
* GET URL that is publicly accessible and downloads a single .zip file, or an
* Amazon S3 bucket and prefix.</p>
*/
inline const Aws::String& GetSourceUrl() const{ return m_sourceUrl; }
inline bool SourceUrlHasBeenSet() const { return m_sourceUrlHasBeenSet; }
inline void SetSourceUrl(const Aws::String& value) { m_sourceUrlHasBeenSet = true; m_sourceUrl = value; }
inline void SetSourceUrl(Aws::String&& value) { m_sourceUrlHasBeenSet = true; m_sourceUrl = std::move(value); }
inline void SetSourceUrl(const char* value) { m_sourceUrlHasBeenSet = true; m_sourceUrl.assign(value); }
inline JobSummary& WithSourceUrl(const Aws::String& value) { SetSourceUrl(value); return *this;}
inline JobSummary& WithSourceUrl(Aws::String&& value) { SetSourceUrl(std::move(value)); return *this;}
inline JobSummary& WithSourceUrl(const char* value) { SetSourceUrl(value); return *this;}
///@}

///@{
/**
* <p>The type of source specified by the <code>sourceURL</code>. If the value is
* <code>ZIP</code>, the source is a .zip file. If the value is
* <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and prefix. If no
* value is specified, the default is <code>ZIP</code>.</p>
*/
inline const SourceUrlType& GetSourceUrlType() const{ return m_sourceUrlType; }
inline bool SourceUrlTypeHasBeenSet() const { return m_sourceUrlTypeHasBeenSet; }
inline void SetSourceUrlType(const SourceUrlType& value) { m_sourceUrlTypeHasBeenSet = true; m_sourceUrlType = value; }
inline void SetSourceUrlType(SourceUrlType&& value) { m_sourceUrlTypeHasBeenSet = true; m_sourceUrlType = std::move(value); }
inline JobSummary& WithSourceUrlType(const SourceUrlType& value) { SetSourceUrlType(value); return *this;}
inline JobSummary& WithSourceUrlType(SourceUrlType&& value) { SetSourceUrlType(std::move(value)); return *this;}
///@}
private:

Aws::String m_jobArn;
Expand Down Expand Up @@ -188,6 +223,12 @@ namespace Model

JobType m_jobType;
bool m_jobTypeHasBeenSet = false;

Aws::String m_sourceUrl;
bool m_sourceUrlHasBeenSet = false;

SourceUrlType m_sourceUrlType;
bool m_sourceUrlTypeHasBeenSet = false;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#pragma once
#include <aws/amplify/Amplify_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

namespace Aws
{
namespace Amplify
{
namespace Model
{
enum class SourceUrlType
{
NOT_SET,
ZIP,
BUCKET_PREFIX
};

namespace SourceUrlTypeMapper
{
AWS_AMPLIFY_API SourceUrlType GetSourceUrlTypeForName(const Aws::String& name);

AWS_AMPLIFY_API Aws::String GetNameForSourceUrlType(SourceUrlType value);
} // namespace SourceUrlTypeMapper
} // namespace Model
} // namespace Amplify
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <aws/amplify/Amplify_EXPORTS.h>
#include <aws/amplify/AmplifyRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/amplify/model/SourceUrlType.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -52,7 +53,7 @@ namespace Model

///@{
/**
* <p>The name of the branch to use for the job. </p>
* <p>The name of the branch to use for the deployment job. </p>
*/
inline const Aws::String& GetBranchName() const{ return m_branchName; }
inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
Expand All @@ -66,8 +67,8 @@ namespace Model

///@{
/**
* <p>The job ID for this deployment, generated by the create deployment request.
* </p>
* <p>The job ID for this deployment that is generated by the
* <code>CreateDeployment</code> request. </p>
*/
inline const Aws::String& GetJobId() const{ return m_jobId; }
inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
Expand All @@ -81,9 +82,10 @@ namespace Model

///@{
/**
* <p>The source URL for this deployment, used when calling start deployment
* without create deployment. The source URL can be any HTTP GET URL that is
* publicly accessible and downloads a single .zip file. </p>
* <p>The source URL for the deployment that is used when calling
* <code>StartDeployment</code> without <code>CreateDeployment</code>. The source
* URL can be either an HTTP GET URL that is publicly accessible and downloads a
* single .zip file, or an Amazon S3 bucket and prefix.</p>
*/
inline const Aws::String& GetSourceUrl() const{ return m_sourceUrl; }
inline bool SourceUrlHasBeenSet() const { return m_sourceUrlHasBeenSet; }
Expand All @@ -94,6 +96,21 @@ namespace Model
inline StartDeploymentRequest& WithSourceUrl(Aws::String&& value) { SetSourceUrl(std::move(value)); return *this;}
inline StartDeploymentRequest& WithSourceUrl(const char* value) { SetSourceUrl(value); return *this;}
///@}

///@{
/**
* <p>The type of source specified by the <code>sourceURL</code>. If the value is
* <code>ZIP</code>, the source is a .zip file. If the value is
* <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and prefix. If no
* value is specified, the default is <code>ZIP</code>.</p>
*/
inline const SourceUrlType& GetSourceUrlType() const{ return m_sourceUrlType; }
inline bool SourceUrlTypeHasBeenSet() const { return m_sourceUrlTypeHasBeenSet; }
inline void SetSourceUrlType(const SourceUrlType& value) { m_sourceUrlTypeHasBeenSet = true; m_sourceUrlType = value; }
inline void SetSourceUrlType(SourceUrlType&& value) { m_sourceUrlTypeHasBeenSet = true; m_sourceUrlType = std::move(value); }
inline StartDeploymentRequest& WithSourceUrlType(const SourceUrlType& value) { SetSourceUrlType(value); return *this;}
inline StartDeploymentRequest& WithSourceUrlType(SourceUrlType&& value) { SetSourceUrlType(std::move(value)); return *this;}
///@}
private:

Aws::String m_appId;
Expand All @@ -107,6 +124,9 @@ namespace Model

Aws::String m_sourceUrl;
bool m_sourceUrlHasBeenSet = false;

SourceUrlType m_sourceUrlType;
bool m_sourceUrlTypeHasBeenSet = false;
};

} // namespace Model
Expand Down
30 changes: 29 additions & 1 deletion generated/src/aws-cpp-sdk-amplify/source/model/JobSummary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ JobSummary::JobSummary() :
m_statusHasBeenSet(false),
m_endTimeHasBeenSet(false),
m_jobType(JobType::NOT_SET),
m_jobTypeHasBeenSet(false)
m_jobTypeHasBeenSet(false),
m_sourceUrlHasBeenSet(false),
m_sourceUrlType(SourceUrlType::NOT_SET),
m_sourceUrlTypeHasBeenSet(false)
{
}

Expand Down Expand Up @@ -104,6 +107,20 @@ JobSummary& JobSummary::operator =(JsonView jsonValue)
m_jobTypeHasBeenSet = true;
}

if(jsonValue.ValueExists("sourceUrl"))
{
m_sourceUrl = jsonValue.GetString("sourceUrl");

m_sourceUrlHasBeenSet = true;
}

if(jsonValue.ValueExists("sourceUrlType"))
{
m_sourceUrlType = SourceUrlTypeMapper::GetSourceUrlTypeForName(jsonValue.GetString("sourceUrlType"));

m_sourceUrlTypeHasBeenSet = true;
}

return *this;
}

Expand Down Expand Up @@ -160,6 +177,17 @@ JsonValue JobSummary::Jsonize() const
payload.WithString("jobType", JobTypeMapper::GetNameForJobType(m_jobType));
}

if(m_sourceUrlHasBeenSet)
{
payload.WithString("sourceUrl", m_sourceUrl);

}

if(m_sourceUrlTypeHasBeenSet)
{
payload.WithString("sourceUrlType", SourceUrlTypeMapper::GetNameForSourceUrlType(m_sourceUrlType));
}

return payload;
}

Expand Down
72 changes: 72 additions & 0 deletions generated/src/aws-cpp-sdk-amplify/source/model/SourceUrlType.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#include <aws/amplify/model/SourceUrlType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>

using namespace Aws::Utils;


namespace Aws
{
namespace Amplify
{
namespace Model
{
namespace SourceUrlTypeMapper
{

static const int ZIP_HASH = HashingUtils::HashString("ZIP");
static const int BUCKET_PREFIX_HASH = HashingUtils::HashString("BUCKET_PREFIX");


SourceUrlType GetSourceUrlTypeForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == ZIP_HASH)
{
return SourceUrlType::ZIP;
}
else if (hashCode == BUCKET_PREFIX_HASH)
{
return SourceUrlType::BUCKET_PREFIX;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<SourceUrlType>(hashCode);
}

return SourceUrlType::NOT_SET;
}

Aws::String GetNameForSourceUrlType(SourceUrlType enumValue)
{
switch(enumValue)
{
case SourceUrlType::NOT_SET:
return {};
case SourceUrlType::ZIP:
return "ZIP";
case SourceUrlType::BUCKET_PREFIX:
return "BUCKET_PREFIX";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
}

return {};
}
}

} // namespace SourceUrlTypeMapper
} // namespace Model
} // namespace Amplify
} // namespace Aws
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ StartDeploymentRequest::StartDeploymentRequest() :
m_appIdHasBeenSet(false),
m_branchNameHasBeenSet(false),
m_jobIdHasBeenSet(false),
m_sourceUrlHasBeenSet(false)
m_sourceUrlHasBeenSet(false),
m_sourceUrlType(SourceUrlType::NOT_SET),
m_sourceUrlTypeHasBeenSet(false)
{
}

Expand All @@ -36,6 +38,11 @@ Aws::String StartDeploymentRequest::SerializePayload() const

}

if(m_sourceUrlTypeHasBeenSet)
{
payload.WithString("sourceUrlType", SourceUrlTypeMapper::GetNameForSourceUrlType(m_sourceUrlType));
}

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

Expand Down
Loading

0 comments on commit aea7020

Please sign in to comment.