Skip to content

Commit adcfe37

Browse files
Update generated code (#1919)
update generated code
1 parent 85f8c04 commit adcfe37

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 2.3.0
610

711
### Added

src/Input/PutParameterRequest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ final class PutParameterRequest extends Input
3030
*
3131
* In addition, the slash character ( / ) is used to delineate hierarchies in parameter names. For example:
3232
* `/Dev/Production/East/Project-ABC/MyParameter`
33-
* - A parameter name can't include spaces.
33+
* - Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a
34+
* parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a
35+
* `ValidationException` error.
3436
* - Parameter hierarchies are limited to a maximum depth of fifteen levels.
3537
*
3638
* For additional information about valid values for parameter names, see Creating Systems Manager parameters [^1] in

src/SsmClient.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ public function deleteParameters($input): DeleteParametersResult
101101
/**
102102
* Get information about a single parameter by specifying the parameter name.
103103
*
104+
* Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a
105+
* parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a
106+
* `ValidationException` error.
107+
*
104108
* > To get information about more than one parameter at a time, use the GetParameters operation.
105109
*
106110
* @see https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetParameter.html
@@ -135,6 +139,10 @@ public function getParameter($input): GetParameterResult
135139
*
136140
* > To get information about a single parameter, you can use the GetParameter operation instead.
137141
*
142+
* Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a
143+
* parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a
144+
* `ValidationException` error.
145+
*
138146
* @see https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetParameters.html
139147
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-ssm-2014-11-06.html#getparameters
140148
*
@@ -167,6 +175,10 @@ public function getParameters($input): GetParametersResult
167175
* and returns the matching values up to that point and a `NextToken`. You can specify the `NextToken` in a subsequent
168176
* call to get the next set of results.
169177
*
178+
* Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a
179+
* parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a
180+
* `ValidationException` error.
181+
*
170182
* @see https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetParametersByPath.html
171183
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-ssm-2014-11-06.html#getparametersbypath
172184
*

0 commit comments

Comments
 (0)