File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -3458,6 +3458,14 @@ namespace Aws
3458
3458
* operation defaults to the version with the AWSCURRENT label.
3459
3459
*/
3460
3460
Aws::Crt::Optional<Aws::Crt::String> GetVersionStage () noexcept { return m_versionStage; }
3461
+ /* *
3462
+ * (Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false.
3463
+ */
3464
+ void SetRefresh (const bool &refresh) noexcept { m_refresh = refresh; }
3465
+ /* *
3466
+ * (Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false.
3467
+ */
3468
+ Aws::Crt::Optional<bool > GetRefresh () noexcept { return m_refresh; }
3461
3469
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override ;
3462
3470
static void s_loadFromJsonView (GetSecretValueRequest &, const Aws::Crt::JsonView &) noexcept ;
3463
3471
static Aws::Crt::ScopedResource<AbstractShapeBase> s_allocateFromPayload (
@@ -3475,6 +3483,7 @@ namespace Aws
3475
3483
Aws::Crt::Optional<Aws::Crt::String> m_secretId;
3476
3484
Aws::Crt::Optional<Aws::Crt::String> m_versionId;
3477
3485
Aws::Crt::Optional<Aws::Crt::String> m_versionStage;
3486
+ Aws::Crt::Optional<bool > m_refresh;
3478
3487
};
3479
3488
3480
3489
class AWS_GREENGRASSCOREIPC_API GetLocalDeploymentStatusResponse : public AbstractShapeBase
Original file line number Diff line number Diff line change @@ -5420,6 +5420,10 @@ namespace Aws
5420
5420
{
5421
5421
payloadObject.WithString("versionStage", m_versionStage.value());
5422
5422
}
5423
+ if (m_refresh.has_value())
5424
+ {
5425
+ payloadObject.WithBool("refresh", m_refresh.value());
5426
+ }
5423
5427
}
5424
5428
5425
5429
void GetSecretValueRequest::s_loadFromJsonView(
@@ -5440,6 +5444,10 @@ namespace Aws
5440
5444
getSecretValueRequest.m_versionStage =
5441
5445
Aws::Crt::Optional<Aws::Crt::String>(jsonView.GetString("versionStage"));
5442
5446
}
5447
+ if (jsonView.ValueExists("refresh"))
5448
+ {
5449
+ getSecretValueRequest.m_refresh = Aws::Crt::Optional<bool>(jsonView.GetBool("refresh"));
5450
+ }
5443
5451
}
5444
5452
5445
5453
const char *GetSecretValueRequest::MODEL_NAME = "aws.greengrass#GetSecretValueRequest";
You can’t perform that action at this time.
0 commit comments