diff --git a/VERSION b/VERSION index 83a4c853d67..e89a4ab4d76 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.111 \ No newline at end of file +1.11.112 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/AlertManagerDefinitionDescription.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/AlertManagerDefinitionDescription.h index 9d6b103b248..f93e472f90f 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/AlertManagerDefinitionDescription.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/AlertManagerDefinitionDescription.h @@ -5,9 +5,9 @@ #pragma once #include -#include -#include #include +#include +#include #include namespace Aws @@ -41,34 +41,34 @@ namespace Model /** - *

The time when the alert manager definition was created.

+ *

The status of alert manager definition.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline const AlertManagerDefinitionStatus& GetStatus() const{ return m_status; } /** - *

The time when the alert manager definition was created.

+ *

The status of alert manager definition.

*/ - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The time when the alert manager definition was created.

+ *

The status of alert manager definition.

*/ - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetStatus(const AlertManagerDefinitionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The time when the alert manager definition was created.

+ *

The status of alert manager definition.

*/ - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline void SetStatus(AlertManagerDefinitionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The time when the alert manager definition was created.

+ *

The status of alert manager definition.

*/ - inline AlertManagerDefinitionDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline AlertManagerDefinitionDescription& WithStatus(const AlertManagerDefinitionStatus& value) { SetStatus(value); return *this;} /** - *

The time when the alert manager definition was created.

+ *

The status of alert manager definition.

*/ - inline AlertManagerDefinitionDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline AlertManagerDefinitionDescription& WithStatus(AlertManagerDefinitionStatus&& value) { SetStatus(std::move(value)); return *this;} /** @@ -103,79 +103,79 @@ namespace Model /** - *

The time when the alert manager definition was modified.

+ *

The time when the alert manager definition was created.

*/ - inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** - *

The time when the alert manager definition was modified.

+ *

The time when the alert manager definition was created.

*/ - inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** - *

The time when the alert manager definition was modified.

+ *

The time when the alert manager definition was created.

*/ - inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** - *

The time when the alert manager definition was modified.

+ *

The time when the alert manager definition was created.

*/ - inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** - *

The time when the alert manager definition was modified.

+ *

The time when the alert manager definition was created.

*/ - inline AlertManagerDefinitionDescription& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} + inline AlertManagerDefinitionDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** - *

The time when the alert manager definition was modified.

+ *

The time when the alert manager definition was created.

*/ - inline AlertManagerDefinitionDescription& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} + inline AlertManagerDefinitionDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** - *

The status of alert manager definition.

+ *

The time when the alert manager definition was modified.

*/ - inline const AlertManagerDefinitionStatus& GetStatus() const{ return m_status; } + inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** - *

The status of alert manager definition.

+ *

The time when the alert manager definition was modified.

*/ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** - *

The status of alert manager definition.

+ *

The time when the alert manager definition was modified.

*/ - inline void SetStatus(const AlertManagerDefinitionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } /** - *

The status of alert manager definition.

+ *

The time when the alert manager definition was modified.

*/ - inline void SetStatus(AlertManagerDefinitionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } /** - *

The status of alert manager definition.

+ *

The time when the alert manager definition was modified.

*/ - inline AlertManagerDefinitionDescription& WithStatus(const AlertManagerDefinitionStatus& value) { SetStatus(value); return *this;} + inline AlertManagerDefinitionDescription& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** - *

The status of alert manager definition.

+ *

The time when the alert manager definition was modified.

*/ - inline AlertManagerDefinitionDescription& WithStatus(AlertManagerDefinitionStatus&& value) { SetStatus(std::move(value)); return *this;} + inline AlertManagerDefinitionDescription& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} private: - Aws::Utils::DateTime m_createdAt; - bool m_createdAtHasBeenSet = false; + AlertManagerDefinitionStatus m_status; + bool m_statusHasBeenSet = false; Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + Aws::Utils::DateTime m_modifiedAt; bool m_modifiedAtHasBeenSet = false; - - AlertManagerDefinitionStatus m_status; - bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateAlertManagerDefinitionRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateAlertManagerDefinitionRequest.h index 77f190796a6..425ced1f0f3 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateAlertManagerDefinitionRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateAlertManagerDefinitionRequest.h @@ -39,52 +39,44 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline CreateAlertManagerDefinitionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateAlertManagerDefinitionRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline CreateAlertManagerDefinitionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the alert manager definition.

*/ - inline CreateAlertManagerDefinitionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline CreateAlertManagerDefinitionRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** @@ -119,55 +111,63 @@ namespace Model /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateAlertManagerDefinitionRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline CreateAlertManagerDefinitionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline CreateAlertManagerDefinitionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace in which to create the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateAlertManagerDefinitionRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline CreateAlertManagerDefinitionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateLoggingConfigurationRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateLoggingConfigurationRequest.h index 0e6d516be85..4d37ee9e8f5 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateLoggingConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateLoggingConfigurationRequest.h @@ -38,52 +38,44 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline CreateLoggingConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateLoggingConfigurationRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline CreateLoggingConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateLoggingConfigurationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline CreateLoggingConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline CreateLoggingConfigurationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** @@ -136,55 +128,63 @@ namespace Model /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateLoggingConfigurationRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline CreateLoggingConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateLoggingConfigurationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline CreateLoggingConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateLoggingConfigurationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline CreateLoggingConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; Aws::String m_logGroupArn; bool m_logGroupArnHasBeenSet = false; - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceRequest.h index b80373f7642..38674959617 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceRequest.h @@ -40,52 +40,85 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline CreateRuleGroupsNamespaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline CreateRuleGroupsNamespaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to create the rule group namespace.

*/ - inline CreateRuleGroupsNamespaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline CreateRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + + + /** + *

The rule groups namespace name.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The rule groups namespace name.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The rule groups namespace name.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The rule groups namespace name.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The rule groups namespace name.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The rule groups namespace name.

+ */ + inline CreateRuleGroupsNamespaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The rule groups namespace name.

+ */ + inline CreateRuleGroupsNamespaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The rule groups namespace name.

+ */ + inline CreateRuleGroupsNamespaceRequest& WithName(const char* value) { SetName(value); return *this;} /** @@ -120,44 +153,52 @@ namespace Model /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateRuleGroupsNamespaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateRuleGroupsNamespaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateRuleGroupsNamespaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateRuleGroupsNamespaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The rule groups namespace name.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline CreateRuleGroupsNamespaceRequest& WithName(const char* value) { SetName(value); return *this;} + inline CreateRuleGroupsNamespaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** @@ -225,63 +266,22 @@ namespace Model */ inline CreateRuleGroupsNamespaceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline CreateRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline CreateRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} - - /** - *

The ID of the workspace in which to create the rule group namespace.

- */ - inline CreateRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} - private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; - - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceResult.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceResult.h index e1eb1327381..e369a78a2b9 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceResult.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateRuleGroupsNamespaceResult.h @@ -41,75 +41,75 @@ namespace Model /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline const Aws::String& GetArn() const{ return m_arn; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetName(const Aws::String& value) { m_name = value; } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline void SetArn(const char* value) { m_arn.assign(value); } + inline void SetName(const char* value) { m_name.assign(value); } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline CreateRuleGroupsNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline CreateRuleGroupsNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline CreateRuleGroupsNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline CreateRuleGroupsNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline CreateRuleGroupsNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;} + inline CreateRuleGroupsNamespaceResult& WithName(const char* value) { SetName(value); return *this;} /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline const Aws::String& GetArn() const{ return m_arn; } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetArn(const Aws::String& value) { m_arn = value; } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline void SetName(const char* value) { m_name.assign(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline CreateRuleGroupsNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateRuleGroupsNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline CreateRuleGroupsNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateRuleGroupsNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline CreateRuleGroupsNamespaceResult& WithName(const char* value) { SetName(value); return *this;} + inline CreateRuleGroupsNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;} /** @@ -222,10 +222,10 @@ namespace Model private: - Aws::String m_arn; - Aws::String m_name; + Aws::String m_arn; + RuleGroupsNamespaceStatus m_status; Aws::Map m_tags; diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateWorkspaceResult.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateWorkspaceResult.h index a495b84c57a..9efe5eb2e70 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateWorkspaceResult.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/CreateWorkspaceResult.h @@ -40,6 +40,42 @@ namespace Model AWS_PROMETHEUSSERVICE_API CreateWorkspaceResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

The generated ID of the workspace that was just created.

+ */ + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + + /** + *

The generated ID of the workspace that was just created.

+ */ + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; } + + /** + *

The generated ID of the workspace that was just created.

+ */ + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); } + + /** + *

The generated ID of the workspace that was just created.

+ */ + inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); } + + /** + *

The generated ID of the workspace that was just created.

+ */ + inline CreateWorkspaceResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + + /** + *

The generated ID of the workspace that was just created.

+ */ + inline CreateWorkspaceResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + + /** + *

The generated ID of the workspace that was just created.

+ */ + inline CreateWorkspaceResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + + /** *

The ARN of the workspace that was just created.

*/ @@ -163,42 +199,6 @@ namespace Model inline CreateWorkspaceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } - /** - *

The generated ID of the workspace that was just created.

- */ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } - - /** - *

The generated ID of the workspace that was just created.

- */ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; } - - /** - *

The generated ID of the workspace that was just created.

- */ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); } - - /** - *

The generated ID of the workspace that was just created.

- */ - inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); } - - /** - *

The generated ID of the workspace that was just created.

- */ - inline CreateWorkspaceResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} - - /** - *

The generated ID of the workspace that was just created.

- */ - inline CreateWorkspaceResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} - - /** - *

The generated ID of the workspace that was just created.

- */ - inline CreateWorkspaceResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -222,14 +222,14 @@ namespace Model private: + Aws::String m_workspaceId; + Aws::String m_arn; WorkspaceStatus m_status; Aws::Map m_tags; - Aws::String m_workspaceId; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteAlertManagerDefinitionRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteAlertManagerDefinitionRequest.h index f483722ab21..bbaddff20b7 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteAlertManagerDefinitionRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteAlertManagerDefinitionRequest.h @@ -44,101 +44,101 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline DeleteAlertManagerDefinitionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline DeleteAlertManagerDefinitionRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline DeleteAlertManagerDefinitionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline DeleteAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to delete the alert manager definition.

*/ - inline DeleteAlertManagerDefinitionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline DeleteAlertManagerDefinitionRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteAlertManagerDefinitionRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline DeleteAlertManagerDefinitionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline DeleteAlertManagerDefinitionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace in which to delete the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteAlertManagerDefinitionRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline DeleteAlertManagerDefinitionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; - Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteLoggingConfigurationRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteLoggingConfigurationRequest.h index 367ebbcb518..86809254b1d 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteLoggingConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteLoggingConfigurationRequest.h @@ -44,101 +44,101 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline DeleteLoggingConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline DeleteLoggingConfigurationRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline DeleteLoggingConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline DeleteLoggingConfigurationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline DeleteLoggingConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline DeleteLoggingConfigurationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteLoggingConfigurationRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline DeleteLoggingConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteLoggingConfigurationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline DeleteLoggingConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteLoggingConfigurationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline DeleteLoggingConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; - Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteRuleGroupsNamespaceRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteRuleGroupsNamespaceRequest.h index c6b0c48f2e8..864ca210121 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteRuleGroupsNamespaceRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteRuleGroupsNamespaceRequest.h @@ -44,52 +44,44 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline DeleteRuleGroupsNamespaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline DeleteRuleGroupsNamespaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete rule group definition.

*/ - inline DeleteRuleGroupsNamespaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** @@ -134,55 +126,63 @@ namespace Model /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline DeleteRuleGroupsNamespaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline DeleteRuleGroupsNamespaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace to delete rule group definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline DeleteRuleGroupsNamespaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteWorkspaceRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteWorkspaceRequest.h index 89adcab402c..f795beebaec 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteWorkspaceRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DeleteWorkspaceRequest.h @@ -44,101 +44,101 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline DeleteWorkspaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline DeleteWorkspaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline DeleteWorkspaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline DeleteWorkspaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to delete.

*/ - inline DeleteWorkspaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline DeleteWorkspaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteWorkspaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline DeleteWorkspaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteWorkspaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline DeleteWorkspaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace to delete.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline DeleteWorkspaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline DeleteWorkspaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; - Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DescribeRuleGroupsNamespaceRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DescribeRuleGroupsNamespaceRequest.h index 00350e0d220..3956f483d0b 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DescribeRuleGroupsNamespaceRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/DescribeRuleGroupsNamespaceRequest.h @@ -37,93 +37,93 @@ namespace Model /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline DescribeRuleGroupsNamespaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline DescribeRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline DescribeRuleGroupsNamespaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline DescribeRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

The rule groups namespace.

+ *

The ID of the workspace to describe.

*/ - inline DescribeRuleGroupsNamespaceRequest& WithName(const char* value) { SetName(value); return *this;} + inline DescribeRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline DescribeRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline DescribeRuleGroupsNamespaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline DescribeRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline DescribeRuleGroupsNamespaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

The ID of the workspace to describe.

+ *

The rule groups namespace.

*/ - inline DescribeRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline DescribeRuleGroupsNamespaceRequest& WithName(const char* value) { SetName(value); return *this;} private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesRequest.h index 8ddd1f3e9c8..87602eeb06f 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesRequest.h @@ -43,24 +43,44 @@ namespace Model /** - *

Maximum results to return in response (default=100, maximum=1000).

+ *

The ID of the workspace.

*/ - inline int GetMaxResults() const{ return m_maxResults; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Maximum results to return in response (default=100, maximum=1000).

+ *

The ID of the workspace.

*/ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Maximum results to return in response (default=100, maximum=1000).

+ *

The ID of the workspace.

*/ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Maximum results to return in response (default=100, maximum=1000).

+ *

The ID of the workspace.

*/ - inline ListRuleGroupsNamespacesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + + /** + *

The ID of the workspace.

+ */ + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + + /** + *

The ID of the workspace.

+ */ + inline ListRuleGroupsNamespacesRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + + /** + *

The ID of the workspace.

+ */ + inline ListRuleGroupsNamespacesRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + + /** + *

The ID of the workspace.

+ */ + inline ListRuleGroupsNamespacesRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** @@ -162,49 +182,29 @@ namespace Model /** - *

The ID of the workspace.

- */ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } - - /** - *

The ID of the workspace.

- */ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } - - /** - *

The ID of the workspace.

- */ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } - - /** - *

The ID of the workspace.

- */ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } - - /** - *

The ID of the workspace.

+ *

Maximum results to return in response (default=100, maximum=1000).

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline int GetMaxResults() const{ return m_maxResults; } /** - *

The ID of the workspace.

+ *

Maximum results to return in response (default=100, maximum=1000).

*/ - inline ListRuleGroupsNamespacesRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

The ID of the workspace.

+ *

Maximum results to return in response (default=100, maximum=1000).

*/ - inline ListRuleGroupsNamespacesRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

The ID of the workspace.

+ *

Maximum results to return in response (default=100, maximum=1000).

*/ - inline ListRuleGroupsNamespacesRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline ListRuleGroupsNamespacesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; @@ -212,8 +212,8 @@ namespace Model Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesResult.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesResult.h index 28eea57fbac..622a69cfc84 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesResult.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListRuleGroupsNamespacesResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -41,75 +41,75 @@ namespace Model /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of the selected rule groups namespaces.

*/ - inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline const Aws::Vector& GetRuleGroupsNamespaces() const{ return m_ruleGroupsNamespaces; } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of the selected rule groups namespaces.

*/ - inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetRuleGroupsNamespaces(const Aws::Vector& value) { m_ruleGroupsNamespaces = value; } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of the selected rule groups namespaces.

*/ - inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetRuleGroupsNamespaces(Aws::Vector&& value) { m_ruleGroupsNamespaces = std::move(value); } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of the selected rule groups namespaces.

*/ - inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListRuleGroupsNamespacesResult& WithRuleGroupsNamespaces(const Aws::Vector& value) { SetRuleGroupsNamespaces(value); return *this;} /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of the selected rule groups namespaces.

*/ - inline ListRuleGroupsNamespacesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListRuleGroupsNamespacesResult& WithRuleGroupsNamespaces(Aws::Vector&& value) { SetRuleGroupsNamespaces(std::move(value)); return *this;} /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of the selected rule groups namespaces.

*/ - inline ListRuleGroupsNamespacesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListRuleGroupsNamespacesResult& AddRuleGroupsNamespaces(const RuleGroupsNamespaceSummary& value) { m_ruleGroupsNamespaces.push_back(value); return *this; } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of the selected rule groups namespaces.

*/ - inline ListRuleGroupsNamespacesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + inline ListRuleGroupsNamespacesResult& AddRuleGroupsNamespaces(RuleGroupsNamespaceSummary&& value) { m_ruleGroupsNamespaces.push_back(std::move(value)); return *this; } /** - *

The list of the selected rule groups namespaces.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline const Aws::Vector& GetRuleGroupsNamespaces() const{ return m_ruleGroupsNamespaces; } + inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

The list of the selected rule groups namespaces.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline void SetRuleGroupsNamespaces(const Aws::Vector& value) { m_ruleGroupsNamespaces = value; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** - *

The list of the selected rule groups namespaces.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline void SetRuleGroupsNamespaces(Aws::Vector&& value) { m_ruleGroupsNamespaces = std::move(value); } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** - *

The list of the selected rule groups namespaces.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListRuleGroupsNamespacesResult& WithRuleGroupsNamespaces(const Aws::Vector& value) { SetRuleGroupsNamespaces(value); return *this;} + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** - *

The list of the selected rule groups namespaces.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListRuleGroupsNamespacesResult& WithRuleGroupsNamespaces(Aws::Vector&& value) { SetRuleGroupsNamespaces(std::move(value)); return *this;} + inline ListRuleGroupsNamespacesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

The list of the selected rule groups namespaces.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListRuleGroupsNamespacesResult& AddRuleGroupsNamespaces(const RuleGroupsNamespaceSummary& value) { m_ruleGroupsNamespaces.push_back(value); return *this; } + inline ListRuleGroupsNamespacesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

The list of the selected rule groups namespaces.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListRuleGroupsNamespacesResult& AddRuleGroupsNamespaces(RuleGroupsNamespaceSummary&& value) { m_ruleGroupsNamespaces.push_back(std::move(value)); return *this; } + inline ListRuleGroupsNamespacesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} @@ -135,10 +135,10 @@ namespace Model private: - Aws::String m_nextToken; - Aws::Vector m_ruleGroupsNamespaces; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesRequest.h index 4ed92ee33bb..100b3ed0b53 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesRequest.h @@ -42,6 +42,55 @@ namespace Model AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline ListWorkspacesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline ListWorkspacesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

Pagination token to request the next page in a paginated list. This token is + * obtained from the output of the previous ListWorkspaces request.

+ */ + inline ListWorkspacesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + /** *

Optional filter for workspace alias. Only the workspaces with aliases that * begin with this value will be returned.

@@ -111,65 +160,16 @@ namespace Model */ inline ListWorkspacesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline const Aws::String& GetNextToken() const{ return m_nextToken; } - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline ListWorkspacesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline ListWorkspacesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - - /** - *

Pagination token to request the next page in a paginated list. This token is - * obtained from the output of the previous ListWorkspaces request.

- */ - inline ListWorkspacesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} - private: + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + Aws::String m_alias; bool m_aliasHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesResult.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesResult.h index c9ebfe99f60..a6f293ab29c 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesResult.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ListWorkspacesResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -41,82 +41,82 @@ namespace Model /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of existing workspaces, including those undergoing creation or + * deletion.

*/ - inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline const Aws::Vector& GetWorkspaces() const{ return m_workspaces; } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of existing workspaces, including those undergoing creation or + * deletion.

*/ - inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetWorkspaces(const Aws::Vector& value) { m_workspaces = value; } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of existing workspaces, including those undergoing creation or + * deletion.

*/ - inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetWorkspaces(Aws::Vector&& value) { m_workspaces = std::move(value); } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of existing workspaces, including those undergoing creation or + * deletion.

*/ - inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListWorkspacesResult& WithWorkspaces(const Aws::Vector& value) { SetWorkspaces(value); return *this;} /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of existing workspaces, including those undergoing creation or + * deletion.

*/ - inline ListWorkspacesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListWorkspacesResult& WithWorkspaces(Aws::Vector&& value) { SetWorkspaces(std::move(value)); return *this;} /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of existing workspaces, including those undergoing creation or + * deletion.

*/ - inline ListWorkspacesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListWorkspacesResult& AddWorkspaces(const WorkspaceSummary& value) { m_workspaces.push_back(value); return *this; } /** - *

Pagination token to use when requesting the next page in this list.

+ *

The list of existing workspaces, including those undergoing creation or + * deletion.

*/ - inline ListWorkspacesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + inline ListWorkspacesResult& AddWorkspaces(WorkspaceSummary&& value) { m_workspaces.push_back(std::move(value)); return *this; } /** - *

The list of existing workspaces, including those undergoing creation or - * deletion.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline const Aws::Vector& GetWorkspaces() const{ return m_workspaces; } + inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

The list of existing workspaces, including those undergoing creation or - * deletion.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline void SetWorkspaces(const Aws::Vector& value) { m_workspaces = value; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** - *

The list of existing workspaces, including those undergoing creation or - * deletion.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline void SetWorkspaces(Aws::Vector&& value) { m_workspaces = std::move(value); } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** - *

The list of existing workspaces, including those undergoing creation or - * deletion.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListWorkspacesResult& WithWorkspaces(const Aws::Vector& value) { SetWorkspaces(value); return *this;} + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** - *

The list of existing workspaces, including those undergoing creation or - * deletion.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListWorkspacesResult& WithWorkspaces(Aws::Vector&& value) { SetWorkspaces(std::move(value)); return *this;} + inline ListWorkspacesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

The list of existing workspaces, including those undergoing creation or - * deletion.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListWorkspacesResult& AddWorkspaces(const WorkspaceSummary& value) { m_workspaces.push_back(value); return *this; } + inline ListWorkspacesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

The list of existing workspaces, including those undergoing creation or - * deletion.

+ *

Pagination token to use when requesting the next page in this list.

*/ - inline ListWorkspacesResult& AddWorkspaces(WorkspaceSummary&& value) { m_workspaces.push_back(std::move(value)); return *this; } + inline ListWorkspacesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} @@ -142,10 +142,10 @@ namespace Model private: - Aws::String m_nextToken; - Aws::Vector m_workspaces; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/LoggingConfigurationMetadata.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/LoggingConfigurationMetadata.h index fcdd5841ea7..0b12a9a755a 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/LoggingConfigurationMetadata.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/LoggingConfigurationMetadata.h @@ -5,9 +5,9 @@ #pragma once #include -#include -#include #include +#include +#include #include namespace Aws @@ -41,34 +41,75 @@ namespace Model /** - *

The time when the logging configuration was created.

+ *

The status of the logging configuration.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline const LoggingConfigurationStatus& GetStatus() const{ return m_status; } /** - *

The time when the logging configuration was created.

+ *

The status of the logging configuration.

*/ - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The time when the logging configuration was created.

+ *

The status of the logging configuration.

*/ - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetStatus(const LoggingConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The time when the logging configuration was created.

+ *

The status of the logging configuration.

*/ - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline void SetStatus(LoggingConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The time when the logging configuration was created.

+ *

The status of the logging configuration.

*/ - inline LoggingConfigurationMetadata& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline LoggingConfigurationMetadata& WithStatus(const LoggingConfigurationStatus& value) { SetStatus(value); return *this;} /** - *

The time when the logging configuration was created.

+ *

The status of the logging configuration.

*/ - inline LoggingConfigurationMetadata& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline LoggingConfigurationMetadata& WithStatus(LoggingConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The workspace where the logging configuration exists.

+ */ + inline const Aws::String& GetWorkspace() const{ return m_workspace; } + + /** + *

The workspace where the logging configuration exists.

+ */ + inline bool WorkspaceHasBeenSet() const { return m_workspaceHasBeenSet; } + + /** + *

The workspace where the logging configuration exists.

+ */ + inline void SetWorkspace(const Aws::String& value) { m_workspaceHasBeenSet = true; m_workspace = value; } + + /** + *

The workspace where the logging configuration exists.

+ */ + inline void SetWorkspace(Aws::String&& value) { m_workspaceHasBeenSet = true; m_workspace = std::move(value); } + + /** + *

The workspace where the logging configuration exists.

+ */ + inline void SetWorkspace(const char* value) { m_workspaceHasBeenSet = true; m_workspace.assign(value); } + + /** + *

The workspace where the logging configuration exists.

+ */ + inline LoggingConfigurationMetadata& WithWorkspace(const Aws::String& value) { SetWorkspace(value); return *this;} + + /** + *

The workspace where the logging configuration exists.

+ */ + inline LoggingConfigurationMetadata& WithWorkspace(Aws::String&& value) { SetWorkspace(std::move(value)); return *this;} + + /** + *

The workspace where the logging configuration exists.

+ */ + inline LoggingConfigurationMetadata& WithWorkspace(const char* value) { SetWorkspace(value); return *this;} /** @@ -121,123 +162,82 @@ namespace Model /** - *

The time when the logging configuration was modified.

- */ - inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } - - /** - *

The time when the logging configuration was modified.

- */ - inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } - - /** - *

The time when the logging configuration was modified.

- */ - inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } - - /** - *

The time when the logging configuration was modified.

- */ - inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } - - /** - *

The time when the logging configuration was modified.

+ *

The time when the logging configuration was created.

*/ - inline LoggingConfigurationMetadata& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** - *

The time when the logging configuration was modified.

+ *

The time when the logging configuration was created.

*/ - inline LoggingConfigurationMetadata& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} - + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** - *

The status of the logging configuration.

+ *

The time when the logging configuration was created.

*/ - inline const LoggingConfigurationStatus& GetStatus() const{ return m_status; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** - *

The status of the logging configuration.

+ *

The time when the logging configuration was created.

*/ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** - *

The status of the logging configuration.

+ *

The time when the logging configuration was created.

*/ - inline void SetStatus(const LoggingConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline LoggingConfigurationMetadata& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** - *

The status of the logging configuration.

+ *

The time when the logging configuration was created.

*/ - inline void SetStatus(LoggingConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline LoggingConfigurationMetadata& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - /** - *

The status of the logging configuration.

- */ - inline LoggingConfigurationMetadata& WithStatus(const LoggingConfigurationStatus& value) { SetStatus(value); return *this;} /** - *

The status of the logging configuration.

+ *

The time when the logging configuration was modified.

*/ - inline LoggingConfigurationMetadata& WithStatus(LoggingConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;} - + inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** - *

The workspace where the logging configuration exists.

+ *

The time when the logging configuration was modified.

*/ - inline const Aws::String& GetWorkspace() const{ return m_workspace; } + inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** - *

The workspace where the logging configuration exists.

+ *

The time when the logging configuration was modified.

*/ - inline bool WorkspaceHasBeenSet() const { return m_workspaceHasBeenSet; } + inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } /** - *

The workspace where the logging configuration exists.

+ *

The time when the logging configuration was modified.

*/ - inline void SetWorkspace(const Aws::String& value) { m_workspaceHasBeenSet = true; m_workspace = value; } + inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } /** - *

The workspace where the logging configuration exists.

+ *

The time when the logging configuration was modified.

*/ - inline void SetWorkspace(Aws::String&& value) { m_workspaceHasBeenSet = true; m_workspace = std::move(value); } + inline LoggingConfigurationMetadata& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** - *

The workspace where the logging configuration exists.

+ *

The time when the logging configuration was modified.

*/ - inline void SetWorkspace(const char* value) { m_workspaceHasBeenSet = true; m_workspace.assign(value); } + inline LoggingConfigurationMetadata& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} - /** - *

The workspace where the logging configuration exists.

- */ - inline LoggingConfigurationMetadata& WithWorkspace(const Aws::String& value) { SetWorkspace(value); return *this;} + private: - /** - *

The workspace where the logging configuration exists.

- */ - inline LoggingConfigurationMetadata& WithWorkspace(Aws::String&& value) { SetWorkspace(std::move(value)); return *this;} + LoggingConfigurationStatus m_status; + bool m_statusHasBeenSet = false; - /** - *

The workspace where the logging configuration exists.

- */ - inline LoggingConfigurationMetadata& WithWorkspace(const char* value) { SetWorkspace(value); return *this;} + Aws::String m_workspace; + bool m_workspaceHasBeenSet = false; - private: + Aws::String m_logGroupArn; + bool m_logGroupArnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; - Aws::String m_logGroupArn; - bool m_logGroupArnHasBeenSet = false; - Aws::Utils::DateTime m_modifiedAt; bool m_modifiedAtHasBeenSet = false; - - LoggingConfigurationStatus m_status; - bool m_statusHasBeenSet = false; - - Aws::String m_workspace; - bool m_workspaceHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutAlertManagerDefinitionRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutAlertManagerDefinitionRequest.h index 6438573809e..84d2f5e85f5 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutAlertManagerDefinitionRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutAlertManagerDefinitionRequest.h @@ -39,52 +39,44 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline PutAlertManagerDefinitionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline PutAlertManagerDefinitionRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline PutAlertManagerDefinitionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline PutAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the alert manager definition.

*/ - inline PutAlertManagerDefinitionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline PutAlertManagerDefinitionRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** @@ -119,55 +111,63 @@ namespace Model /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline PutAlertManagerDefinitionRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline PutAlertManagerDefinitionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline PutAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline PutAlertManagerDefinitionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace in which to update the alert manager definition.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline PutAlertManagerDefinitionRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline PutAlertManagerDefinitionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceRequest.h index ac2901a22fa..8f9f12af89e 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceRequest.h @@ -39,179 +39,179 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline PutRuleGroupsNamespaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline PutRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline PutRuleGroupsNamespaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline PutRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace in which to update the rule group namespace.

*/ - inline PutRuleGroupsNamespaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline PutRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** - *

The namespace data that define the rule groups.

+ *

The rule groups namespace name.

*/ - inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

The namespace data that define the rule groups.

+ *

The rule groups namespace name.

*/ - inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

The namespace data that define the rule groups.

+ *

The rule groups namespace name.

*/ - inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

The namespace data that define the rule groups.

+ *

The rule groups namespace name.

*/ - inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

The namespace data that define the rule groups.

+ *

The rule groups namespace name.

*/ - inline PutRuleGroupsNamespaceRequest& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

The namespace data that define the rule groups.

+ *

The rule groups namespace name.

*/ - inline PutRuleGroupsNamespaceRequest& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} - + inline PutRuleGroupsNamespaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The rule groups namespace name.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline PutRuleGroupsNamespaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The rule groups namespace name.

*/ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline PutRuleGroupsNamespaceRequest& WithName(const char* value) { SetName(value); return *this;} + /** - *

The rule groups namespace name.

+ *

The namespace data that define the rule groups.

*/ - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } /** - *

The rule groups namespace name.

+ *

The namespace data that define the rule groups.

*/ - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** - *

The rule groups namespace name.

+ *

The namespace data that define the rule groups.

*/ - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } /** - *

The rule groups namespace name.

+ *

The namespace data that define the rule groups.

*/ - inline PutRuleGroupsNamespaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** - *

The rule groups namespace name.

+ *

The namespace data that define the rule groups.

*/ - inline PutRuleGroupsNamespaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline PutRuleGroupsNamespaceRequest& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} /** - *

The rule groups namespace name.

+ *

The namespace data that define the rule groups.

*/ - inline PutRuleGroupsNamespaceRequest& WithName(const char* value) { SetName(value); return *this;} + inline PutRuleGroupsNamespaceRequest& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline PutRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline PutRuleGroupsNamespaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline PutRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline PutRuleGroupsNamespaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace in which to update the rule group namespace.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline PutRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline PutRuleGroupsNamespaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; - - Aws::Utils::ByteBuffer m_data; - bool m_dataHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; + Aws::Utils::ByteBuffer m_data; + bool m_dataHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceResult.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceResult.h index 17f75be606f..64ffae9aad6 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceResult.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/PutRuleGroupsNamespaceResult.h @@ -41,75 +41,75 @@ namespace Model /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline const Aws::String& GetArn() const{ return m_arn; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetName(const Aws::String& value) { m_name = value; } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline void SetArn(const char* value) { m_arn.assign(value); } + inline void SetName(const char* value) { m_name.assign(value); } /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline PutRuleGroupsNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline PutRuleGroupsNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline PutRuleGroupsNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline PutRuleGroupsNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

The Amazon Resource Name (ARN) of this rule groups namespace.

+ *

The rule groups namespace name.

*/ - inline PutRuleGroupsNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;} + inline PutRuleGroupsNamespaceResult& WithName(const char* value) { SetName(value); return *this;} /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline const Aws::String& GetArn() const{ return m_arn; } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetArn(const Aws::String& value) { m_arn = value; } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline void SetName(const char* value) { m_name.assign(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline PutRuleGroupsNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline PutRuleGroupsNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline PutRuleGroupsNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline PutRuleGroupsNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** - *

The rule groups namespace name.

+ *

The Amazon Resource Name (ARN) of this rule groups namespace.

*/ - inline PutRuleGroupsNamespaceResult& WithName(const char* value) { SetName(value); return *this;} + inline PutRuleGroupsNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;} /** @@ -222,10 +222,10 @@ namespace Model private: - Aws::String m_arn; - Aws::String m_name; + Aws::String m_arn; + RuleGroupsNamespaceStatus m_status; Aws::Map m_tags; diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceDescription.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceDescription.h index 383177dc9dd..6daab911dcb 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceDescription.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceDescription.h @@ -6,9 +6,9 @@ #pragma once #include #include -#include -#include #include +#include +#include #include #include @@ -84,168 +84,168 @@ namespace Model /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline RuleGroupsNamespaceDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline RuleGroupsNamespaceDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - + inline RuleGroupsNamespaceDescription& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

The rule groups namespace data.

+ *

The rule groups namespace name.

*/ - inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } + inline RuleGroupsNamespaceDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

The rule groups namespace data.

+ *

The rule groups namespace name.

*/ - inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } + inline RuleGroupsNamespaceDescription& WithName(const char* value) { SetName(value); return *this;} + /** - *

The rule groups namespace data.

+ *

The status of rule groups namespace.

*/ - inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } + inline const RuleGroupsNamespaceStatus& GetStatus() const{ return m_status; } /** - *

The rule groups namespace data.

+ *

The status of rule groups namespace.

*/ - inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The rule groups namespace data.

+ *

The status of rule groups namespace.

*/ - inline RuleGroupsNamespaceDescription& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} + inline void SetStatus(const RuleGroupsNamespaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The rule groups namespace data.

+ *

The status of rule groups namespace.

*/ - inline RuleGroupsNamespaceDescription& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} - + inline void SetStatus(RuleGroupsNamespaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The time when the rule groups namespace was modified.

+ *

The status of rule groups namespace.

*/ - inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } + inline RuleGroupsNamespaceDescription& WithStatus(const RuleGroupsNamespaceStatus& value) { SetStatus(value); return *this;} /** - *

The time when the rule groups namespace was modified.

+ *

The status of rule groups namespace.

*/ - inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } + inline RuleGroupsNamespaceDescription& WithStatus(RuleGroupsNamespaceStatus&& value) { SetStatus(std::move(value)); return *this;} + /** - *

The time when the rule groups namespace was modified.

+ *

The rule groups namespace data.

*/ - inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } + inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } /** - *

The time when the rule groups namespace was modified.

+ *

The rule groups namespace data.

*/ - inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } + inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** - *

The time when the rule groups namespace was modified.

+ *

The rule groups namespace data.

*/ - inline RuleGroupsNamespaceDescription& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} + inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } /** - *

The time when the rule groups namespace was modified.

+ *

The rule groups namespace data.

*/ - inline RuleGroupsNamespaceDescription& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} - + inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** - *

The rule groups namespace name.

+ *

The rule groups namespace data.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline RuleGroupsNamespaceDescription& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} /** - *

The rule groups namespace name.

+ *

The rule groups namespace data.

*/ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline RuleGroupsNamespaceDescription& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} + /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline RuleGroupsNamespaceDescription& WithName(const Aws::String& value) { SetName(value); return *this;} + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline RuleGroupsNamespaceDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline RuleGroupsNamespaceDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline RuleGroupsNamespaceDescription& WithName(const char* value) { SetName(value); return *this;} + inline RuleGroupsNamespaceDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline const RuleGroupsNamespaceStatus& GetStatus() const{ return m_status; } + inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline void SetStatus(const RuleGroupsNamespaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline void SetStatus(RuleGroupsNamespaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline RuleGroupsNamespaceDescription& WithStatus(const RuleGroupsNamespaceStatus& value) { SetStatus(value); return *this;} + inline RuleGroupsNamespaceDescription& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline RuleGroupsNamespaceDescription& WithStatus(RuleGroupsNamespaceStatus&& value) { SetStatus(std::move(value)); return *this;} + inline RuleGroupsNamespaceDescription& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} /** @@ -318,21 +318,21 @@ namespace Model Aws::String m_arn; bool m_arnHasBeenSet = false; - Aws::Utils::DateTime m_createdAt; - bool m_createdAtHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; + + RuleGroupsNamespaceStatus m_status; + bool m_statusHasBeenSet = false; Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + Aws::Utils::DateTime m_modifiedAt; bool m_modifiedAtHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; - - RuleGroupsNamespaceStatus m_status; - bool m_statusHasBeenSet = false; - Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceSummary.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceSummary.h index ade83b6289d..9262e41d1dc 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceSummary.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/RuleGroupsNamespaceSummary.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include #include @@ -83,137 +83,137 @@ namespace Model /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline RuleGroupsNamespaceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

The time when the rule groups namespace was created.

+ *

The rule groups namespace name.

*/ - inline RuleGroupsNamespaceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - + inline RuleGroupsNamespaceSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

The time when the rule groups namespace was modified.

+ *

The rule groups namespace name.

*/ - inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } + inline RuleGroupsNamespaceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

The time when the rule groups namespace was modified.

+ *

The rule groups namespace name.

*/ - inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } + inline RuleGroupsNamespaceSummary& WithName(const char* value) { SetName(value); return *this;} + /** - *

The time when the rule groups namespace was modified.

+ *

The status of rule groups namespace.

*/ - inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } + inline const RuleGroupsNamespaceStatus& GetStatus() const{ return m_status; } /** - *

The time when the rule groups namespace was modified.

+ *

The status of rule groups namespace.

*/ - inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The time when the rule groups namespace was modified.

+ *

The status of rule groups namespace.

*/ - inline RuleGroupsNamespaceSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} + inline void SetStatus(const RuleGroupsNamespaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The time when the rule groups namespace was modified.

+ *

The status of rule groups namespace.

*/ - inline RuleGroupsNamespaceSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} - + inline void SetStatus(RuleGroupsNamespaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The rule groups namespace name.

+ *

The status of rule groups namespace.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline RuleGroupsNamespaceSummary& WithStatus(const RuleGroupsNamespaceStatus& value) { SetStatus(value); return *this;} /** - *

The rule groups namespace name.

+ *

The status of rule groups namespace.

*/ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline RuleGroupsNamespaceSummary& WithStatus(RuleGroupsNamespaceStatus&& value) { SetStatus(std::move(value)); return *this;} + /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline RuleGroupsNamespaceSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline RuleGroupsNamespaceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline RuleGroupsNamespaceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** - *

The rule groups namespace name.

+ *

The time when the rule groups namespace was created.

*/ - inline RuleGroupsNamespaceSummary& WithName(const char* value) { SetName(value); return *this;} + inline RuleGroupsNamespaceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline const RuleGroupsNamespaceStatus& GetStatus() const{ return m_status; } + inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline void SetStatus(const RuleGroupsNamespaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline void SetStatus(RuleGroupsNamespaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline RuleGroupsNamespaceSummary& WithStatus(const RuleGroupsNamespaceStatus& value) { SetStatus(value); return *this;} + inline RuleGroupsNamespaceSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** - *

The status of rule groups namespace.

+ *

The time when the rule groups namespace was modified.

*/ - inline RuleGroupsNamespaceSummary& WithStatus(RuleGroupsNamespaceStatus&& value) { SetStatus(std::move(value)); return *this;} + inline RuleGroupsNamespaceSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} /** @@ -286,18 +286,18 @@ namespace Model Aws::String m_arn; bool m_arnHasBeenSet = false; - Aws::Utils::DateTime m_createdAt; - bool m_createdAtHasBeenSet = false; - - Aws::Utils::DateTime m_modifiedAt; - bool m_modifiedAtHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; RuleGroupsNamespaceStatus m_status; bool m_statusHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::Utils::DateTime m_modifiedAt; + bool m_modifiedAtHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ServiceQuotaExceededException.h index f080282e9bb..b9f35e13443 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ServiceQuotaExceededException.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ServiceQuotaExceededException.h @@ -79,47 +79,6 @@ namespace Model inline ServiceQuotaExceededException& WithMessage(const char* value) { SetMessage(value); return *this;} - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } - - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } - - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } - - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } - - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } - - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} - - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} - - /** - *

Service Quotas requirement to identify originating quota.

- */ - inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} - - /** *

Identifier of the resource affected.

*/ @@ -242,14 +201,52 @@ namespace Model */ inline ServiceQuotaExceededException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} + + /** + *

Service Quotas requirement to identify originating quota.

+ */ + inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + private: Aws::String m_message; bool m_messageHasBeenSet = false; - Aws::String m_quotaCode; - bool m_quotaCodeHasBeenSet = false; - Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; @@ -258,6 +255,9 @@ namespace Model Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; + + Aws::String m_quotaCode; + bool m_quotaCodeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ThrottlingException.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ThrottlingException.h index 88b13f7f1a0..13da77551a8 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ThrottlingException.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ThrottlingException.h @@ -79,120 +79,120 @@ namespace Model /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } + inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } + inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } + inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } + inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } + inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline ThrottlingException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} + inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline ThrottlingException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} + inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** - *

Service Quotas requirement to identify originating quota.

+ *

Service Quotas requirement to identify originating service.

*/ - inline ThrottlingException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} /** - *

Advice to clients on when the call can be safely retried.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } + inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } /** - *

Advice to clients on when the call can be safely retried.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } + inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } /** - *

Advice to clients on when the call can be safely retried.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } + inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } /** - *

Advice to clients on when the call can be safely retried.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline ThrottlingException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;} - + inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } /** - *

Service Quotas requirement to identify originating service.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } + inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } /** - *

Service Quotas requirement to identify originating service.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } + inline ThrottlingException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} /** - *

Service Quotas requirement to identify originating service.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } + inline ThrottlingException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} /** - *

Service Quotas requirement to identify originating service.

+ *

Service Quotas requirement to identify originating quota.

*/ - inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } + inline ThrottlingException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + /** - *

Service Quotas requirement to identify originating service.

+ *

Advice to clients on when the call can be safely retried.

*/ - inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } + inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } /** - *

Service Quotas requirement to identify originating service.

+ *

Advice to clients on when the call can be safely retried.

*/ - inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} + inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } /** - *

Service Quotas requirement to identify originating service.

+ *

Advice to clients on when the call can be safely retried.

*/ - inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} + inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } /** - *

Service Quotas requirement to identify originating service.

+ *

Advice to clients on when the call can be safely retried.

*/ - inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + inline ThrottlingException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; + Aws::String m_serviceCode; + bool m_serviceCodeHasBeenSet = false; + Aws::String m_quotaCode; bool m_quotaCodeHasBeenSet = false; int m_retryAfterSeconds; bool m_retryAfterSecondsHasBeenSet = false; - - Aws::String m_serviceCode; - bool m_serviceCodeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateLoggingConfigurationRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateLoggingConfigurationRequest.h index 79087b7c118..4ed9468f9df 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateLoggingConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateLoggingConfigurationRequest.h @@ -38,52 +38,44 @@ namespace Model /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline UpdateLoggingConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline UpdateLoggingConfigurationRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline UpdateLoggingConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline UpdateLoggingConfigurationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** - *

Optional, unique, case-sensitive, user-provided identifier to ensure the - * idempotency of the request.

+ *

The ID of the workspace to vend logs to.

*/ - inline UpdateLoggingConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline UpdateLoggingConfigurationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** @@ -136,55 +128,63 @@ namespace Model /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline UpdateLoggingConfigurationRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + inline UpdateLoggingConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline UpdateLoggingConfigurationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + inline UpdateLoggingConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

The ID of the workspace to vend logs to.

+ *

Optional, unique, case-sensitive, user-provided identifier to ensure the + * idempotency of the request.

*/ - inline UpdateLoggingConfigurationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + inline UpdateLoggingConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; Aws::String m_logGroupArn; bool m_logGroupArnHasBeenSet = false; - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateWorkspaceAliasRequest.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateWorkspaceAliasRequest.h index 6eaac9573f4..764711263e3 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateWorkspaceAliasRequest.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/UpdateWorkspaceAliasRequest.h @@ -37,6 +37,47 @@ namespace Model AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override; + /** + *

The ID of the workspace being updated.

+ */ + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + + /** + *

The ID of the workspace being updated.

+ */ + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + + /** + *

The ID of the workspace being updated.

+ */ + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + + /** + *

The ID of the workspace being updated.

+ */ + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + + /** + *

The ID of the workspace being updated.

+ */ + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + + /** + *

The ID of the workspace being updated.

+ */ + inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + + /** + *

The ID of the workspace being updated.

+ */ + inline UpdateWorkspaceAliasRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + + /** + *

The ID of the workspace being updated.

+ */ + inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + + /** *

The new alias of the workspace.

*/ @@ -126,57 +167,16 @@ namespace Model */ inline UpdateWorkspaceAliasRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} - - /** - *

The ID of the workspace being updated.

- */ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } - - /** - *

The ID of the workspace being updated.

- */ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } - - /** - *

The ID of the workspace being updated.

- */ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } - - /** - *

The ID of the workspace being updated.

- */ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } - - /** - *

The ID of the workspace being updated.

- */ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } - - /** - *

The ID of the workspace being updated.

- */ - inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} - - /** - *

The ID of the workspace being updated.

- */ - inline UpdateWorkspaceAliasRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} - - /** - *

The ID of the workspace being updated.

- */ - inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} - private: + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; + Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; - - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationException.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationException.h index 5936e245182..66521e38c30 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationException.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationException.h @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include #include @@ -41,55 +41,6 @@ namespace Model AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } - - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } - - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } - - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } - - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} - - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} - - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } - - /** - *

The field that caused the error, if applicable. If more than one field caused - * the error, pick one and elaborate in the message.

- */ - inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } - - /** *

Description of the error.

*/ @@ -161,16 +112,65 @@ namespace Model */ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} - private: - Aws::Vector m_fieldList; - bool m_fieldListHasBeenSet = false; + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } + + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } + + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } + + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } + + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} + + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} + + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } + + /** + *

The field that caused the error, if applicable. If more than one field caused + * the error, pick one and elaborate in the message.

+ */ + inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } + + private: Aws::String m_message; bool m_messageHasBeenSet = false; ValidationExceptionReason m_reason; bool m_reasonHasBeenSet = false; + + Aws::Vector m_fieldList; + bool m_fieldListHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationExceptionField.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationExceptionField.h index f2f5c29a402..2407b06c5d5 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationExceptionField.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/ValidationExceptionField.h @@ -39,93 +39,93 @@ namespace Model /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline const Aws::String& GetMessage() const{ return m_message; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ValidationExceptionField& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

Message describing why the field failed validation.

+ *

The field name.

*/ - inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} + inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline const Aws::String& GetName() const{ return m_name; } + inline const Aws::String& GetMessage() const{ return m_message; } /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline ValidationExceptionField& WithName(const Aws::String& value) { SetName(value); return *this;} + inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** - *

The field name.

+ *

Message describing why the field failed validation.

*/ - inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} + inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceDescription.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceDescription.h index 89da2c0c81b..e0485a18f76 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceDescription.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceDescription.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include #include @@ -40,6 +40,47 @@ namespace Model AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

Unique string identifying this workspace.

+ */ + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + + /** + *

Unique string identifying this workspace.

+ */ + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + + /** + *

Unique string identifying this workspace.

+ */ + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + + /** + *

Unique string identifying this workspace.

+ */ + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + + /** + *

Unique string identifying this workspace.

+ */ + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + + /** + *

Unique string identifying this workspace.

+ */ + inline WorkspaceDescription& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + + /** + *

Unique string identifying this workspace.

+ */ + inline WorkspaceDescription& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + + /** + *

Unique string identifying this workspace.

+ */ + inline WorkspaceDescription& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + + /** *

Alias of this workspace.

*/ @@ -123,34 +164,34 @@ namespace Model /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline const WorkspaceStatus& GetStatus() const{ return m_status; } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetStatus(const WorkspaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline void SetStatus(WorkspaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline WorkspaceDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline WorkspaceDescription& WithStatus(const WorkspaceStatus& value) { SetStatus(value); return *this;} /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline WorkspaceDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline WorkspaceDescription& WithStatus(WorkspaceStatus&& value) { SetStatus(std::move(value)); return *this;} /** @@ -195,34 +236,34 @@ namespace Model /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline const WorkspaceStatus& GetStatus() const{ return m_status; } + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline void SetStatus(const WorkspaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline void SetStatus(WorkspaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline WorkspaceDescription& WithStatus(const WorkspaceStatus& value) { SetStatus(value); return *this;} + inline WorkspaceDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline WorkspaceDescription& WithStatus(WorkspaceStatus&& value) { SetStatus(std::move(value)); return *this;} + inline WorkspaceDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** @@ -290,69 +331,28 @@ namespace Model */ inline WorkspaceDescription& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } - - /** - *

Unique string identifying this workspace.

- */ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } - - /** - *

Unique string identifying this workspace.

- */ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } - - /** - *

Unique string identifying this workspace.

- */ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } - - /** - *

Unique string identifying this workspace.

- */ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } - - /** - *

Unique string identifying this workspace.

- */ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } - - /** - *

Unique string identifying this workspace.

- */ - inline WorkspaceDescription& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} - - /** - *

Unique string identifying this workspace.

- */ - inline WorkspaceDescription& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} - - /** - *

Unique string identifying this workspace.

- */ - inline WorkspaceDescription& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} - private: + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; + Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; - Aws::Utils::DateTime m_createdAt; - bool m_createdAtHasBeenSet = false; + WorkspaceStatus m_status; + bool m_statusHasBeenSet = false; Aws::String m_prometheusEndpoint; bool m_prometheusEndpointHasBeenSet = false; - WorkspaceStatus m_status; - bool m_statusHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; - - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceSummary.h b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceSummary.h index 076e18be99c..7b31e99b424 100644 --- a/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceSummary.h +++ b/generated/src/aws-cpp-sdk-amp/include/aws/amp/model/WorkspaceSummary.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include #include @@ -41,6 +41,47 @@ namespace Model AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

Unique string identifying this workspace.

+ */ + inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } + + /** + *

Unique string identifying this workspace.

+ */ + inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } + + /** + *

Unique string identifying this workspace.

+ */ + inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } + + /** + *

Unique string identifying this workspace.

+ */ + inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } + + /** + *

Unique string identifying this workspace.

+ */ + inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } + + /** + *

Unique string identifying this workspace.

+ */ + inline WorkspaceSummary& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} + + /** + *

Unique string identifying this workspace.

+ */ + inline WorkspaceSummary& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} + + /** + *

Unique string identifying this workspace.

+ */ + inline WorkspaceSummary& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} + + /** *

Alias of this workspace.

*/ @@ -124,65 +165,65 @@ namespace Model /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline const WorkspaceStatus& GetStatus() const{ return m_status; } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetStatus(const WorkspaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline void SetStatus(WorkspaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline WorkspaceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline WorkspaceSummary& WithStatus(const WorkspaceStatus& value) { SetStatus(value); return *this;} /** - *

The time when the workspace was created.

+ *

The status of this workspace.

*/ - inline WorkspaceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline WorkspaceSummary& WithStatus(WorkspaceStatus&& value) { SetStatus(std::move(value)); return *this;} /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline const WorkspaceStatus& GetStatus() const{ return m_status; } + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline void SetStatus(const WorkspaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline void SetStatus(WorkspaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline WorkspaceSummary& WithStatus(const WorkspaceStatus& value) { SetStatus(value); return *this;} + inline WorkspaceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** - *

The status of this workspace.

+ *

The time when the workspace was created.

*/ - inline WorkspaceSummary& WithStatus(WorkspaceStatus&& value) { SetStatus(std::move(value)); return *this;} + inline WorkspaceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** @@ -250,66 +291,25 @@ namespace Model */ inline WorkspaceSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } - - /** - *

Unique string identifying this workspace.

- */ - inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } - - /** - *

Unique string identifying this workspace.

- */ - inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } - - /** - *

Unique string identifying this workspace.

- */ - inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } - - /** - *

Unique string identifying this workspace.

- */ - inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } - - /** - *

Unique string identifying this workspace.

- */ - inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } - - /** - *

Unique string identifying this workspace.

- */ - inline WorkspaceSummary& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} - - /** - *

Unique string identifying this workspace.

- */ - inline WorkspaceSummary& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} - - /** - *

Unique string identifying this workspace.

- */ - inline WorkspaceSummary& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} - private: + Aws::String m_workspaceId; + bool m_workspaceIdHasBeenSet = false; + Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; - Aws::Utils::DateTime m_createdAt; - bool m_createdAtHasBeenSet = false; - WorkspaceStatus m_status; bool m_statusHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; - - Aws::String m_workspaceId; - bool m_workspaceIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceClient.cpp b/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceClient.cpp index 70af03e3ab0..6bda08cefc1 100644 --- a/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceClient.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceClient.cpp @@ -270,16 +270,16 @@ DeleteRuleGroupsNamespaceOutcome PrometheusServiceClient::DeleteRuleGroupsNamesp { AWS_OPERATION_GUARD(DeleteRuleGroupsNamespace); AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteRuleGroupsNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteRuleGroupsNamespace", "Required field: Name, is not set"); - return DeleteRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } if (!request.WorkspaceIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("DeleteRuleGroupsNamespace", "Required field: WorkspaceId, is not set"); return DeleteRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkspaceId]", false)); } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteRuleGroupsNamespace", "Required field: Name, is not set"); + return DeleteRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } ResolveEndpointOutcome endpointResolutionOutcome = m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteRuleGroupsNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); endpointResolutionOutcome.GetResult().AddPathSegments("/workspaces/"); @@ -343,16 +343,16 @@ DescribeRuleGroupsNamespaceOutcome PrometheusServiceClient::DescribeRuleGroupsNa { AWS_OPERATION_GUARD(DescribeRuleGroupsNamespace); AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeRuleGroupsNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeRuleGroupsNamespace", "Required field: Name, is not set"); - return DescribeRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } if (!request.WorkspaceIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("DescribeRuleGroupsNamespace", "Required field: WorkspaceId, is not set"); return DescribeRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkspaceId]", false)); } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeRuleGroupsNamespace", "Required field: Name, is not set"); + return DescribeRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } ResolveEndpointOutcome endpointResolutionOutcome = m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DescribeRuleGroupsNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); endpointResolutionOutcome.GetResult().AddPathSegments("/workspaces/"); @@ -442,16 +442,16 @@ PutRuleGroupsNamespaceOutcome PrometheusServiceClient::PutRuleGroupsNamespace(co { AWS_OPERATION_GUARD(PutRuleGroupsNamespace); AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutRuleGroupsNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutRuleGroupsNamespace", "Required field: Name, is not set"); - return PutRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } if (!request.WorkspaceIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("PutRuleGroupsNamespace", "Required field: WorkspaceId, is not set"); return PutRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkspaceId]", false)); } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutRuleGroupsNamespace", "Required field: Name, is not set"); + return PutRuleGroupsNamespaceOutcome(Aws::Client::AWSError(PrometheusServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } ResolveEndpointOutcome endpointResolutionOutcome = m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, PutRuleGroupsNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); endpointResolutionOutcome.GetResult().AddPathSegments("/workspaces/"); diff --git a/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceEndpointRules.cpp b/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceEndpointRules.cpp index 69c5bda8c79..211381815e2 100644 --- a/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/PrometheusServiceEndpointRules.cpp @@ -10,8 +10,8 @@ namespace Aws { namespace PrometheusService { -const size_t PrometheusServiceEndpointRules::RulesBlobStrLen = 3442; -const size_t PrometheusServiceEndpointRules::RulesBlobSize = 3443; +const size_t PrometheusServiceEndpointRules::RulesBlobStrLen = 3712; +const size_t PrometheusServiceEndpointRules::RulesBlobSize = 3713; using RulesBlobT = Aws::Array; static constexpr RulesBlobT RulesBlob = {{ @@ -50,109 +50,120 @@ static constexpr RulesBlobT RulesBlob = {{ 's','e','d',' ','t','o',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"', ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g','n','"',':', -'"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','f','n','"',':','"','p','a','r','s','e','U','R','L','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',']',',','"','a','s','s', -'i','g','n','"',':','"','u','r','l','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t', -'r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C', -'o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u', -'s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p', -'p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t', -'r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S', -'t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I', -'n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a', -'l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n', -'t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p', -'e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r', -'e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i', -'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', -'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d', -'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q', -'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e', -'F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',', -'"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"', -'f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s', -'u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':','"','b', -'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u', -'e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"', -'}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', -'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','s','-','f','i', -'p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s', -'u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"', -':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ', -'e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i', -'o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o', -'r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','t','y', -'p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n', -'d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', -'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"', -':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p', -'o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', +'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', +'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', +'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', +'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', +'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', +'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', 'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', -'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','s', -'-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n', -'R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e', -'r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"', -'t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c', -'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I', -'P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a', -'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', -'F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',', -'"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"', -'f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s', -'u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t', +'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', +'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', +'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', +'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', +' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', +'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', +'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', +'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', +'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', +'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', +',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', +'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', +',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', +'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', +'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', +':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', +'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', +',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', +'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', +'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', +'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', +',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', +'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','s','-','f','i','p', +'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"', +'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', +'"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e', +' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t', +'i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ', +'o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', +'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r', +'e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','t', 'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p','s','.','{','R','e','g','i','o', -'n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S', -'t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i', -'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', -'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a', -'c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a', -'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', -'D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n', +'"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p', +'p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e', +'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', 'p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','p', -'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', -'l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}','\0' +'s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', +'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', +'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F', +'I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p', +'a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t', +' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', +'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']', +',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', +'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{', +'"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"', +'s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', +'t','p','s',':','/','/','a','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', +'t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u', +'f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h', +'e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o', +'i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e', +'n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', +' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a', +'c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', +'t','p','s',':','/','/','a','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', +'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', +'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', +'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}', +']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', +'r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n', +':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',']','}',']','}','\0' }}; const char* PrometheusServiceEndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-amp/source/model/AlertManagerDefinitionDescription.cpp b/generated/src/aws-cpp-sdk-amp/source/model/AlertManagerDefinitionDescription.cpp index b0b81b71af3..4d4939592c4 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/AlertManagerDefinitionDescription.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/AlertManagerDefinitionDescription.cpp @@ -20,29 +20,29 @@ namespace Model { AlertManagerDefinitionDescription::AlertManagerDefinitionDescription() : - m_createdAtHasBeenSet(false), + m_statusHasBeenSet(false), m_dataHasBeenSet(false), - m_modifiedAtHasBeenSet(false), - m_statusHasBeenSet(false) + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false) { } AlertManagerDefinitionDescription::AlertManagerDefinitionDescription(JsonView jsonValue) : - m_createdAtHasBeenSet(false), + m_statusHasBeenSet(false), m_dataHasBeenSet(false), - m_modifiedAtHasBeenSet(false), - m_statusHasBeenSet(false) + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false) { *this = jsonValue; } AlertManagerDefinitionDescription& AlertManagerDefinitionDescription::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("status")) { - m_createdAt = jsonValue.GetDouble("createdAt"); + m_status = jsonValue.GetObject("status"); - m_createdAtHasBeenSet = true; + m_statusHasBeenSet = true; } if(jsonValue.ValueExists("data")) @@ -51,18 +51,18 @@ AlertManagerDefinitionDescription& AlertManagerDefinitionDescription::operator = m_dataHasBeenSet = true; } - if(jsonValue.ValueExists("modifiedAt")) + if(jsonValue.ValueExists("createdAt")) { - m_modifiedAt = jsonValue.GetDouble("modifiedAt"); + m_createdAt = jsonValue.GetDouble("createdAt"); - m_modifiedAtHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("modifiedAt")) { - m_status = jsonValue.GetObject("status"); + m_modifiedAt = jsonValue.GetDouble("modifiedAt"); - m_statusHasBeenSet = true; + m_modifiedAtHasBeenSet = true; } return *this; @@ -72,9 +72,10 @@ JsonValue AlertManagerDefinitionDescription::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + payload.WithObject("status", m_status.Jsonize()); + } if(m_dataHasBeenSet) @@ -82,15 +83,14 @@ JsonValue AlertManagerDefinitionDescription::Jsonize() const payload.WithString("data", HashingUtils::Base64Encode(m_data)); } - if(m_modifiedAtHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); } - if(m_statusHasBeenSet) + if(m_modifiedAtHasBeenSet) { - payload.WithObject("status", m_status.Jsonize()); - + payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); } return payload; diff --git a/generated/src/aws-cpp-sdk-amp/source/model/CreateAlertManagerDefinitionRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/CreateAlertManagerDefinitionRequest.cpp index b70e61bdd7e..02d0123f716 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/CreateAlertManagerDefinitionRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/CreateAlertManagerDefinitionRequest.cpp @@ -14,10 +14,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateAlertManagerDefinitionRequest::CreateAlertManagerDefinitionRequest() : - m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), + m_workspaceIdHasBeenSet(false), m_dataHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) { } @@ -25,15 +25,15 @@ Aws::String CreateAlertManagerDefinitionRequest::SerializePayload() const { JsonValue payload; - if(m_clientTokenHasBeenSet) + if(m_dataHasBeenSet) { - payload.WithString("clientToken", m_clientToken); - + payload.WithString("data", HashingUtils::Base64Encode(m_data)); } - if(m_dataHasBeenSet) + if(m_clientTokenHasBeenSet) { - payload.WithString("data", HashingUtils::Base64Encode(m_data)); + payload.WithString("clientToken", m_clientToken); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-amp/source/model/CreateLoggingConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/CreateLoggingConfigurationRequest.cpp index 7355315be44..ce112a4cbb6 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/CreateLoggingConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/CreateLoggingConfigurationRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateLoggingConfigurationRequest::CreateLoggingConfigurationRequest() : - m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), + m_workspaceIdHasBeenSet(false), m_logGroupArnHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) { } @@ -24,15 +24,15 @@ Aws::String CreateLoggingConfigurationRequest::SerializePayload() const { JsonValue payload; - if(m_clientTokenHasBeenSet) + if(m_logGroupArnHasBeenSet) { - payload.WithString("clientToken", m_clientToken); + payload.WithString("logGroupArn", m_logGroupArn); } - if(m_logGroupArnHasBeenSet) + if(m_clientTokenHasBeenSet) { - payload.WithString("logGroupArn", m_logGroupArn); + payload.WithString("clientToken", m_clientToken); } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceRequest.cpp index 9db3f429da3..16c1fde797c 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceRequest.cpp @@ -14,12 +14,12 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateRuleGroupsNamespaceRequest::CreateRuleGroupsNamespaceRequest() : + m_workspaceIdHasBeenSet(false), + m_nameHasBeenSet(false), + m_dataHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), - m_dataHasBeenSet(false), - m_nameHasBeenSet(false), - m_tagsHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_tagsHasBeenSet(false) { } @@ -27,9 +27,9 @@ Aws::String CreateRuleGroupsNamespaceRequest::SerializePayload() const { JsonValue payload; - if(m_clientTokenHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("clientToken", m_clientToken); + payload.WithString("name", m_name); } @@ -38,9 +38,9 @@ Aws::String CreateRuleGroupsNamespaceRequest::SerializePayload() const payload.WithString("data", HashingUtils::Base64Encode(m_data)); } - if(m_nameHasBeenSet) + if(m_clientTokenHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("clientToken", m_clientToken); } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceResult.cpp b/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceResult.cpp index e178448f91c..3dd69a2d956 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceResult.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/CreateRuleGroupsNamespaceResult.cpp @@ -29,15 +29,15 @@ CreateRuleGroupsNamespaceResult::CreateRuleGroupsNamespaceResult(const Aws::Amaz CreateRuleGroupsNamespaceResult& CreateRuleGroupsNamespaceResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("arn")) + if(jsonValue.ValueExists("name")) { - m_arn = jsonValue.GetString("arn"); + m_name = jsonValue.GetString("name"); } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("arn")) { - m_name = jsonValue.GetString("name"); + m_arn = jsonValue.GetString("arn"); } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/CreateWorkspaceResult.cpp b/generated/src/aws-cpp-sdk-amp/source/model/CreateWorkspaceResult.cpp index 62b831e7721..766cdc22b9d 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/CreateWorkspaceResult.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/CreateWorkspaceResult.cpp @@ -29,6 +29,12 @@ CreateWorkspaceResult::CreateWorkspaceResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("workspaceId")) + { + m_workspaceId = jsonValue.GetString("workspaceId"); + + } + if(jsonValue.ValueExists("arn")) { m_arn = jsonValue.GetString("arn"); @@ -50,12 +56,6 @@ CreateWorkspaceResult& CreateWorkspaceResult::operator =(const Aws::AmazonWebSer } } - if(jsonValue.ValueExists("workspaceId")) - { - m_workspaceId = jsonValue.GetString("workspaceId"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-amp/source/model/DeleteAlertManagerDefinitionRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/DeleteAlertManagerDefinitionRequest.cpp index 7e468999dfd..34cce604454 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/DeleteAlertManagerDefinitionRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/DeleteAlertManagerDefinitionRequest.cpp @@ -16,9 +16,9 @@ using namespace Aws::Utils; using namespace Aws::Http; DeleteAlertManagerDefinitionRequest::DeleteAlertManagerDefinitionRequest() : + m_workspaceIdHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), - m_workspaceIdHasBeenSet(false) + m_clientTokenHasBeenSet(true) { } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/DeleteLoggingConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/DeleteLoggingConfigurationRequest.cpp index a17a28b761f..1ec80568fc0 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/DeleteLoggingConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/DeleteLoggingConfigurationRequest.cpp @@ -16,9 +16,9 @@ using namespace Aws::Utils; using namespace Aws::Http; DeleteLoggingConfigurationRequest::DeleteLoggingConfigurationRequest() : + m_workspaceIdHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), - m_workspaceIdHasBeenSet(false) + m_clientTokenHasBeenSet(true) { } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/DeleteRuleGroupsNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/DeleteRuleGroupsNamespaceRequest.cpp index 97e7778d531..83fa074f7f3 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/DeleteRuleGroupsNamespaceRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/DeleteRuleGroupsNamespaceRequest.cpp @@ -16,10 +16,10 @@ using namespace Aws::Utils; using namespace Aws::Http; DeleteRuleGroupsNamespaceRequest::DeleteRuleGroupsNamespaceRequest() : - m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), + m_workspaceIdHasBeenSet(false), m_nameHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) { } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/DeleteWorkspaceRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/DeleteWorkspaceRequest.cpp index cca5d5266f3..e3fab37cc1f 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/DeleteWorkspaceRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/DeleteWorkspaceRequest.cpp @@ -16,9 +16,9 @@ using namespace Aws::Utils; using namespace Aws::Http; DeleteWorkspaceRequest::DeleteWorkspaceRequest() : + m_workspaceIdHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), - m_workspaceIdHasBeenSet(false) + m_clientTokenHasBeenSet(true) { } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/DescribeRuleGroupsNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/DescribeRuleGroupsNamespaceRequest.cpp index 56151cc8763..2b7a86b45e3 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/DescribeRuleGroupsNamespaceRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/DescribeRuleGroupsNamespaceRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; DescribeRuleGroupsNamespaceRequest::DescribeRuleGroupsNamespaceRequest() : - m_nameHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_workspaceIdHasBeenSet(false), + m_nameHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesRequest.cpp index 1cb1c8e1e28..e828c117cc3 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesRequest.cpp @@ -16,11 +16,11 @@ using namespace Aws::Utils; using namespace Aws::Http; ListRuleGroupsNamespacesRequest::ListRuleGroupsNamespacesRequest() : - m_maxResults(0), - m_maxResultsHasBeenSet(false), + m_workspaceIdHasBeenSet(false), m_nameHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -32,13 +32,6 @@ Aws::String ListRuleGroupsNamespacesRequest::SerializePayload() const void ListRuleGroupsNamespacesRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) - { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); - ss.str(""); - } - if(m_nameHasBeenSet) { ss << m_name; @@ -53,6 +46,13 @@ void ListRuleGroupsNamespacesRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesResult.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesResult.cpp index acb347b0855..792d16b2447 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesResult.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ListRuleGroupsNamespacesResult.cpp @@ -29,12 +29,6 @@ ListRuleGroupsNamespacesResult::ListRuleGroupsNamespacesResult(const Aws::Amazon ListRuleGroupsNamespacesResult& ListRuleGroupsNamespacesResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("ruleGroupsNamespaces")) { Aws::Utils::Array ruleGroupsNamespacesJsonList = jsonValue.GetArray("ruleGroupsNamespaces"); @@ -44,6 +38,12 @@ ListRuleGroupsNamespacesResult& ListRuleGroupsNamespacesResult::operator =(const } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesRequest.cpp index 5bad3a214ac..c084975a672 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesRequest.cpp @@ -16,10 +16,10 @@ using namespace Aws::Utils; using namespace Aws::Http; ListWorkspacesRequest::ListWorkspacesRequest() : + m_nextTokenHasBeenSet(false), m_aliasHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -31,6 +31,13 @@ Aws::String ListWorkspacesRequest::SerializePayload() const void ListWorkspacesRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + if(m_aliasHasBeenSet) { ss << m_alias; @@ -45,13 +52,6 @@ void ListWorkspacesRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } - if(m_nextTokenHasBeenSet) - { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); - ss.str(""); - } - } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesResult.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesResult.cpp index 250dce10863..f59c4dce8b7 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesResult.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ListWorkspacesResult.cpp @@ -29,12 +29,6 @@ ListWorkspacesResult::ListWorkspacesResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("workspaces")) { Aws::Utils::Array workspacesJsonList = jsonValue.GetArray("workspaces"); @@ -44,6 +38,12 @@ ListWorkspacesResult& ListWorkspacesResult::operator =(const Aws::AmazonWebServi } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-amp/source/model/LoggingConfigurationMetadata.cpp b/generated/src/aws-cpp-sdk-amp/source/model/LoggingConfigurationMetadata.cpp index d4a4d73078e..afdcb08aeca 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/LoggingConfigurationMetadata.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/LoggingConfigurationMetadata.cpp @@ -19,59 +19,59 @@ namespace Model { LoggingConfigurationMetadata::LoggingConfigurationMetadata() : - m_createdAtHasBeenSet(false), - m_logGroupArnHasBeenSet(false), - m_modifiedAtHasBeenSet(false), m_statusHasBeenSet(false), - m_workspaceHasBeenSet(false) + m_workspaceHasBeenSet(false), + m_logGroupArnHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false) { } LoggingConfigurationMetadata::LoggingConfigurationMetadata(JsonView jsonValue) : - m_createdAtHasBeenSet(false), - m_logGroupArnHasBeenSet(false), - m_modifiedAtHasBeenSet(false), m_statusHasBeenSet(false), - m_workspaceHasBeenSet(false) + m_workspaceHasBeenSet(false), + m_logGroupArnHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false) { *this = jsonValue; } LoggingConfigurationMetadata& LoggingConfigurationMetadata::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("status")) { - m_createdAt = jsonValue.GetDouble("createdAt"); + m_status = jsonValue.GetObject("status"); - m_createdAtHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("logGroupArn")) + if(jsonValue.ValueExists("workspace")) { - m_logGroupArn = jsonValue.GetString("logGroupArn"); + m_workspace = jsonValue.GetString("workspace"); - m_logGroupArnHasBeenSet = true; + m_workspaceHasBeenSet = true; } - if(jsonValue.ValueExists("modifiedAt")) + if(jsonValue.ValueExists("logGroupArn")) { - m_modifiedAt = jsonValue.GetDouble("modifiedAt"); + m_logGroupArn = jsonValue.GetString("logGroupArn"); - m_modifiedAtHasBeenSet = true; + m_logGroupArnHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdAt")) { - m_status = jsonValue.GetObject("status"); + m_createdAt = jsonValue.GetDouble("createdAt"); - m_statusHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("workspace")) + if(jsonValue.ValueExists("modifiedAt")) { - m_workspace = jsonValue.GetString("workspace"); + m_modifiedAt = jsonValue.GetDouble("modifiedAt"); - m_workspaceHasBeenSet = true; + m_modifiedAtHasBeenSet = true; } return *this; @@ -81,32 +81,32 @@ JsonValue LoggingConfigurationMetadata::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + payload.WithObject("status", m_status.Jsonize()); + } - if(m_logGroupArnHasBeenSet) + if(m_workspaceHasBeenSet) { - payload.WithString("logGroupArn", m_logGroupArn); + payload.WithString("workspace", m_workspace); } - if(m_modifiedAtHasBeenSet) + if(m_logGroupArnHasBeenSet) { - payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); + payload.WithString("logGroupArn", m_logGroupArn); + } - if(m_statusHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithObject("status", m_status.Jsonize()); - + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); } - if(m_workspaceHasBeenSet) + if(m_modifiedAtHasBeenSet) { - payload.WithString("workspace", m_workspace); - + payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); } return payload; diff --git a/generated/src/aws-cpp-sdk-amp/source/model/PutAlertManagerDefinitionRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/PutAlertManagerDefinitionRequest.cpp index 9c05b839efb..06f9f9f4323 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/PutAlertManagerDefinitionRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/PutAlertManagerDefinitionRequest.cpp @@ -14,10 +14,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; PutAlertManagerDefinitionRequest::PutAlertManagerDefinitionRequest() : - m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), + m_workspaceIdHasBeenSet(false), m_dataHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) { } @@ -25,15 +25,15 @@ Aws::String PutAlertManagerDefinitionRequest::SerializePayload() const { JsonValue payload; - if(m_clientTokenHasBeenSet) + if(m_dataHasBeenSet) { - payload.WithString("clientToken", m_clientToken); - + payload.WithString("data", HashingUtils::Base64Encode(m_data)); } - if(m_dataHasBeenSet) + if(m_clientTokenHasBeenSet) { - payload.WithString("data", HashingUtils::Base64Encode(m_data)); + payload.WithString("clientToken", m_clientToken); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceRequest.cpp index 2f598cca37c..93f8f8f5ac6 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceRequest.cpp @@ -14,11 +14,11 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; PutRuleGroupsNamespaceRequest::PutRuleGroupsNamespaceRequest() : - m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), - m_dataHasBeenSet(false), + m_workspaceIdHasBeenSet(false), m_nameHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_dataHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) { } @@ -26,15 +26,15 @@ Aws::String PutRuleGroupsNamespaceRequest::SerializePayload() const { JsonValue payload; - if(m_clientTokenHasBeenSet) + if(m_dataHasBeenSet) { - payload.WithString("clientToken", m_clientToken); - + payload.WithString("data", HashingUtils::Base64Encode(m_data)); } - if(m_dataHasBeenSet) + if(m_clientTokenHasBeenSet) { - payload.WithString("data", HashingUtils::Base64Encode(m_data)); + payload.WithString("clientToken", m_clientToken); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceResult.cpp b/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceResult.cpp index 45b7a2a48d4..06b964942eb 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceResult.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/PutRuleGroupsNamespaceResult.cpp @@ -29,15 +29,15 @@ PutRuleGroupsNamespaceResult::PutRuleGroupsNamespaceResult(const Aws::AmazonWebS PutRuleGroupsNamespaceResult& PutRuleGroupsNamespaceResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("arn")) + if(jsonValue.ValueExists("name")) { - m_arn = jsonValue.GetString("arn"); + m_name = jsonValue.GetString("name"); } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("arn")) { - m_name = jsonValue.GetString("name"); + m_arn = jsonValue.GetString("arn"); } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceDescription.cpp b/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceDescription.cpp index e966e6167d8..f68e8b6a44d 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceDescription.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceDescription.cpp @@ -21,22 +21,22 @@ namespace Model RuleGroupsNamespaceDescription::RuleGroupsNamespaceDescription() : m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), - m_dataHasBeenSet(false), - m_modifiedAtHasBeenSet(false), m_nameHasBeenSet(false), m_statusHasBeenSet(false), + m_dataHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false), m_tagsHasBeenSet(false) { } RuleGroupsNamespaceDescription::RuleGroupsNamespaceDescription(JsonView jsonValue) : m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), - m_dataHasBeenSet(false), - m_modifiedAtHasBeenSet(false), m_nameHasBeenSet(false), m_statusHasBeenSet(false), + m_dataHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false), m_tagsHasBeenSet(false) { *this = jsonValue; @@ -51,38 +51,38 @@ RuleGroupsNamespaceDescription& RuleGroupsNamespaceDescription::operator =(JsonV m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("name")) { - m_createdAt = jsonValue.GetDouble("createdAt"); + m_name = jsonValue.GetString("name"); - m_createdAtHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("data")) + if(jsonValue.ValueExists("status")) { - m_data = HashingUtils::Base64Decode(jsonValue.GetString("data")); - m_dataHasBeenSet = true; + m_status = jsonValue.GetObject("status"); + + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("modifiedAt")) + if(jsonValue.ValueExists("data")) { - m_modifiedAt = jsonValue.GetDouble("modifiedAt"); - - m_modifiedAtHasBeenSet = true; + m_data = HashingUtils::Base64Decode(jsonValue.GetString("data")); + m_dataHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("createdAt")) { - m_name = jsonValue.GetString("name"); + m_createdAt = jsonValue.GetDouble("createdAt"); - m_nameHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("modifiedAt")) { - m_status = jsonValue.GetObject("status"); + m_modifiedAt = jsonValue.GetDouble("modifiedAt"); - m_statusHasBeenSet = true; + m_modifiedAtHasBeenSet = true; } if(jsonValue.ValueExists("tags")) @@ -108,31 +108,31 @@ JsonValue RuleGroupsNamespaceDescription::Jsonize() const } - if(m_createdAtHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + payload.WithString("name", m_name); + } - if(m_dataHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithString("data", HashingUtils::Base64Encode(m_data)); + payload.WithObject("status", m_status.Jsonize()); + } - if(m_modifiedAtHasBeenSet) + if(m_dataHasBeenSet) { - payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); + payload.WithString("data", HashingUtils::Base64Encode(m_data)); } - if(m_nameHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithString("name", m_name); - + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); } - if(m_statusHasBeenSet) + if(m_modifiedAtHasBeenSet) { - payload.WithObject("status", m_status.Jsonize()); - + payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); } if(m_tagsHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceSummary.cpp b/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceSummary.cpp index a9f2606d92b..35b7464a220 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceSummary.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/RuleGroupsNamespaceSummary.cpp @@ -20,20 +20,20 @@ namespace Model RuleGroupsNamespaceSummary::RuleGroupsNamespaceSummary() : m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), - m_modifiedAtHasBeenSet(false), m_nameHasBeenSet(false), m_statusHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false), m_tagsHasBeenSet(false) { } RuleGroupsNamespaceSummary::RuleGroupsNamespaceSummary(JsonView jsonValue) : m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), - m_modifiedAtHasBeenSet(false), m_nameHasBeenSet(false), m_statusHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false), m_tagsHasBeenSet(false) { *this = jsonValue; @@ -48,32 +48,32 @@ RuleGroupsNamespaceSummary& RuleGroupsNamespaceSummary::operator =(JsonView json m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("name")) { - m_createdAt = jsonValue.GetDouble("createdAt"); + m_name = jsonValue.GetString("name"); - m_createdAtHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("modifiedAt")) + if(jsonValue.ValueExists("status")) { - m_modifiedAt = jsonValue.GetDouble("modifiedAt"); + m_status = jsonValue.GetObject("status"); - m_modifiedAtHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("createdAt")) { - m_name = jsonValue.GetString("name"); + m_createdAt = jsonValue.GetDouble("createdAt"); - m_nameHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("modifiedAt")) { - m_status = jsonValue.GetObject("status"); + m_modifiedAt = jsonValue.GetDouble("modifiedAt"); - m_statusHasBeenSet = true; + m_modifiedAtHasBeenSet = true; } if(jsonValue.ValueExists("tags")) @@ -99,16 +99,6 @@ JsonValue RuleGroupsNamespaceSummary::Jsonize() const } - if(m_createdAtHasBeenSet) - { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if(m_modifiedAtHasBeenSet) - { - payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); - } - if(m_nameHasBeenSet) { payload.WithString("name", m_name); @@ -121,6 +111,16 @@ JsonValue RuleGroupsNamespaceSummary::Jsonize() const } + if(m_createdAtHasBeenSet) + { + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + } + + if(m_modifiedAtHasBeenSet) + { + payload.WithDouble("modifiedAt", m_modifiedAt.SecondsWithMSPrecision()); + } + if(m_tagsHasBeenSet) { JsonValue tagsJsonMap; diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ServiceQuotaExceededException.cpp index 7e8a3a574b0..496c5760ee8 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ServiceQuotaExceededException.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ServiceQuotaExceededException.cpp @@ -20,19 +20,19 @@ namespace Model ServiceQuotaExceededException::ServiceQuotaExceededException() : m_messageHasBeenSet(false), - m_quotaCodeHasBeenSet(false), m_resourceIdHasBeenSet(false), m_resourceTypeHasBeenSet(false), - m_serviceCodeHasBeenSet(false) + m_serviceCodeHasBeenSet(false), + m_quotaCodeHasBeenSet(false) { } ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView jsonValue) : m_messageHasBeenSet(false), - m_quotaCodeHasBeenSet(false), m_resourceIdHasBeenSet(false), m_resourceTypeHasBeenSet(false), - m_serviceCodeHasBeenSet(false) + m_serviceCodeHasBeenSet(false), + m_quotaCodeHasBeenSet(false) { *this = jsonValue; } @@ -46,13 +46,6 @@ ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonVie m_messageHasBeenSet = true; } - if(jsonValue.ValueExists("quotaCode")) - { - m_quotaCode = jsonValue.GetString("quotaCode"); - - m_quotaCodeHasBeenSet = true; - } - if(jsonValue.ValueExists("resourceId")) { m_resourceId = jsonValue.GetString("resourceId"); @@ -74,6 +67,13 @@ ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonVie m_serviceCodeHasBeenSet = true; } + if(jsonValue.ValueExists("quotaCode")) + { + m_quotaCode = jsonValue.GetString("quotaCode"); + + m_quotaCodeHasBeenSet = true; + } + return *this; } @@ -87,12 +87,6 @@ JsonValue ServiceQuotaExceededException::Jsonize() const } - if(m_quotaCodeHasBeenSet) - { - payload.WithString("quotaCode", m_quotaCode); - - } - if(m_resourceIdHasBeenSet) { payload.WithString("resourceId", m_resourceId); @@ -111,6 +105,12 @@ JsonValue ServiceQuotaExceededException::Jsonize() const } + if(m_quotaCodeHasBeenSet) + { + payload.WithString("quotaCode", m_quotaCode); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ThrottlingException.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ThrottlingException.cpp index 807fa0e3b52..4ee4979c519 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ThrottlingException.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ThrottlingException.cpp @@ -21,19 +21,19 @@ namespace Model ThrottlingException::ThrottlingException() : m_messageHasBeenSet(false), + m_serviceCodeHasBeenSet(false), m_quotaCodeHasBeenSet(false), m_retryAfterSeconds(0), - m_retryAfterSecondsHasBeenSet(false), - m_serviceCodeHasBeenSet(false) + m_retryAfterSecondsHasBeenSet(false) { } ThrottlingException::ThrottlingException(JsonView jsonValue) : m_messageHasBeenSet(false), + m_serviceCodeHasBeenSet(false), m_quotaCodeHasBeenSet(false), m_retryAfterSeconds(0), - m_retryAfterSecondsHasBeenSet(false), - m_serviceCodeHasBeenSet(false) + m_retryAfterSecondsHasBeenSet(false) { *this = jsonValue; } @@ -47,18 +47,18 @@ ThrottlingException& ThrottlingException::operator =(JsonView jsonValue) m_messageHasBeenSet = true; } - if(jsonValue.ValueExists("quotaCode")) + if(jsonValue.ValueExists("serviceCode")) { - m_quotaCode = jsonValue.GetString("quotaCode"); + m_serviceCode = jsonValue.GetString("serviceCode"); - m_quotaCodeHasBeenSet = true; + m_serviceCodeHasBeenSet = true; } - if(jsonValue.ValueExists("serviceCode")) + if(jsonValue.ValueExists("quotaCode")) { - m_serviceCode = jsonValue.GetString("serviceCode"); + m_quotaCode = jsonValue.GetString("quotaCode"); - m_serviceCodeHasBeenSet = true; + m_quotaCodeHasBeenSet = true; } return *this; @@ -74,15 +74,15 @@ JsonValue ThrottlingException::Jsonize() const } - if(m_quotaCodeHasBeenSet) + if(m_serviceCodeHasBeenSet) { - payload.WithString("quotaCode", m_quotaCode); + payload.WithString("serviceCode", m_serviceCode); } - if(m_serviceCodeHasBeenSet) + if(m_quotaCodeHasBeenSet) { - payload.WithString("serviceCode", m_serviceCode); + payload.WithString("quotaCode", m_quotaCode); } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/UpdateLoggingConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/UpdateLoggingConfigurationRequest.cpp index b5934a0b375..218e4b9ea77 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/UpdateLoggingConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/UpdateLoggingConfigurationRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateLoggingConfigurationRequest::UpdateLoggingConfigurationRequest() : - m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), + m_workspaceIdHasBeenSet(false), m_logGroupArnHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) { } @@ -24,15 +24,15 @@ Aws::String UpdateLoggingConfigurationRequest::SerializePayload() const { JsonValue payload; - if(m_clientTokenHasBeenSet) + if(m_logGroupArnHasBeenSet) { - payload.WithString("clientToken", m_clientToken); + payload.WithString("logGroupArn", m_logGroupArn); } - if(m_logGroupArnHasBeenSet) + if(m_clientTokenHasBeenSet) { - payload.WithString("logGroupArn", m_logGroupArn); + payload.WithString("clientToken", m_clientToken); } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/UpdateWorkspaceAliasRequest.cpp b/generated/src/aws-cpp-sdk-amp/source/model/UpdateWorkspaceAliasRequest.cpp index 33fce05b07c..8839e5f86ee 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/UpdateWorkspaceAliasRequest.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/UpdateWorkspaceAliasRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateWorkspaceAliasRequest::UpdateWorkspaceAliasRequest() : + m_workspaceIdHasBeenSet(false), m_aliasHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), - m_workspaceIdHasBeenSet(false) + m_clientTokenHasBeenSet(true) { } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ValidationException.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ValidationException.cpp index bba8a9a4ebf..46891365baf 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ValidationException.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ValidationException.cpp @@ -19,34 +19,24 @@ namespace Model { ValidationException::ValidationException() : - m_fieldListHasBeenSet(false), m_messageHasBeenSet(false), m_reason(ValidationExceptionReason::NOT_SET), - m_reasonHasBeenSet(false) + m_reasonHasBeenSet(false), + m_fieldListHasBeenSet(false) { } ValidationException::ValidationException(JsonView jsonValue) : - m_fieldListHasBeenSet(false), m_messageHasBeenSet(false), m_reason(ValidationExceptionReason::NOT_SET), - m_reasonHasBeenSet(false) + m_reasonHasBeenSet(false), + m_fieldListHasBeenSet(false) { *this = jsonValue; } ValidationException& ValidationException::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("fieldList")) - { - Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); - for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) - { - m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); - } - m_fieldListHasBeenSet = true; - } - if(jsonValue.ValueExists("message")) { m_message = jsonValue.GetString("message"); @@ -61,6 +51,16 @@ ValidationException& ValidationException::operator =(JsonView jsonValue) m_reasonHasBeenSet = true; } + if(jsonValue.ValueExists("fieldList")) + { + Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); + } + m_fieldListHasBeenSet = true; + } + return *this; } @@ -68,17 +68,6 @@ JsonValue ValidationException::Jsonize() const { JsonValue payload; - if(m_fieldListHasBeenSet) - { - Aws::Utils::Array fieldListJsonList(m_fieldList.size()); - for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) - { - fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); - } - payload.WithArray("fieldList", std::move(fieldListJsonList)); - - } - if(m_messageHasBeenSet) { payload.WithString("message", m_message); @@ -90,6 +79,17 @@ JsonValue ValidationException::Jsonize() const payload.WithString("reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); } + if(m_fieldListHasBeenSet) + { + Aws::Utils::Array fieldListJsonList(m_fieldList.size()); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); + } + payload.WithArray("fieldList", std::move(fieldListJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/ValidationExceptionField.cpp b/generated/src/aws-cpp-sdk-amp/source/model/ValidationExceptionField.cpp index 85ddaf88bfc..30e24414882 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/ValidationExceptionField.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/ValidationExceptionField.cpp @@ -19,32 +19,32 @@ namespace Model { ValidationExceptionField::ValidationExceptionField() : - m_messageHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_messageHasBeenSet(false) { } ValidationExceptionField::ValidationExceptionField(JsonView jsonValue) : - m_messageHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_messageHasBeenSet(false) { *this = jsonValue; } ValidationExceptionField& ValidationExceptionField::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("message")) + if(jsonValue.ValueExists("name")) { - m_message = jsonValue.GetString("message"); + m_name = jsonValue.GetString("name"); - m_messageHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("message")) { - m_name = jsonValue.GetString("name"); + m_message = jsonValue.GetString("message"); - m_nameHasBeenSet = true; + m_messageHasBeenSet = true; } return *this; @@ -54,15 +54,15 @@ JsonValue ValidationExceptionField::Jsonize() const { JsonValue payload; - if(m_messageHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("message", m_message); + payload.WithString("name", m_name); } - if(m_nameHasBeenSet) + if(m_messageHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("message", m_message); } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceDescription.cpp b/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceDescription.cpp index f281d88d95f..ced84a082fb 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceDescription.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceDescription.cpp @@ -19,30 +19,37 @@ namespace Model { WorkspaceDescription::WorkspaceDescription() : + m_workspaceIdHasBeenSet(false), m_aliasHasBeenSet(false), m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), - m_prometheusEndpointHasBeenSet(false), m_statusHasBeenSet(false), - m_tagsHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_prometheusEndpointHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_tagsHasBeenSet(false) { } WorkspaceDescription::WorkspaceDescription(JsonView jsonValue) : + m_workspaceIdHasBeenSet(false), m_aliasHasBeenSet(false), m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), - m_prometheusEndpointHasBeenSet(false), m_statusHasBeenSet(false), - m_tagsHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_prometheusEndpointHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_tagsHasBeenSet(false) { *this = jsonValue; } WorkspaceDescription& WorkspaceDescription::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("workspaceId")) + { + m_workspaceId = jsonValue.GetString("workspaceId"); + + m_workspaceIdHasBeenSet = true; + } + if(jsonValue.ValueExists("alias")) { m_alias = jsonValue.GetString("alias"); @@ -57,11 +64,11 @@ WorkspaceDescription& WorkspaceDescription::operator =(JsonView jsonValue) m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("status")) { - m_createdAt = jsonValue.GetDouble("createdAt"); + m_status = jsonValue.GetObject("status"); - m_createdAtHasBeenSet = true; + m_statusHasBeenSet = true; } if(jsonValue.ValueExists("prometheusEndpoint")) @@ -71,11 +78,11 @@ WorkspaceDescription& WorkspaceDescription::operator =(JsonView jsonValue) m_prometheusEndpointHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdAt")) { - m_status = jsonValue.GetObject("status"); + m_createdAt = jsonValue.GetDouble("createdAt"); - m_statusHasBeenSet = true; + m_createdAtHasBeenSet = true; } if(jsonValue.ValueExists("tags")) @@ -88,13 +95,6 @@ WorkspaceDescription& WorkspaceDescription::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } - if(jsonValue.ValueExists("workspaceId")) - { - m_workspaceId = jsonValue.GetString("workspaceId"); - - m_workspaceIdHasBeenSet = true; - } - return *this; } @@ -102,6 +102,12 @@ JsonValue WorkspaceDescription::Jsonize() const { JsonValue payload; + if(m_workspaceIdHasBeenSet) + { + payload.WithString("workspaceId", m_workspaceId); + + } + if(m_aliasHasBeenSet) { payload.WithString("alias", m_alias); @@ -114,9 +120,10 @@ JsonValue WorkspaceDescription::Jsonize() const } - if(m_createdAtHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + payload.WithObject("status", m_status.Jsonize()); + } if(m_prometheusEndpointHasBeenSet) @@ -125,10 +132,9 @@ JsonValue WorkspaceDescription::Jsonize() const } - if(m_statusHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithObject("status", m_status.Jsonize()); - + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); } if(m_tagsHasBeenSet) @@ -142,12 +148,6 @@ JsonValue WorkspaceDescription::Jsonize() const } - if(m_workspaceIdHasBeenSet) - { - payload.WithString("workspaceId", m_workspaceId); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceSummary.cpp b/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceSummary.cpp index eb11c26b49e..dbd6e76a7d3 100644 --- a/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceSummary.cpp +++ b/generated/src/aws-cpp-sdk-amp/source/model/WorkspaceSummary.cpp @@ -19,28 +19,35 @@ namespace Model { WorkspaceSummary::WorkspaceSummary() : + m_workspaceIdHasBeenSet(false), m_aliasHasBeenSet(false), m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), m_statusHasBeenSet(false), - m_tagsHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_createdAtHasBeenSet(false), + m_tagsHasBeenSet(false) { } WorkspaceSummary::WorkspaceSummary(JsonView jsonValue) : + m_workspaceIdHasBeenSet(false), m_aliasHasBeenSet(false), m_arnHasBeenSet(false), - m_createdAtHasBeenSet(false), m_statusHasBeenSet(false), - m_tagsHasBeenSet(false), - m_workspaceIdHasBeenSet(false) + m_createdAtHasBeenSet(false), + m_tagsHasBeenSet(false) { *this = jsonValue; } WorkspaceSummary& WorkspaceSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("workspaceId")) + { + m_workspaceId = jsonValue.GetString("workspaceId"); + + m_workspaceIdHasBeenSet = true; + } + if(jsonValue.ValueExists("alias")) { m_alias = jsonValue.GetString("alias"); @@ -55,18 +62,18 @@ WorkspaceSummary& WorkspaceSummary::operator =(JsonView jsonValue) m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("status")) { - m_createdAt = jsonValue.GetDouble("createdAt"); + m_status = jsonValue.GetObject("status"); - m_createdAtHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdAt")) { - m_status = jsonValue.GetObject("status"); + m_createdAt = jsonValue.GetDouble("createdAt"); - m_statusHasBeenSet = true; + m_createdAtHasBeenSet = true; } if(jsonValue.ValueExists("tags")) @@ -79,13 +86,6 @@ WorkspaceSummary& WorkspaceSummary::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } - if(jsonValue.ValueExists("workspaceId")) - { - m_workspaceId = jsonValue.GetString("workspaceId"); - - m_workspaceIdHasBeenSet = true; - } - return *this; } @@ -93,6 +93,12 @@ JsonValue WorkspaceSummary::Jsonize() const { JsonValue payload; + if(m_workspaceIdHasBeenSet) + { + payload.WithString("workspaceId", m_workspaceId); + + } + if(m_aliasHasBeenSet) { payload.WithString("alias", m_alias); @@ -105,17 +111,17 @@ JsonValue WorkspaceSummary::Jsonize() const } - if(m_createdAtHasBeenSet) - { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - if(m_statusHasBeenSet) { payload.WithObject("status", m_status.Jsonize()); } + if(m_createdAtHasBeenSet) + { + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + } + if(m_tagsHasBeenSet) { JsonValue tagsJsonMap; @@ -127,12 +133,6 @@ JsonValue WorkspaceSummary::Jsonize() const } - if(m_workspaceIdHasBeenSet) - { - payload.WithString("workspaceId", m_workspaceId); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/As2ConnectorConfig.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/As2ConnectorConfig.h index 653b228c3f9..4e491096afa 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/As2ConnectorConfig.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/As2ConnectorConfig.h @@ -389,6 +389,199 @@ namespace Model */ inline As2ConnectorConfig& WithMdnResponse(MdnResponse&& value) { SetMdnResponse(std::move(value)); return *this;} + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline const Aws::String& GetBasicAuthSecretId() const{ return m_basicAuthSecretId; } + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline bool BasicAuthSecretIdHasBeenSet() const { return m_basicAuthSecretIdHasBeenSet; } + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline void SetBasicAuthSecretId(const Aws::String& value) { m_basicAuthSecretIdHasBeenSet = true; m_basicAuthSecretId = value; } + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline void SetBasicAuthSecretId(Aws::String&& value) { m_basicAuthSecretIdHasBeenSet = true; m_basicAuthSecretId = std::move(value); } + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline void SetBasicAuthSecretId(const char* value) { m_basicAuthSecretIdHasBeenSet = true; m_basicAuthSecretId.assign(value); } + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline As2ConnectorConfig& WithBasicAuthSecretId(const Aws::String& value) { SetBasicAuthSecretId(value); return *this;} + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline As2ConnectorConfig& WithBasicAuthSecretId(Aws::String&& value) { SetBasicAuthSecretId(std::move(value)); return *this;} + + /** + *

Provides Basic authentication support to the AS2 Connectors API. To use Basic + * authentication, you must provide the name or Amazon Resource Name (ARN) of a + * secret in Secrets Manager.

The default value for this parameter is + * null, which indicates that Basic authentication is not enabled for + * the connector.

If the connector should use Basic authentication, the + * secret needs to be in the following format:

{ "Username": + * "user-name", "Password": "user-password" }

Replace + * user-name and user-password with the credentials for + * the actual user that is being authenticated.

Note the following:

    + *
  • You are storing these credentials in Secrets Manager, not passing + * them directly into this API.

  • If you are using the API, + * SDKs, or CloudFormation to configure your connector, then you must create the + * secret before you can enable Basic authentication. However, if you are using the + * Amazon Web Services management console, you can have the system create the + * secret for you.

If you have previously enabled Basic + * authentication for a connector, you can disable it by using the + * UpdateConnector API call. For example, if you are using the CLI, + * you can run the following command to remove Basic authentication:

+ * update-connector --connector-id my-connector-id --as2-config + * 'BasicAuthSecretId=""'

+ */ + inline As2ConnectorConfig& WithBasicAuthSecretId(const char* value) { SetBasicAuthSecretId(value); return *this;} + private: Aws::String m_localProfileId; @@ -414,6 +607,9 @@ namespace Model MdnResponse m_mdnResponse; bool m_mdnResponseHasBeenSet = false; + + Aws::String m_basicAuthSecretId; + bool m_basicAuthSecretIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateAgreementRequest.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateAgreementRequest.h index 8943fc39ded..b5d5ed0952a 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateAgreementRequest.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateAgreementRequest.h @@ -277,7 +277,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline const Aws::String& GetAccessRole() const{ return m_accessRole; } @@ -292,7 +297,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; } @@ -307,7 +317,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; } @@ -322,7 +337,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); } @@ -337,7 +357,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); } @@ -352,7 +377,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline CreateAgreementRequest& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;} @@ -367,7 +397,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline CreateAgreementRequest& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;} @@ -382,7 +417,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline CreateAgreementRequest& WithAccessRole(const char* value) { SetAccessRole(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateConnectorRequest.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateConnectorRequest.h index cecec52968d..f10c38add20 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateConnectorRequest.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateConnectorRequest.h @@ -120,7 +120,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline const Aws::String& GetAccessRole() const{ return m_accessRole; } @@ -135,7 +140,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; } @@ -150,7 +160,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; } @@ -165,7 +180,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); } @@ -180,7 +200,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); } @@ -195,7 +220,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline CreateConnectorRequest& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;} @@ -210,7 +240,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline CreateConnectorRequest& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;} @@ -225,7 +260,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline CreateConnectorRequest& WithAccessRole(const char* value) { SetAccessRole(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedAgreement.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedAgreement.h index 14e73f28209..8929203ad08 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedAgreement.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedAgreement.h @@ -399,7 +399,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline const Aws::String& GetAccessRole() const{ return m_accessRole; } @@ -414,7 +419,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; } @@ -429,7 +439,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; } @@ -444,7 +459,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); } @@ -459,7 +479,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); } @@ -474,7 +499,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline DescribedAgreement& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;} @@ -489,7 +519,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline DescribedAgreement& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;} @@ -504,7 +539,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline DescribedAgreement& WithAccessRole(const char* value) { SetAccessRole(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedConnector.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedConnector.h index 7d2a6035150..82550817ae6 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedConnector.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/DescribedConnector.h @@ -206,7 +206,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline const Aws::String& GetAccessRole() const{ return m_accessRole; } @@ -221,7 +226,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; } @@ -236,7 +246,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; } @@ -251,7 +266,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); } @@ -266,7 +286,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); } @@ -281,7 +306,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline DescribedConnector& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;} @@ -296,7 +326,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline DescribedConnector& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;} @@ -311,7 +346,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline DescribedConnector& WithAccessRole(const char* value) { SetAccessRole(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateAgreementRequest.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateAgreementRequest.h index a53acf6d61c..d891ed2ebd6 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateAgreementRequest.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateAgreementRequest.h @@ -385,7 +385,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline const Aws::String& GetAccessRole() const{ return m_accessRole; } @@ -400,7 +405,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; } @@ -415,7 +425,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; } @@ -430,7 +445,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); } @@ -445,7 +465,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); } @@ -460,7 +485,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline UpdateAgreementRequest& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;} @@ -475,7 +505,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline UpdateAgreementRequest& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;} @@ -490,7 +525,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline UpdateAgreementRequest& WithAccessRole(const char* value) { SetAccessRole(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateConnectorRequest.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateConnectorRequest.h index c55e9b6f07b..8f346b61557 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateConnectorRequest.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateConnectorRequest.h @@ -159,7 +159,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline const Aws::String& GetAccessRole() const{ return m_accessRole; } @@ -174,7 +179,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; } @@ -189,7 +199,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; } @@ -204,7 +219,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); } @@ -219,7 +239,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); } @@ -234,7 +259,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline UpdateConnectorRequest& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;} @@ -249,7 +279,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline UpdateConnectorRequest& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;} @@ -264,7 +299,12 @@ namespace Model * write access to the parent directory of the file location used in the * StartFileTransfer request. Additionally, you need to provide read * and write access to the parent directory of the files that you intend to send - * with StartFileTransfer.

+ * with StartFileTransfer.

If you are using Basic + * authentication for your AS2 connector, the access role requires the + * secretsmanager:GetSecretValue permission for the secret. If the + * secret is encrypted using a customer-managed key instead of the Amazon Web + * Services managed key in Secrets Manager, then the role also needs the + * kms:Decrypt permission for that key.

*/ inline UpdateConnectorRequest& WithAccessRole(const char* value) { SetAccessRole(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-awstransfer/source/model/As2ConnectorConfig.cpp b/generated/src/aws-cpp-sdk-awstransfer/source/model/As2ConnectorConfig.cpp index 4cff896a7a5..4164ba420fb 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/source/model/As2ConnectorConfig.cpp +++ b/generated/src/aws-cpp-sdk-awstransfer/source/model/As2ConnectorConfig.cpp @@ -31,7 +31,8 @@ As2ConnectorConfig::As2ConnectorConfig() : m_mdnSigningAlgorithm(MdnSigningAlg::NOT_SET), m_mdnSigningAlgorithmHasBeenSet(false), m_mdnResponse(MdnResponse::NOT_SET), - m_mdnResponseHasBeenSet(false) + m_mdnResponseHasBeenSet(false), + m_basicAuthSecretIdHasBeenSet(false) { } @@ -48,7 +49,8 @@ As2ConnectorConfig::As2ConnectorConfig(JsonView jsonValue) : m_mdnSigningAlgorithm(MdnSigningAlg::NOT_SET), m_mdnSigningAlgorithmHasBeenSet(false), m_mdnResponse(MdnResponse::NOT_SET), - m_mdnResponseHasBeenSet(false) + m_mdnResponseHasBeenSet(false), + m_basicAuthSecretIdHasBeenSet(false) { *this = jsonValue; } @@ -111,6 +113,13 @@ As2ConnectorConfig& As2ConnectorConfig::operator =(JsonView jsonValue) m_mdnResponseHasBeenSet = true; } + if(jsonValue.ValueExists("BasicAuthSecretId")) + { + m_basicAuthSecretId = jsonValue.GetString("BasicAuthSecretId"); + + m_basicAuthSecretIdHasBeenSet = true; + } + return *this; } @@ -161,6 +170,12 @@ JsonValue As2ConnectorConfig::Jsonize() const payload.WithString("MdnResponse", MdnResponseMapper::GetNameForMdnResponse(m_mdnResponse)); } + if(m_basicAuthSecretIdHasBeenSet) + { + payload.WithString("BasicAuthSecretId", m_basicAuthSecretId); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ContainerDefinition.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ContainerDefinition.h index 7c9d2b315ee..ac6f3638bfa 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ContainerDefinition.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ContainerDefinition.h @@ -4966,6 +4966,187 @@ namespace Model */ inline ContainerDefinition& WithFirelensConfiguration(FirelensConfiguration&& value) { SetFirelensConfiguration(std::move(value)); return *this;} + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline const Aws::Vector& GetCredentialSpecs() const{ return m_credentialSpecs; } + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline bool CredentialSpecsHasBeenSet() const { return m_credentialSpecsHasBeenSet; } + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline void SetCredentialSpecs(const Aws::Vector& value) { m_credentialSpecsHasBeenSet = true; m_credentialSpecs = value; } + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline void SetCredentialSpecs(Aws::Vector&& value) { m_credentialSpecsHasBeenSet = true; m_credentialSpecs = std::move(value); } + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline ContainerDefinition& WithCredentialSpecs(const Aws::Vector& value) { SetCredentialSpecs(value); return *this;} + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline ContainerDefinition& WithCredentialSpecs(Aws::Vector&& value) { SetCredentialSpecs(std::move(value)); return *this;} + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline ContainerDefinition& AddCredentialSpecs(const Aws::String& value) { m_credentialSpecsHasBeenSet = true; m_credentialSpecs.push_back(value); return *this; } + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline ContainerDefinition& AddCredentialSpecs(Aws::String&& value) { m_credentialSpecsHasBeenSet = true; m_credentialSpecs.push_back(std::move(value)); return *this; } + + /** + *

A list of ARNs in SSM or Amazon S3 to a credential spec + * (credspeccode>) file that configures a container for Active + * Directory authentication. This parameter is only used with domainless + * authentication.

The format for each ARN is + * credentialspecdomainless:MyARN. Replace MyARN with the + * ARN in SSM or Amazon S3.

The credspec must provide a ARN in + * Secrets Manager for a secret containing the username, password, and the domain + * to connect to. For better security, the instance isn't joined to the domain for + * domainless authentication. Other applications on the instance can't use the + * domainless credentials. You can use this parameter to run tasks on the same + * instance, even it the tasks need to join different domains. For more + * information, see Using + * gMSAs for Windows Containers and Using + * gMSAs for Linux Containers.

+ */ + inline ContainerDefinition& AddCredentialSpecs(const char* value) { m_credentialSpecsHasBeenSet = true; m_credentialSpecs.push_back(value); return *this; } + private: Aws::String m_name; @@ -5084,6 +5265,9 @@ namespace Model FirelensConfiguration m_firelensConfiguration; bool m_firelensConfigurationHasBeenSet = false; + + Aws::Vector m_credentialSpecs; + bool m_credentialSpecsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h index 053bea5b4f5..0ac7f901439 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h @@ -37,8 +37,10 @@ namespace Model * specified in a container definition override any Docker health checks that exist * in the container image.

You can view the health status of both * individual containers and a task with the DescribeTasks API operation or when - * viewing the task details in the console.

The following describes the - * possible healthStatus values for a container:

  • + * viewing the task details in the console.

    The health check is designed to + * make sure that your containers survive agent restarts, upgrades, or temporary + * unavailability.

    The following describes the possible + * healthStatus values for a container:

    • * HEALTHY-The container health check has passed successfully.

      *
    • UNHEALTHY-The container health check has failed.

      *
    • UNKNOWN-The container health check is being @@ -56,9 +58,13 @@ namespace Model * will continue its lifecycle regardless of its health status. For tasks that are * part of a service, if the task reports as unhealthy then the task will be * stopped and the service scheduler will replace it.

      The following are - * notes about container health check support:

      • Container health - * checks require version 1.17.0 or greater of the Amazon ECS container agent. For - * more information, see

        • When the Amazon ECS + * agent cannot connect to the Amazon ECS service, the service reports the + * container as UNHEALTHY.

        • The health check + * statuses are the "last heard from" response from the Amazon ECS agent. There are + * no assumptions made about the status of the container health checks.

        • + *
        • Container health checks require version 1.17.0 or greater of the Amazon + * ECS container agent. For more information, see Updating * the Amazon ECS container agent.

        • Container health checks * are supported for Fargate tasks if you're using platform version diff --git a/generated/src/aws-cpp-sdk-ecs/source/model/ContainerDefinition.cpp b/generated/src/aws-cpp-sdk-ecs/source/model/ContainerDefinition.cpp index d406ba1bcd2..385fbc3ea1c 100644 --- a/generated/src/aws-cpp-sdk-ecs/source/model/ContainerDefinition.cpp +++ b/generated/src/aws-cpp-sdk-ecs/source/model/ContainerDefinition.cpp @@ -68,7 +68,8 @@ ContainerDefinition::ContainerDefinition() : m_healthCheckHasBeenSet(false), m_systemControlsHasBeenSet(false), m_resourceRequirementsHasBeenSet(false), - m_firelensConfigurationHasBeenSet(false) + m_firelensConfigurationHasBeenSet(false), + m_credentialSpecsHasBeenSet(false) { } @@ -122,7 +123,8 @@ ContainerDefinition::ContainerDefinition(JsonView jsonValue) : m_healthCheckHasBeenSet(false), m_systemControlsHasBeenSet(false), m_resourceRequirementsHasBeenSet(false), - m_firelensConfigurationHasBeenSet(false) + m_firelensConfigurationHasBeenSet(false), + m_credentialSpecsHasBeenSet(false) { *this = jsonValue; } @@ -456,6 +458,16 @@ ContainerDefinition& ContainerDefinition::operator =(JsonView jsonValue) m_firelensConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("credentialSpecs")) + { + Aws::Utils::Array credentialSpecsJsonList = jsonValue.GetArray("credentialSpecs"); + for(unsigned credentialSpecsIndex = 0; credentialSpecsIndex < credentialSpecsJsonList.GetLength(); ++credentialSpecsIndex) + { + m_credentialSpecs.push_back(credentialSpecsJsonList[credentialSpecsIndex].AsString()); + } + m_credentialSpecsHasBeenSet = true; + } + return *this; } @@ -787,6 +799,17 @@ JsonValue ContainerDefinition::Jsonize() const } + if(m_credentialSpecsHasBeenSet) + { + Aws::Utils::Array credentialSpecsJsonList(m_credentialSpecs.size()); + for(unsigned credentialSpecsIndex = 0; credentialSpecsIndex < credentialSpecsJsonList.GetLength(); ++credentialSpecsIndex) + { + credentialSpecsJsonList[credentialSpecsIndex].AsString(m_credentialSpecs[credentialSpecsIndex]); + } + payload.WithArray("credentialSpecs", std::move(credentialSpecsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/CaptionSelector.h b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/CaptionSelector.h index 7a5cfd0cd0e..12968046f62 100644 --- a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/CaptionSelector.h +++ b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/CaptionSelector.h @@ -45,10 +45,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline const Aws::String& GetCustomLanguageCode() const{ return m_customLanguageCode; } @@ -56,10 +56,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline bool CustomLanguageCodeHasBeenSet() const { return m_customLanguageCodeHasBeenSet; } @@ -67,10 +67,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline void SetCustomLanguageCode(const Aws::String& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = value; } @@ -78,10 +78,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline void SetCustomLanguageCode(Aws::String&& value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode = std::move(value); } @@ -89,10 +89,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline void SetCustomLanguageCode(const char* value) { m_customLanguageCodeHasBeenSet = true; m_customLanguageCode.assign(value); } @@ -100,10 +100,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline CaptionSelector& WithCustomLanguageCode(const Aws::String& value) { SetCustomLanguageCode(value); return *this;} @@ -111,10 +111,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline CaptionSelector& WithCustomLanguageCode(Aws::String&& value) { SetCustomLanguageCode(std::move(value)); return *this;} @@ -122,10 +122,10 @@ namespace Model * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 * three-letter language code. If input is SCTE-27, complete this field and/or PID * to select the caption language to extract. If input is DVB-Sub and output is - * Burn-in or SMPTE-TT, complete this field and/or PID to select the caption - * language to extract. If input is DVB-Sub that is being passed through, omit this - * field (and PID field); there is no way to extract a specific language with - * pass-through captions. + * Burn-in, complete this field and/or PID to select the caption language to + * extract. If input is DVB-Sub that is being passed through, omit this field (and + * PID field); there is no way to extract a specific language with pass-through + * captions. */ inline CaptionSelector& WithCustomLanguageCode(const char* value) { SetCustomLanguageCode(value); return *this;} @@ -133,60 +133,60 @@ namespace Model /** * The specific language to extract from source. If input is SCTE-27, complete this * field and/or PID to select the caption language to extract. If input is DVB-Sub - * and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the - * caption language to extract. If input is DVB-Sub that is being passed through, - * omit this field (and PID field); there is no way to extract a specific language - * with pass-through captions. + * and output is Burn-in, complete this field and/or PID to select the caption + * language to extract. If input is DVB-Sub that is being passed through, omit this + * field (and PID field); there is no way to extract a specific language with + * pass-through captions. */ inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; } /** * The specific language to extract from source. If input is SCTE-27, complete this * field and/or PID to select the caption language to extract. If input is DVB-Sub - * and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the - * caption language to extract. If input is DVB-Sub that is being passed through, - * omit this field (and PID field); there is no way to extract a specific language - * with pass-through captions. + * and output is Burn-in, complete this field and/or PID to select the caption + * language to extract. If input is DVB-Sub that is being passed through, omit this + * field (and PID field); there is no way to extract a specific language with + * pass-through captions. */ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** * The specific language to extract from source. If input is SCTE-27, complete this * field and/or PID to select the caption language to extract. If input is DVB-Sub - * and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the - * caption language to extract. If input is DVB-Sub that is being passed through, - * omit this field (and PID field); there is no way to extract a specific language - * with pass-through captions. + * and output is Burn-in, complete this field and/or PID to select the caption + * language to extract. If input is DVB-Sub that is being passed through, omit this + * field (and PID field); there is no way to extract a specific language with + * pass-through captions. */ inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** * The specific language to extract from source. If input is SCTE-27, complete this * field and/or PID to select the caption language to extract. If input is DVB-Sub - * and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the - * caption language to extract. If input is DVB-Sub that is being passed through, - * omit this field (and PID field); there is no way to extract a specific language - * with pass-through captions. + * and output is Burn-in, complete this field and/or PID to select the caption + * language to extract. If input is DVB-Sub that is being passed through, omit this + * field (and PID field); there is no way to extract a specific language with + * pass-through captions. */ inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** * The specific language to extract from source. If input is SCTE-27, complete this * field and/or PID to select the caption language to extract. If input is DVB-Sub - * and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the - * caption language to extract. If input is DVB-Sub that is being passed through, - * omit this field (and PID field); there is no way to extract a specific language - * with pass-through captions. + * and output is Burn-in, complete this field and/or PID to select the caption + * language to extract. If input is DVB-Sub that is being passed through, omit this + * field (and PID field); there is no way to extract a specific language with + * pass-through captions. */ inline CaptionSelector& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;} /** * The specific language to extract from source. If input is SCTE-27, complete this * field and/or PID to select the caption language to extract. If input is DVB-Sub - * and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the - * caption language to extract. If input is DVB-Sub that is being passed through, - * omit this field (and PID field); there is no way to extract a specific language - * with pass-through captions. + * and output is Burn-in, complete this field and/or PID to select the caption + * language to extract. If input is DVB-Sub that is being passed through, omit this + * field (and PID field); there is no way to extract a specific language with + * pass-through captions. */ inline CaptionSelector& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/DvbSubSourceSettings.h b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/DvbSubSourceSettings.h index ce9347d3486..caaa122a9ae 100644 --- a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/DvbSubSourceSettings.h +++ b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/DvbSubSourceSettings.h @@ -36,30 +36,30 @@ namespace Model /** - * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source - * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, - * regardless of selectors. + * When using DVB-Sub with Burn-in, use this PID for the source content. Unused for + * DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of + * selectors. */ inline int GetPid() const{ return m_pid; } /** - * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source - * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, - * regardless of selectors. + * When using DVB-Sub with Burn-in, use this PID for the source content. Unused for + * DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of + * selectors. */ inline bool PidHasBeenSet() const { return m_pidHasBeenSet; } /** - * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source - * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, - * regardless of selectors. + * When using DVB-Sub with Burn-in, use this PID for the source content. Unused for + * DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of + * selectors. */ inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; } /** - * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source - * content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, - * regardless of selectors. + * When using DVB-Sub with Burn-in, use this PID for the source content. Unused for + * DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of + * selectors. */ inline DvbSubSourceSettings& WithPid(int value) { SetPid(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/HlsGroupSettings.h b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/HlsGroupSettings.h index 88778f68d8e..7a612e2551a 100644 --- a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/HlsGroupSettings.h +++ b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/HlsGroupSettings.h @@ -1323,28 +1323,28 @@ namespace Model /** * Specify the number of segments to write to a subdirectory before starting a new - * one. You must also set Directory structure to Subdirectory per stream for this + * one. You must also set Directory structure to Subdirectory per stream for this * setting to have an effect. */ inline int GetSegmentsPerSubdirectory() const{ return m_segmentsPerSubdirectory; } /** * Specify the number of segments to write to a subdirectory before starting a new - * one. You must also set Directory structure to Subdirectory per stream for this + * one. You must also set Directory structure to Subdirectory per stream for this * setting to have an effect. */ inline bool SegmentsPerSubdirectoryHasBeenSet() const { return m_segmentsPerSubdirectoryHasBeenSet; } /** * Specify the number of segments to write to a subdirectory before starting a new - * one. You must also set Directory structure to Subdirectory per stream for this + * one. You must also set Directory structure to Subdirectory per stream for this * setting to have an effect. */ inline void SetSegmentsPerSubdirectory(int value) { m_segmentsPerSubdirectoryHasBeenSet = true; m_segmentsPerSubdirectory = value; } /** * Specify the number of segments to write to a subdirectory before starting a new - * one. You must also set Directory structure to Subdirectory per stream for this + * one. You must also set Directory structure to Subdirectory per stream for this * setting to have an effect. */ inline HlsGroupSettings& WithSegmentsPerSubdirectory(int value) { SetSegmentsPerSubdirectory(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/MxfSettings.h b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/MxfSettings.h index 48264a972fa..e6ae5abf59b 100644 --- a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/MxfSettings.h +++ b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/MxfSettings.h @@ -113,9 +113,9 @@ namespace Model /** - * Specify the MXF profile, also called shim, for this output. When you choose - * Auto, MediaConvert chooses a profile based on the video codec and resolution. - * For a list of codecs supported with each MXF profile, see + * Specify the MXF profile, also called shim, for this output. To automatically + * select a profile according to your output video codec and resolution, leave + * blank. For a list of codecs supported with each MXF profile, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. * For more information about the automatic selection behavior, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html. @@ -123,9 +123,9 @@ namespace Model inline const MxfProfile& GetProfile() const{ return m_profile; } /** - * Specify the MXF profile, also called shim, for this output. When you choose - * Auto, MediaConvert chooses a profile based on the video codec and resolution. - * For a list of codecs supported with each MXF profile, see + * Specify the MXF profile, also called shim, for this output. To automatically + * select a profile according to your output video codec and resolution, leave + * blank. For a list of codecs supported with each MXF profile, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. * For more information about the automatic selection behavior, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html. @@ -133,9 +133,9 @@ namespace Model inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; } /** - * Specify the MXF profile, also called shim, for this output. When you choose - * Auto, MediaConvert chooses a profile based on the video codec and resolution. - * For a list of codecs supported with each MXF profile, see + * Specify the MXF profile, also called shim, for this output. To automatically + * select a profile according to your output video codec and resolution, leave + * blank. For a list of codecs supported with each MXF profile, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. * For more information about the automatic selection behavior, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html. @@ -143,9 +143,9 @@ namespace Model inline void SetProfile(const MxfProfile& value) { m_profileHasBeenSet = true; m_profile = value; } /** - * Specify the MXF profile, also called shim, for this output. When you choose - * Auto, MediaConvert chooses a profile based on the video codec and resolution. - * For a list of codecs supported with each MXF profile, see + * Specify the MXF profile, also called shim, for this output. To automatically + * select a profile according to your output video codec and resolution, leave + * blank. For a list of codecs supported with each MXF profile, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. * For more information about the automatic selection behavior, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html. @@ -153,9 +153,9 @@ namespace Model inline void SetProfile(MxfProfile&& value) { m_profileHasBeenSet = true; m_profile = std::move(value); } /** - * Specify the MXF profile, also called shim, for this output. When you choose - * Auto, MediaConvert chooses a profile based on the video codec and resolution. - * For a list of codecs supported with each MXF profile, see + * Specify the MXF profile, also called shim, for this output. To automatically + * select a profile according to your output video codec and resolution, leave + * blank. For a list of codecs supported with each MXF profile, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. * For more information about the automatic selection behavior, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html. @@ -163,9 +163,9 @@ namespace Model inline MxfSettings& WithProfile(const MxfProfile& value) { SetProfile(value); return *this;} /** - * Specify the MXF profile, also called shim, for this output. When you choose - * Auto, MediaConvert chooses a profile based on the video codec and resolution. - * For a list of codecs supported with each MXF profile, see + * Specify the MXF profile, also called shim, for this output. To automatically + * select a profile according to your output video codec and resolution, leave + * blank. For a list of codecs supported with each MXF profile, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. * For more information about the automatic selection behavior, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html. diff --git a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoCodecSettings.h b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoCodecSettings.h index b9fe91d9ab4..4fa6b4ec079 100644 --- a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoCodecSettings.h +++ b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoCodecSettings.h @@ -151,7 +151,7 @@ namespace Model /** * Specifies the video codec. This must be equal to one of the enum values defined * by the object VideoCodec. To passthrough the video stream of your input - * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: + * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: * Choose Passthrough. If you have multiple input videos, note that they must have * identical encoding attributes. When you choose Passthrough, your output * container must be MXF or QuickTime MOV. @@ -161,7 +161,7 @@ namespace Model /** * Specifies the video codec. This must be equal to one of the enum values defined * by the object VideoCodec. To passthrough the video stream of your input - * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: + * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: * Choose Passthrough. If you have multiple input videos, note that they must have * identical encoding attributes. When you choose Passthrough, your output * container must be MXF or QuickTime MOV. @@ -171,7 +171,7 @@ namespace Model /** * Specifies the video codec. This must be equal to one of the enum values defined * by the object VideoCodec. To passthrough the video stream of your input - * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: + * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: * Choose Passthrough. If you have multiple input videos, note that they must have * identical encoding attributes. When you choose Passthrough, your output * container must be MXF or QuickTime MOV. @@ -181,7 +181,7 @@ namespace Model /** * Specifies the video codec. This must be equal to one of the enum values defined * by the object VideoCodec. To passthrough the video stream of your input - * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: + * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: * Choose Passthrough. If you have multiple input videos, note that they must have * identical encoding attributes. When you choose Passthrough, your output * container must be MXF or QuickTime MOV. @@ -191,7 +191,7 @@ namespace Model /** * Specifies the video codec. This must be equal to one of the enum values defined * by the object VideoCodec. To passthrough the video stream of your input - * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: + * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: * Choose Passthrough. If you have multiple input videos, note that they must have * identical encoding attributes. When you choose Passthrough, your output * container must be MXF or QuickTime MOV. @@ -201,7 +201,7 @@ namespace Model /** * Specifies the video codec. This must be equal to one of the enum values defined * by the object VideoCodec. To passthrough the video stream of your input - * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: + * JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: * Choose Passthrough. If you have multiple input videos, note that they must have * identical encoding attributes. When you choose Passthrough, your output * container must be MXF or QuickTime MOV. diff --git a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoPreprocessor.h b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoPreprocessor.h index 58ed4679b1f..a869e264085 100644 --- a/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoPreprocessor.h +++ b/generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/VideoPreprocessor.h @@ -164,32 +164,32 @@ namespace Model /** - * Enable HDR10+ analyis and metadata injection. Compatible with HEVC only. + * Enable HDR10+ analysis and metadata injection. Compatible with HEVC only. */ inline const Hdr10Plus& GetHdr10Plus() const{ return m_hdr10Plus; } /** - * Enable HDR10+ analyis and metadata injection. Compatible with HEVC only. + * Enable HDR10+ analysis and metadata injection. Compatible with HEVC only. */ inline bool Hdr10PlusHasBeenSet() const { return m_hdr10PlusHasBeenSet; } /** - * Enable HDR10+ analyis and metadata injection. Compatible with HEVC only. + * Enable HDR10+ analysis and metadata injection. Compatible with HEVC only. */ inline void SetHdr10Plus(const Hdr10Plus& value) { m_hdr10PlusHasBeenSet = true; m_hdr10Plus = value; } /** - * Enable HDR10+ analyis and metadata injection. Compatible with HEVC only. + * Enable HDR10+ analysis and metadata injection. Compatible with HEVC only. */ inline void SetHdr10Plus(Hdr10Plus&& value) { m_hdr10PlusHasBeenSet = true; m_hdr10Plus = std::move(value); } /** - * Enable HDR10+ analyis and metadata injection. Compatible with HEVC only. + * Enable HDR10+ analysis and metadata injection. Compatible with HEVC only. */ inline VideoPreprocessor& WithHdr10Plus(const Hdr10Plus& value) { SetHdr10Plus(value); return *this;} /** - * Enable HDR10+ analyis and metadata injection. Compatible with HEVC only. + * Enable HDR10+ analysis and metadata injection. Compatible with HEVC only. */ inline VideoPreprocessor& WithHdr10Plus(Hdr10Plus&& value) { SetHdr10Plus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CapacitySize.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CapacitySize.h index 8a9ae97d10d..e7da4c95a61 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CapacitySize.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CapacitySize.h @@ -24,8 +24,13 @@ namespace Model { /** - *

          Specifies the endpoint capacity to activate for production.

          See - * Also:

          Specifies the type and size of the endpoint capacity to activate for a + * blue/green deployment, a rolling deployment, or a rollback strategy. You can + * specify your batches as either instance count or the overall percentage or your + * fleet.

          For a rollback strategy, if you don't specify the fields in this + * object, or if you set the Value to 100%, then SageMaker uses a + * blue/green rollback strategy and rolls all traffic back to the blue + * fleet.

          See Also:

          AWS * API Reference

          */ diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h index 6952edb1418..50383703ce5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -142,6 +143,43 @@ namespace Model */ inline DeploymentConfig& WithAutoRollbackConfiguration(AutoRollbackConfig&& value) { SetAutoRollbackConfiguration(std::move(value)); return *this;} + + /** + *

          Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

          + */ + inline const RollingUpdatePolicy& GetRollingUpdatePolicy() const{ return m_rollingUpdatePolicy; } + + /** + *

          Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

          + */ + inline bool RollingUpdatePolicyHasBeenSet() const { return m_rollingUpdatePolicyHasBeenSet; } + + /** + *

          Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

          + */ + inline void SetRollingUpdatePolicy(const RollingUpdatePolicy& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = value; } + + /** + *

          Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

          + */ + inline void SetRollingUpdatePolicy(RollingUpdatePolicy&& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = std::move(value); } + + /** + *

          Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

          + */ + inline DeploymentConfig& WithRollingUpdatePolicy(const RollingUpdatePolicy& value) { SetRollingUpdatePolicy(value); return *this;} + + /** + *

          Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

          + */ + inline DeploymentConfig& WithRollingUpdatePolicy(RollingUpdatePolicy&& value) { SetRollingUpdatePolicy(std::move(value)); return *this;} + private: BlueGreenUpdatePolicy m_blueGreenUpdatePolicy; @@ -149,6 +187,9 @@ namespace Model AutoRollbackConfig m_autoRollbackConfiguration; bool m_autoRollbackConfigurationHasBeenSet = false; + + RollingUpdatePolicy m_rollingUpdatePolicy; + bool m_rollingUpdatePolicyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStatus.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStatus.h index 201f50d222c..299a53b606e 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStatus.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStatus.h @@ -23,7 +23,8 @@ namespace Model RollingBack, InService, Deleting, - Failed + Failed, + UpdateRollbackFailed }; namespace EndpointStatusMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RollingUpdatePolicy.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RollingUpdatePolicy.h new file mode 100644 index 00000000000..0073efebecf --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RollingUpdatePolicy.h @@ -0,0 +1,205 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace SageMaker +{ +namespace Model +{ + + /** + *

          Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

          See Also:

          AWS + * API Reference

          + */ + class RollingUpdatePolicy + { + public: + AWS_SAGEMAKER_API RollingUpdatePolicy(); + AWS_SAGEMAKER_API RollingUpdatePolicy(Aws::Utils::Json::JsonView jsonValue); + AWS_SAGEMAKER_API RollingUpdatePolicy& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

          Batch size for each rolling step to provision capacity and turn on traffic on + * the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value + * must be between 5% to 50% of the variant's total instance count.

          + */ + inline const CapacitySize& GetMaximumBatchSize() const{ return m_maximumBatchSize; } + + /** + *

          Batch size for each rolling step to provision capacity and turn on traffic on + * the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value + * must be between 5% to 50% of the variant's total instance count.

          + */ + inline bool MaximumBatchSizeHasBeenSet() const { return m_maximumBatchSizeHasBeenSet; } + + /** + *

          Batch size for each rolling step to provision capacity and turn on traffic on + * the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value + * must be between 5% to 50% of the variant's total instance count.

          + */ + inline void SetMaximumBatchSize(const CapacitySize& value) { m_maximumBatchSizeHasBeenSet = true; m_maximumBatchSize = value; } + + /** + *

          Batch size for each rolling step to provision capacity and turn on traffic on + * the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value + * must be between 5% to 50% of the variant's total instance count.

          + */ + inline void SetMaximumBatchSize(CapacitySize&& value) { m_maximumBatchSizeHasBeenSet = true; m_maximumBatchSize = std::move(value); } + + /** + *

          Batch size for each rolling step to provision capacity and turn on traffic on + * the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value + * must be between 5% to 50% of the variant's total instance count.

          + */ + inline RollingUpdatePolicy& WithMaximumBatchSize(const CapacitySize& value) { SetMaximumBatchSize(value); return *this;} + + /** + *

          Batch size for each rolling step to provision capacity and turn on traffic on + * the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value + * must be between 5% to 50% of the variant's total instance count.

          + */ + inline RollingUpdatePolicy& WithMaximumBatchSize(CapacitySize&& value) { SetMaximumBatchSize(std::move(value)); return *this;} + + + /** + *

          The length of the baking period, during which SageMaker monitors alarms for + * each batch on the new fleet.

          + */ + inline int GetWaitIntervalInSeconds() const{ return m_waitIntervalInSeconds; } + + /** + *

          The length of the baking period, during which SageMaker monitors alarms for + * each batch on the new fleet.

          + */ + inline bool WaitIntervalInSecondsHasBeenSet() const { return m_waitIntervalInSecondsHasBeenSet; } + + /** + *

          The length of the baking period, during which SageMaker monitors alarms for + * each batch on the new fleet.

          + */ + inline void SetWaitIntervalInSeconds(int value) { m_waitIntervalInSecondsHasBeenSet = true; m_waitIntervalInSeconds = value; } + + /** + *

          The length of the baking period, during which SageMaker monitors alarms for + * each batch on the new fleet.

          + */ + inline RollingUpdatePolicy& WithWaitIntervalInSeconds(int value) { SetWaitIntervalInSeconds(value); return *this;} + + + /** + *

          The time limit for the total deployment. Exceeding this limit causes a + * timeout.

          + */ + inline int GetMaximumExecutionTimeoutInSeconds() const{ return m_maximumExecutionTimeoutInSeconds; } + + /** + *

          The time limit for the total deployment. Exceeding this limit causes a + * timeout.

          + */ + inline bool MaximumExecutionTimeoutInSecondsHasBeenSet() const { return m_maximumExecutionTimeoutInSecondsHasBeenSet; } + + /** + *

          The time limit for the total deployment. Exceeding this limit causes a + * timeout.

          + */ + inline void SetMaximumExecutionTimeoutInSeconds(int value) { m_maximumExecutionTimeoutInSecondsHasBeenSet = true; m_maximumExecutionTimeoutInSeconds = value; } + + /** + *

          The time limit for the total deployment. Exceeding this limit causes a + * timeout.

          + */ + inline RollingUpdatePolicy& WithMaximumExecutionTimeoutInSeconds(int value) { SetMaximumExecutionTimeoutInSeconds(value); return *this;} + + + /** + *

          Batch size for rollback to the old endpoint fleet. Each rolling step to + * provision capacity and turn on traffic on the old endpoint fleet, and terminate + * capacity on the new endpoint fleet. If this field is absent, the default value + * will be set to 100% of total capacity which means to bring up the whole capacity + * of the old fleet at once during rollback.

          + */ + inline const CapacitySize& GetRollbackMaximumBatchSize() const{ return m_rollbackMaximumBatchSize; } + + /** + *

          Batch size for rollback to the old endpoint fleet. Each rolling step to + * provision capacity and turn on traffic on the old endpoint fleet, and terminate + * capacity on the new endpoint fleet. If this field is absent, the default value + * will be set to 100% of total capacity which means to bring up the whole capacity + * of the old fleet at once during rollback.

          + */ + inline bool RollbackMaximumBatchSizeHasBeenSet() const { return m_rollbackMaximumBatchSizeHasBeenSet; } + + /** + *

          Batch size for rollback to the old endpoint fleet. Each rolling step to + * provision capacity and turn on traffic on the old endpoint fleet, and terminate + * capacity on the new endpoint fleet. If this field is absent, the default value + * will be set to 100% of total capacity which means to bring up the whole capacity + * of the old fleet at once during rollback.

          + */ + inline void SetRollbackMaximumBatchSize(const CapacitySize& value) { m_rollbackMaximumBatchSizeHasBeenSet = true; m_rollbackMaximumBatchSize = value; } + + /** + *

          Batch size for rollback to the old endpoint fleet. Each rolling step to + * provision capacity and turn on traffic on the old endpoint fleet, and terminate + * capacity on the new endpoint fleet. If this field is absent, the default value + * will be set to 100% of total capacity which means to bring up the whole capacity + * of the old fleet at once during rollback.

          + */ + inline void SetRollbackMaximumBatchSize(CapacitySize&& value) { m_rollbackMaximumBatchSizeHasBeenSet = true; m_rollbackMaximumBatchSize = std::move(value); } + + /** + *

          Batch size for rollback to the old endpoint fleet. Each rolling step to + * provision capacity and turn on traffic on the old endpoint fleet, and terminate + * capacity on the new endpoint fleet. If this field is absent, the default value + * will be set to 100% of total capacity which means to bring up the whole capacity + * of the old fleet at once during rollback.

          + */ + inline RollingUpdatePolicy& WithRollbackMaximumBatchSize(const CapacitySize& value) { SetRollbackMaximumBatchSize(value); return *this;} + + /** + *

          Batch size for rollback to the old endpoint fleet. Each rolling step to + * provision capacity and turn on traffic on the old endpoint fleet, and terminate + * capacity on the new endpoint fleet. If this field is absent, the default value + * will be set to 100% of total capacity which means to bring up the whole capacity + * of the old fleet at once during rollback.

          + */ + inline RollingUpdatePolicy& WithRollbackMaximumBatchSize(CapacitySize&& value) { SetRollbackMaximumBatchSize(std::move(value)); return *this;} + + private: + + CapacitySize m_maximumBatchSize; + bool m_maximumBatchSizeHasBeenSet = false; + + int m_waitIntervalInSeconds; + bool m_waitIntervalInSecondsHasBeenSet = false; + + int m_maximumExecutionTimeoutInSeconds; + bool m_maximumExecutionTimeoutInSecondsHasBeenSet = false; + + CapacitySize m_rollbackMaximumBatchSize; + bool m_rollbackMaximumBatchSizeHasBeenSet = false; + }; + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp index 939b7c6b16e..14c020239f1 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp @@ -20,13 +20,15 @@ namespace Model DeploymentConfig::DeploymentConfig() : m_blueGreenUpdatePolicyHasBeenSet(false), - m_autoRollbackConfigurationHasBeenSet(false) + m_autoRollbackConfigurationHasBeenSet(false), + m_rollingUpdatePolicyHasBeenSet(false) { } DeploymentConfig::DeploymentConfig(JsonView jsonValue) : m_blueGreenUpdatePolicyHasBeenSet(false), - m_autoRollbackConfigurationHasBeenSet(false) + m_autoRollbackConfigurationHasBeenSet(false), + m_rollingUpdatePolicyHasBeenSet(false) { *this = jsonValue; } @@ -47,6 +49,13 @@ DeploymentConfig& DeploymentConfig::operator =(JsonView jsonValue) m_autoRollbackConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("RollingUpdatePolicy")) + { + m_rollingUpdatePolicy = jsonValue.GetObject("RollingUpdatePolicy"); + + m_rollingUpdatePolicyHasBeenSet = true; + } + return *this; } @@ -66,6 +75,12 @@ JsonValue DeploymentConfig::Jsonize() const } + if(m_rollingUpdatePolicyHasBeenSet) + { + payload.WithObject("RollingUpdatePolicy", m_rollingUpdatePolicy.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStatus.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStatus.cpp index a8bc5675aac..d98d6d0228b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStatus.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStatus.cpp @@ -28,6 +28,7 @@ namespace Aws static const int InService_HASH = HashingUtils::HashString("InService"); static const int Deleting_HASH = HashingUtils::HashString("Deleting"); static const int Failed_HASH = HashingUtils::HashString("Failed"); + static const int UpdateRollbackFailed_HASH = HashingUtils::HashString("UpdateRollbackFailed"); EndpointStatus GetEndpointStatusForName(const Aws::String& name) @@ -65,6 +66,10 @@ namespace Aws { return EndpointStatus::Failed; } + else if (hashCode == UpdateRollbackFailed_HASH) + { + return EndpointStatus::UpdateRollbackFailed; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -95,6 +100,8 @@ namespace Aws return "Deleting"; case EndpointStatus::Failed: return "Failed"; + case EndpointStatus::UpdateRollbackFailed: + return "UpdateRollbackFailed"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/RollingUpdatePolicy.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/RollingUpdatePolicy.cpp new file mode 100644 index 00000000000..4106cf0ee6d --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/RollingUpdatePolicy.cpp @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace SageMaker +{ +namespace Model +{ + +RollingUpdatePolicy::RollingUpdatePolicy() : + m_maximumBatchSizeHasBeenSet(false), + m_waitIntervalInSeconds(0), + m_waitIntervalInSecondsHasBeenSet(false), + m_maximumExecutionTimeoutInSeconds(0), + m_maximumExecutionTimeoutInSecondsHasBeenSet(false), + m_rollbackMaximumBatchSizeHasBeenSet(false) +{ +} + +RollingUpdatePolicy::RollingUpdatePolicy(JsonView jsonValue) : + m_maximumBatchSizeHasBeenSet(false), + m_waitIntervalInSeconds(0), + m_waitIntervalInSecondsHasBeenSet(false), + m_maximumExecutionTimeoutInSeconds(0), + m_maximumExecutionTimeoutInSecondsHasBeenSet(false), + m_rollbackMaximumBatchSizeHasBeenSet(false) +{ + *this = jsonValue; +} + +RollingUpdatePolicy& RollingUpdatePolicy::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("MaximumBatchSize")) + { + m_maximumBatchSize = jsonValue.GetObject("MaximumBatchSize"); + + m_maximumBatchSizeHasBeenSet = true; + } + + if(jsonValue.ValueExists("WaitIntervalInSeconds")) + { + m_waitIntervalInSeconds = jsonValue.GetInteger("WaitIntervalInSeconds"); + + m_waitIntervalInSecondsHasBeenSet = true; + } + + if(jsonValue.ValueExists("MaximumExecutionTimeoutInSeconds")) + { + m_maximumExecutionTimeoutInSeconds = jsonValue.GetInteger("MaximumExecutionTimeoutInSeconds"); + + m_maximumExecutionTimeoutInSecondsHasBeenSet = true; + } + + if(jsonValue.ValueExists("RollbackMaximumBatchSize")) + { + m_rollbackMaximumBatchSize = jsonValue.GetObject("RollbackMaximumBatchSize"); + + m_rollbackMaximumBatchSizeHasBeenSet = true; + } + + return *this; +} + +JsonValue RollingUpdatePolicy::Jsonize() const +{ + JsonValue payload; + + if(m_maximumBatchSizeHasBeenSet) + { + payload.WithObject("MaximumBatchSize", m_maximumBatchSize.Jsonize()); + + } + + if(m_waitIntervalInSecondsHasBeenSet) + { + payload.WithInteger("WaitIntervalInSeconds", m_waitIntervalInSeconds); + + } + + if(m_maximumExecutionTimeoutInSecondsHasBeenSet) + { + payload.WithInteger("MaximumExecutionTimeoutInSeconds", m_maximumExecutionTimeoutInSeconds); + + } + + if(m_rollbackMaximumBatchSizeHasBeenSet) + { + payload.WithObject("RollbackMaximumBatchSize", m_rollbackMaximumBatchSize.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreateIdentitySourceRequest.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreateIdentitySourceRequest.h index 87e3cb6b804..5aa2f43a3a9 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreateIdentitySourceRequest.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreateIdentitySourceRequest.h @@ -42,7 +42,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -56,7 +56,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -70,7 +70,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -84,7 +84,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -98,7 +98,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -112,7 +112,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -126,7 +126,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -140,7 +140,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyRequest.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyRequest.h index b7cdd8883ff..15e3c79eaee 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyRequest.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyRequest.h @@ -42,7 +42,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -56,7 +56,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -70,7 +70,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -84,7 +84,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -98,7 +98,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -112,7 +112,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -126,7 +126,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -140,7 +140,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyStoreRequest.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyStoreRequest.h index a0b33ade9a5..390f02a3926 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyStoreRequest.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyStoreRequest.h @@ -42,7 +42,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -56,7 +56,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -70,7 +70,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -84,7 +84,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -98,7 +98,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -112,7 +112,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -126,7 +126,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -140,7 +140,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyTemplateRequest.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyTemplateRequest.h index 273d140ac1c..a6e1986dcd6 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyTemplateRequest.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyTemplateRequest.h @@ -41,7 +41,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -55,7 +55,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -69,7 +69,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -83,7 +83,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -97,7 +97,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -111,7 +111,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -125,7 +125,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an @@ -139,7 +139,7 @@ namespace Model * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of + * href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of * value..

          If you don't provide this value, then Amazon Web Services * generates a random one for you.

          If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/EvaluationErrorItem.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/EvaluationErrorItem.h index c1b21b93c1f..c2b9859a7e7 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/EvaluationErrorItem.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/EvaluationErrorItem.h @@ -26,9 +26,9 @@ namespace Model /** *

          Contains a description of an evaluation error.

          This data type is used * as a request parameter in the IsAuthorized + * href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html">IsAuthorized * and IsAuthorizedWithToken + * href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html">IsAuthorizedWithToken * operations.

          See Also:

          AWS * API Reference

          diff --git a/generated/tests/amp-gen-tests/PrometheusServiceEndpointProviderTests.cpp b/generated/tests/amp-gen-tests/PrometheusServiceEndpointProviderTests.cpp index 2bdc5e27e66..404931775fd 100644 --- a/generated/tests/amp-gen-tests/PrometheusServiceEndpointProviderTests.cpp +++ b/generated/tests/amp-gen-tests/PrometheusServiceEndpointProviderTests.cpp @@ -55,26 +55,26 @@ struct PrometheusServiceEndpointProviderEndpointTestCase static const Aws::Vector TEST_CASES = { /*TEST CASE 0*/ - {"For region eu-central-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", true)}, // params + {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-central-1.api.aws", + {{/*epUrl*/"https://aps.ap-northeast-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 1*/ - {"For region eu-central-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params + {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-central-1.amazonaws.com", + {{/*epUrl*/"https://aps.ap-southeast-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 2*/ - {"For region eu-central-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", true)}, // params + {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.eu-central-1.api.aws", + {{/*epUrl*/"https://aps.ap-southeast-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, @@ -87,315 +87,233 @@ static const Aws::Vector TEST {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 4*/ - {"For region us-west-2 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-west-2"), EpParam("UseDualStack", true)}, // params + {"For region eu-north-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.us-west-2.api.aws", + {{/*epUrl*/"https://aps.eu-north-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 5*/ - {"For region us-west-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params + {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.us-west-2.amazonaws.com", + {{/*epUrl*/"https://aps.eu-west-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 6*/ - {"For region us-west-2 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", true)}, // params + {"For region eu-west-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.us-west-2.api.aws", + {{/*epUrl*/"https://aps.eu-west-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 7*/ - {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params + {"For region us-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.us-west-2.amazonaws.com", + {{/*epUrl*/"https://aps.us-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 8*/ - {"For region eu-north-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", true)}, // params + {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-north-1.api.aws", + {{/*epUrl*/"https://aps.us-east-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 9*/ - {"For region eu-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", false)}, // params + {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-north-1.amazonaws.com", + {{/*epUrl*/"https://aps.us-west-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 10*/ - {"For region eu-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", true)}, // params + {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps.eu-north-1.api.aws", + {{/*epUrl*/"https://aps-fips.us-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 11*/ - {"For region eu-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", false)}, // params + {"For region us-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.eu-north-1.amazonaws.com", + {{/*epUrl*/"https://aps-fips.us-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 12*/ - {"For region eu-west-2 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", true)}, // params + {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-west-2.api.aws", + {{/*epUrl*/"https://aps.us-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 13*/ - {"For region eu-west-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params + {"For region cn-north-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-west-2.amazonaws.com", + {{/*epUrl*/"https://aps-fips.cn-north-1.api.amazonwebservices.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 14*/ - {"For region eu-west-2 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", true)}, // params + {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.eu-west-2.api.aws", + {{/*epUrl*/"https://aps-fips.cn-north-1.amazonaws.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 15*/ - {"For region eu-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params + {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps.eu-west-2.amazonaws.com", + {{/*epUrl*/"https://aps.cn-north-1.api.amazonwebservices.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 16*/ - {"For region eu-west-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", true)}, // params + {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-west-1.api.aws", + {{/*epUrl*/"https://aps.cn-north-1.amazonaws.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 17*/ - {"For region eu-west-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params + {"For region us-gov-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.eu-west-1.amazonaws.com", + {{/*epUrl*/"https://aps-fips.us-gov-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 18*/ - {"For region eu-west-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", true)}, // params + {"For region us-gov-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.eu-west-1.api.aws", + {{/*epUrl*/"https://aps-fips.us-gov-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 19*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params + {"For region us-gov-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps.eu-west-1.amazonaws.com", + {{/*epUrl*/"https://aps.us-gov-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 20*/ - {"For region ap-northeast-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", true)}, // params + {"For region us-gov-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.ap-northeast-1.api.aws", + {{/*epUrl*/"https://aps.us-gov-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 21*/ - {"For region ap-northeast-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params + {"For region us-iso-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.ap-northeast-1.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, /*TEST CASE 22*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", true)}, // params + {"For region us-iso-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.ap-northeast-1.api.aws", + {{/*epUrl*/"https://aps-fips.us-iso-east-1.c2s.ic.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 23*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params + {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps.ap-northeast-1.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect }, /*TEST CASE 24*/ - {"For region ap-southeast-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", true)}, // params + {"For region us-iso-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.ap-southeast-1.api.aws", + {{/*epUrl*/"https://aps.us-iso-east-1.c2s.ic.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 25*/ - {"For region ap-southeast-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params + {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.ap-southeast-1.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, /*TEST CASE 26*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", true)}, // params + {"For region us-isob-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps.ap-southeast-1.api.aws", + {{/*epUrl*/"https://aps-fips.us-isob-east-1.sc2s.sgov.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 27*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params + {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://aps.ap-southeast-1.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect }, /*TEST CASE 28*/ - {"For region ap-southeast-2 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", true)}, // params + {"For region us-isob-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.ap-southeast-2.api.aws", + {{/*epUrl*/"https://aps.us-isob-east-1.sc2s.sgov.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 29*/ - {"For region ap-southeast-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params + {"For custom endpoint with region set and fips disabled and dualstack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), + EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://aps-fips.ap-southeast-2.amazonaws.com", + {{/*epUrl*/"https://example.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 30*/ - {"For region ap-southeast-2 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://aps.ap-southeast-2.api.aws", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 31*/ - {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://aps.ap-southeast-2.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 32*/ - {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://aps-fips.us-east-1.api.aws", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 33*/ - {"For region us-east-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://aps-fips.us-east-1.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 34*/ - {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://aps.us-east-1.api.aws", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 35*/ - {"For region us-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://aps.us-east-1.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 36*/ - {"For region us-east-2 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-2"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://aps-fips.us-east-2.api.aws", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 37*/ - {"For region us-east-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://aps-fips.us-east-2.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 38*/ - {"For region us-east-2 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://aps.us-east-2.api.aws", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 39*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://aps.us-east-2.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 40*/ - {"For custom endpoint with fips disabled and dualstack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), - EpParam("UseDualStack", false)}, // params + {"For custom endpoint with region not set and fips disabled and dualstack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("UseDualStack", false)}, // params {}, // tags {{/*epUrl*/"https://example.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 41*/ + /*TEST CASE 31*/ {"For custom endpoint with fips enabled and dualstack disabled", // documentation {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect }, - /*TEST CASE 42*/ + /*TEST CASE 32*/ {"For custom endpoint with fips disabled and dualstack enabled", // documentation {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect + }, + /*TEST CASE 33*/ + {"Missing region", // documentation + {}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Missing Region"} // expect } }; diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 8794747afeb..12057700f4e 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.111" +#define AWS_SDK_VERSION_STRING "1.11.112" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 111 +#define AWS_SDK_VERSION_PATCH 112 diff --git a/tools/code-generation/api-descriptions/amp-2020-08-01.normal.json b/tools/code-generation/api-descriptions/amp-2020-08-01.normal.json index a27f10060c2..c53356e8770 100644 --- a/tools/code-generation/api-descriptions/amp-2020-08-01.normal.json +++ b/tools/code-generation/api-descriptions/amp-2020-08-01.normal.json @@ -434,27 +434,27 @@ "AlertManagerDefinitionDescription":{ "type":"structure", "required":[ - "createdAt", + "status", "data", - "modifiedAt", - "status" + "createdAt", + "modifiedAt" ], "members":{ - "createdAt":{ - "shape":"Timestamp", - "documentation":"

          The time when the alert manager definition was created.

          " + "status":{ + "shape":"AlertManagerDefinitionStatus", + "documentation":"

          The status of alert manager definition.

          " }, "data":{ "shape":"AlertManagerDefinitionData", "documentation":"

          The alert manager definition.

          " }, + "createdAt":{ + "shape":"Timestamp", + "documentation":"

          The time when the alert manager definition was created.

          " + }, "modifiedAt":{ "shape":"Timestamp", "documentation":"

          The time when the alert manager definition was modified.

          " - }, - "status":{ - "shape":"AlertManagerDefinitionStatus", - "documentation":"

          The status of alert manager definition.

          " } }, "documentation":"

          Represents the properties of an alert manager definition.

          " @@ -517,24 +517,24 @@ "CreateAlertManagerDefinitionRequest":{ "type":"structure", "required":[ - "data", - "workspaceId" + "workspaceId", + "data" ], "members":{ - "clientToken":{ - "shape":"IdempotencyToken", - "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", - "idempotencyToken":true - }, - "data":{ - "shape":"AlertManagerDefinitionData", - "documentation":"

          The alert manager definition data.

          " - }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

          The ID of the workspace in which to create the alert manager definition.

          ", "location":"uri", "locationName":"workspaceId" + }, + "data":{ + "shape":"AlertManagerDefinitionData", + "documentation":"

          The alert manager definition data.

          " + }, + "clientToken":{ + "shape":"IdempotencyToken", + "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", + "idempotencyToken":true } }, "documentation":"

          Represents the input of a CreateAlertManagerDefinition operation.

          " @@ -553,24 +553,24 @@ "CreateLoggingConfigurationRequest":{ "type":"structure", "required":[ - "logGroupArn", - "workspaceId" + "workspaceId", + "logGroupArn" ], "members":{ - "clientToken":{ - "shape":"IdempotencyToken", - "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", - "idempotencyToken":true - }, - "logGroupArn":{ - "shape":"LogGroupArn", - "documentation":"

          The ARN of the CW log group to which the vended log data will be published.

          " - }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

          The ID of the workspace to vend logs to.

          ", "location":"uri", "locationName":"workspaceId" + }, + "logGroupArn":{ + "shape":"LogGroupArn", + "documentation":"

          The ARN of the CW log group to which the vended log data will be published.

          " + }, + "clientToken":{ + "shape":"IdempotencyToken", + "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", + "idempotencyToken":true } }, "documentation":"

          Represents the input of a CreateLoggingConfiguration operation.

          " @@ -589,33 +589,33 @@ "CreateRuleGroupsNamespaceRequest":{ "type":"structure", "required":[ - "data", + "workspaceId", "name", - "workspaceId" + "data" ], "members":{ - "clientToken":{ - "shape":"IdempotencyToken", - "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", - "idempotencyToken":true + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace in which to create the rule group namespace.

          ", + "location":"uri", + "locationName":"workspaceId" + }, + "name":{ + "shape":"RuleGroupsNamespaceName", + "documentation":"

          The rule groups namespace name.

          " }, "data":{ "shape":"RuleGroupsNamespaceData", "documentation":"

          The namespace data that define the rule groups.

          " }, - "name":{ - "shape":"RuleGroupsNamespaceName", - "documentation":"

          The rule groups namespace name.

          " + "clientToken":{ + "shape":"IdempotencyToken", + "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", + "idempotencyToken":true }, "tags":{ "shape":"TagMap", "documentation":"

          Optional, user-provided tags for this rule groups namespace.

          " - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace in which to create the rule group namespace.

          ", - "location":"uri", - "locationName":"workspaceId" } }, "documentation":"

          Represents the input of a CreateRuleGroupsNamespace operation.

          " @@ -623,19 +623,19 @@ "CreateRuleGroupsNamespaceResponse":{ "type":"structure", "required":[ - "arn", "name", + "arn", "status" ], "members":{ - "arn":{ - "shape":"RuleGroupsNamespaceArn", - "documentation":"

          The Amazon Resource Name (ARN) of this rule groups namespace.

          " - }, "name":{ "shape":"RuleGroupsNamespaceName", "documentation":"

          The rule groups namespace name.

          " }, + "arn":{ + "shape":"RuleGroupsNamespaceArn", + "documentation":"

          The Amazon Resource Name (ARN) of this rule groups namespace.

          " + }, "status":{ "shape":"RuleGroupsNamespaceStatus", "documentation":"

          The status of rule groups namespace.

          " @@ -669,11 +669,15 @@ "CreateWorkspaceResponse":{ "type":"structure", "required":[ + "workspaceId", "arn", - "status", - "workspaceId" + "status" ], "members":{ + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The generated ID of the workspace that was just created.

          " + }, "arn":{ "shape":"WorkspaceArn", "documentation":"

          The ARN of the workspace that was just created.

          " @@ -685,10 +689,6 @@ "tags":{ "shape":"TagMap", "documentation":"

          The tags of this workspace.

          " - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The generated ID of the workspace that was just created.

          " } }, "documentation":"

          Represents the output of a CreateWorkspace operation.

          " @@ -697,18 +697,18 @@ "type":"structure", "required":["workspaceId"], "members":{ + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace in which to delete the alert manager definition.

          ", + "location":"uri", + "locationName":"workspaceId" + }, "clientToken":{ "shape":"IdempotencyToken", "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", "idempotencyToken":true, "location":"querystring", "locationName":"clientToken" - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace in which to delete the alert manager definition.

          ", - "location":"uri", - "locationName":"workspaceId" } }, "documentation":"

          Represents the input of a DeleteAlertManagerDefinition operation.

          " @@ -717,18 +717,18 @@ "type":"structure", "required":["workspaceId"], "members":{ + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace to vend logs to.

          ", + "location":"uri", + "locationName":"workspaceId" + }, "clientToken":{ "shape":"IdempotencyToken", "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", "idempotencyToken":true, "location":"querystring", "locationName":"clientToken" - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace to vend logs to.

          ", - "location":"uri", - "locationName":"workspaceId" } }, "documentation":"

          Represents the input of a DeleteLoggingConfiguration operation.

          " @@ -736,16 +736,15 @@ "DeleteRuleGroupsNamespaceRequest":{ "type":"structure", "required":[ - "name", - "workspaceId" + "workspaceId", + "name" ], "members":{ - "clientToken":{ - "shape":"IdempotencyToken", - "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", - "idempotencyToken":true, - "location":"querystring", - "locationName":"clientToken" + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace to delete rule group definition.

          ", + "location":"uri", + "locationName":"workspaceId" }, "name":{ "shape":"RuleGroupsNamespaceName", @@ -753,11 +752,12 @@ "location":"uri", "locationName":"name" }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace to delete rule group definition.

          ", - "location":"uri", - "locationName":"workspaceId" + "clientToken":{ + "shape":"IdempotencyToken", + "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", + "idempotencyToken":true, + "location":"querystring", + "locationName":"clientToken" } }, "documentation":"

          Represents the input of a DeleteRuleGroupsNamespace operation.

          " @@ -766,18 +766,18 @@ "type":"structure", "required":["workspaceId"], "members":{ + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace to delete.

          ", + "location":"uri", + "locationName":"workspaceId" + }, "clientToken":{ "shape":"IdempotencyToken", "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", "idempotencyToken":true, "location":"querystring", "locationName":"clientToken" - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace to delete.

          ", - "location":"uri", - "locationName":"workspaceId" } }, "documentation":"

          Represents the input of a DeleteWorkspace operation.

          " @@ -833,21 +833,21 @@ "DescribeRuleGroupsNamespaceRequest":{ "type":"structure", "required":[ - "name", - "workspaceId" + "workspaceId", + "name" ], "members":{ - "name":{ - "shape":"RuleGroupsNamespaceName", - "documentation":"

          The rule groups namespace.

          ", - "location":"uri", - "locationName":"name" - }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

          The ID of the workspace to describe.

          ", "location":"uri", "locationName":"workspaceId" + }, + "name":{ + "shape":"RuleGroupsNamespaceName", + "documentation":"

          The rule groups namespace.

          ", + "location":"uri", + "locationName":"name" } }, "documentation":"

          Represents the input of a DescribeRuleGroupsNamespace operation.

          " @@ -923,11 +923,11 @@ "type":"structure", "required":["workspaceId"], "members":{ - "maxResults":{ - "shape":"ListRuleGroupsNamespacesRequestMaxResultsInteger", - "documentation":"

          Maximum results to return in response (default=100, maximum=1000).

          ", - "location":"querystring", - "locationName":"maxResults" + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace.

          ", + "location":"uri", + "locationName":"workspaceId" }, "name":{ "shape":"RuleGroupsNamespaceName", @@ -941,11 +941,11 @@ "location":"querystring", "locationName":"nextToken" }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace.

          ", - "location":"uri", - "locationName":"workspaceId" + "maxResults":{ + "shape":"ListRuleGroupsNamespacesRequestMaxResultsInteger", + "documentation":"

          Maximum results to return in response (default=100, maximum=1000).

          ", + "location":"querystring", + "locationName":"maxResults" } }, "documentation":"

          Represents the input of a ListRuleGroupsNamespaces operation.

          " @@ -960,13 +960,13 @@ "type":"structure", "required":["ruleGroupsNamespaces"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

          Pagination token to use when requesting the next page in this list.

          " - }, "ruleGroupsNamespaces":{ "shape":"RuleGroupsNamespaceSummaryList", "documentation":"

          The list of the selected rule groups namespaces.

          " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

          Pagination token to use when requesting the next page in this list.

          " } }, "documentation":"

          Represents the output of a ListRuleGroupsNamespaces operation.

          " @@ -992,6 +992,12 @@ "ListWorkspacesRequest":{ "type":"structure", "members":{ + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

          Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.

          ", + "location":"querystring", + "locationName":"nextToken" + }, "alias":{ "shape":"WorkspaceAlias", "documentation":"

          Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.

          ", @@ -1003,12 +1009,6 @@ "documentation":"

          Maximum results to return in response (default=100, maximum=1000).

          ", "location":"querystring", "locationName":"maxResults" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

          Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.

          ", - "location":"querystring", - "locationName":"nextToken" } }, "documentation":"

          Represents the input of a ListWorkspaces operation.

          " @@ -1023,50 +1023,50 @@ "type":"structure", "required":["workspaces"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

          Pagination token to use when requesting the next page in this list.

          " - }, "workspaces":{ "shape":"WorkspaceSummaryList", "documentation":"

          The list of existing workspaces, including those undergoing creation or deletion.

          " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

          Pagination token to use when requesting the next page in this list.

          " } }, "documentation":"

          Represents the output of a ListWorkspaces operation.

          " }, "LogGroupArn":{ "type":"string", - "pattern":"^arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$" + "pattern":"arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*" }, "LoggingConfigurationMetadata":{ "type":"structure", "required":[ - "createdAt", - "logGroupArn", - "modifiedAt", "status", - "workspace" + "workspace", + "logGroupArn", + "createdAt", + "modifiedAt" ], "members":{ - "createdAt":{ - "shape":"Timestamp", - "documentation":"

          The time when the logging configuration was created.

          " + "status":{ + "shape":"LoggingConfigurationStatus", + "documentation":"

          The status of the logging configuration.

          " + }, + "workspace":{ + "shape":"WorkspaceId", + "documentation":"

          The workspace where the logging configuration exists.

          " }, "logGroupArn":{ "shape":"LogGroupArn", "documentation":"

          The ARN of the CW log group to which the vended log data will be published.

          " }, + "createdAt":{ + "shape":"Timestamp", + "documentation":"

          The time when the logging configuration was created.

          " + }, "modifiedAt":{ "shape":"Timestamp", "documentation":"

          The time when the logging configuration was modified.

          " - }, - "status":{ - "shape":"LoggingConfigurationStatus", - "documentation":"

          The status of the logging configuration.

          " - }, - "workspace":{ - "shape":"WorkspaceId", - "documentation":"

          The workspace where the logging configuration exists.

          " } }, "documentation":"

          Represents the properties of a logging configuration metadata.

          " @@ -1105,24 +1105,24 @@ "PutAlertManagerDefinitionRequest":{ "type":"structure", "required":[ - "data", - "workspaceId" + "workspaceId", + "data" ], "members":{ - "clientToken":{ - "shape":"IdempotencyToken", - "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", - "idempotencyToken":true - }, - "data":{ - "shape":"AlertManagerDefinitionData", - "documentation":"

          The alert manager definition data.

          " - }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

          The ID of the workspace in which to update the alert manager definition.

          ", "location":"uri", "locationName":"workspaceId" + }, + "data":{ + "shape":"AlertManagerDefinitionData", + "documentation":"

          The alert manager definition data.

          " + }, + "clientToken":{ + "shape":"IdempotencyToken", + "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", + "idempotencyToken":true } }, "documentation":"

          Represents the input of a PutAlertManagerDefinition operation.

          " @@ -1141,19 +1141,16 @@ "PutRuleGroupsNamespaceRequest":{ "type":"structure", "required":[ - "data", + "workspaceId", "name", - "workspaceId" + "data" ], "members":{ - "clientToken":{ - "shape":"IdempotencyToken", - "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", - "idempotencyToken":true - }, - "data":{ - "shape":"RuleGroupsNamespaceData", - "documentation":"

          The namespace data that define the rule groups.

          " + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace in which to update the rule group namespace.

          ", + "location":"uri", + "locationName":"workspaceId" }, "name":{ "shape":"RuleGroupsNamespaceName", @@ -1161,11 +1158,14 @@ "location":"uri", "locationName":"name" }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace in which to update the rule group namespace.

          ", - "location":"uri", - "locationName":"workspaceId" + "data":{ + "shape":"RuleGroupsNamespaceData", + "documentation":"

          The namespace data that define the rule groups.

          " + }, + "clientToken":{ + "shape":"IdempotencyToken", + "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", + "idempotencyToken":true } }, "documentation":"

          Represents the input of a PutRuleGroupsNamespace operation.

          " @@ -1173,19 +1173,19 @@ "PutRuleGroupsNamespaceResponse":{ "type":"structure", "required":[ - "arn", "name", + "arn", "status" ], "members":{ - "arn":{ - "shape":"RuleGroupsNamespaceArn", - "documentation":"

          The Amazon Resource Name (ARN) of this rule groups namespace.

          " - }, "name":{ "shape":"RuleGroupsNamespaceName", "documentation":"

          The rule groups namespace name.

          " }, + "arn":{ + "shape":"RuleGroupsNamespaceArn", + "documentation":"

          The Amazon Resource Name (ARN) of this rule groups namespace.

          " + }, "status":{ "shape":"RuleGroupsNamespaceStatus", "documentation":"

          The status of rule groups namespace.

          " @@ -1237,37 +1237,37 @@ "type":"structure", "required":[ "arn", - "createdAt", - "data", - "modifiedAt", "name", - "status" + "status", + "data", + "createdAt", + "modifiedAt" ], "members":{ "arn":{ "shape":"RuleGroupsNamespaceArn", "documentation":"

          The Amazon Resource Name (ARN) of this rule groups namespace.

          " }, - "createdAt":{ - "shape":"Timestamp", - "documentation":"

          The time when the rule groups namespace was created.

          " + "name":{ + "shape":"RuleGroupsNamespaceName", + "documentation":"

          The rule groups namespace name.

          " + }, + "status":{ + "shape":"RuleGroupsNamespaceStatus", + "documentation":"

          The status of rule groups namespace.

          " }, "data":{ "shape":"RuleGroupsNamespaceData", "documentation":"

          The rule groups namespace data.

          " }, + "createdAt":{ + "shape":"Timestamp", + "documentation":"

          The time when the rule groups namespace was created.

          " + }, "modifiedAt":{ "shape":"Timestamp", "documentation":"

          The time when the rule groups namespace was modified.

          " }, - "name":{ - "shape":"RuleGroupsNamespaceName", - "documentation":"

          The rule groups namespace name.

          " - }, - "status":{ - "shape":"RuleGroupsNamespaceStatus", - "documentation":"

          The status of rule groups namespace.

          " - }, "tags":{ "shape":"TagMap", "documentation":"

          The tags of this rule groups namespace.

          " @@ -1280,7 +1280,7 @@ "documentation":"

          The namespace name that the rule group belong to.

          ", "max":64, "min":1, - "pattern":"[0-9A-Za-z][-.0-9A-Z_a-z]*" + "pattern":".*[0-9A-Za-z][-.0-9A-Z_a-z]*.*" }, "RuleGroupsNamespaceStatus":{ "type":"structure", @@ -1313,24 +1313,16 @@ "type":"structure", "required":[ "arn", - "createdAt", - "modifiedAt", "name", - "status" + "status", + "createdAt", + "modifiedAt" ], "members":{ "arn":{ "shape":"RuleGroupsNamespaceArn", "documentation":"

          The Amazon Resource Name (ARN) of this rule groups namespace.

          " }, - "createdAt":{ - "shape":"Timestamp", - "documentation":"

          The time when the rule groups namespace was created.

          " - }, - "modifiedAt":{ - "shape":"Timestamp", - "documentation":"

          The time when the rule groups namespace was modified.

          " - }, "name":{ "shape":"RuleGroupsNamespaceName", "documentation":"

          The rule groups namespace name.

          " @@ -1339,6 +1331,14 @@ "shape":"RuleGroupsNamespaceStatus", "documentation":"

          The status of rule groups namespace.

          " }, + "createdAt":{ + "shape":"Timestamp", + "documentation":"

          The time when the rule groups namespace was created.

          " + }, + "modifiedAt":{ + "shape":"Timestamp", + "documentation":"

          The time when the rule groups namespace was modified.

          " + }, "tags":{ "shape":"TagMap", "documentation":"

          The tags of this rule groups namespace.

          " @@ -1355,20 +1355,16 @@ "type":"structure", "required":[ "message", - "quotaCode", "resourceId", "resourceType", - "serviceCode" + "serviceCode", + "quotaCode" ], "members":{ "message":{ "shape":"String", "documentation":"

          Description of the error.

          " }, - "quotaCode":{ - "shape":"String", - "documentation":"

          Service Quotas requirement to identify originating quota.

          " - }, "resourceId":{ "shape":"String", "documentation":"

          Identifier of the resource affected.

          " @@ -1380,6 +1376,10 @@ "serviceCode":{ "shape":"String", "documentation":"

          Service Quotas requirement to identify originating service.

          " + }, + "quotaCode":{ + "shape":"String", + "documentation":"

          Service Quotas requirement to identify originating quota.

          " } }, "documentation":"

          Request would cause a service quota to be exceeded.

          ", @@ -1394,7 +1394,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "TagKeys":{ "type":"list", @@ -1439,7 +1439,7 @@ "type":"string", "max":256, "min":0, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "ThrottlingException":{ "type":"structure", @@ -1449,6 +1449,10 @@ "shape":"String", "documentation":"

          Description of the error.

          " }, + "serviceCode":{ + "shape":"String", + "documentation":"

          Service Quotas requirement to identify originating service.

          " + }, "quotaCode":{ "shape":"String", "documentation":"

          Service Quotas requirement to identify originating quota.

          " @@ -1458,10 +1462,6 @@ "documentation":"

          Advice to clients on when the call can be safely retried.

          ", "location":"header", "locationName":"Retry-After" - }, - "serviceCode":{ - "shape":"String", - "documentation":"

          Service Quotas requirement to identify originating service.

          " } }, "documentation":"

          Request was denied due to request throttling.

          ", @@ -1502,24 +1502,24 @@ "UpdateLoggingConfigurationRequest":{ "type":"structure", "required":[ - "logGroupArn", - "workspaceId" + "workspaceId", + "logGroupArn" ], "members":{ - "clientToken":{ - "shape":"IdempotencyToken", - "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", - "idempotencyToken":true - }, - "logGroupArn":{ - "shape":"LogGroupArn", - "documentation":"

          The ARN of the CW log group to which the vended log data will be published.

          " - }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

          The ID of the workspace to vend logs to.

          ", "location":"uri", "locationName":"workspaceId" + }, + "logGroupArn":{ + "shape":"LogGroupArn", + "documentation":"

          The ARN of the CW log group to which the vended log data will be published.

          " + }, + "clientToken":{ + "shape":"IdempotencyToken", + "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", + "idempotencyToken":true } }, "documentation":"

          Represents the input of an UpdateLoggingConfiguration operation.

          " @@ -1539,6 +1539,12 @@ "type":"structure", "required":["workspaceId"], "members":{ + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          The ID of the workspace being updated.

          ", + "location":"uri", + "locationName":"workspaceId" + }, "alias":{ "shape":"WorkspaceAlias", "documentation":"

          The new alias of the workspace.

          " @@ -1547,12 +1553,6 @@ "shape":"IdempotencyToken", "documentation":"

          Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

          ", "idempotencyToken":true - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          The ID of the workspace being updated.

          ", - "location":"uri", - "locationName":"workspaceId" } }, "documentation":"

          Represents the input of an UpdateWorkspaceAlias operation.

          " @@ -1569,10 +1569,6 @@ "reason" ], "members":{ - "fieldList":{ - "shape":"ValidationExceptionFieldList", - "documentation":"

          The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.

          " - }, "message":{ "shape":"String", "documentation":"

          Description of the error.

          " @@ -1580,6 +1576,10 @@ "reason":{ "shape":"ValidationExceptionReason", "documentation":"

          Reason the request failed validation.

          " + }, + "fieldList":{ + "shape":"ValidationExceptionFieldList", + "documentation":"

          The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.

          " } }, "documentation":"

          The input fails to satisfy the constraints specified by an AWS service.

          ", @@ -1592,17 +1592,17 @@ "ValidationExceptionField":{ "type":"structure", "required":[ - "message", - "name" + "name", + "message" ], "members":{ - "message":{ - "shape":"String", - "documentation":"

          Message describing why the field failed validation.

          " - }, "name":{ "shape":"String", "documentation":"

          The field name.

          " + }, + "message":{ + "shape":"String", + "documentation":"

          Message describing why the field failed validation.

          " } }, "documentation":"

          Stores information about a field passed inside a request that resulted in an exception.

          " @@ -1635,12 +1635,16 @@ "WorkspaceDescription":{ "type":"structure", "required":[ + "workspaceId", "arn", - "createdAt", "status", - "workspaceId" + "createdAt" ], "members":{ + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          Unique string identifying this workspace.

          " + }, "alias":{ "shape":"WorkspaceAlias", "documentation":"

          Alias of this workspace.

          " @@ -1649,25 +1653,21 @@ "shape":"WorkspaceArn", "documentation":"

          The Amazon Resource Name (ARN) of this workspace.

          " }, - "createdAt":{ - "shape":"Timestamp", - "documentation":"

          The time when the workspace was created.

          " + "status":{ + "shape":"WorkspaceStatus", + "documentation":"

          The status of this workspace.

          " }, "prometheusEndpoint":{ "shape":"Uri", "documentation":"

          Prometheus endpoint URI.

          " }, - "status":{ - "shape":"WorkspaceStatus", - "documentation":"

          The status of this workspace.

          " + "createdAt":{ + "shape":"Timestamp", + "documentation":"

          The time when the workspace was created.

          " }, "tags":{ "shape":"TagMap", "documentation":"

          The tags of this workspace.

          " - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          Unique string identifying this workspace.

          " } }, "documentation":"

          Represents the properties of a workspace.

          " @@ -1677,7 +1677,7 @@ "documentation":"

          A workspace ID.

          ", "max":64, "min":1, - "pattern":"[0-9A-Za-z][-.0-9A-Z_a-z]*" + "pattern":".*[0-9A-Za-z][-.0-9A-Z_a-z]*.*" }, "WorkspaceStatus":{ "type":"structure", @@ -1704,12 +1704,16 @@ "WorkspaceSummary":{ "type":"structure", "required":[ + "workspaceId", "arn", - "createdAt", "status", - "workspaceId" + "createdAt" ], "members":{ + "workspaceId":{ + "shape":"WorkspaceId", + "documentation":"

          Unique string identifying this workspace.

          " + }, "alias":{ "shape":"WorkspaceAlias", "documentation":"

          Alias of this workspace.

          " @@ -1718,21 +1722,17 @@ "shape":"WorkspaceArn", "documentation":"

          The AmazonResourceName of this workspace.

          " }, - "createdAt":{ - "shape":"Timestamp", - "documentation":"

          The time when the workspace was created.

          " - }, "status":{ "shape":"WorkspaceStatus", "documentation":"

          The status of this workspace.

          " }, + "createdAt":{ + "shape":"Timestamp", + "documentation":"

          The time when the workspace was created.

          " + }, "tags":{ "shape":"TagMap", "documentation":"

          The tags of this workspace.

          " - }, - "workspaceId":{ - "shape":"WorkspaceId", - "documentation":"

          Unique string identifying this workspace.

          " } }, "documentation":"

          Represents a summary of the properties of a workspace.

          " diff --git a/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json b/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json index 608d286bcb1..3c6fb39aea7 100644 --- a/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json +++ b/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json @@ -1683,6 +1683,10 @@ "firelensConfiguration":{ "shape":"FirelensConfiguration", "documentation":"

          The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see Custom Log Routing in the Amazon Elastic Container Service Developer Guide.

          " + }, + "credentialSpecs":{ + "shape":"StringList", + "documentation":"

          A list of ARNs in SSM or Amazon S3 to a credential spec (credspeccode>) file that configures a container for Active Directory authentication. This parameter is only used with domainless authentication.

          The format for each ARN is credentialspecdomainless:MyARN. Replace MyARN with the ARN in SSM or Amazon S3.

          The credspec must provide a ARN in Secrets Manager for a secret containing the username, password, and the domain to connect to. For better security, the instance isn't joined to the domain for domainless authentication. Other applications on the instance can't use the domainless credentials. You can use this parameter to run tasks on the same instance, even it the tasks need to join different domains. For more information, see Using gMSAs for Windows Containers and Using gMSAs for Linux Containers.

          " } }, "documentation":"

          Container definitions are used in task definitions to describe the different containers that are launched as part of a task.

          " @@ -3231,7 +3235,7 @@ "documentation":"

          The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You can specify between 0 and 300 seconds. By default, the startPeriod is off.

          If a health check succeeds within the startPeriod, then the container is considered healthy and any subsequent failures count toward the maximum number of retries.

          " } }, - "documentation":"

          An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run.

          The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

          You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.

          The following describes the possible healthStatus values for a container:

          • HEALTHY-The container health check has passed successfully.

          • UNHEALTHY-The container health check has failed.

          • UNKNOWN-The container health check is being evaluated or there's no container health check defined.

          The following describes the possible healthStatus values for a task. The container health check status of non-essential containers don't have an effect on the health status of a task.

          • HEALTHY-All essential containers within the task have passed their health checks.

          • UNHEALTHY-One or more essential containers have failed their health check.

          • UNKNOWN-The essential containers within the task are still having their health checks evaluated, there are only nonessential containers with health checks defined, or there are no container health checks defined.

          If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.

          The following are notes about container health check support:

          • Container health checks require version 1.17.0 or greater of the Amazon ECS container agent. For more information, see Updating the Amazon ECS container agent.

          • Container health checks are supported for Fargate tasks if you're using platform version 1.1.0 or greater. For more information, see Fargate platform versions.

          • Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.

          " + "documentation":"

          An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run.

          The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

          You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.

          The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.

          The following describes the possible healthStatus values for a container:

          • HEALTHY-The container health check has passed successfully.

          • UNHEALTHY-The container health check has failed.

          • UNKNOWN-The container health check is being evaluated or there's no container health check defined.

          The following describes the possible healthStatus values for a task. The container health check status of non-essential containers don't have an effect on the health status of a task.

          • HEALTHY-All essential containers within the task have passed their health checks.

          • UNHEALTHY-One or more essential containers have failed their health check.

          • UNKNOWN-The essential containers within the task are still having their health checks evaluated, there are only nonessential containers with health checks defined, or there are no container health checks defined.

          If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.

          The following are notes about container health check support:

          • When the Amazon ECS agent cannot connect to the Amazon ECS service, the service reports the container as UNHEALTHY.

          • The health check statuses are the \"last heard from\" response from the Amazon ECS agent. There are no assumptions made about the status of the container health checks.

          • Container health checks require version 1.17.0 or greater of the Amazon ECS container agent. For more information, see Updating the Amazon ECS container agent.

          • Container health checks are supported for Fargate tasks if you're using platform version 1.1.0 or greater. For more information, see Fargate platform versions.

          • Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.

          " }, "HealthStatus":{ "type":"string", diff --git a/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json b/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json index 9b04a07525d..99786cecd53 100644 --- a/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json +++ b/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json @@ -143,7 +143,7 @@ "http":{ "method":"POST", "requestUri":"/DeleteRecordingConfiguration", - "responseCode":200 + "responseCode":204 }, "input":{"shape":"DeleteRecordingConfigurationRequest"}, "errors":[ @@ -402,7 +402,7 @@ "http":{ "method":"POST", "requestUri":"/PutMetadata", - "responseCode":200 + "responseCode":204 }, "input":{"shape":"PutMetadataRequest"}, "errors":[ diff --git a/tools/code-generation/api-descriptions/mediaconvert-2017-08-29.normal.json b/tools/code-generation/api-descriptions/mediaconvert-2017-08-29.normal.json index a26677a7c5a..0b7a288c566 100644 --- a/tools/code-generation/api-descriptions/mediaconvert-2017-08-29.normal.json +++ b/tools/code-generation/api-descriptions/mediaconvert-2017-08-29.normal.json @@ -2741,12 +2741,12 @@ "CustomLanguageCode": { "shape": "__stringMin3Max3PatternAZaZ3", "locationName": "customLanguageCode", - "documentation": "The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions." + "documentation": "The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions." }, "LanguageCode": { "shape": "LanguageCode", "locationName": "languageCode", - "documentation": "The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions." + "documentation": "The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions." }, "SourceSettings": { "shape": "CaptionSourceSettings", @@ -4628,7 +4628,7 @@ "Pid": { "shape": "__integerMin1Max2147483647", "locationName": "pid", - "documentation": "When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors." + "documentation": "When using DVB-Sub with Burn-in, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors." } }, "documentation": "DVB Sub Source Settings" @@ -6919,7 +6919,7 @@ "SegmentsPerSubdirectory": { "shape": "__integerMin1Max2147483647", "locationName": "segmentsPerSubdirectory", - "documentation": "Specify the number of segments to write to a subdirectory before starting a new one. You must also set Directory structure to Subdirectory per stream for this setting to have an effect." + "documentation": "Specify the number of segments to write to a subdirectory before starting a new one. You must also set Directory structure to Subdirectory per stream for this setting to have an effect." }, "StreamInfResolution": { "shape": "HlsStreamInfResolution", @@ -9945,7 +9945,7 @@ }, "MxfProfile": { "type": "string", - "documentation": "Specify the MXF profile, also called shim, for this output. When you choose Auto, MediaConvert chooses a profile based on the video codec and resolution. For a list of codecs supported with each MXF profile, see https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. For more information about the automatic selection behavior, see https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html.", + "documentation": "Specify the MXF profile, also called shim, for this output. To automatically select a profile according to your output video codec and resolution, leave blank. For a list of codecs supported with each MXF profile, see https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. For more information about the automatic selection behavior, see https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html.", "enum": [ "D_10", "XDCAM", @@ -9965,7 +9965,7 @@ "Profile": { "shape": "MxfProfile", "locationName": "profile", - "documentation": "Specify the MXF profile, also called shim, for this output. When you choose Auto, MediaConvert chooses a profile based on the video codec and resolution. For a list of codecs supported with each MXF profile, see https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. For more information about the automatic selection behavior, see https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html." + "documentation": "Specify the MXF profile, also called shim, for this output. To automatically select a profile according to your output video codec and resolution, leave blank. For a list of codecs supported with each MXF profile, see https://docs.aws.amazon.com/mediaconvert/latest/ug/codecs-supported-with-each-mxf-profile.html. For more information about the automatic selection behavior, see https://docs.aws.amazon.com/mediaconvert/latest/ug/default-automatic-selection-of-mxf-profiles.html." }, "XavcProfileSettings": { "shape": "MxfXavcProfileSettings", @@ -11832,7 +11832,7 @@ "Codec": { "shape": "VideoCodec", "locationName": "codec", - "documentation": "Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV." + "documentation": "Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV." }, "FrameCaptureSettings": { "shape": "FrameCaptureSettings", @@ -12000,7 +12000,7 @@ "Hdr10Plus": { "shape": "Hdr10Plus", "locationName": "hdr10Plus", - "documentation": "Enable HDR10+ analyis and metadata injection. Compatible with HEVC only." + "documentation": "Enable HDR10+ analysis and metadata injection. Compatible with HEVC only." }, "ImageInserter": { "shape": "ImageInserter", diff --git a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json index c129b226598..86183e87018 100644 --- a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json +++ b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json @@ -5853,7 +5853,7 @@ "documentation":"

          Defines the capacity size, either as a number of instances or a capacity percentage.

          " } }, - "documentation":"

          Specifies the endpoint capacity to activate for production.

          " + "documentation":"

          Specifies the type and size of the endpoint capacity to activate for a blue/green deployment, a rolling deployment, or a rollback strategy. You can specify your batches as either instance count or the overall percentage or your fleet.

          For a rollback strategy, if you don't specify the fields in this object, or if you set the Value to 100%, then SageMaker uses a blue/green rollback strategy and rolls all traffic back to the blue fleet.

          " }, "CapacitySizeType":{ "type":"string", @@ -10679,7 +10679,6 @@ }, "DeploymentConfig":{ "type":"structure", - "required":["BlueGreenUpdatePolicy"], "members":{ "BlueGreenUpdatePolicy":{ "shape":"BlueGreenUpdatePolicy", @@ -10688,6 +10687,10 @@ "AutoRollbackConfiguration":{ "shape":"AutoRollbackConfig", "documentation":"

          Automatic rollback configuration for handling endpoint deployment failures and recovery.

          " + }, + "RollingUpdatePolicy":{ + "shape":"RollingUpdatePolicy", + "documentation":"

          Specifies a rolling deployment strategy for updating a SageMaker endpoint.

          " } }, "documentation":"

          The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

          " @@ -16050,7 +16053,8 @@ "RollingBack", "InService", "Deleting", - "Failed" + "Failed", + "UpdateRollbackFailed" ] }, "EndpointSummary":{ @@ -23567,7 +23571,7 @@ }, "MaximumExecutionTimeoutInSeconds":{ "type":"integer", - "max":14400, + "max":28800, "min":600 }, "MaximumRetryAttempts":{ @@ -29645,6 +29649,32 @@ "min":20, "pattern":"^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$" }, + "RollingUpdatePolicy":{ + "type":"structure", + "required":[ + "MaximumBatchSize", + "WaitIntervalInSeconds" + ], + "members":{ + "MaximumBatchSize":{ + "shape":"CapacitySize", + "documentation":"

          Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.

          " + }, + "WaitIntervalInSeconds":{ + "shape":"WaitIntervalInSeconds", + "documentation":"

          The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.

          " + }, + "MaximumExecutionTimeoutInSeconds":{ + "shape":"MaximumExecutionTimeoutInSeconds", + "documentation":"

          The time limit for the total deployment. Exceeding this limit causes a timeout.

          " + }, + "RollbackMaximumBatchSize":{ + "shape":"CapacitySize", + "documentation":"

          Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.

          " + } + }, + "documentation":"

          Specifies a rolling deployment strategy for updating a SageMaker endpoint.

          " + }, "RootAccess":{ "type":"string", "enum":[ diff --git a/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json b/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json index cf2b8f4ac6c..6e21589ddef 100644 --- a/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json +++ b/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json @@ -1044,10 +1044,19 @@ "MdnResponse":{ "shape":"MdnResponse", "documentation":"

          Used for outbound requests (from an Transfer Family server to a partner AS2 server) to determine whether the partner response for transfers is synchronous or asynchronous. Specify either of the following values:

          • SYNC: The system expects a synchronous MDN response, confirming that the file was transferred successfully (or not).

          • NONE: Specifies that no MDN response is required.

          " + }, + "BasicAuthSecretId":{ + "shape":"As2ConnectorSecretId", + "documentation":"

          Provides Basic authentication support to the AS2 Connectors API. To use Basic authentication, you must provide the name or Amazon Resource Name (ARN) of a secret in Secrets Manager.

          The default value for this parameter is null, which indicates that Basic authentication is not enabled for the connector.

          If the connector should use Basic authentication, the secret needs to be in the following format:

          { \"Username\": \"user-name\", \"Password\": \"user-password\" }

          Replace user-name and user-password with the credentials for the actual user that is being authenticated.

          Note the following:

          • You are storing these credentials in Secrets Manager, not passing them directly into this API.

          • If you are using the API, SDKs, or CloudFormation to configure your connector, then you must create the secret before you can enable Basic authentication. However, if you are using the Amazon Web Services management console, you can have the system create the secret for you.

          If you have previously enabled Basic authentication for a connector, you can disable it by using the UpdateConnector API call. For example, if you are using the CLI, you can run the following command to remove Basic authentication:

          update-connector --connector-id my-connector-id --as2-config 'BasicAuthSecretId=\"\"'

          " } }, "documentation":"

          Contains the details for a connector object. The connector object is used for AS2 outbound processes, to connect the Transfer Family customer with the trading partner.

          " }, + "As2ConnectorSecretId":{ + "type":"string", + "max":2048, + "min":0 + }, "As2Id":{ "type":"string", "max":128, @@ -1259,7 +1268,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          " + "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

          " }, "Status":{ "shape":"AgreementStatusType", @@ -1299,7 +1308,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          " + "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

          " }, "LoggingRole":{ "shape":"Role", @@ -2103,7 +2112,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          " + "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

          " }, "Tags":{ "shape":"Tags", @@ -2197,7 +2206,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          " + "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

          " }, "LoggingRole":{ "shape":"Role", @@ -4527,7 +4536,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          " + "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

          " } } }, @@ -4591,7 +4600,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          " + "documentation":"

          With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

          If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

          " }, "LoggingRole":{ "shape":"Role", diff --git a/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json b/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json index 31994806fb4..04d8ee188f8 100644 --- a/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json +++ b/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json @@ -605,7 +605,7 @@ "members":{ "clientToken":{ "shape":"IdempotencyToken", - "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", + "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", "idempotencyToken":true }, "policyStoreId":{ @@ -658,7 +658,7 @@ "members":{ "clientToken":{ "shape":"IdempotencyToken", - "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", + "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", "idempotencyToken":true }, "policyStoreId":{ @@ -717,7 +717,7 @@ "members":{ "clientToken":{ "shape":"IdempotencyToken", - "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", + "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", "idempotencyToken":true }, "validationSettings":{ @@ -762,7 +762,7 @@ "members":{ "clientToken":{ "shape":"IdempotencyToken", - "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", + "documentation":"

          Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

          If you don't provide this value, then Amazon Web Services generates a random one for you.

          If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

          ", "idempotencyToken":true }, "policyStoreId":{ @@ -1010,7 +1010,7 @@ "documentation":"

          The error description.

          " } }, - "documentation":"

          Contains a description of an evaluation error.

          This data type is used as a request parameter in the IsAuthorized and IsAuthorizedWithToken operations.

          " + "documentation":"

          Contains a description of an evaluation error.

          This data type is used as a request parameter in the IsAuthorized and IsAuthorizedWithToken operations.

          " }, "EvaluationErrorList":{ "type":"list", diff --git a/tools/code-generation/endpoints/amp-2020-08-01.endpoint-rule-set.json b/tools/code-generation/endpoints/amp-2020-08-01.endpoint-rule-set.json index f1cac34566c..08690bafa0c 100644 --- a/tools/code-generation/endpoints/amp-2020-08-01.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/amp-2020-08-01.endpoint-rule-set.json @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,23 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -71,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -140,90 +111,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://aps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://aps-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://aps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsFIPS" + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://aps.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -231,7 +327,7 @@ { "conditions": [], "endpoint": { - "url": "https://aps-fips.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://aps.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -240,74 +336,13 @@ ] } ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://aps.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "endpoint": { - "url": "https://aps.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/tools/code-generation/endpoints/amp-2020-08-01.endpoint-tests.json b/tools/code-generation/endpoints/amp-2020-08-01.endpoint-tests.json index f7de350082f..24b2a120ad6 100644 --- a/tools/code-generation/endpoints/amp-2020-08-01.endpoint-tests.json +++ b/tools/code-generation/endpoints/amp-2020-08-01.endpoint-tests.json @@ -1,42 +1,42 @@ { "testCases": [ { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.eu-central-1.api.aws" + "url": "https://aps.ap-northeast-1.amazonaws.com" } }, "params": { - "Region": "eu-central-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.eu-central-1.amazonaws.com" + "url": "https://aps.ap-southeast-1.amazonaws.com" } }, "params": { - "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.eu-central-1.api.aws" + "url": "https://aps.ap-southeast-2.amazonaws.com" } }, "params": { - "Region": "eu-central-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -48,99 +48,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://aps-fips.us-west-2.api.aws" - } - }, - "params": { - "Region": "us-west-2", - "UseDualStack": true, - "UseFIPS": true - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://aps-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://aps.us-west-2.api.aws" - } - }, - "params": { - "Region": "us-west-2", - "UseDualStack": true, - "UseFIPS": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://aps.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://aps-fips.eu-north-1.api.aws" - } - }, - "params": { - "Region": "eu-north-1", - "UseDualStack": true, - "UseFIPS": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://aps-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://aps.eu-north-1.api.aws" - } - }, - "params": { - "Region": "eu-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -152,47 +61,21 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://aps-fips.eu-west-2.api.aws" - } - }, - "params": { - "Region": "eu-west-2", - "UseDualStack": true, - "UseFIPS": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://aps-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.eu-west-2.api.aws" + "url": "https://aps.eu-west-1.amazonaws.com" } }, "params": { - "Region": "eu-west-2", - "UseDualStack": true, - "UseFIPS": false + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -204,333 +87,312 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://aps-fips.eu-west-1.api.aws" - } - }, - "params": { - "Region": "eu-west-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.eu-west-1.amazonaws.com" + "url": "https://aps.us-east-1.amazonaws.com" } }, "params": { - "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.eu-west-1.api.aws" + "url": "https://aps.us-east-2.amazonaws.com" } }, "params": { - "Region": "eu-west-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.eu-west-1.amazonaws.com" + "url": "https://aps.us-west-2.amazonaws.com" } }, "params": { - "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aps-fips.ap-northeast-1.api.aws" + "url": "https://aps-fips.us-east-1.api.aws" } }, "params": { - "Region": "ap-northeast-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.ap-northeast-1.amazonaws.com" + "url": "https://aps-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aps.ap-northeast-1.api.aws" + "url": "https://aps.us-east-1.api.aws" } }, "params": { - "Region": "ap-northeast-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aps.ap-northeast-1.amazonaws.com" + "url": "https://aps-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.ap-southeast-1.api.aws" + "url": "https://aps-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "ap-southeast-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aps-fips.ap-southeast-1.amazonaws.com" + "url": "https://aps.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.ap-southeast-1.api.aws" + "url": "https://aps.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "ap-southeast-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aps.ap-southeast-1.amazonaws.com" + "url": "https://aps-fips.us-gov-east-1.api.aws" } }, "params": { - "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.ap-southeast-2.api.aws" + "url": "https://aps-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "ap-southeast-2", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aps-fips.ap-southeast-2.amazonaws.com" + "url": "https://aps.us-gov-east-1.api.aws" } }, "params": { - "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.ap-southeast-2.api.aws" + "url": "https://aps.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "ap-southeast-2", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://aps.ap-southeast-2.amazonaws.com" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.us-east-1.api.aws" + "url": "https://aps-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://aps-fips.us-east-1.amazonaws.com" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.us-east-1.api.aws" + "url": "https://aps.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://aps.us-east-1.amazonaws.com" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps-fips.us-east-2.api.aws" + "url": "https://aps-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "Region": "us-east-2", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://aps-fips.us-east-2.amazonaws.com" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aps.us-east-2.api.aws" + "url": "https://aps.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "Region": "us-east-2", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://aps.us-east-2.amazonaws.com" + "url": "https://example.com" } }, "params": { - "Region": "us-east-2", + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": false + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -541,8 +403,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -553,10 +415,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/tools/code-generation/endpoints/verifiedpermissions-2021-12-01.endpoint-tests.json b/tools/code-generation/endpoints/verifiedpermissions-2021-12-01.endpoint-tests.json index 722b079cbf0..1ee1c6c8398 100644 --- a/tools/code-generation/endpoints/verifiedpermissions-2021-12-01.endpoint-tests.json +++ b/tools/code-generation/endpoints/verifiedpermissions-2021-12-01.endpoint-tests.json @@ -9,8 +9,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { @@ -22,8 +22,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { @@ -35,8 +35,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { @@ -48,8 +48,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { @@ -61,8 +61,8 @@ }, "params": { "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "cn-north-1" } }, { @@ -74,8 +74,8 @@ }, "params": { "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "cn-north-1" } }, { @@ -87,8 +87,8 @@ }, "params": { "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "cn-north-1" } }, { @@ -100,8 +100,8 @@ }, "params": { "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "cn-north-1" } }, { @@ -111,8 +111,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-iso-east-1" } }, { @@ -124,8 +124,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-iso-east-1" } }, { @@ -135,8 +135,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-iso-east-1" } }, { @@ -148,8 +148,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-iso-east-1" } }, { @@ -161,8 +161,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-1" } }, { @@ -174,8 +174,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-1" } }, { @@ -187,8 +187,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-1" } }, { @@ -200,8 +200,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-1" } }, { @@ -211,8 +211,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-isob-east-1" } }, { @@ -224,8 +224,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-isob-east-1" } }, { @@ -235,8 +235,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-isob-east-1" } }, { @@ -248,8 +248,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-isob-east-1" } }, { @@ -261,8 +261,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -273,8 +273,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -285,8 +285,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }