AWS SDK for C++  1.9.175
AWS SDK for C++
Public Member Functions | List of all members
Aws::SageMaker::Model::TrafficRoutingConfig Class Reference

#include <TrafficRoutingConfig.h>

Public Member Functions

 TrafficRoutingConfig ()
 
 TrafficRoutingConfig (Aws::Utils::Json::JsonView jsonValue)
 
TrafficRoutingConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const TrafficRoutingConfigTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const TrafficRoutingConfigType &value)
 
void SetType (TrafficRoutingConfigType &&value)
 
TrafficRoutingConfigWithType (const TrafficRoutingConfigType &value)
 
TrafficRoutingConfigWithType (TrafficRoutingConfigType &&value)
 
int GetWaitIntervalInSeconds () const
 
bool WaitIntervalInSecondsHasBeenSet () const
 
void SetWaitIntervalInSeconds (int value)
 
TrafficRoutingConfigWithWaitIntervalInSeconds (int value)
 
const CapacitySizeGetCanarySize () const
 
bool CanarySizeHasBeenSet () const
 
void SetCanarySize (const CapacitySize &value)
 
void SetCanarySize (CapacitySize &&value)
 
TrafficRoutingConfigWithCanarySize (const CapacitySize &value)
 
TrafficRoutingConfigWithCanarySize (CapacitySize &&value)
 
const CapacitySizeGetLinearStepSize () const
 
bool LinearStepSizeHasBeenSet () const
 
void SetLinearStepSize (const CapacitySize &value)
 
void SetLinearStepSize (CapacitySize &&value)
 
TrafficRoutingConfigWithLinearStepSize (const CapacitySize &value)
 
TrafficRoutingConfigWithLinearStepSize (CapacitySize &&value)
 

Detailed Description

Defines the traffic routing strategy during an endpoint deployment to shift traffic from the old fleet to the new fleet.

See Also:

AWS API Reference

Definition at line 33 of file TrafficRoutingConfig.h.

Constructor & Destructor Documentation

◆ TrafficRoutingConfig() [1/2]

Aws::SageMaker::Model::TrafficRoutingConfig::TrafficRoutingConfig ( )

◆ TrafficRoutingConfig() [2/2]

Aws::SageMaker::Model::TrafficRoutingConfig::TrafficRoutingConfig ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ CanarySizeHasBeenSet()

bool Aws::SageMaker::Model::TrafficRoutingConfig::CanarySizeHasBeenSet ( ) const
inline

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

Definition at line 146 of file TrafficRoutingConfig.h.

◆ GetCanarySize()

const CapacitySize& Aws::SageMaker::Model::TrafficRoutingConfig::GetCanarySize ( ) const
inline

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

Definition at line 139 of file TrafficRoutingConfig.h.

◆ GetLinearStepSize()

const CapacitySize& Aws::SageMaker::Model::TrafficRoutingConfig::GetLinearStepSize ( ) const
inline

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

Definition at line 181 of file TrafficRoutingConfig.h.

◆ GetType()

const TrafficRoutingConfigType& Aws::SageMaker::Model::TrafficRoutingConfig::GetType ( ) const
inline

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

Definition at line 51 of file TrafficRoutingConfig.h.

◆ GetWaitIntervalInSeconds()

int Aws::SageMaker::Model::TrafficRoutingConfig::GetWaitIntervalInSeconds ( ) const
inline

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

Definition at line 113 of file TrafficRoutingConfig.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SageMaker::Model::TrafficRoutingConfig::Jsonize ( ) const

◆ LinearStepSizeHasBeenSet()

bool Aws::SageMaker::Model::TrafficRoutingConfig::LinearStepSizeHasBeenSet ( ) const
inline

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

Definition at line 187 of file TrafficRoutingConfig.h.

◆ operator=()

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetCanarySize() [1/2]

void Aws::SageMaker::Model::TrafficRoutingConfig::SetCanarySize ( CapacitySize &&  value)
inline

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

Definition at line 160 of file TrafficRoutingConfig.h.

◆ SetCanarySize() [2/2]

void Aws::SageMaker::Model::TrafficRoutingConfig::SetCanarySize ( const CapacitySize value)
inline

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

Definition at line 153 of file TrafficRoutingConfig.h.

◆ SetLinearStepSize() [1/2]

void Aws::SageMaker::Model::TrafficRoutingConfig::SetLinearStepSize ( CapacitySize &&  value)
inline

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

Definition at line 199 of file TrafficRoutingConfig.h.

◆ SetLinearStepSize() [2/2]

void Aws::SageMaker::Model::TrafficRoutingConfig::SetLinearStepSize ( const CapacitySize value)
inline

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

Definition at line 193 of file TrafficRoutingConfig.h.

◆ SetType() [1/2]

void Aws::SageMaker::Model::TrafficRoutingConfig::SetType ( const TrafficRoutingConfigType value)
inline

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

Definition at line 73 of file TrafficRoutingConfig.h.

◆ SetType() [2/2]

void Aws::SageMaker::Model::TrafficRoutingConfig::SetType ( TrafficRoutingConfigType &&  value)
inline

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

Definition at line 84 of file TrafficRoutingConfig.h.

◆ SetWaitIntervalInSeconds()

void Aws::SageMaker::Model::TrafficRoutingConfig::SetWaitIntervalInSeconds ( int  value)
inline

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

Definition at line 125 of file TrafficRoutingConfig.h.

◆ TypeHasBeenSet()

bool Aws::SageMaker::Model::TrafficRoutingConfig::TypeHasBeenSet ( ) const
inline

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

Definition at line 62 of file TrafficRoutingConfig.h.

◆ WaitIntervalInSecondsHasBeenSet()

bool Aws::SageMaker::Model::TrafficRoutingConfig::WaitIntervalInSecondsHasBeenSet ( ) const
inline

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

Definition at line 119 of file TrafficRoutingConfig.h.

◆ WithCanarySize() [1/2]

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::WithCanarySize ( CapacitySize &&  value)
inline

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

Definition at line 174 of file TrafficRoutingConfig.h.

◆ WithCanarySize() [2/2]

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::WithCanarySize ( const CapacitySize value)
inline

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

Definition at line 167 of file TrafficRoutingConfig.h.

◆ WithLinearStepSize() [1/2]

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::WithLinearStepSize ( CapacitySize &&  value)
inline

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

Definition at line 211 of file TrafficRoutingConfig.h.

◆ WithLinearStepSize() [2/2]

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::WithLinearStepSize ( const CapacitySize value)
inline

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

Definition at line 205 of file TrafficRoutingConfig.h.

◆ WithType() [1/2]

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::WithType ( const TrafficRoutingConfigType value)
inline

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

Definition at line 95 of file TrafficRoutingConfig.h.

◆ WithType() [2/2]

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::WithType ( TrafficRoutingConfigType &&  value)
inline

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

Definition at line 106 of file TrafficRoutingConfig.h.

◆ WithWaitIntervalInSeconds()

TrafficRoutingConfig& Aws::SageMaker::Model::TrafficRoutingConfig::WithWaitIntervalInSeconds ( int  value)
inline

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

Definition at line 131 of file TrafficRoutingConfig.h.


The documentation for this class was generated from the following file: